ASP.NET process identity does not have read permissions to GAC

E

Eric

I'm trying to run a C# web service that I ported from VS 2003 to VS
2005. I'm unable to run it, I see:

Failed to execute the request because the ASP.NET process identity does
not have read permissions to the global assembly cache. Error:
0x80070005 Access is denied.

For more information, see Help and Support Center at
http://go.microsoft.com/fwlink/events.asp.

In my event logs.

I found http://blog.devstone.com/aaron/archive/2005/12/17/1379.aspx and
tried running:

C:\CACLS c:\windows\assembly /e /t /p
mymachinename\iwam_mymachinename:R

I looked like it ran successfully, but I'm still getting the error
message. I'm pretty sure that iwam is the correct user id, I can
successfully attach to a .NET dll that calls the web service. When I
pull up the list of processes in the .NET ide to attach to it shows
dllhost with that user id, and that's the process that I'm successfully
attaching to and stepping through with my debugger.

-Eric
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,581
Members
45,055
Latest member
SlimSparkKetoACVReview

Latest Threads

Top