Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Assembly in (Global Assembly Cache) Access denied

Posted on 2008-10-07
1
Medium Priority
?
1,534 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 

Accepted Solution

by:
healthmanagement earned 0 total points
ID: 22670367
0

Featured Post

Tech or Treat!

Submit an article about your scariest tech experience—and the solution—and you’ll be automatically entered to win one of 4 fantastic tech gadgets.

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…
This article shows how to deploy dynamic backgrounds to computers depending on the aspect ratio of display
Are you ready to place your question in front of subject-matter experts for more timely responses? With the release of Priority Question, Premium Members, Team Accounts and Qualified Experts can now identify the emergent level of their issue, signal…
In a question here at Experts Exchange (https://www.experts-exchange.com/questions/29062564/Adobe-acrobat-reader-DC.html), a member asked how to create a signature in Adobe Acrobat Reader DC (the free Reader product, not the paid, full Acrobat produ…

636 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