Share via


CLR error: 80004005

Question

Wednesday, March 29, 2006 1:34 PM

I am using Visual Studio 2005 on Windows Server 2003. All service packs are installed. I first had this problem when trying to distribute an application for testing so I then created a simple application to try and narrow down the problem but to no avail...

I create a simple Windows Application that has a single form with a single button on it that, when clicked, shows a messagebox with the words 'Hello World'.

I compile it and run it fine but when I install it on another PC I get the following error on startup: CLR error: 80004005.

The PC it is compiled on is a Windows Server 2003 with all service packs installed. .NET framework versions (viewed in the Windows\Microsoft.NET\ directories): v1.0.3705, v1.1.4322, v2.0.50727.

The PC that gives me the error is a Windows Server 2003 with all service packs installed. .NET framework versions (viewed in the Windows\Microsoft.NET\ directories): v1.0.3705, v1.1.4322, v2.0.50215, v2.0.50727.

Please help,

Thanks,

Kurt J. Vesecky

All replies (9)

Thursday, March 30, 2006 4:16 PM âś…Answered

 KJV wrote:

The PC that gives me the error is a Windows Server 2003 with all service packs installed. .NET framework versions (viewed in the Windows\Microsoft.NET\ directories): v1.0.3705, v1.1.4322, v2.0.50215, v2.0.50727.

 

Kurt i believe your issue may reside in the fact that you have two different version 2's on that machine...the first of which looks like a pre release version (which should have been uninstalled prior to the rtm version being installed)

Although the frameworks can be installed and operate side by side on the same machine...the pre-release version and the RTM versions DO NOT play well together!

You will probably have to uninstall both and then reinstall the RTM (v2.0.50727)!


Wednesday, March 29, 2006 11:20 PM

Make sure that win98 compatibility is unchecked.  To verify, on the PC that gives you the error, right-click on the application icon and uncheck the option of "Run this Program in compatibility mode."

If that doesn't work, you might want to try uninstalling all your .NET Framework versions in reverse order (first v2.0.50727, then v2.0.50215, then v1.1.4322, last v1.0.3705) and then reinstalling the .NET Frameworks in chronological order (first v1.0.3705, then v1.1.4322, then v2.0.50215, last v2.0.50727).

Hope that helps,
Yun


Thursday, March 30, 2006 2:14 PM

Still having problem:

1. Check compatability mode. Was unchecked. Tried it checked and set to all available options but still no joy...

2. I then created a brand new Virtual Server: Windows 2003 standard with SP1.

     a) It installed with the v1.0.3705 and v1.0.4322 versions of .NET.

     b) I then did all the updates including v2 of the framework (v2.0.5072).

     c) I then installed Visual Studio Professional Edition (complete).

3. .NET versions showing: v1.0.3705, v1.0.4322, v2.0.5072).

4. I then created (as I did initially) a simple windows app with a single button that displays "Hello World".

5. I compiled it as 'release' and copied it to my host PC (Windows Server 2003 Standard - see first message).

I get the same exact error!

HELP!

Thanks,

Kurt J. Vesecky

 


Thursday, March 30, 2006 3:15 PM

I just tried to use the Microsoft .NET Framework 1.1 Wizard to see if it was some security setting on the machine that was causing it.

The steps were: "Trust an Assembly", "Make changes to this computer", "Browse for the Test.exe assembly". I then get an error message: "Unable to load assembly: Test.exe"

That was my last gasp... I cannot think of anything else to try.

Hoping for assistance.

Thanks,

Kurt J. Vesecky


Thursday, March 30, 2006 11:52 PM

You are correct! I called support and they resolved it with the following steps:

1. Uninstall Framework 2 from Add/Remove programs.

2. They sent me a tool to uninstall any VS 2005 Beta files which I then ran.

3. Re-install .NET v2.

Everything worked! This is the last forum I have to update with the solution.

Thanks for all the help,

Kurt


Monday, October 6, 2008 1:11 AM

 how do I uninstall all .net frameworks which include service packs as well?  Also can a MSI package be created for the entire uninstall group?


Thursday, October 8, 2009 7:37 AM

Thanks for the tip! I did exactly as you decribed and it worked for me. In my case I had .NET 3.5, .NET 3.0 and .NET 2.0 installed on my system.
Initially the error (CLR error: 80004005) I got was first with HPWAMain.exe (HP WirelessAssistant) program and then with others. These were the steps I took to correct the error:

from Add/Remove Programs:

  1. Uninstall .NET 3.5
  2. Uninstall .NET3.0
  3. Uninstall .NET2.0
  4. Restart the computer
  5. Download and Re-Install .NET 3.5 only (the other versions .NET 3.0 and .NET 2.0 will be installed automatically)
  6. Restart the computer

Everything should work normal without errors!

Again, thanks for the help.


Friday, December 23, 2011 6:22 PM

Thanks for the tip! I did exactly as you decribed and it worked for me. In my case I had .NET 3.5, .NET 3.0 and .NET 2.0 installed on my system.
Initially the error (CLR error: 80004005) I got was first with HPWAMain.exe (HP WirelessAssistant) program and then with others. These were the steps I took to correct the error:

from Add/Remove Programs:

  1. Uninstall .NET 3.5
  2. Uninstall .NET3.0
  3. Uninstall .NET2.0
  4. Restart the computer
  5. Download and Re-Install .NET 3.5 only (the other versions .NET 3.0 and .NET 2.0 will be installed automatically)
  6. Restart the computer

Everything should work normal without errors!

Again, thanks for the help.

I know this is old, but I'm having this problem. Windows 7 doesn't let me uninstall .net 2. It doesn't show up in the programs list. Any ideas?


Saturday, February 16, 2013 3:38 AM | 1 vote

Same here.  I don't know what is worse, .NET or Java.  I can tell you this, I've NEVER had anyone advise me to "in reverse chronological order" uninstall every java update, then reinstall them all. 

humpty dumpty is sleepy