StrataFrame Forum
Home      Members   Calendar   Who's On
Welcome Guest ( Login | Register )
      



Windows AuthenticationExpand / Collapse
Author
Message
Posted 01/25/2007 1:07:36 PM
StrataFrame User

StrataFrame UserStrataFrame UserStrataFrame UserStrataFrame UserStrataFrame UserStrataFrame UserStrataFrame UserStrataFrame User

Group: StrataFrame Users
Last Login: Yesterday @ 10:07:19 AM
Posts: 308, Visits: 1,234
I'm running into problems when I set SecurityBasics.AllowWindowsAuth = True in the AppMain.

In some cases I want to allow windows authentication, but in many cases I don't, such as sales reps laptops etc...

When I set AllowWindowsAuth = True and the application runs on a stand-alone machine, I get an error: "Current security context is not associated with an Active Directory domain or forest".

I guess the bottom line is I need to be able to run my application in both environments. Is there a good way to handle this situation? 

Thanks

Tim

Post #6250
Posted 01/25/2007 6:14:02 PM


StrataFrame Developer

StrataFrame Developer

Group: StrataFrame Developers
Last Login: Yesterday @ 8:00:28 PM
Posts: 4,534, Visits: 4,522
The error you are getting is because the machine is not associated with a domain.  It is generally best to go one route or another.  You are going to have to know whether you are running Windows Auth or not before the login form comes up.  You may have a registry value that determines if this is a Windows Auth machine or not.
Post #6271
« Prev Topic | Next Topic »


Reading This TopicExpand / Collapse
Active Users: 0 (0 guests, 0 members, 0 anonymous members)
No members currently viewing this topic.
Forum Moderators: Ben Chase, Trent L. Taylor, Steve L. Taylor

PermissionsExpand / Collapse

All times are GMT -6:00, Time now is 7:09pm

Powered by InstantForum.NET v4.1.4 © 2008
Execution: 0.047. 11 queries. Compression Enabled.
Site Map - Home - My Account - Forum - About Us - Contact Us - Try It - Buy It

Microsoft, Visual Studio, and the Visual Studio logo are trademarks or registered trademarks of Microsoft Corporation in the United States and/or other countries.