Solved

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

Posted on 2007-03-19
3
6,591 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

Visualize your virtual and backup environments

Create well-organized and polished visualizations of your virtual and backup environments when planning VMware vSphere, Microsoft Hyper-V or Veeam deployments. It helps you to gain better visibility and valuable business insights.

Question has a verified solution.

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

This document covers how to connect to SQL Server and browse its contents.  It is meant for those new to Visual Studio and/or working with Microsoft SQL Server.  It is not a guide to building SQL Server database connections in your code.  This is mo…
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:…
NetCrunch network monitor is a highly extensive platform for network monitoring and alert generation. In this video you'll see a live demo of NetCrunch with most notable features explained in a walk-through manner. You'll also get to know the philos…
Sometimes it takes a new vantage point, apart from our everyday security practices, to truly see our Active Directory (AD) vulnerabilities. We get used to implementing the same techniques and checking the same areas for a breach. This pattern can re…

623 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