Hi--
I am building an intRAnet website using windows authentication for website access and SQL Server access ( Trusted_Connection = true ).
In IIS I have these settings:
Allow Anonymous = unchecked (false)Windows Authentication = Checked (true)Digest windows = checked (true)In my Web.Config file:
authentication="windows"impersonate="true"allowusers="*"When I pull up the page these are my credentials:
Security.Principal.Windows: mydomain\myuserid (this is correct what it shows on my page)
Me.User.Identity: mydomain\myuserid (this is correct what it shows on my page)
Threading.currentThread.currentUser mydomain\myuserid (this is correct what it shows on my page)
So the ASP.NET page recognizes it is me and my domain. However, when i click a button to pull some data from a database I get the error message: Login failed for user '(null)'. Reason: Not associated with a trusted SQL Server connection.
My data access on SQL Server works fine. The weird thing is when I debug on my machine it pulls data fine. but when I copy the files to the windows 2003 server it doesn't work.
Do i have to do something with delegation?
some guys and i did some research and we think that kerberos delegation is not enabled on our domain in active directory.
When i take off digest, and select basic authentication the credentials pass...but i don't want that.
No comments:
Post a Comment