Solved

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

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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Nested forach loop to linq 3 42
CHANGE FORM TEXT BEFORE IT SHOW TO USER 13 33
Need to find a web event on the IIS server 4 52
Adding Rows to Grid 4 32
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…
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.
Are you ready to implement Active Directory best practices without reading 300+ pages? You're in luck. In this webinar hosted by Skyport Systems, you gain insight into Microsoft's latest comprehensive guide, with tips on the best and easiest way…

732 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