Re: UnauthorizedAccessException by activating integrated authentification

From: Joe Kaplan \(MVP - ADSI\) (joseph.e.kaplan_at_removethis.accenture.com)
Date: 05/03/05


Date: Tue, 3 May 2005 12:46:05 -0500

This is known as a double-hop issue. With IWA, your security context can't
hop to a second machine unless Kerberos delegation is enabled. A Google
search on those terms will yield many hits and solutions.

Joe K.

"Klaus Ballmann" <stosstange@gmx.de> wrote in message
news:Xns964B9C67A9B53stosstangegmxde@207.46.248.16...
> Hi,
>
> I develop a webservice, which will be used by a small vba access client.
> The webservice reads some files in a network-share-folder. There is no
> domain, so I created two users with same name and password.
> I enabled only basic authentification in IIS and access the webservice via
> MSXML 3.0
>
> Set objSendServerXML = New MSXML2.ServerXMLHTTP30
> objSendServerXML.Open "POST", "https://bla/blub/" , True, "Username",
> "Password"
>
> I use impersonate=true and the webservice can access the network-files,
> but
> I can't debug the webservice with basic-authentification.
> If I activate integrated windows authentification, I can debug, but .net
> reports UnauthorizedAccessException,
> when the service tries to read the network files. I log
> WindowsIdentity.GetCurrent().Name and WindowsIdentity.GetCurrent
> ().AuthenticationType...
> The vba client still authentificates by basic-authentification and the log
> looks similar to me... but where is the difference?!!!!
>
>
> Thanks in advance
>
> Regards
> Klaus



Relevant Pages

  • RE: How do degub aspx page when loaded from winforms app.
    ... it does support you to step through into webservice from ... client proxy project, however it is specific to ASP.NET webservice rather ... if you also have aspx pages that need to debug at the ... Microsoft MSDN Online Support Lead ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Cant get CF APP to find my Webservice in 2005
    ... My webservice project is set to use IIS, ... The startup project in the solution is the PPC app. ... I manually start the Device Emulator Manager and connect/cradle (I hate ... If I need to debug into the webservice, then I set a breakpoint in the ...
    (microsoft.public.dotnet.framework.compactframework)
  • Re: How to debug a WebMethod
    ... in the same solution I have a WebService and a Client that calls the WebService; I need to debug a WebMethod of the service and I've correctly set a break point, but I can't step into it... ... you set the timeout for the Web service to be infinity -- never times-out. ... Otherwise, you'll be in the middle of debug, and the Web service will timeout on you with the session being lost. ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: How to debug a WebMethod
    ... in the same solution I have a WebService and a Client that calls the WebService; I need to debug a WebMethod of the service and I've correctly set a break point, but I can't step into it... ... you set the timeout for the Web service to be infinity -- never times-out. ... Otherwise, you'll be in the middle of debug, and the Web service will timeout on you with the session being lost. ...
    (microsoft.public.dotnet.languages.csharp)
  • UnauthorizedAccessException by activating integrated authentification
    ... I develop a webservice, which will be used by a small vba access client. ... The webservice reads some files in a network-share-folder. ... I enabled only basic authentification in IIS and access the webservice via ...
    (microsoft.public.dotnet.framework.aspnet.security)