Re: Windows authentication on a Web service returning Access Denied (401).

From: Daniel Bass (_at_)
Date: 02/06/04

Date: Fri, 6 Feb 2004 09:15:19 -0000


That works as you'd expect, giving you that page with the avialable methods
on the web service.


"Paul" <> wrote in message

What happens when you just go to the .asmx page using IE?


"Daniel Bass" <I'm really @ sick of spam> wrote in message
> Hey,
> [ Background ]
> I've been asked to look into network security where an IIS virtual
> is configure to not have anonymous access, but rather to go with the
> authentication (what the user signs in as at client). This is in the
> of a ASP.Net web service running on an intranet.
> [ What I have done ]
> - I've ticked and unticked all the right boxes in IIS.
> - I've also added the
> "myserviceproxy.Credentials =
> System.Net.CredentialCache.DefaultCredentials;"
> to the client side [ Web / Windows ] Application so that they are
> through to the server for the request message.
> - I've also ensured that my user account on the client side, is registered
> as a user on the server on which the web service resides.
> [ The problem ]
> But when I try to process any messages, I get back an HTTP 401: Access
> Denied message.
> What am I doing wrong, or not doing at all?
> I'm very new to all this, so if I'm missing something obvious, please
> forgive me.
> Thanks for your time.
> Daniel.