I have a simple web service in IIS 6.0 that uses Integrated Windows
Authentication.
I wrote a Windows client that sets the credentials to DefaultCredentials and
calls the web service.

When the client runs on the IIS 6.0 server itself the web service works fine.
However from any remote client I get 401: Unauthorized.

The IIS 6.0 is on a domain and the logon I use on IIS 6.0 and on remote
machines is the same user.

I have been on it for a couple of days without any luck. Any help is
appreciated.

Re: Web Service & IIS 6.0 - Getting 401:Unauthorized by Jesper

Jesper
Tue Aug 17 02:51:00 CDT 2004

Hi

You could take a network trace to see what credentials are being passed to
the web service. At least that will let you know if the correct credentials
are being used.

--
Best regards,
Jesper Ohlsson
Microsoft Support Specialist

This posting is provided "AS IS" with no warranties, and confers no rights.
"Ramani" <Ramani@discussions.microsoft.com> wrote in message
news:32D0B611-4197-42AC-8F4F-1245F5D57D29@microsoft.com...
>I have a simple web service in IIS 6.0 that uses Integrated Windows
> Authentication.
> I wrote a Windows client that sets the credentials to DefaultCredentials
> and
> calls the web service.
>
> When the client runs on the IIS 6.0 server itself the web service works
> fine.
> However from any remote client I get 401: Unauthorized.
>
> The IIS 6.0 is on a domain and the logon I use on IIS 6.0 and on remote
> machines is the same user.
>
> I have been on it for a couple of days without any luck. Any help is
> appreciated.
>