Solved

Assembly in (Global Assembly Cache) Access denied

Posted on 2008-10-07
1
1,516 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

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

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

It seems a simple enough task, yet I see repeated questions asking how to do it: how to pass data between two forms. In this article, I will show you the different mechanisms available for you to do just that. This article is directed towards the .N…
A long time ago (May 2011), I have written an article showing you how to create a DLL using Visual Studio 2005 to be hosted in SQL Server 2005. That was valid at that time and it is still valid if you are still using these versions. You can still re…
In an interesting question (https://www.experts-exchange.com/questions/29008360/) here at Experts Exchange, a member asked how to split a single image into multiple images. The primary usage for this is to place many photographs on a flatbed scanner…
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used below. https://filedb.experts-exchange.com/incoming/2017/03_w12/1151775/Permutations.txt https://filedb.experts-exchange.com/incoming/201…

679 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