Link to home
Start Free TrialLog in
Avatar of syscomdev
syscomdev

asked on

.Net 2.0 - GACUTIL - Failure adding assembly to the cache: Unknown Error

I have a 2.0 framework dll I am attempting to add to the GAC on a non-development computer.
I am able to install the dll to the GAC on my development computer. I am unable to do so on the target computer.
The target computer has framework 1.1.4322 and 2.0.50727 (which matches the 2 different versions on my development computer)
I receive the following:
   Microsoft (R) .NET Global Assembly Cache Utility.  Version 1.1.4318.0
   Copyright (C) Microsoft Corporation 1998-2002. All rights reserved.

   Failure adding assembly to the cache: Unknown Error

The first thing I noticed was that it was the 1.1 version of the framework, and that might be cause of the issue. However, I move to the 2.0.50727 directory and I do not have a GACUTIL in that directory.
How do I install to a 2.0 framework?
ASKER CERTIFIED SOLUTION
Avatar of dfu23
dfu23

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of syscomdev
syscomdev

ASKER

So the client computer needs the SDK to be able to put 2.0 framework files into the GAC? My customer is going to love this.

(If it were a .net application I could have the installer do it, but its a vb6 application calling the .net component.)

Thank you.

i'm not sure if the entire SDK needs to be added to get the GACUTIL but I knew that it would definitely get it so you would have it available.

A client computer should only need to .NET Redistributable for 2.0 on their machine ... from there you should be able to run the appropriate GACUTIL as long as you have it available.