>I have a simple webservice that just returns a string. The security for
>this is set to windows authentication in IIS (XP Professional) and
>anonymous access is also turned on.
> When I access the webservice from IE there is no problem, it returns the
> string fine. However, when I create a simple console application to use
> this service and output the string, I get a 401 Access Denied error.
> I have tried the method of setting the default credentials, but this isn't
> suitable (I can explain why but is not relevant), and the key issue here
> is that anonymos access IS enabled, so I shouldn't have to set the
> credentials anyway, surely?
> This was working fine until I came back to it after a couple of weeks, and
> I am unsure what I could have changed in my settings in Windows. As far as
> I can see this appears to be an IIS problem, rather than an application
> Any help is greatly appreciated, thanks,
> Posted by a user from .NET 247 ([url]http://www.dotnet247.com/[/url])