Windows Auth to SQL Server from ATL Web Service not working...
- From: mike <mikebizub@xxxxxxxxxxx>
- Date: Thu, 17 Jan 2008 12:55:16 -0800 (PST)
I have a web service that I've created using ATL Server (Visual Studio
2005 running on Windows 2003). The web service has NTLM auth on and
anonymous turned off. the app pool its in is running under a local
machine account. I'm trying to access SQL Server on a different
machine. When I hit the web service with a simple test application,
it appears to authenticate me and had the LOGON_USER equal to the
account I'm logged on as. However, when the database call happens, it
looks as though these credentials are not flowing to SQL as the event
log on the SQL box has a security audit failure with the account being
anonymous.
Can someone please help me understand how I can flow credentials (they
could even be the one the application pool in iis is running under) to
SQL on a different box from my web service in an Atl Server web
service.
thanks,
Mike
.
- Follow-Ups:
- Re: Windows Auth to SQL Server from ATL Web Service not working...
- From: Brian Muth
- Re: Windows Auth to SQL Server from ATL Web Service not working...
- Prev by Date: Re: virtual destructors in base classes
- Next by Date: Re: Windows Auth to SQL Server from ATL Web Service not working...
- Previous by thread: Re: virtual destructors in base classes
- Next by thread: Re: Windows Auth to SQL Server from ATL Web Service not working...
- Index(es):
Relevant Pages
|
Loading