Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7437687
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 29, 20262026-05-29T10:26:16+00:00 2026-05-29T10:26:16+00:00

I am using the namespace System.Windows.Forms.DataVisualization.Charting to create a Chart object on a form.

  • 0

I am using the namespace System.Windows.Forms.DataVisualization.Charting to create a Chart object on a form. This DLL is not a part of the basic Windows install, so I shall need to include it in my package when I distribute my application.

I am aware of the new version of GacUtil.exe and also that Gacutil.exe is only for development purposes and should not be used to install production assemblies into the global assembly cache. Let’s just assume that I have no choice in the matter and have to do it this way due to the use of a proprietary package distribution system. =)

Edit/Update: In the 2.0 runtime, even though some PC’s did not have GacUtil.exe present on the intended installation PC, I could drop GacUtil.exe (2.0 version) on the PC and I could then GAC whatever extra assemblies I needed. This appears to be a problem in the 4.0 runtime. Even though I have copied GacUtil.exe (4.0) to the destination PC, I get no feedback when running it against the needed assembly. End Edit/Update

Now, on my PC (the development PC), I can add the DLL to the GAC without any problems:
Command Prompt On My PC

However, on a clean Windows 7 PC, with the same DLL and the same version of GacUtil.exe I get this:
Command Prompt On Clean PC

Why the discrepancy? Does the new GacUtil.exe depend upon something that this PC doesn’t have?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-29T10:26:17+00:00Added an answer on May 29, 2026 at 10:26 am

    Ok, I ended up having two problems, one of them being a moot point in the end.

    Problem #1: GacUtil.exe (for the 4.0 CLR) has Dependencies

    When i copy over the folder in which GacUtil.exe resides, the problem of adding the assembly vanishes:
    Successful GAC on Clean PC

    This ended up being a moot point, however, because even though the file was in the 4.0 GAC on the client machine, I still had the crash. I realized at that point that the problem was that I am not targeting the 4.0 GAC – I’m targeting the 2.0 GAC. The file I was trying to add to the GAC this whole time was a 4.0 version of the file. This was the piece I wasn’t understanding.

    Problem #2: There are separate 4.0 and 2.0 versions of “GACable” DLL’s, and they are not backwards compatible

    I simply went back to my development machine and grabbed the 3.5 version of the DLL in question (System.Windows.Forms.DataVisualization), added it to the 2.0 GAC on the client PC, and crisis averted.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm attempting to user System.Windows.Forms.DataVisualization.Charting to create a line chart. I've been using the
The winform: The code: using System; using System.Windows.Forms; namespace DemoApp { public partial class
using System; using System.Collections.Generic; using System.Text; using System.Windows.Forms; using System.Threading; namespace ClassLibrary { public
using System; using System.ComponentModel; using System.Net; using System.Windows.Forms; using Ionic.Zip; namespace downloader { public
I have the following classes: using System; using System.Windows.Forms; namespace FastEyeControl { public partial
I used this code: using System; using System.Collections.Generic; using System.ComponentModel; using System.Windows.Forms; using System.IO;
I have the code below: namespace WindowMover { using System.Windows.Forms; static class Logic {
I have: using System.IO; using System.Windows.Forms; namespace myNamespace1 { public partial class Form1 :
So I have the declaration at the beginning of my class file using System.Windows.Forms;
I'm trying to use System.Windows.Forms.HTMLDocument in a console application. First, is this even possible?

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.