Webservice SQL logon fails on production IIS server

From: Tim Baley (TimBaley_at_discussions.microsoft.com)
Date: 02/11/05


Date: Fri, 11 Feb 2005 08:31:05 -0800

I recently created some intranet web sevices to expose stored procedures on
our SQL Servers (SQL2k). The stored procedures include an audit trail with
user/login identification, so the web services are set up for Windows
integrated authentication. The web sevices work well when they are hosted on
IIS on my Win2k Pro development machine. I have tried accessing the services
under several user accounts on several machines, including machines in other
zones connected by VPN. I have connected the webservices to different SQL
servers.

When I move the services to production IIS servers, the database connection
step throws an exception "Login failed for user 'NT AUTHORITY\ANONYMOUS
LOGON'". The web service on the production service is not flowing the user
credentials through to SQL server. What do I need to do to get the service
to work?

Thanks,
Tim Bailey
Energy Laboratories, Inc.



Relevant Pages

  • Stored Procedure Fails Only When Called By Agent
    ... connect to and add logins for 12 remote SQL servers ... remote server, one at a time, for 5 tables. ... These stored procedures work fine when run from Query Analyzer, ... I get an error message of "Msg 17, ...
    (microsoft.public.sqlserver.replication)
  • After MS Critical updates, getting sa errors - HELP
    ... I just put the blaster patches on our SQL servers ... Not associated with a trusted SQL Server Connection ... We have a whole bunch of stored procedures on a certain ... database that give the trusted SQL error when trying to ...
    (microsoft.public.sqlserver.security)
  • After MS Critical updates, getting sa errors - HELP
    ... I just put the blaster patches on our SQL servers ... Not associated with a trusted SQL Server Connection ... We have a whole bunch of stored procedures on a certain ... database that give the trusted SQL error when trying to ...
    (microsoft.public.sqlserver.security)
  • Help on code in a SP
    ... I'm currently auditing some SQL servers to have an overview on what's ... running/existing in the different databases. ... I found User's Stored Procedures in MSDB databases ...
    (microsoft.public.sqlserver.server)