I have setup SQL 2005 Apr CTP on a Windows 2003 SP1 system and created an endpoint. I can access it just fine, logged in as any user with connect priviledges granted to them, but only on the computer that is running SQL 2005. If I try to access the endpoint from any other computer system in the same domain (I have tried several) it just keeps prompting me for login credentials over and over again. The endpoints are enabled and started.
Any ideas on what I need to do so I can access the web service from a remote computer
Thank you in advance.

HTTP Endpoint Can't Authenticate
Carl Brochu MSFT
I have built the test systems from scratch twice now to make sure it wasn't some underlying system configuration but no luck so far.
Thank you for your help.
Scythen
Changing from 'INTEGRATED' to 'NTLM' also help me solving the problem consuming the web service from the remote computer (under the same domain) without using the setspn.
Thank you so much Srik
POP
tsennyuen
One way to workaround it is as follows. Use the following in your client application to force NTLM.
MINATCHY
Integrated auth fails when trying to connect remotely because the SPN is registered to local system and sqlserver is running under a different account. To work around this issue you can do one of the following
- register a SPN for the sqlserver service account as shown below
- enable only NTLM as an auth option on the endpoint as opposed to INTEGRATED
To register the SPN one would do the following, (from BOL)
If an instance of SQL Server is running as a domain user (MyDomain\MySQLAccount) on a computer that is named MySQLHost, the following commands can be used to set the appropriate SPNs:< xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />
setspn –A http/MySQLHost MyDomain\MySQLAccount
setspn –A http/MySqlHost.Mydomain.Mycorp.com MyDomain\MySQLAccount
Note that one account can have multiple SPNs (one for each service or host name), but an SPN can be registered under only one account. Having the same SPN registered on multiple accounts causes Kerberos authentication to fail.
For example, the account MyDomain\MySQLAccount can have the following different SPNs registered on it. The first two commands are for two different services (http and rpc). The last one is for a different host name, assuming the computer has multiple host names.
setspn –A http/MySQLHost MyDomain\MySQLAccount
setspn –A rpc/MySQLHost MyDomain\MySQLAccount
setspn –A http/MySecondHost MyDomain\MySQLAccount
Mehmet Atlihan
Tthe authentication occurs at the HTTP layer using the HTTP challenge/response mechanism.
Thanks
Srik