HighTechTalks DotNet Forums  

ASP.NET Integrated Security

Dotnet Security microsoft.public.dotnet.security


Discuss ASP.NET Integrated Security in the Dotnet Security forum.



Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old   
Machuga
 
Posts: n/a

Default ASP.NET Integrated Security - 03-29-2007 , 02:00 PM






IIS application connecting to SQL, impersonating logged on user with SSPI
connection string works fine, as long as the connection string is defined in
the web.config, but all the connections defined in code behind pages are
trying to connect (and failing) with anonymous user. I noticed that if
impersonation has userName="domainuser" password="password" specified in the
web.config then code behind connections work.
My application needs to distinguish logged on users and use their
credentials to make the SQL connections to the appropriate SQL servers.

Does anybody know what is the workaround?


Reply With Quote
Reply




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.