Access to the path "C:\WINNT\Microsoft.NET\Framework\v1.0.3705\Temporary ASP.NET Files\imgdbprov\a3919b2a\53cf8fc1\hash.web" is denied.

From: Yogesh Kant Roy (yogeshkantroy@hotmail.com)
Date: 11/28/02


From: "Yogesh Kant Roy" <yogeshkantroy@hotmail.com>
Date: Wed, 27 Nov 2002 16:14:57 -0800


I was getting following error when I was accessing a web service which uses
impersonation: Could not create Windows user token from the credentials
specified in the config file. Error from the operating system 'A required
privilege is not held by the client.

All message boards pointed me to a solution that compromised the security of
the servers, viz, to modify machine.config to change the username attribute
from "machine" to "system". However, I could fix the problem by adding
ASPNET user account to "Web Anonymous Users" user group. (I did this because
IUSR_MACHINENAME was a member of this group apart from uses, which ASPNET
was already a part of. Note giving permissions to "Act as part of the
operating system" did not fix this problem). However I am now getting the
error: Access to the path
"C:\WINNT\Microsoft.NET\Framework\v1.0.3705\Temporary ASP.NET
Files\imgdbprov\a3919b2a\53cf8fc1\hash.web" is denied.

I have verified that ASPNET user account has full permissions on that folder
and file. Can anyone tell me what is happening here.

Thanks,
Yogesh.



Relevant Pages

  • HELP: ASP.NET Imperosation issue.
    ... I was getting following error when I was accessing a web service which uses ... Note giving permissions to "Act as part of the ... operating system" did not fix this problem). ... I have verified that ASPNET user account has full permissions on that folder ...
    (microsoft.public.dotnet.framework.aspnet.security)
  • debugg in VS2005 installed on Vista Home Premium
    ... I have Visual Studion 2005 Team Edition installed on a Vista Home Premium ... Operating system. ... I develop a simple web service application and put a breakpoint in it. ...
    (microsoft.public.vsnet.debugging)
  • Re: Reading keys from HKEY_CURRENT_USER from an impersonated Web Service
    ... | This would never work as it would need to be called from a Web Service so ... server type COM+ application and run this one as a local user. ...
    (microsoft.public.dotnet.languages.csharp)