T
Terry Holland
Not sure if this question best placed in ASP or SQL group so trying both...
I have an internal asp.net application that connects to an sql server 2005
database. We are using Windows authentication. When the SQL database was
on the same box as the iis server, things work working fine. Now we are
ready to deploy to live environment where sql database in on seperate box to
iis server and we are getting authentication errors. It seems that the user
credentials being passed to sql are for anonymous user and not those of the
user logged onto client machine.
I have read info at http://msdn.microsoft.com/en-us/library/ms998292.aspx.
From this I have set the following in the web.config but this has had no
effect.
<configuration>
<system.web>
<authentication mode="Windows"/>
<identity impersonate="true"/>
...
</system.web>
</configuration>
Createing a dummy page I am able to see that IIS knows whoe the logged on
user is but these credentials are not being passed to SQL
This problem needs to be resolved ASAP so any help would be appreciated
Regards
Terry Holland
I have an internal asp.net application that connects to an sql server 2005
database. We are using Windows authentication. When the SQL database was
on the same box as the iis server, things work working fine. Now we are
ready to deploy to live environment where sql database in on seperate box to
iis server and we are getting authentication errors. It seems that the user
credentials being passed to sql are for anonymous user and not those of the
user logged onto client machine.
I have read info at http://msdn.microsoft.com/en-us/library/ms998292.aspx.
From this I have set the following in the web.config but this has had no
effect.
<configuration>
<system.web>
<authentication mode="Windows"/>
<identity impersonate="true"/>
...
</system.web>
</configuration>
Createing a dummy page I am able to see that IIS knows whoe the logged on
user is but these credentials are not being passed to SQL
This problem needs to be resolved ASAP so any help would be appreciated
Regards
Terry Holland