Solved

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

Posted on 2007-03-19
3
6,526 Views
Last Modified: 2013-11-26
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?
0
Comment
Question by:syscomdev
[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
  • 2
3 Comments
 
LVL 14

Accepted Solution

by:
dfu23 earned 500 total points
ID: 18750783
0
 

Author Comment

by:syscomdev
ID: 18750842
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.

0
 
LVL 14

Expert Comment

by:dfu23
ID: 18750996
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.
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Wouldn’t it be nice if you could test whether an element is contained in an array by using a Contains method just like the one available on List objects? Wouldn’t it be good if you could write code like this? (CODE) In .NET 3.5, this is possible…
Calculating holidays and working days is a function that is often needed yet it is not one found within the Framework. This article presents one approach to building a working-day calculator for use in .NET.
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial

740 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