Solved

Assembly in (Global Assembly Cache) Access denied

Posted on 2008-10-07
1
1,509 Views
Last Modified: 2013-11-26
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\myClass.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("myGACProject.myClass")
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
0
Comment
Question by:healthmanagement
1 Comment
 

Accepted Solution

by:
healthmanagement earned 0 total points
ID: 22670367
0

Featured Post

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Recently while returning home from work my wife (another .NET developer) was murmuring something. On further poking she said that she has been assigned a task where she has to serialize and deserialize objects and she is afraid of serialization. Wha…
For those of you who don't follow the news, or just happen to live under rocks, Microsoft Research released a beta SDK (http://www.microsoft.com/en-us/download/details.aspx?id=27876) for the Xbox 360 Kinect. If you don't know what a Kinect is (http:…
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …
Along with being a a promotional video for my three-day Annielytics Dashboard Seminor, this Micro Tutorial is an intro to Google Analytics API data.

867 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now