Solved

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

Posted on 2007-03-19
3
6,435 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
  • 2
3 Comments
 
LVL 14

Accepted Solution

by:
dfu23 earned 500 total points
Comment Utility
0
 

Author Comment

by:syscomdev
Comment Utility
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
Comment Utility
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

Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

Join & Write a Comment

Suggested Solutions

This article describes relatively difficult and non-obvious issues that are likely to arise when creating COM class in Visual Studio and deploying it by professional MSI-authoring tools. It is assumed that the reader is already familiar with the cla…
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…
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…
This video shows how to remove a single email address from the Outlook 2010 Auto Suggestion memory. NOTE: For Outlook 2016 and 2013 perform the exact same steps. Open a new email: Click the New email button in Outlook. Start typing the address: …

771 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

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now