UnauthorizedAccessException by activating integrated authentification
From: Klaus Ballmann via DotNetMonster.com (forum_at_nospam.DotNetMonster.com)
Date: Tue, 03 May 2005 11:36:41 GMT
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
Set objSendServerXML = New MSXML2.ServerXMLHTTP30
objSendServerXML.Open "POST", "https://bla/blub/" , True, "Username",
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
The vba client still authentificates by basic-authentification and the log
looks similar to me... but where is the difference?!!!!