P
Pedro Gonçalves
Hi,
I've an application using ASP.NET 2.0 that is deployied in IIS 6.0 in a
Win2003 application server.
For that application I'm using windows authentication and impersonation to
access to an SQL Server 2000 on other Win2003 application server througth a
integrated security connection string. The domain is Win 2000.
On web.config file I've:
<identity impersonate="true"/>
<authentication mode="Windows"/>
The problem is that when the application try to open the connection gets an
error saying that can't logon because user '(null) ' is not configured to a
trust connection.
How can I configure this application and/or IIS to able this functionality?
Impersonate a specific user doesn't work because the stored procedures that
my web application use in the database uses a lot of caller user identity for
permit or not access to tables and inserts or updates. same times the
processing is very different according to the user that call the SP.
I've read that migth be a problem of configuring the ASP account to "Act as
part of OS", but I don't know exactlt how to do it and where to do it. Both
machines, Web Server and Database Server, are in a domain, but they are only
application servers. The domain server is on other computer. The ASP account
on the web server is a local account (on the web server). Do I have to change
the account for asp_wp to a domain account? And where I give the permition to
"Act as part of OS"? In the Local Group policy of the web server or in the
Domain group policy?
Regards,
Pedro Gonçalves
I've an application using ASP.NET 2.0 that is deployied in IIS 6.0 in a
Win2003 application server.
For that application I'm using windows authentication and impersonation to
access to an SQL Server 2000 on other Win2003 application server througth a
integrated security connection string. The domain is Win 2000.
On web.config file I've:
<identity impersonate="true"/>
<authentication mode="Windows"/>
The problem is that when the application try to open the connection gets an
error saying that can't logon because user '(null) ' is not configured to a
trust connection.
How can I configure this application and/or IIS to able this functionality?
Impersonate a specific user doesn't work because the stored procedures that
my web application use in the database uses a lot of caller user identity for
permit or not access to tables and inserts or updates. same times the
processing is very different according to the user that call the SP.
I've read that migth be a problem of configuring the ASP account to "Act as
part of OS", but I don't know exactlt how to do it and where to do it. Both
machines, Web Server and Database Server, are in a domain, but they are only
application servers. The domain server is on other computer. The ASP account
on the web server is a local account (on the web server). Do I have to change
the account for asp_wp to a domain account? And where I give the permition to
"Act as part of OS"? In the Local Group policy of the web server or in the
Domain group policy?
Regards,
Pedro Gonçalves