healthmanagement
asked on
Assembly in (Global Assembly Cache) Access denied
Experts,
My question is that i have compiled myclass.DLL into the GAC, i created the strongNameKey and added interops so it would work with an asp application that I'm building. Now I need to go back and edit it but its write protect and access is denied.
I think its because ive added it to the coms GAC. I have the code to uninstall it from GAC.
gacutil /u <project location>\bin\debug\myClas s.dll
When i execute this the VS cmd prompt tells me that it couldn't find the assembly, in that folder when i know it is..
If I try to edit the vb project directly i get the message that the debugDatabase is write protected and that access is denied also.
Im pretty sure that adding the dll to the GAC has locked it down. What can i do?
The project is working fine in .NET but when i try to access the server object in asp
e.g. dim objCom2
set objCom2 = Server.CreateObject("myGAC Project.my Class")
I get the following:
Error 1 Server was unable to process request. ---> Unable to generate a temporary class (result=1). error CS2001
If i could fix this error maybe i wouldnt have to touch my DLL. What action to take, OH my!!
Thanks
My question is that i have compiled myclass.DLL into the GAC, i created the strongNameKey and added interops so it would work with an asp application that I'm building. Now I need to go back and edit it but its write protect and access is denied.
I think its because ive added it to the coms GAC. I have the code to uninstall it from GAC.
gacutil /u <project location>\bin\debug\myClas
When i execute this the VS cmd prompt tells me that it couldn't find the assembly, in that folder when i know it is..
If I try to edit the vb project directly i get the message that the debugDatabase is write protected and that access is denied also.
Im pretty sure that adding the dll to the GAC has locked it down. What can i do?
The project is working fine in .NET but when i try to access the server object in asp
e.g. dim objCom2
set objCom2 = Server.CreateObject("myGAC
I get the following:
Error 1 Server was unable to process request. ---> Unable to generate a temporary class (result=1). error CS2001
If i could fix this error maybe i wouldnt have to touch my DLL. What action to take, OH my!!
Thanks
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.