Re: Calling SQL Native Web Service failed as unauthorized
- From: petery@xxxxxxxxxxxxxxxxxxxx (Peter Yang [MSFT])
- Date: Thu, 05 Apr 2007 06:24:51 GMT
Hello Hao,
As you know, Integrated is actually a negotiation of Kerberos/NTLM. It
seems that the issue is caused by that KERBEROS does not work for the
Webservice authentication. Please check the delegation property of the
logged on user in AD.
Also, When Kerberos authentication is used, the instance of SQL Server must
associate a Service Principal Name (SPN) with the account it will be
running on. Please make sure you have it registred in AD. For more
information, see Registering Kerberos Service Principal Names by Using
Http.sys.
Registering Kerberos Service Principal Names by Using Http.sys
ms-help://MS.SQLCC.v9/MS.SQLSVR.v9.en/udb9/html/29054cc2-31c5-46d6-a381-d10a
1ebc05b7.htm
For setspn tool, please refer to:
http://technet2.microsoft.com/WindowsServer/en/library/b3a029a1-7ff0-4f6f-87
d2-f2e70294a5761033.mspx?mfr=true
If the issue persists, please try to check security event log both on
client/server to see if there is any errors.
Another very useful utility for troubleshooting Kerberos issues
is Kerbtray.exe, which is part of the Windows 2000 Resource Kit. By using
Kerbtray, you can see Kerberos tickets that were granted out of the local
cache. To download this utility, visit the following Microsoft Web site:
Kerbtray.exe: Kerberos Tray
http://www.microsoft.com/windows2000/techinfo/reskit/tools/existing/kerbtray
-o.asp
If you have any update, please feel free to let's know. Thank you.
Best Regards,
Peter Yang
MCSE2000/2003, MCSA, MCDBA
Microsoft Online Partner Support
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
=====================================================
This posting is provided "AS IS" with no warranties, and confers no rights.
.
- Follow-Ups:
- Re: Calling SQL Native Web Service failed as unauthorized
- From: Peter Yang [MSFT]
- Re: Calling SQL Native Web Service failed as unauthorized
- References:
- Re: Calling SQL Native Web Service failed as unauthorized
- From: Peter Yang [MSFT]
- Re: Calling SQL Native Web Service failed as unauthorized
- From: Kent Tegels
- Re: Calling SQL Native Web Service failed as unauthorized
- From: Hao
- Re: Calling SQL Native Web Service failed as unauthorized
- Prev by Date: Re: Extracting XML data to columns during query
- Next by Date: modify() Top-level attribute nodes are not supported Error
- Previous by thread: Re: Calling SQL Native Web Service failed as unauthorized
- Next by thread: Re: Calling SQL Native Web Service failed as unauthorized
- Index(es):