Welcome to MSDN Blogs Sign in | Join | Help

Removal tool to fix .NET Framework install failures

I wrote an application late last year that is designed to clean up computers that have problems getting the .NET Framework 1.0 or 1.1 to install correctly.  I have been working on refining the tool for the past couple of months, working out some bugs, adding additional cleanup features, etc.  The .NET Framework setup Product Support team has been using this cleanup tool for the past few months to help resolve many cases, and the internal Microsoft helpdesk has also started using it to solve internal cases where employees cannot get .NET Framework service packs or hotfixes to install correctly.  I have also been sending this tool out to individuals who email me via my blog and ask for help resolving setup problems - most commonly this is because of issues installing .NET Framework service packs or hotfixes such as MS05-004.

Since I have been seeing really good success rates for using this cleanup tool and it has proven to speed up the process of resolving issues so customers can get the .NET Framework installed correctly and start using managed code on their computers, I decided to try to get a KB article written up with a copy of the tool that customers could download on their own without needing to contact me directly or call our PSS team.  The KB publishing process can sometimes take a while with technical reviews and things like that, so in the meantime I am going to post a link to the tool here on my blog.

You can download the tool by visiting the .NET Framework Cleanup Tool User's Guide and using one of the download links listed there.

There are a couple of very important caveats that you should read before using this tool to cleanup .NET Framework bits on your machine:

  1. You should try to perform a standard uninstall first.  This tool is not designed as a replacement for uninstall, but rather as a last resort for cases where uninstall or repair did not succeed for unusual reasons.
  2. This cleanup tool will delete shared files and registry keys used by other versions of the .NET Framework.  So if you use it, be prepared to repair or reinstall any other versions of the .NET Framework that are on your computer to get them to work correctly afterwards

The tool itself has been fairly well tested, but I'm sure it is still not perfect.  I'm still in the process of fixing bugs as I find them and adding features to make it more effective at cleaning up known issues and to make it more intelligent about identifying root causes so we can fix the underlying bugs in .NET Framework setup for future releases.  As I update it, I will post updates to my blogs and update the copy of the tool located at the link above.

I hope this tool will be helpful in resolving problems installing the .NET Framework.  Please let me know if you run into any issues while using the cleanup tool or if you are still unable to install the .NET Framework (or any service packs or hotfixes) after running it.

<update date="3/3/2009"> Added a link to the .NET Framework Cleanup Tool User's Guide, which contains the most up-to-date download location for this tool. <update>

 

Published Friday, April 08, 2005 4:04 PM by astebner
Filed under:

Comments

Friday, April 08, 2005 5:54 PM by Lorenzo Barbieri @ UGIblogs!

# Tool per rimuovere completamente i .NET framework 1.0 e 1.1 installati incorrettamente...

Friday, April 08, 2005 9:24 PM by MikeFarinha

# re: Removal tool to fix .NET Framework install failures

Are there any removal tools for help with the removeal of .net 2.0 beta components? I've seem to come across a problem with removing SQL '05 Express Beta and now i can't get it reinstalled.
Monday, April 11, 2005 10:45 AM by Heath Stewart

# re: Removal tool to fix .NET Framework install failures

You should consider using an extension for the EXE that at least defaults (both on the server and in clients) to a binary MIME type, so that if a user simply clicks on it they will be prompted to download it. You could use a real extension like .zip (and zipping the EXE would reduce size) or (if WinISP supports it, and I honestly don't know it if will) .bin (which typically defaults to "application/octet-stream" for unknown and/or unmapped extensions).
Tuesday, April 12, 2005 10:50 PM by astebner

# re: Removal tool to fix .NET Framework install failures

Mike - we are actually in the process of getting a version of this tool ready for the Whidbey .NET Framework also. There are a couple of fixes I need to make to fully enable this for all of the beta and community tech preview versions of the .NET Framework 2.0 that are out in the wild. Stay tuned, I'll post an update to my blog when I have something ready to try out.

Heath - thanks for the posting suggestions. I could've sworn I had tried to upload a ZIP file to the WinISP site and it failed in the past. But I just tried again and it worked. So I'm going to update the text of this blog item to reflect the new link.
Saturday, April 16, 2005 1:01 PM by Aaron Stebner's WebLog

# How to manually cleanup a failed .NET Framework 2.0 install

In response to the blog article I posted last week where I provided a link to a .NET Framework manual...
Tuesday, April 19, 2005 1:23 AM by Aaron Stebner's WebLog

# Visual Studio 2005 previous beta removal tool

Hey all, I'm sorry for the delay posting this.&amp;nbsp; I've got a version of the cleanup tool that I wrote...
Tuesday, April 19, 2005 7:16 PM by - TrIpLeZoNe -

# Visual Studio 2005 Beta Removal Tool (Unofficial)

Ok. After ACTUALLY sleeping for a few hours, I've so much information and news to catch up. First up....
Thursday, May 05, 2005 5:01 PM by Dave

# re: Removal tool to fix .NET Framework install failures

Thanks so much for your hard work and sharing your cleanup tool. You have just released me from a world of pain.
Monday, May 09, 2005 12:57 PM by Anonymous

# re: Removal tool to fix .NET Framework install failures

This tool is a lifesaver!! Thank you! I was getting an error that it could not open %temp%\e1877.msi
Wednesday, May 11, 2005 4:01 PM by Craig in Texas

# re: Removal tool to fix .NET Framework install failures

Thanks, man! I was totally screwed without this tool.
Saturday, May 14, 2005 10:07 AM by Qflash

# re: Removal tool to fix .NET Framework install failures

Friday, May 27, 2005 2:35 AM by Dave

# re: Removal tool to fix .NET Framework install failures

Thanks for having a go. I ran this but still can't install .net 1.1 via dotnetfx.exe on xp pro. I have tried all other MS and your suggestions but to no avail. Looking at the MSI .log it fails at Registering System.EnterpriseServices.dll:
MSI (s) (30:A0) [13:24:36:046]: Invoking remote custom action. DLL: C:\WINDOWS\Installer\MSI32.tmp, Entrypoint: _QuietExec@4
CA_ComregEnterpriseServices.3643236F_FC70_11D3_A536_0090278A1BB8: Executing: ERROR: Process returned non-0 value! CMDLINE: "C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\RegSvcs.exe" /bootstrapi
CA_ComregEnterpriseServices.3643236F_FC70_11D3_A536_0090278A1BB8: Executing: Failed
Action ended 13:24:40: InstallFinalize. Return value 3.

Any ideas?Cheers
Dave.
Saturday, June 04, 2005 3:04 PM by astebner

# re: Removal tool to fix .NET Framework install failures

Hi Dave, we have gotten a lot of reports of .NET Framework installation errors where the failure occurs when trying to register System.EnterpriseServices.dll. Unfortunately we have not found a consistent root cause for this. In a lot of cases running my cleanup tool will help, but in many others it will not.

The tricky part here is that registering this DLL is the first time that the underlying CLR is used to run managed code, and so if any part of the CLR is not working then this action will fail. But there are many possible causes for the CLR to not be working when it is being installed.

I am working on a blog post describing how to gather debugging information from this action during setup to aid us in figuring out the root cause. I will post a link to it once I get my steps tested and posted on my blog....sorry for the delay.
Tuesday, June 07, 2005 12:20 PM by Dmitri

# re: Removal tool to fix .NET Framework install failures

I am having problems installing .net Framework 2.0 on an XP pro machine, this error keeps comming up:
Error 25015.Failed to install assembly
'C:\Windows\Microsoft.NET\Framework\v2.0.50215\Microsoft.VisualBasic.Vsa.dll' because of system error: Access is denied.

Any ideas on what can be causing this, the installer works fine on other machines but this one seems to fail (ofcourse its the machine i need it on). Any help is greately appreciated!
Tuesday, June 07, 2005 4:39 PM by astebner

# re: Removal tool to fix .NET Framework install failures

Hi Dmitry,

This error sounds like it could be a permission issue for the global assembly cache. Can you please try the following:

1. Open the %systemdrive% folder (normally this is c:\) in Windows Explorer
2. Right-click on the Windows folder and choose Sharing and Security
3. Choose the Security tab
4. Click the Advanced button
5. Make sure that Users are listed as having Read & Execute permissions, Administrators have Full Control and SYSTEM has Funn Control
6. Check the box that says "Replace permission entries on all child objects with entries shown here that apply to child objects"
7. Click the OK button
8. Try to install .NET Framework 2.0 again

If that does not work, can you please try the following:

1. Download the Filemon utility from http://www.sysinternals.com/Utilities/Filemon.html and install it
2. Launch Filemon and press CTRL + L to launch the filter dialog
3. Check the box to log writes and choose to include msiexec.exe and fusion.dll
4. While Filemon is running run .NET Framework 2.0 setup and wait for it to fail
5. Copy and paste the error messages with access denied as the error type and send them to me via email so we can see if we can figure out the root cause
Thursday, June 16, 2005 3:16 AM by Andy

# re: Removal tool to fix .NET Framework install failures

I'm trying to install .Net Framework 2.0 beta 2 onto xp pro sp2 using the redist dotnetfx.exe, version 2.0.50215.45. I get the error message "Error 25015.Failed to install assembly
'C:\Windows\Microsoft.NET\Framework\v2.0.50215\System.EnterpriseServices.dll' because of system error: parameters incorrect". Can you help?
Friday, June 17, 2005 6:22 PM by astebner

# re: Removal tool to fix .NET Framework install failures

Hi Andy - I've been asking around and nobody here has seen the error you're running into, so I think we may need to use a variation of the debugging steps I just posted at http://blogs.msdn.com/astebner/archive/2005/06/17/430320.aspx to gather more information about your machine. Here are the exact steps that you can use to get crash info:

1. Download and install the .NET Framework 2.0 redist and SDK on a separate machine. You can download them from http://lab.msdn.microsoft.com/vs2005/downloads/netframework/default.aspx
2. Copy the file gacutil.exe from the folder c:\Program Files\Microsoft .NET\SDK\v2.0\bin to the machine where setup fails
3. Download and install the Debugging Tools for Windows. You can download this from http://www.microsoft.com/whdc/devtools/debugging/installx86.mspx
4. Rerun .NET Framework 2.0 setup on the machine that you see this failure
5. During installation, leave the error message up on the screen
6. While the error message is still on the screen, open WinDBG
7. From the File menu, choose Open Executable...
8. In the File name text box, enter the following information: c:\gacutil.exe (or wherever you copied gacutil.exe to in step 2 above)
9. In the Arguments text box, enter the following information: /i c:\windows\Microsoft.NET\Framework\v2.0.50215\System.EnterpriseServices.dll
10. After entering the above information, choose Yes to save base workspace information
11. Press g in the Windbg window to resume execution until the process crashes, then save the crash log to a file

If you can send me the crash file I will try to take a look and see if I can figure out how to fix this.
Wednesday, June 29, 2005 11:41 PM by Fei

# re: Removal tool to fix .NET Framework install failures

Hi,

I'm also having the same error which Dmitri has while installing .net framework 2 beta 2 :

Error 25015.Failed to install assembly
'C:\Windows\Microsoft.NET\Framework\v2.0.50215\Microsoft.VisualBasic.Vsa.dll' because of system error: Access is denied.

I've already tried both things that astebner suggested to do, but still doesn't work. In File Monitor, I didn't find any "ACCESS DENIED" result. I found only "PATH NOT FOUND" results as an error message, it's said that some dll not found in C:\I386.

Any idea?

Thanks
Friday, July 01, 2005 9:02 PM by astebner

# re: Removal tool to fix .NET Framework install failures

Hi Fei,

First of all, I would suggest making sure that you have disabled any antivirus or anti-spyware applications (temporarily of course) during the course of setup. Sometimes those can interfere with installation and cause access denied errors. However, I would definitely expect to see a message in FileMon for any access denied error, so that is odd.

Do you see a pop-up dialog for this 25015 error? If so, can you try to use the tool gacutil.exe and manually install the assembly to the GAC while that error is on-screen and see if it gives any additional error information. You will need to do the following to try this:

1. Install the .NET Framework 2.0 beta 2 and .NET Framework 2.0 SDK beta 2 on a separate machine (you can get them at http://lab.msdn.microsoft.com/vs2005/downloads/netframework/default.aspx)

2. Copy gacutil.exe from %programfiles%\Microsoft.NET\SDK\v2.0\bin to the other machine where this failure is happening

3. At the point of failure, run gacutil /i C:\Windows\Microsoft.NET\Framework\v2.0.50215\Microsoft.VisualBasic.Vsa.dll and let me know what the output is

Hopefully this helps...

Wednesday, July 06, 2005 6:33 AM by Andy

# re: Removal tool to fix .NET Framework install failures

Many thanks for your detailed reply to my original post of June 17. However, I'm pleased to report that after running assorted clean-up & registry repair utilities, .NET Framework 2.0 re-installed without problem, swiftly followed by VS2005 Team beta 2.
Saturday, July 23, 2005 12:37 AM by Hawk

# re: Removal tool to fix .NET Framework install failures

Thank you for your work in creating this clean up utility.
After an OS repair from the restore cd I could not reinstall Net Framework.
With the help of your utility, installation went smoothly.
Saturday, July 30, 2005 11:55 PM by David Albert

# re: Removal tool to fix .NET Framework install failures

Aaron:

I was just cleaning up my \\desktop and noticed your removal utility lingering thereupon. (I had put it to use on April 30 ... exactly 3 months ago ... so it appears.)

Alas, I owe you very special thanks for finally rectifying a maddening .net botched install ... one which caused me continuous grief at the hands of my antivirus software -- which persistently admonished me for an out-of-date windowsupdate status. (Windowsupdate was unable to apply .net patches ... because of the botched install.)

In any case, I don't know who you are ... but you have my vote for software philanthropist of the year. May good things come to you in abundance.

Thank you,
David

7/30/2005
Sunday, August 14, 2005 3:30 PM by George

# re: Removal tool to fix .NET Framework install failures

I am seeing the following problem when trying to install on Windows 2000 Service Pack 4. This machine has never had .net framework of any kind on it before. Not sure if there is something else out of whack here ... This is from the fail log

8/14/05 14:15:01 DDSet_Entry: RunProcess started
08/14/05 14:15:01 DDSet_Status: CustomActionData: "C:\WINNT\Microsoft.NET\Framework\v2.0.50215\regtlibv12.exe" "C:\WINNT\Microsoft.NET\Framework\v2.0.50215\mscoree.tlb";11
08/14/05 14:15:01 DDSet_Status: Process returned 5
08/14/05 14:15:01 DDSet_Error: The Commandline '"C:\WINNT\Microsoft.NET\Framework\v2.0.50215\regtlibv12.exe" "C:\WINNT\Microsoft.NET\Framework\v2.0.50215\mscoree.tlb"' returned non-zero value: 5.
08/14/05 14:15:01 DDSet_CARetVal: 5
08/14/05 14:15:01 DDSet_Exit: RunProcess ended

Monday, August 15, 2005 12:04 AM by astebner

# re: Removal tool to fix .NET Framework install failures

Hi George - this sounds like the error described at http://blogs.msdn.com/astebner/archive/2005/08/09/449720.aspx. Can you try the workaround listed there and see if that will resolve this problem on your computer?

Tuesday, August 16, 2005 10:07 PM by tpham

# re: Removal tool to fix .NET Framework install failures

I need to reinstall Team System Server but a message says 'setup has detected existing Team Foundation databases on this machine and this operation cannot be continued. Please refer to the accompanying documentation on how to reuse this machine.'

I can't find the afore mentioned documentation on the TS Server Beta 2 guide...

Tuesday, August 16, 2005 11:41 PM by George

# re: Removal tool to fix .NET Framework install failures

Aaron, Just wanted to let you know I tried the workaround you recommended based on my prior post. This work around solved the problem and I was able to successfully install the 2.0 .NET framework. Sorry I was not more diligent about looking at the other content in your blog.
Thursday, August 18, 2005 11:45 PM by astebner

# re: Removal tool to fix .NET Framework install failures

George - I'm glad that the workaround was successful. It is hard to find all of the random comments I've posted, so there's no need to say sorry. I'm going to try to pull some stuff together into a parent post that serves as kind of a troubleshooting guide with a bunch of sub-links to my other posts, but I just need to find time to get it all typed up :-)

Tpham - I received your email and sent you the following set of steps, which you indicated resolved your issue (I'm posting them here for any others who happen to read my blog):

1. Uninstall the Data Tier
2. Launch SQL Management Studio
3. Delete all of the following databases if they exist:
BisDB
BisDWDB
CurrituckDB
ELeadDB
Psshared
VSTEAMSCC
VSTEAMSCCAdmin
4. Re-run Data Tier setup

If you are performing a single server setup, you will need to do all of the above plus the following additional step:

5. Uninstall ADAM (this can be done before or after uninstalling the Data Tier)

Monday, August 22, 2005 9:35 AM by Neil Faigenbaum

# re: Removal tool to fix .NET Framework install failures

I had VS Beta 2 installed successfully and wanted to cleanup my machine. I went thru all the steps to uninstall. When I tried to re-install, it fails on the .net Framework. I tried using your tool and it fails with the message, "Error creating process \\cleaup.exe reason c:\winxp\advpack.dll. Any help would be greatly appreciated. I am dead in the water until I can re-install.
Tuesday, August 23, 2005 1:47 AM by Aaron Stebner's WebLog

# Unified .NET Framework Troubleshooting Guide

&amp;nbsp;
Deciphering specific HRESULT values

HRESULT 0x80070002 and 0x80070003
HRESULT 0x80070005...
Tuesday, August 23, 2005 2:14 PM by Tzvi

# re: Removal tool to fix .NET Framework install failures

Hi tpham
Regarding the Team System Server installation , you should just go to the SQL server and delete all the databases that you dont know , make sure to leave the Report & ReportServer databases , otherwise you need to reinstall the SQL 2005 report service

Cheers and good luck ,
-Tzvi
Wednesday, August 31, 2005 3:50 PM by Ron

# re: Removal tool to fix .NET Framework install failures

Hi Aaron -

Thanks for all your efforts on this blog, I found it extremely useful, and came close to solving my .NET Framework problems, but fell shy of the solution. I am guessing, given your new job, that you will know the answer handily.

After much effort, I found I needed to use your clean-up tool to remove 1.0 and 1.1. The good news is I can easily re-install 1.1, but the program that asks for the original source CD to install 1.0 would not correctly recognize my MCE 2005 CD.

How can I re-install .NET Framework 1.0 on an MCE 2005 machine?! Are there manual steps listed somewhere, or a way to force msiexec to recognize the original install CD/netfx.cab?

Thanks,
Ron
Thursday, September 01, 2005 11:32 PM by astebner

# re: Removal tool to fix .NET Framework install failures

Hi Ron - .NET Framework 1.0 is installed as part of the operating system on Windows XP Media Center Edition (and Tablet PC edition). Therefore you cannot re-install it by simply running the dotnetfx.exe package or any msiexec command lines.

The instructions for repairing the .NET Framework 1.0 that comes as part of the OS on MCE and Tablet are a little bit complicated, so I posted a separate blog item about this, you can find it at http://blogs.msdn.com/astebner/archive/2005/09/01/459631.aspx.

I know they are kinda convoluted, so if you have any issues please don't hesitate to contact me at aaronste (at) microsoft (dot) com and I will do my best to assist you....

Friday, September 02, 2005 1:59 AM by Frederic R.

# re: Removal tool to fix .NET Framework install failures

Oh god ...
i used your item as a last hope ...
and
it's really ...
really...
REALLY
giving me hope :) IT WORKS !!! It removed all of thoses annoying errors and just let me use all of these .NET stuff efficiently
I give you a BIG and HUGE and WARM thank. I was desperate and you guide me on the right way ;)
Regards
Saturday, September 10, 2005 1:51 PM by jdMcF

# re: Removal tool to fix .NET Framework install failures

Those with XP Home Edition (my dad) need to restart in safe mode if you want to see the security tab in windows explorer.
Monday, September 12, 2005 1:04 AM by Oleg

# I can't download you'r removal tool. Link isn't working...

I can't download you'r removal tool. Link isn't working...
Monday, September 12, 2005 7:17 PM by astebner

# re: Removal tool to fix .NET Framework install failures

Hi Oleg - it looks like there was some kind of outage on the ISP that I'm using to host my tools downloads, but it appears to be up and working now. Can you please try the download again and see if it works for you? If it doesn't work, can you please contact me directly by using http://blogs.msdn.com/astebner/contact.aspx and I will email you a copy of the tool directly instead?
Friday, October 28, 2005 4:13 PM by Nigel Cooper

# re: Removal tool to fix .NET Framework install failures

Hi Aaron,
Thank you for getting me out of a problem I suspect I caused! I am not as computer literate as, thank god, you are.

Your utility recovered a clean computer for me, allowing re-install of .NET 1.0 which my WiFi media player demands. (I will soon proceed to getting 1.1 back online) I shall think twice about using MS add/remove progs for .NET in future as it left me unable to re-install....until your utility!

Thanks again, your posting of this utility is a selfless and much appreciated act in picking up the pieces after microsoft abandons its customers.
Saturday, November 05, 2005 3:52 PM by artur

# I can't install Microsoft .NET Framework 1.1 or 2.0

I can't install Microsoft .NET Framework 1.1 or 2.0, it reports me an error

"Error 25015.Failed to install assembly 'C:WINDOWS\Microsoft.NET\Framework\v2.0.50727\Microsoft.VisualBasic.Vsa.dll' Because of system error: The system cannot find the path specified."

Did anyone have such problems or any idea how to solve this.
Saturday, November 12, 2005 2:50 PM by eshu

# re: Removal tool to fix .NET Framework install failures

i´ve been in serious problems with my xp..
gradually i´m recovering it back, day by day..
i had this .NETFramework issue for days, and now thanfully to thee i´ve mannaged to resolve it :-)
thx. and keep on going :-)
thx. A!
Friday, November 18, 2005 2:48 PM by patrick

# works on win98

1.1 would not install on win98. Your tool resolved the problem immediately.

THANK YOU
Tuesday, November 22, 2005 4:39 AM by dan

# re: Removal tool to fix .NET Framework install failures

Hi there

Where would I find the program for the NET FRAMEWORK INSTALLER on the windows CD. My reason is that I have two different versions of xp pro....one has problems installing but net framework programme is good and the other installs windows perfectly but not the net framework.....I wish to combine best of both onto one cd.

hope this makes sense.

regards
dan
Tuesday, November 22, 2005 12:13 PM by astebner

# re: Removal tool to fix .NET Framework install failures

Hi Dan - If you have a CD with XP Pro with SP1 integrated, you can find the .NET Framework 1.0 in the dotnetfx folder in the root of the CD. If you have a CD with XP Pro with SP2 integrated, you can find the .NET Framework 1.1 and 1.1 SP1 in the dotnetfx folder in the root of the CD.

Also, you can download the .NET Framework from the web as a standalone package. Check out the links at http://msdn.microsoft.com/netframework/downloads/updates/default.aspx.
Sunday, November 27, 2005 12:55 PM by McKirahan

# re: Removal tool to fix .NET Framework install failures

****ERROR**** Cleanup failed for product .NET Framework - Both Versions

The above error was the last line in the cleanup_main.log file created when using your tool.

I just bought two Wrox books on ASP.NET programming and will be installing the following on my Windows XP SP2 machine:

1) Microsoft .NET Framework Version 2.0
2) Visual Web Developer 2005 Express Edition
3) Microsoft SQL Server 2005 Express Edition

My PC already had .NET Framework 1.0 and 1.1.

I tried removing both via Add/Remove Programs but the process never completed.

I thought I had to remove them before I installed 2.0 -- was I wrong?

What should I do know? Thanks in advance.
Monday, November 28, 2005 11:55 PM by astebner

# re: Removal tool to fix .NET Framework install failures

Hi McKirahan - I'm sorry for the hassle here. The first important thing to mention is that the .NET Framework 1.0, 1.1 and 2.0 are designed to be side-by-side, so you can definitely have all 3 versions installed at the same time.

I think the best route to go now that you have tried to remove 1.0 and 1.1 is to use the instructions that I posted at http://blogs.msdn.com/astebner/archive/2005/10/11/479928.aspx to clean and reinstall both 1.0 and 1.1, and then install 2.0 and the WebDev and SQL 2005 Express editions.

Please contact me at http://blogs.msdn.com/astebner/contact.aspx if you run into any issues getting these steps to work...
Wednesday, November 30, 2005 8:06 PM by Kenneth Sampath

# re: Removal tool to fix .NET Framework install failures

What a wonderful tool is your removal tool for removing framework 1.1. I had a problem with this and I could not even re-install or even delete using the windows add/ removal process.

I found your link and it removeit. I reinstalled the software. Thanks for your help
Wednesday, December 07, 2005 5:09 PM by N.Gopalakrishnan

# re: Removal tool to fix .NET Framework install failures

Hello,
I'am using win xp sp2.I'am unable to install the .net framework 2.0.Getting err 25015:failed to install the assembly.so as per the advice i used the removal tool.but still i'am getting the same problem, is there any alternative way to repair the problem?.
Wednesday, December 07, 2005 5:23 PM by astebner

# re: Removal tool to fix .NET Framework install failures

Hi N.Gopalakrishnan - For the .NET Framework 2.0 can you please try the manual cleanup steps that I have listed at http://blogs.msdn.com/astebner/archive/2005/04/16/408856.aspx and see if they help? I am in the process of updating the automatic removal tool to include .NET 2.0 also but I have not yet had time to finish it. I hope this helps in the meantime....

Tuesday, December 20, 2005 6:58 PM by jimh1008

# re: Removal tool to fix .NET Framework install failures

Great tool.....cleaned up a rather sloppy install of .NET Framework 1.1, Service Pack 1.
Saturday, December 24, 2005 1:23 PM by jw

# re: Removal tool to fix .NET Framework install failures

I recieved this error while trying to unstall v2.0 beta.
Error 25015.Failed to install assembly
'C:\WINDOWS\Microsoft.NET\Framework\v2.0.50215\Microsoft.VisualBasic.Vsa.dll' because of system error: Data error (cyclic redundancy check).
Sunday, December 25, 2005 12:33 AM by astebner

# re: Removal tool to fix .NET Framework install failures

Hi JW - if you are receiving an uninstall error for the .NET 2.0 beta, can you please try the steps listed at http://blogs.msdn.com/astebner/archive/2005/10/30/487096.aspx to locate and manually remove it and see if that gets you past this error?
Thursday, December 29, 2005 2:16 AM by Sure_I_can

# re: Removal tool to fix .NET Framework install failures

Thanks, worked for me!!!
Sunday, January 01, 2006 1:19 PM by Tink

# re: Removal tool to fix .NET Framework install failures

I don't know if you got this submit:

Dear Aaron,

HUGE THANKS! I have to praise (big praise) you SO much for your gift of that cleanup tool!!! I went through all the steps to try to find out why the MS update failed in two new machines I was installing for husband/self. I had started getting errors like those noted in some of your blog pages, and that type of thing is a major warning to "cleanup."

I tried walking through the long drawn out fix offered at the MS site (having drilled through many URLS until I got there) and THEN I got stuck on the fix because files/dirs they said to delete would not delete!

Ultimately, I couldn't figure out why a security download would NOT install and I wanted that security. I was JUST about to give up after 3 hours into this, when I found YOUR page and downloaded this cleanup tool. Long story short, NOTHING worked until I used your cleanup tool.

For those who might be stuck like I was... Here were my steps to overcoming this "painful" problem (many thanks to Aaron's help!):

Went here for the dotnetfx.exe file:
http://www.microsoft.com/downloads/details.aspx?FamilyID=262d25e3-f589-4842-8157-034d1e7cf3a3&DisplayLang=en

1. Downloaded/extracted the dotnetfx.exe files into a dotnet directory/folder on drive C like this (thanks to Aaron). Start\Run then typed in: dotnetfx.exe /t:c:\dotnet /c

2. I used Aaron's "Cleanup tool" dotnetfx_cleanup_tool.zip by simply opening the zip and running cleanup_tool.exe This worked like a charm.

3. Then ... to install .NET Framework 1.1 I went to my "dotnet" directory and double clicked: netfx.msi

PARTIAL VICTORY!

NOTE: I went to the following to download...
http://www.microsoft.com/downloads/details.aspx?FamilyID=8ec6fb8a-29eb-49cf-9dbc-1a0dc2273ff9&DisplayLang=en

Security Update file: NDP1.1sp1-KB886903-X86.exe

Microsoft's notes:
"ASP.NET Security Update for Microsoft .NET Framework 1.1 Service Pack 1"

I attempted to install NDP1.1sp1-KB886903-X86.exe
and got this message:

"COULD NOT INSTALL NDP1.1sp1-KB886903-X86.exe with this error message:
"Info 9006. This patch cannot be installed because it requires Microsoft .NET Framework 1.1 Service Pack 1(SP1). No Microsoft .NET Framework 1.1 SP can be detected on this computer. Please see http://support.microsoft.com/?kbid=886903 for more details."

SO...I went back to the MS Windows update site...

4. I still had KB886903 update to install. I did so...and Bingo.

Done.

Aaron, I wouldn't have gotten there without your help. This type of problem is COMPLETELY obnoxious and a time waster. Even so...I would not have been able to resolve this without your hard work and I thank you!

Tink
Thursday, January 05, 2006 10:29 AM by Stephen Adams

# Issues with .NET framework 1.1 installation

Hello Aaron! I'm on my last leg here. :(

Just recently built a new computer. XP SP2 running an A64 chip. I
installed Visual Studio 2003 and Visual Studio 2005 and as part of the
prereqs, both v1.1 and v2.0 of the framework respectively. I was able
to compile and run web applications, but after compiling and running a
windows application from either Visual Studio I received a "Application
failed to initialize properly." error everytime no matter what
application I compiled. My web apps worked, but my windows forms
didn't. Strange. This led me to believe it was a possible corrupted
framework problem.

So I uninstalled the v1.1 framework and tried reinstalling, but
everytime I got this message:

"NET Framework 1.1 Setup has ended prematurely"

This happens right at the very last step when trying to setup
System.EnterpriseServices

I've tried renaming mscoree.dll, removing all the .NET components,
running clean up tools, and everytime I run the 1.1 framework installation it won't install. It keeps failing at the very, very, very last step. :(

PLEASE, PLEASE help me here. I need to have these development environments
installed. They were installed before, but I had to uninstall them to
fix this problem, and now I can't even install the .NET frameworks.

I've never seen this issue before and I've been reading all over, and
every thing I'm told to do doesn't work. I just need a clear cut
solution to remove the .NET framework remnants and clean anew WITHOUT
having to reformat.

Thanks much Aaron, hopefully you can help me. :)
-Steve
Friday, January 06, 2006 11:37 PM by Marcus

# re: Removal tool to fix .NET Framework install failures

Hi, I have the same problem as Dave above, the installation hangs on the registration step. I ran the removal tool and it still hangs. Any other ideas. Thanks, Marcus
Friday, January 06, 2006 11:38 PM by Marcus

# re: Removal tool to fix .NET Framework install failures

Hi, I have the same problem as Dave above, the installation hangs on the registration step. I ran the removal tool and it still hangs. Any other ideas. Thanks, Marcus
Saturday, January 07, 2006 12:15 AM by Marcus

# re: Removal tool to fix .NET Framework install failures

Update: I went into Services and disabled the Distributed Transaction Coordinator, rebooted and then installed after running your cleanup program. It is now working. Hope this helps.
Saturday, January 07, 2006 5:08 PM by Stephen Adams

# re: Removal tool to fix .NET Framework install failures

Update:

Here's the error log from my generated log file:

MSI (s) (60:18) [16:33:35:203]: Executing op: ActionStart(Name=CA_ComregEnterpriseServicesRB.3643236F_FC70_11D3_A536_0090278A1BB8,,)
Action 16:33:35: CA_ComregEnterpriseServicesRB.3643236F_FC70_11D3_A536_0090278A1BB8.
MSI (s) (60:18) [16:33:35:234]: Executing op: CustomActionSchedule(Action=CA_ComregEnterpriseServicesRB.3643236F_FC70_11D3_A536_0090278A1BB8,ActionType=3393,Source=BinaryData,Target=_QuietExec@4,CustomActionData="C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\RegSvcs.exe" /bootstrapu)
MSI (s) (60:18) [16:33:35:265]: Executing op: ActionStart(Name=CA_ComregEnterpriseServices.3643236F_FC70_11D3_A536_0090278A1BB8,Description=Registering System.EnterpriseServices.dll,Template=Executing: [1])
Action 16:33:35: CA_ComregEnterpriseServices.3643236F_FC70_11D3_A536_0090278A1BB8. Registering System.EnterpriseServices.dll
MSI (s) (60:18) [16:33:35:296]: Executing op: CustomActionSchedule(Action=CA_ComregEnterpriseServices.3643236F_FC70_11D3_A536_0090278A1BB8,ActionType=3073,Source=BinaryData,Target=_QuietExec@4,CustomActionData="C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\RegSvcs.exe" /bootstrapi)
MSI (s) (60:0C) [16:33:35:359]: Invoking remote custom action. DLL: C:\WINDOWS\Installer\MSI15.tmp, Entrypoint: _QuietExec@4
CA_ComregEnterpriseServices.3643236F_FC70_11D3_A536_0090278A1BB8: Executing: ERROR: Process returned non-0 value! CMDLINE: "C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\RegSvcs.exe" /bootstrapi
CA_ComregEnterpriseServices.3643236F_FC70_11D3_A536_0090278A1BB8: Executing: Failed
Action ended 16:33:36: InstallFinalize. Return value 3.
Sunday, January 08, 2006 10:22 PM by astebner

# re: Removal tool to fix .NET Framework install failures

Hi Marcus - Thank you for posting the workaround that worked for you. I have seen this workaround solve other issues as well, so I created a new blog post to describe this workaround. It is located at http://blogs.msdn.com/astebner/archive/2006/01/08/510677.aspx

Hi Stephen - can you please try this workaround and see if it helps for you? If not, there are a couple of other suggestions listed in that blog post for other possible fixes for this error in .NET Framework 1.1 setup.

Wednesday, January 11, 2006 8:54 PM by Eric H

# re: Removal tool to fix .NET Framework install failures

This worked perfectly! Thanks so much for the removal tool. Trying to run the command prompt fixes failed to many times to try. Again thanks for the help it worked wonders.

Eric H.
Saturday, January 14, 2006 11:36 AM by ChristophD

# re: Removal tool to fix .NET Framework install failures

Great, you're my rescue!
Monday, January 16, 2006 6:25 AM by Derek

# Access Denied error installing Framework 2.0 Microsoft.VisualBasic.vsa.dll

I was receiving an error installing the 2.0 Framework with an 'Access Denied' error on the file Microsoft.VisualBasic.vsa.dll and I thought I would post the solution I found as other people have been encountering it.

By using FileMon, I could see that the ACCESS DENIED error was actually being return when the setup tried to create the file GACLock.dat in the folder c:\winnt\assembly

For some reason, Administrators had lost permission to write to this folder.

I was not able to apply permissions using Windows Explorer, but could set Administrators to having full control in this folder by using the following CALCS command from the command line:

calcs c:\winnt\assembly /E /P BUILTIN\Administrators:F

After this the framework installed OK.
Tuesday, January 17, 2006 2:59 PM by Zan

# re: Removal tool to fix .NET Framework install failures

Hi,

I'm using Windows XP x64. I am trying to uninstall Microsoft .NET framework x64 BETA 2 (Shipped with VS 2005 BETA). The framework seems to have had installed a couple of important files in 'Program Files (x86)' which contains, due the uninstaller, 'illegal characters' (the parantheses?). Because of this issue I can't uninstall Microsoft .NET framework x64, which I have to do in order to be able to install VC++ Express Edition.

The only error message I get is:
'Error 1324.The folder path 'Program Files' contains an invalid character.'.

Is it possible to change the registry keys somewhere from 'Program Files (x86)' to perhaps 'Progr~2'? Or is there another method?
Tuesday, January 17, 2006 5:11 PM by astebner

# re: Removal tool to fix .NET Framework install failures

Hi Zan - I don't think the parentheses is an invalid character since Windows allows you to create a folder with that name. Can you please try the steps listed at http://blogs.msdn.com/astebner/archive/2005/10/30/487096.aspx to try to manually remove the .NET Framework 2.0 beta that you have on your system? Hopefully that will get you past this error.

Saturday, January 21, 2006 9:42 AM by James Muir

# re: Removal tool to fix .NET Framework install failures

I just wanted to say thanx for this excellent tool.

I had apparently insoluble problems with .Net 1.1, and you tool fixed it immediately.

Thanx very much,

James Muir
Tuesday, January 24, 2006 6:55 PM by Dr. Evil

# re: Removal tool to fix .NET Framework install failures

Not even Liquid Hot Magma could solve a corrupt .Net install. That is, until your program saved the world, or at least small portion of it. THANK YOU!
Saturday, February 04, 2006 9:06 PM by Fabrício Reuter

# re: Removal tool to fix .NET Framework install failures

Work fine... thank you very much...
Tuesday, February 28, 2006 4:05 PM by gody

# .NET Framework install failures Error 25015

I get the error message "Error 25015.Failed to install assembly ... Vsa.dll' because of system error: Data error (cyclic redundancy check).  


what can i do ..
i am running windows XP media center and SP2

i need helpplis...

you can send me an email to nx_2020@hotmail.com coz its urgent
Wednesday, March 01, 2006 7:30 PM by astebner

# re: Removal tool to fix .NET Framework install failures

Hi Gody - can you please try to use the manual removal steps for the .NET Framework 2.0 that are listed at http://blogs.msdn.com/astebner/archive/2005/04/16/408856.aspx and then try to re-install the .NET Framework 2.0 and see if that resolves this issue?  If that doesn't help, I would suggest contacting Microsoft technical support (you are entitled to a free support call for .NET Framework setup issues).  I'm sorry I'm not able to be more helpful here.
Saturday, March 04, 2006 4:29 PM by Karl

# Thanks

Thank You. Saved me a complete reinstallation!!!
Thursday, March 09, 2006 5:36 PM by Michael Gold

# re: Removal tool to fix .NET Framework install failures

Hi Aaron,

Wanted to thank you.  We couldn't get .NET 1.1 off the machine and kept getting this silly dialog.  Your tool worked like a charm.

Best,

-Mike
C# Corner
Saturday, March 11, 2006 5:37 AM by AndyC

# re: Removal tool to fix .NET Framework install failures

Hi,

I also have the error Failed to install assembly...Vsa.dll The Device is not Ready.

I've tried setting the security settings as Derek suggests, and running FileMon doesn't return an error.

From dd_netfx20:
03/11/06 10:27:29 DDSet_Error: Failed to install assembly C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Microsoft.VisualBasic.Vsa.dll. IAssemblyCache->InstallAssembly() returned -2147024875.
03/11/06 10:27:29 DDSet_Error: Failed to install assembly 'C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Microsoft.VisualBasic.Vsa.dll' because of system error: The device is not ready.

FileMon notes End Of File on VisualBasic.Vsa.dll but no failures.

Can anybody suggest anything else to help?

Thanks,
AndyC
Saturday, March 11, 2006 1:04 PM by AndyC

# re: Removal tool to fix .NET Framework install failures

Guys,

I've solved this problem. I had to remove all my framework versions and then in my Windows/Assembly directory I had some existing subdirectories that needed clearing out, including GAC_32 and GAC_MSIL.

I'm not sure what happened along the way to cause this problem, as I had hoped to run different framework versions alongside each other. But thanks to Aaron, using your manual uninstall process got everything working again.

Thanks,
AndyC
Saturday, March 11, 2006 1:20 PM by astebner

# re: Removal tool to fix .NET Framework install failures

Hi AndyC - I'm glad to hear you got this issue resolved.  In case any other folks read these comments, the manual steps Andy is referring to are located at http://blogs.msdn.com/astebner/archive/2005/04/16/408856.aspx.
Thursday, March 16, 2006 11:41 PM by Steve Yates

# CRM Outlook Client Install failure

Hi,

We have one PC that gets the following error in the Microsoft CRM 3.0 Outlook Client installer, and can't get past the system requirements phase of the installation:

"Microsoft CRM Client for Outlook Setup User Input File or assembly name 9o3db28v.dll, or one of its dependencies, was not found."

(the file name is random and changes on every installation attempt).  Any suggestions?  Do you think removing the .NET Framework might help?  The user is a local administrator and has rights to the user and system Temp folders.

- Steve Yates
- ITS, Inc.
- DUNGEON MASTERS do it any way they feel like.

~ Taglines by Taglinator 4 - www.srtware.com ~
Friday, March 17, 2006 12:48 PM by JR

# re: Removal tool to fix .NET Framework install failures

Thanks! I had an XP machine in .NET confused state for some time now (can't install, can't un-install...) and this fixed it.

Thanks!

Friday, March 17, 2006 9:48 PM by astebner

# re: Removal tool to fix .NET Framework install failures

Hi Steve - I am not sure if this issue you describe is related to the .NET Framework or not.  Could you post a link to where you are installing that CRM setup package from so I can try to take a look and see if I can figure anything out?
Saturday, March 18, 2006 5:25 PM by Jmonkey

# re: Removal tool to fix .NET Framework install failures

I used the uninstaller "ttool.exe", but all it did was remove my newest version of .net framework 2.0. I'm looking for a tool to remove the beta 2 versions. I HAVE BEEN POINTED TO MICROSOFT ALREADY... I do not have any uninstallers. I have the installer that links to a dead end, therefore, I will never be able to get the uninstaller back. Is there anyone who has a list of the registers and folders so I can remove them myself, or is there a better program than the two similar ones from Microsoft. The one on their page gives me error message saying I might not have access to them if I am not an Administrator, but of course, I am... anyone who has the best way to remove these programs, can you think of a way without hurting my .net Framework 1.1 or 2003 registered version?
Saturday, March 18, 2006 6:17 PM by astebner

# re: Removal tool to fix .NET Framework install failures

Hi Jmonkey - Can you please try to use the instructions listed at http://msdn.microsoft.com/vstudio/support/uninstall/default.aspx to determine a list of the exact products you need to uninstall, and then use the individual Add/Remove Programs entries for each of those products?
Sunday, March 19, 2006 2:16 AM by Steve Yates

# re: CRM Outlook Client Install failure

Hi Aaron,  the installer is part of CRM.  The complete path we're using is this:

msiexec.exe /i "\\SERVER1\ClientApps\MSCRM\DesktopClient\lightclient.msi" CONFIG="\\SERVER1\ClientApps\MSCRM\DesktopClient\default_client_config.xml"

...however, copying the folder to the workstation and installing from there yields the same result.

- Steve Yates
- ITS, Inc.
- Synonym:  A word you use when you can't spell the other.

~ Taglines by Taglinator - www.srtware.com ~
Monday, March 20, 2006 8:28 PM by Jmonkey

# re: Removal tool to fix .NET Framework install failures

Again, let me reitterate what I just wrote... I DO NOT HAVE THE UNINSTALLERS.... I've also tried 2 versions of Microsoft's uninstaller on that page and the one on one of this website's pages. It says I do not have rights or something like that because I am not an Administrator. But I am!  I own the computer. I don't have uninstallers, but I still have registers and assemblies and some hidden files in directories. I can remove the 8.0 version in program files, but there is much more to remove in sys32 in %windir% etc... I need to do this manually it looks like. ADD/REMOVE programs is out of the question. I have a registered version of 2003 in there, so I don't want to hurt it. Any suggestions besides the obvious?
Monday, March 20, 2006 8:35 PM by Jmonkey

# re: Removal tool to fix .NET Framework install failures

To add to that last post, I have (had) Visual Studio 2005 Beta 2 EXPRESS. What programming languages... VB.net Express 2005 and Web Developer 2005 Express. I have the June version of SQL Server to install, but I need to remove the betas first. I don't want to do it by myself so that I don't delete needed files or registers of my 7.1 version. Some is obvious, some isn't, some is hidden. Any manual suggestions? Or if there's a 3rd BRAND NEW PROGRAM, NEW AS OF released today or anytime hereafter...any help beyond what is on main microsoft website is gratefully appreciated... Thanks again!
Monday, March 20, 2006 8:40 PM by Jmonkey

# re: Removal tool to fix .NET Framework install failures

One Additional question... I have the newest version of the framework 2.0 installed for other non-visual studio programs, one being Windows One Care... can this remain on and just install the visual studio 2005, or does the order really matter?
Monday, March 20, 2006 8:42 PM by astebner

# re: Removal tool to fix .NET Framework install failures

Hi Jmonkey - I am not sure I understand your comment saying "I do not have the uninstallers" - does this mean that none of the beta VS 2005 versions show up in Add/Remove Programs at all?  If that is the case for you, can you please try to Can you please try to use the instructions listed at http://msdn.microsoft.com/vstudio/support/uninstall/default.aspx to determine a list of the exact products you need to uninstall, and then use the steps listed at http://blogs.msdn.com/astebner/archive/2005/10/30/487096.aspx to locate and manually remove each of them.  Hopefully this helps.

I would also be curious to know how your machine got into the state it is in.  I haven't ever heard of a case where every entry disappeared from Add/Remove Programs like that (in the case of VS 2005, it installs somewhere between 5-10 different Add/Remove entries).  Have you done anything like a system restore recently that might explain the things disappearing from Add/Remove Programs like that?


Hi Steve - can you please use the steps listed at http://blogs.msdn.com/astebner/archive/2005/03/29/403575.aspx to gather verbose logs for this setup and contact me via http://blogs.msdn.com/astebner/contact.aspx so I can see if I can figure anything out from the logs?
Monday, March 20, 2006 8:53 PM by astebner

# re: Removal tool to fix .NET Framework install failures

Hi Jmonkey - I am sorry, it looks like you posted your last question as I was typing my previous reply, so I didn't see it at the time.  The .NET Framework 2.0 is a prerequisite for Visual Studio 2005, so you will have to have it installed if you want to install VS 2005.  You will need to make sure you are installing the final release of VS 2005 and not one of the old beta versions though, because the final release of the .NET Framework 2.0 will only work with the final release of VS 2005.
Monday, March 20, 2006 10:31 PM by Jmonkey

# re: Removal tool to fix .NET Framework install failures

You know why I ask...I have cd's sent to me from Microsoft with SQL 2005. And isn't SQL 2005 a prereq to install Visual Studio 2005...? I try installing it, it's a June 2005 Community Edition Release, and it tells me this reason...it goes first, followed by Visual Studio, then the framework. I know by Visual Studio 2003 Windows SP2 and framework 1.1 and a few other things were first. Maybe I read the page wrong...
Monday, March 20, 2006 11:58 PM by astebner

# re: Removal tool to fix .NET Framework install failures

Hi Jmonkey - You cannot mix and match beta builds with final released builds.  It sounds like the CDs you have with SQL 2005 are from a beta version, so it will not install correctly if you have the final release of the .NET Framework 2.0 installed (because the .NET Framework 2.0 is a prerequisite for SQL 2005).  The .NET Framework 2.0 is a prereq of both VS 2005 and SQL 2005, and will need to be installed before installing either of those other products.

However, SQL 2005 is not a prerequisite for installing VS 2005.  There is a version of SQL 2005 (SQL Express) included in VS 2005 setup, but it is an optional component and is installed after VS 2005.
Tuesday, March 28, 2006 12:29 PM by Luis

# re: Removal tool to fix .NET Framework install failures

Hi Aaron.
First af all, excusme for my bad english.
My problem is:
I had the Microsoft .NET Framework 1.1 and the Microsoft .NET Framework 1.1 Hotfix (KB886903) installed on my Win XP Pro SP2.
I uninstalled them in a wrong way: First, in Add/remove Programs, I unistalled the Hotfix, but WITHOUT restarting the machine, and then I uninstalled the Microsoft .NET Framework 1.1.
This was fatal.
Now, each time I start Wondows tow little error windows appears. I accept the two windows and the Win XP works.
I tried to uninstall again with Add/remove Programs: Dont work.
I tried to uninstall and repair with the Installer: Dont work.
So, I can not unistall, repair or reinstall the Microsoft .NET Framework 1.1

I want to unistall the Microsoft .NET Framework 1.1.
What can I do?
Can I try your tool?

Thanks in advance.
Luis.
Tuesday, March 28, 2006 5:33 PM by Lou S.

# re: Removal tool to fix .NET Framework install failures

Thanks so much for posting your site.  This tool did the trick for me in removing broken framework 1.1 release on my winxp home sp2 machine.  I could not uninstall or winUpdate although I tried many many time.  Your tool is wonderful and saved me a lot of grief.
thanks again
Lou
Tuesday, March 28, 2006 10:52 PM by astebner

# re: Removal tool to fix .NET Framework install failures

Hi Luis - Can you please try the steps listed at http://blogs.msdn.com/astebner/archive/2005/10/11/479928.aspx and see if they help resolve the issue that you are seeing on your system?
Wednesday, March 29, 2006 12:06 PM by Luis

# re: Removal tool to fix .NET Framework install failures

Hi Aaron.
I used your tool and it works. It have uninstalled correctly the .NET Framework 1.1
Then I have reinstalled the .NET Framework 1.1, the SP1 and the Hotfix
That solved my problem.

Tnak you very much.
Wednesday, March 29, 2006 5:29 PM by Mike

# re: Removal tool to fix .NET Framework install failures

Hey Aaron,

This program was so it.  Thanks for this tool it was my last resort uninstall and reinstall microsoft .net 1.1 thanks man otherwise i would have had to reload my OS.

great tool should be on google more easily took me 4 days to figure this out.
Tuesday, April 11, 2006 2:01 PM by Tim

# re: Removal tool to fix .NET Framework install failures

To everyone who had a hand in the fantastic clean up tool....

You guys are great and have saved me from a huge headache (and reinstalliation of my pc)

Thank you so much
Saturday, April 15, 2006 11:51 AM by Shaun

# re: Removal tool to fix .NET Framework install failures

I just wanted to say thanks!! You saved me so much headache with this tool. Worked absolutely wonderfully!! I was searching all over trying to figure out how to remove the .net frame work because I was having trouble and stumbled across this page and found this wonderfull piece of software ;)

Keep up the good work!!
Shaun (sparkison@frii.com)
Sunday, April 16, 2006 6:26 AM by Jodie

# re: Removal tool to fix .NET Framework install failures

Awesome. I've been trying in vain to install NF 1.1 on XP Home, but the install always ended early with an error 1935 message. Your tool worked like a charm and right after the cleanup, NF installed without a hitch. Whew! I appreciate your help so much! and thank you for generously sharing your time and talent.    
Monday, April 17, 2006 6:39 AM by Merlijn

# re: Removal tool to fix .NET Framework install failures

once more, thanks alot, this solved my problem in notime!
Tuesday, April 25, 2006 12:06 PM by rey achh

# re: Removal tool to fix .NET Framework install failures

Hi , iam a tech support engineer for " NortonGhost" .
NG 10.0 uses .net framework 1.1 to run.
I came accross an issue with the customer where NG 10.0 gave an error fatal exception.
I tried uninstalling .net 1.1 from add/remove programs , it did not uninstall .net framework 1.1.
I started searching google for workarounds, i found your link , downloaded your cleanup tool ... and executed it ...
Vowww ..... it removed .netframework 1.1.
This tool is really an excellent tool
Friday, April 28, 2006 2:13 PM by mafus

# re: Removal tool to fix .NET Framework install failures

I just recently installed windows xp x64 edition and i couldnt get the .net 2,9 x64 to install, i check my windows folder and noticed it was read-only laugh my butt off. anyway if anyone is having problems with x64 version i would check the windows folder for read only thnx guys
Monday, May 01, 2006 3:45 AM by mgm

# re: Removal tool to fix .NET Framework install failures

You mentioned that you were going to get a KB article written up with a copy of the cleanup tool. Have you had time to do that? Some people around here feel more comfortable with us using a tool that is "official"!


Monday, May 01, 2006 1:19 PM by astebner

# re: Removal tool to fix .NET Framework install failures

Hi Mgm - I am still talking to the team that writes knowledge base articles to figure out how best to communicate this.  Currently, the steps performed by the cleanup tool are listed in existing knowledge base articles as manual steps, and the tool just automates those steps.  I understand the greater comfort level with using a tool that is more "official," but for now this is all I can offer...
Monday, May 01, 2006 1:19 PM by astebner

# re: Removal tool to fix .NET Framework install failures

Hi Mgm - I am still talking to the team that writes knowledge base articles to figure out how best to communicate this.  Currently, the steps performed by the cleanup tool are listed in existing knowledge base articles as manual steps, and the tool just automates those steps.  I understand the greater comfort level with using a tool that is more "official," but for now this is all I can offer...
Monday, June 05, 2006 9:19 AM by Jim

# Question on Net Framework 1.1

Have net framework 1.1 and service pack on computers.  Each and everyday it tries to reinstall over and over again.  Do you have a fix for this install, and why if it's already installed is it trying to reinstall again.  Thanks, Jim
Monday, June 05, 2006 11:28 AM by astebner

# re: Removal tool to fix .NET Framework install failures

Hi Jim - I would suggest trying the steps listed at http://blogs.msdn.com/astebner/archive/2005/10/11/479928.aspx to remove and reinstall the .NET Framework 1.1 and see if that resolves this problem.
Thursday, June 08, 2006 7:00 PM by Tim Warble

# re: Removal tool to fix .NET Framework install failures

Is anyone able to navigate to the http://astebner.sts.winisp.net site?
Thursday, June 08, 2006 8:52 PM by astebner

# re: Removal tool to fix .NET Framework install failures

Hi Tim - My file server is currently down for maintenance.  Please see http://blogs.msdn.com/astebner/archive/2006/06/07/621524.aspx for more information and alternatives in the meantime.

Sorry for the hassle....
Friday, June 16, 2006 12:46 PM by Stawik

# re: Removal tool to fix .NET Framework install failures

Yeah, where this disapired? Im looking for that tool too.
Friday, June 16, 2006 1:00 PM by astebner

# re: Removal tool to fix .NET Framework install failures

Hi Stawik - My file server is down yet again, I'm sorry for the hassle.  I've temporarily staged this at http://play.mediacentersandbox.com/tools/dotnetfx_cleanup_tool.zip so you should be able to get it from there.
Thursday, June 22, 2006 7:08 AM by rican

# re: Removal tool to fix .NET Framework install failures

I have windows xp home edition. I seem to have a problem with my Microsoft.net framework. When i turn on the computer, everything starts loading, but then this box comes up showing: Microsoft,net framework an unhandled exception has occurred in a componant to your application. Also below that it show also: File or assembly name hpqasset, or one of its dependencies, was not found. I would try to hit continue assuming it's gonna fix the problem, then an installer comes up, but it won't let it install, i'm having to get rid of it by hitting ctrl, alt, delete, and when i do it's showing that the installer is running, is the only way i can get rid of the box, because it won't get rid itself, but nothing else helps. Please if anyone has any idea for me to fix this.

Thank You Rican
Wednesday, July 12, 2006 11:43 PM by astebner

# re: Removal tool to fix .NET Framework install failures

Hi Rican - I am not sure what the file "hpqasset" is, but it is not a part of the .NET Framework.  I think that the error is just being reported by the .NET Framework because the other program is a .NET application.  I would suggest trying to find what program the file "hpqasset" is a part of and then repairing that program.
Sunday, July 30, 2006 1:36 PM by sepharg

# re: Removal tool to fix .NET Framework install failures

i just wanted to thank you for this great tool, i have spent like 4 hours trying to uninstall manually but all the times with no success, always some strange error (and worst, all different ones) arised every time.
used the tool and now i got everthing (vs 2003, iis on windows xp) working perfect again
thanks!!!

ps : i will add a reference to your blog in my blog and also put a link to download this tool so many spanish talking people can make use of it as well
Sunday, September 17, 2006 7:27 PM by tortoise

# re: Removal tool to fix .NET Framework install failures

Just another grateful user who wishes to express my thanks for saving what is left of my Sunday after having fought this problem for most of the day on a clients machine that defied all attempts to fix or repair. Finally stumbled on your tool and glory be it has fixed this miserable PC. I can't thank you enough for your diligent work that continues to help users years after this problem reared it's ugly head. I will save your tool and my notes but hope I never need them again.
Tuesday, September 26, 2006 4:53 PM by webmasta

# re: Removal tool to fix .NET Framework install failures

Quite a tool you have there Aaron... it helped my situation in a way but I am still stuck with this MS PoS they call .NET after a 4 day merry go round.

My issue is that .NET was working on my XP box since 2004 when I installed the whole shebang including the 2003 IDE from an educational CD as part of a .NET course.

Recently a trojan sneaked into my box and all .NET apps failed with 'error 0x0000005' which really doesnt say anything helpful(TM microsoft errors)

Obviously I attempted to reinstall/repair the installation from the original CD with no success, .NET install would fail with 'setup ended prematurely'... which again really doesnt say anything helpful(TM microsoft errors)

Finally I got to understand it was because I had hotfix(kb866903). Trying into uninstall the hotfix was a nitemare itself, just wouldnt go, add-remove would blink and refresh without uninstalling the hotfix.

I got your removal tool which cleared up the 1.1 install but didnt touch the hotfix... same as with the Windows Installer Cleanup utility
from this link:
http://download.microsoft.com/download/E/9/D/E9D80355-7AB4-45B8-80E8-983A48D5E1BD/msicuu2.exe

I followed the steps outlined here:
http://www.experts-exchange.com/Operating_Systems/WinXP/Q_21409539.html
which moved things a bit further on and took the hotfix out of add-remove but really didnt uninstall it completley.

.NET still wouldnt install, 'setup ended prematurely'.

What would you suggest to completly get the hotfix out so that I can do a clean install? (apart from giving this .NET PoS its first flying lesson out of the box and straight through the window?)

Aside from that, I finally learnt that installing with MSI from a CD is total crap since the uninstall info is linked to a .tmp file thats long gone what you try to repair/uninstall. (which bright spark at MS could have dreamed up that crap(TM microsoft))

Thanx/webmasta
Wednesday, September 27, 2006 1:14 AM by astebner

# re: Removal tool to fix .NET Framework install failures

Hi Webmasta - I'm very sorry for the experience that you've had with the .NET Framework so far.  Error code 5 means "access is denied" and I've seen some cases of this in the past caused by anti-virus scanners and/or some incorrect file permissions.  Can you try the workaround listed at http://blogs.msdn.com/astebner/archive/2005/08/16/452523.aspx and if that doesn't help, try the workaround listed at http://blogs.msdn.com/astebner/archive/2006/09/04/739820.aspx?

If this doesn't help, please contact me at Aaron.Stebner (at) microsoft (dot) com so I can gather verbose logs and try to advise further.
Wednesday, September 27, 2006 3:51 PM by webmasta

# re: Removal tool to fix .NET Framework install failures

Thanx Aaron... I looked over your suggestions and decided to do it my way - brute force and ignorance - simply because I was quite fedup with trying any and every workaround I came across and I wanted to have the option to uninstall in the future.

I cleand up with your tool and also the windows cleanup utility.

I identified anything that had to do with .net and vs2003 and manually deleted - from files, folders all the way to reg entries.

Ran Registry Mechanic to scrub the registry.

Downloaded .net 1.1, the sp1 and hotfix 866903 and installed in that order ... it worked... tried uninstalling and that worked too.

Interesting observation: before all this, add/remove was reporting .net and hotfix at 249MB each, now with the new install they both come in at under 24MB each... where the previous bloat came from is still a mystery.

webmasta.thnx/
Tuesday, November 21, 2006 12:21 AM by noracrub

# re: Removal tool to fix .NET Framework install failures

A few days ago, I installed .NET Framework v1.1 but that generated an error message:

Application has generated an exception that could not be handled.

I used add/remove programs to remove .NET Framework v1.1 and then installed v2.0.

Now I've been getting error messages at startup which point towards .NET. I used add/remove to uninstall .NET Framework 2.0, but Add/Remove Programs still shows two related listings which I'm unable to remove usind Add/Remove:

.NET Framework v1.1

.NET Framework v1.1 hotfix (KB886903)

When I try to remove the first one, I get the message "this patch package could not be opened." When I select and try to remove the hotfix, nothing happens.

I'm getting two error message startup. The first one is:

  Fatal Execution Engine Error (0x7927e03e)

The second one (NotifyAlert.ext -- Common Language Runtime Debugging Services):

  Application has generated an exception that could not be handled.

  Process id=0xbx04(2880), Thread id=0xb08(2824)

  Click OK to terminate application

  Click CANCEL to debug the application

The id number seems to change in this message on each restart. Hitting Cancel does not allow debug to run.

Any suggestions on how to completely get rid of .NET? I've done some googling on this issue and many suggestions are too extreme for me -- such as reinstalling the OS. I don't want to go down that road unless it's a last resort. The  I found your blog which has a link for a .NET cleanup tool but I've been unable to load the page specified in the link or get to the zip file any other way.

Two questions, is it likely that the cleanup tool would remedy my problem and if so, is there somewhere else I could go to, to download the file.

Thank you and sorry my comment has been so rambling. I'm not technical but wanted to provide as much info as possible.

Tuesday, November 21, 2006 10:57 AM by noracrub

# re: Removal tool to fix .NET Framework install failures

Posted a lengthy comment/question last night but it still hasn't appeared. Unable to download the cleanup tool from the link the main post. Is there anywhere else to get the tool?

Tuesday, November 21, 2006 1:49 PM by astebner

# re: Removal tool to fix .NET Framework install failures

Hi Noracrub - Unfortunately, the file server I have been using is down and I don't have an ETA for when they're going to fix it.  For now, I can send you a copy of the cleanup tool via email if you contact me using http://blogs.msdn.com/astebner/contact.aspx.  I'm sorry for the hassles.

Thursday, November 30, 2006 6:30 AM by kkk

# re: Removal tool to fix .NET Framework install failures

Hello Aaron! I'm on my last leg here. :(

Just recently built a new computer. XP SP2 running an A64 chip. I

installed Visual Studio 2003 and Visual Studio 2005 and as part of the

prereqs, both v1.1 and v2.0 of the framework respectively. I was able

to compile and run web applications, but after compiling and running a

windows application from either Visual Studio I received a "Application

failed to initialize properly." error everytime no matter what

application I compiled. My web apps worked, but my windows forms

didn't. Strange. This led me to believe it was a possible corrupted

framework problem.

So I uninstalled the v1.1 framework and tried reinstalling, but

everytime I got this message:

"NET Framework 1.1 Setup has ended prematurely"

This happens right at the very last step when trying to setup

System.EnterpriseServices

I've tried renaming mscoree.dll, removing all the .NET components,

running clean up tools, and everytime I run the 1.1 framework installation it won't install. It keeps failing at the very, very, very last step. :(

PLEASE, PLEASE help me here. I need to have these development environments

installed. They were installed before, but I had to uninstall them to

fix this problem, and now I can't even install the .NET frameworks.

I've never seen this issue before and I've been reading all over, and

every thing I'm told to do doesn't work. I just need a clear cut

solution to remove the .NET framework remnants and clean anew WITHOUT

having to reformat.

Thanks much Aaron, hopefully you can help me. :)

Thursday, November 30, 2006 1:18 PM by astebner

# re: Removal tool to fix .NET Framework install failures

Hi K - Can you please try the suggestions listed at http://blogs.msdn.com/astebner/archive/2006/05/17/workaround-for-possible-timing-issue-that-can-cause-net-framework-setup-failures.aspx and see if they help in this scenario?

If none of those help, can you please use the steps listed at http://blogs.msdn.com/astebner/archive/2005/03/29/403575.aspx to gather and zip and send me a verbose log file of the installation failure?  You can send it to Aaron.Stebner (at) microsoft (dot) com.

Saturday, December 02, 2006 12:13 AM by noracrub

# re: Removal tool to fix .NET Framework install failures

Hi Aaron, thank you for the cleanup tool which you sent me on 11/21 -- it did the trick! Seemed to remove all traces of .NET. However, after uninstalling it, I did find that I couldn't live wihout it. My Dell Dimension 8300 starting yelling for it with an rng.exe error message. I reinstalled .NET 1.1 from my Windows XP CD and all is OK again now with no more error messages.

Thank you again.

Thursday, January 11, 2007 9:06 AM by i32123

# Windows Update Failure Fix = Shutdown ZoneAlarm (Temporarily)

A recent Windows Update failure (Error number 0x80190193)

encountered when applying patch kb886903 to .NET 1.1 SP1

was completely resolved and eliminated by temporarily

shutting down an old version of the ZoneAlarm firewall.

(A dozen other, more complicated fixes had no effect.)

YMMV

HTH

Friday, January 12, 2007 3:01 PM by astebner

# re: Removal tool to fix .NET Framework install failures

Hey all - For anyone reading this blog post and comments in the future, there is a command line method of updating ACL permissions listed above that has helped some people who contacted me with similar issues, but the command line has a typo so I wanted to correct it here.  The tool is called CACLS (and not calcs).  Here is example syntax to fix the ACLs for %windir%\assembly:

cacls %windir%\assembly /T /E /P BUILTIN\Administrators:F

Thursday, April 19, 2007 6:33 AM by ozerdavid

# re: Removal tool to fix .NET Framework install failures

Many thanks. The removal tool solved a very longstanding problem of being unable to install security update for .Net Framework 1.1.

Interestingly, the tool claimed to have failed. And Microsoft Update was not showing me .Net Framework 1.1 as an option. So the tool must have left something behind. But installing .Net framework manually, then its SP1 allowed Microsoft Update to show me the security update to 1.1SP1, which installed successfully (though did not actually require downloading, interestingly enough, indicating something else missed by the tool.

But the removal tool is great, even so!! Many thanks again Mr Stebner...

Thursday, April 19, 2007 4:17 PM by astebner

# re: Removal tool to fix .NET Framework install failures

Hi Ozerdavid - I'm glad to hear that the cleanup tool helped in this scenario.  I'm curious about why it reported failure though.  If you get a chance, could you zip and send me the log files from the tool?  They are named %temp%\cleanup* and you can send them to Aaron.Stebner (at) microsoft (dot) com.

Friday, June 01, 2007 1:33 AM by Manu123

# re: Removal tool to fix .NET Framework install failures

While installing .NET framework 2.0 on Win2000 SP4 the following error appears.

“.NET framework as not successfully installed. Installation will be aborted”.

Can you please help me in this matter?

Friday, June 01, 2007 10:19 AM by astebner

# re: Removal tool to fix .NET Framework install failures

Hi Manu123 - Can you please zip and send me the verbose log from this failure so I can try to take a look?  They are named %temp%\dd_netfx*, and you can send them to me at Aaron.Stebner (at) microsoft (dot) com.

Friday, June 08, 2007 3:44 AM by Femetal » Disinstallare Framework .NET

# Femetal &raquo; Disinstallare Framework .NET

Sunday, July 15, 2007 7:35 PM by spock

# re: Removal tool to fix .NET Framework install failures

omg thank you thank you i have them all back know i had a dicons of a time installing them before i got this tool. what a briliant man you are i thank you from the botom of my heart. know can you tell me how do i remove your removel tool do i just delete it. thanks tony.

Monday, July 16, 2007 7:53 PM by astebner

# re: Removal tool to fix .NET Framework install failures

Hi Spock - I'm glad to hear that the cleanup tool was useful for you.  This tool does not have an installer - it is just a zip file with the program inside of it.  Therefore, you only need to delete the file to remove it from your system.  There is not any uninstall program needed for this tool.

Wednesday, July 18, 2007 5:27 PM by JohnBrea

# re: Removal tool to fix .NET Framework install failures

Saved! Damned security update for .Net FW 1.1 sp1 wouldn't install, without which I couldn't VPN into work! I couldn't remove 1.1 through the control panel; thankfully your tool allowed me to rip it out and I'm up and running again. Cheers, John.

Wednesday, July 18, 2007 6:32 PM by MSMQ from the plumber's mate

# .Net Framework 1.1 has left the building...

For the last week or so, my machine has been regularly trying to install the MS07-040 security bulletin

Thursday, July 19, 2007 10:49 AM by Mikey3

# re: Removal tool to fix .NET Framework install failures

I tried to use your cleanup tool on my Win98SE system to remove any traces left from uninstall of .NET 1.0 and 1.1. The tool wouldn't work. It gave error message:

Error Starting Program

The CLEAN.EXE file is linked to missing SHELL32.DLL:SHGetFolderPathW

I tried running the program from the Windows Temp folder and Windows System folder where Shell32.dll is located, but still won't work. Any thoughts on what's wrong? Thanks.

Friday, July 20, 2007 5:06 PM by astebner

# re: Removal tool to fix .NET Framework install failures

Hi Mikey3 - This error means that the function ShGetFolderPath doesn't exist in the file shell32.dll on your system.  The documentation for that function says that it requires at least version 5.0 of shell32.dll.  I have written the code to delay load that DLL so that if a lower version were present, it should not cause any problems.  However, there might be a bug in that code somewhere.  Can you check on your system and see what version you have of shell32.dll on your system?  Also, would it be possible for you to contact me at Aaron.Stebner (at) microsoft (dot) com so I could try to send you a private build to test out some options for fixing this issue?  I haven't been able to find a system that I can reproduce this issue on so far.

Friday, July 20, 2007 5:32 PM by astebner

# re: Removal tool to fix .NET Framework install failures

Hi Mikey3 - I looked at the code for the cleanup tool a bit more and I found an issue that I introduced in the latest version that I posted to my file server that could explain the behavior you're seeing.  Can you please try the updated version I just uploaded to http://astebner.sts.winisp.net/Tools/dotnetfx_cleanup_tool.zip and see if that fixes this issue?  Please let me know how it goes for you.

Friday, July 20, 2007 10:34 PM by Mikey3

# re: Removal tool to fix .NET Framework install failures

The new cleanup tool ran successfully, but also included an error message at the beginning of the log:

****ERROR**** GetProcAddress failed for 'SHGetFolderPath' with error code 127 - The specified procedure could not be found.

The shell32.dll is version 4.72.3812.600, and from FileSnoop it doesn't have the Export function "SHGetFolderPathW". Does the lack of that function affect any cleanup routines in your cleanup tool? Would anything be left on the PC because of it? I'm not planning to reinstall .NET Framework on this PC again because Microsoft doesn't offer any patches for it on Win98SE anymore - one less security problem to worry about. So, I can't tell you if a reinstall would work out well or not.

Sunday, July 22, 2007 11:36 PM by astebner

# re: Removal tool to fix .NET Framework install failures

Hi Mikey3 - That error is expected if you have a version of shell32.dll less than 5.0.0.0.  The cleanup tool tries to use shell32.dll to locate the Program Files directory on your computer, and if it fails to find the function that it needs, it will look up the location in the registry as a back-up.  So, even with that error, the tool would have worked fine for you.

# Aaron Stebner's WebLog : How to repair the .NET Framework 1.0 that ships as part of the OS on Media Center and Tablet PC

Monday, August 27, 2007 5:49 AM by DaveMidgley

# re: Removal tool to fix .NET Framework install failures

Hi Aaron. First let me add my thanks for this tool. I was in a hopeless mess trying to uninstall .NET to get rid of the dreadful 982366 upgrade problem. Your tool seems to have stopped the latter, and very nearly tidied up my installation. I just have one question - I still have Microsoft .NET Framework 1.1 Hotfix (KB886903) showing in Add Or Remove Programs. It will not uninstall ("The upgrade patch cannot be installed because the program to be upgraded may be missing . . ."), and it does not show up in Windows Install Cleanup. I really don't need .NET 1.1 at all any more, and I'd like to stop going round the endless install-uninstall loop and just get .NET2 installed and get on with my life, but it would be nice to get everything tidy and get this oddball hotfix out of the AORP list. Any suggestions?

Monday, August 27, 2007 1:26 PM by astebner

# re: Removal tool to fix .NET Framework install failures

Hi DaveMidgley - I'm glad that the cleanup tool was helpful for you.  It sounds like there are a couple of additional registry entries left behind on your system that cause the KB886903 item to appear in Add/Remove Programs even though it has already been uninstalled.  You can go and manually delete those - they will be located under HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Uninstall.

Also, if you don't mind, could you please report back the exact names of the keys/values you had to remove so that I can update the cleanup tool to remove those in the future as well?

# Fading Whispers: The Chronicles &raquo; Blog Archive &raquo; Wrangling with the beast that is my computer

Thursday, August 30, 2007 1:17 PM by DaveMidgley

# re: Removal tool to fix .NET Framework install failures

I removed HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Uninstall\M886903

this referenced a file C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\Updates\M886903\M886903\Uninstall.msp which also existed so I deleted the file and folder as well. That seems to have done the trick. Thanks. Dave.

Thursday, August 30, 2007 1:53 PM by astebner

# re: Removal tool to fix .NET Framework install failures

Hi DaveMidgley - Thank you for letting me know about this registry value and these files.  The next time I update the cleanup tool, I will add steps to the .NET Framework 1.1 cleanup step to remove this information in addition to the other steps it already does.

# Aaron Stebner's WebLog : Updated version of the .NET Framework cleanup tool that can remove the .NET Framework 3.5

# MSDN Blog Postings &raquo; Updated version of the .NET Framework cleanup tool that can remove the .NET Framework 3.5

Saturday, September 29, 2007 1:40 PM by tarmade

# re: Removal tool to fix .NET Framework install failures

i have a problem while installing assemblies. It seems like my computer could not locate the file. But when i go into the folder, the file IS there. Please help with this.

Error message: Error 25015:Failed to install assembly 'C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\System.Windows.Forms.dll'because of system error:The system cannot find the path specified

Things i have tried out:

Running windows installer cleanup tool

Running dotnetfx_cleanup_tool

Saturday, September 29, 2007 7:49 PM by astebner

# re: Removal tool to fix .NET Framework install failures

Hi Tarmade - I'd suggest trying the MsConfig tool described at http://blogs.msdn.com/astebner/archive/2006/11/25/disabling-services-with-msconfig-to-work-around-setup-failures.aspx to see if that helps resolve this issue.  Hopefully this will help.

Saturday, September 29, 2007 11:41 PM by tarmade

# re: Removal tool to fix .NET Framework install failures

The problem still exist. I got this problem when i uninstall .net framework after it make some programs have startup errors. This problem only occurs when i tried to reinstall it.

Sunday, September 30, 2007 11:45 PM by astebner

# re: Removal tool to fix .NET Framework install failures

Hi Tarmade - I'm sorry you're still running into this issue.  It might help to try the steps listed at http://blogs.msdn.com/astebner/archive/2006/09/04/solving-setup-errors-by-using-the-subinacl-tool-to-repair-file-and-registry-permissions.aspx.

If that doesn't work either, I think your best bet will be to contact Microsoft Technical Support for more detailed troubleshooting assistance.  You are entitled to a free support case for setup-related issues such as this, and you can find their contact information at http://support.microsoft.com.

I'm sorry I haven't been able to be more helpful in this scenario.

Wednesday, October 03, 2007 8:52 PM by tonyguitar

# re: Removal tool to fix .NET Framework install failures

Thank You.

The multi-page results log last line  suggested  the clean-up tool had failed..

Yet in my view, it seems  to  have helped me clear  off  Net.Framework 1.1  [not showing  in  the  Add&Remove programs list]

The  yellow MS caution crst is gone  too!  That  was  a reminder  that Kb928366 ..

[Fatal execution error 90X7925de14

And  KB928367..

process id = 0X3dc (988)  1.0 PK3 = 0X184 (388)

Were both always outstanding  security updates  that  could  not  be loaded.

The cleanup tool  did knock  out  MS Defender  but I removed it and installed a fresh Defender.

When I rebooted  after  cleanup, only the big gold maple leaf backdrop was on the display... for  a loooong time  while the processor  was busy at full tilt.

No desktop icons at all!  I  could see programs were loading in the lower tray though.

After a very  long  a  nerveous wait. I hit {Start} and put  the Compaq in [Standby].  

Some  minutes  and I moved  the  mouse  to start up  and  sign in  and  to  my  relief  the  whole  screen  load  of  icons  were back.

So  things  seem  to  be  running  normally  now.  There  may  be  a  few  more  surprises  waiting  when I start  different apps,  but  if  unloading  and  reloading fresh  does  the  trick,  then  all  is  well.  Thank you again. = TG

PS  The internet icon was  missing  from  the tray... but  that  returned upon *Wake-up*

Using 2 browsers..MS Word.. Paint..  You Tube all running well.

Monday, October 15, 2007 7:53 PM by adambaum

# re: Removal tool to fix .NET Framework install failures

HI Aaron, I ran your tool on a W2K3 SP1 server and it failed to remove .net 1.1.  I had to use your tool because it would not show up in Add/Remove programs, nor can I install updates to it.  Your tool says it is deleting a number of reg keys and files, but it leaves the c:\WINDOWS\Microsoft.NET\Framework\v1.1.4322 path/files in tact.  Further review of the log shows a line saying:

"Not adding product '.NET Framework 1.1' because the OS condition does not match".

Any ideas?

adam

Monday, October 15, 2007 9:46 PM by astebner

# re: Removal tool to fix .NET Framework install failures

Hi Adambaum - As described at the top of this blog post, the .NET Framework cleanup tool will not allow you to remove any version of the .NET Framework that is installed as a part of the OS.  The .NET Framework 1.1 is an OS component on Windows Server 2003, so that is why you are seeing this behavior.

If you need to repair the .NET Framework 1.1 on Windows Server 2003, you can try steps like the ones at http://blogs.msdn.com/astebner/archive/2005/06/21/431385.aspx.

Hopefully this helps.

Friday, November 30, 2007 8:47 PM by snouhtoau

# re: Removal tool to fix .NET Framework install failures

I'm running Windows XP pro SP2 and I get the following error when I try to install .net 2.0

Help I have tried every single fix listed on this site and every place I could find on the internet.  

error 25015.Failed to install assembly'C:\Windows\Microsoft.NET\Framework\v2.050727\System.Enterprise.Services.dll' because of system error: The system cannot find the path specified.

Thanks Robert

Friday, November 30, 2007 8:56 PM by astebner

# re: Removal tool to fix .NET Framework install failures

Hi Snouhtoau - In many cases where I've seen this error message in the past, the workaround at http://blogs.msdn.com/astebner/archive/2006/11/25/disabling-services-with-msconfig-to-work-around-setup-failures.aspx has helped.  I'd suggest trying that if you haven't already.

If that doesn't help, and if running the cleanup tool listed at the top of this blog post also doesn't help, then I'd suggest posting a question on the MSDN Forums at http://forums.microsoft.com to see if someone there can help suggest any other workarounds.

Saturday, December 01, 2007 8:38 AM by pravesh

# re: Removal tool to fix .NET Framework install failures

Please help.

I tried using the tool and have uninstalled the tool. Can't confirm that but the tool say so.

Then I ran the Windows Update which highlights to install .Net 1.1, 2.0 and 3 versions to be installed. When I tried installing the .Net 1.1 version, after a while error came Unable to install the frmaework.

I tried downloading and installing the .Net 1.1 framwork, I got 1935 error.

please help

regards

P

Monday, December 03, 2007 12:01 AM by astebner

# re: Removal tool to fix .NET Framework install failures

Hi Pravesh - I'm sorry for the hassle this issue is causing for you.  You can use the steps listed at http://blogs.msdn.com/astebner/archive/2005/03/29/403575.aspx to make the .NET Framework 1.1 setup create a verbose log.  Then you can zip and send me the log at Aaron.Stebner (at) microsoft (dot) com and I can try to take a look and see if I can figure anything out about the root cause of this 1935 error.

Tuesday, December 11, 2007 1:03 AM by u487146

# re: Removal tool to fix .NET Framework install failures

Removal tool worked like a charm. Was able to Instal .net 2.0 no errors! Thanks

Friday, December 21, 2007 3:29 PM by prophet001

# :-D

Dude, are you kidding me. This thing is amazing. I have been trying to fix this corrupted .NET installation for too long now. Uninstall software didn't work. Repair didn't work. Uninstaller didn't work. Reinstall didn't work. This little tool did the trick. Thank you very much and Merry Christmas :)

Preston

# Ali Hala?? : Blog &raquo; Office 2007 Service Pack 1 ba??ar??s??z :(( - ????z??m Burada!

Monday, December 31, 2007 5:19 AM by links for 2007-12-31 | Lazycoder

# links for 2007-12-31 | Lazycoder

Tuesday, January 01, 2008 11:37 AM by EricT

# CLR Error: 8007000b

CLR Error: 8007000b

Thursday, January 31, 2008 5:35 PM by cnsrvative

# Error 25015 - System.EnterpriseServices.dll

Have experienced this error on a Win XP Pro box.  Have used the Cleanup tool with no results.  I am going to go through the procedures you mentioned on http://blogs.msdn.com/astebner/archive/2005/04/16/408856.aspx but was wondering if you had specific success stories concerning THIS error with THIS file.  I had not seen any in going through this forum...

Also - you say that we are allowed a free support call for this kind of issue - yet there is nowehere on the support site that I can find anything dealing with .NET Framework installations or .NET FW 2.0, and the only contact options are pay per use.  

Thanks!

S

Thursday, January 31, 2008 6:11 PM by astebner

# re: Removal tool to fix .NET Framework install failures

Hi Cnsrvative - Do you have the full text of the error message that you're running into in this scenario?  Error 25015 is a catch-all for any type of error that the installer doesn't specifically recognize (in coding terms, it is the default case at the end of a big switch statement), so there are a lot of possible causes.  Usually, error code 25015 will be followed by some more specific information about the cause of the error.

The name of the file being installed doesn't usually help narrow down the cause, but since it mentions System.EnterpriseServices.dll in this case, you may want to see if either of these workarounds helps for you:

http://blogs.msdn.com/astebner/archive/2006/01/08/510677.aspx

http://blogs.msdn.com/astebner/archive/2006/11/25/disabling-services-with-msconfig-to-work-around-setup-failures.aspx

If you've already run the cleanup tool, there's no need to also try the steps in that other blog post.  Those steps are the same as the ones run behind the scenes by the cleanup tool.

Regarding the support question, my understanding is that you can use the Developer Tools support option like you would for Visual Studio, and that installation issues do not require payment.  I'm not sure if there have been any policy changes since I heard about that though.

Hopefully this helps.

Monday, February 04, 2008 12:55 AM by isk

# Removal tool to fix .NET Framework install failures

You should talk to Intuit about this fix.  I'll bet I'm not the only one who couldn't get TurboTax to run because of a corrupted and unremovable .NET Framework - until I found your amazing Cleanup Tool.

Thanks very much.

isk

Friday, February 15, 2008 9:53 AM by Tremel

# re: Removal tool to fix .NET Framework install failures

This tool has just saved me from going out of my mind.  I tried to install SP3 for Framework 2.0 and it failed, when I tried to delete it from my system I couldn't, when I tried to re-install Framework 2.00 kept getting the same error message.  I got no sense at all fro, Mircrosoft Help & Support. Then I found this tool, and everything fell into place.

Thank you very much for your expertise.

Bill

Tuesday, February 19, 2008 12:56 PM by gmayer0

# YOU ROCK!

thank you i have spent HOURS working on this and now it finally working. i am forever in your debt!

# dns error &raquo; Blog Archive &raquo; Re: Would Like to FULLY Remove .NET Framework

Thursday, March 06, 2008 2:41 AM by David Nygaard

# re: Removal tool to fix .NET Framework install failures

Hi Aaron!

I get the following error message:

"The DeleteKeyExW could not be located in the dynamic link library ADVAPI32.DLL."

My system is Windows XP SP2.

Version of ADVAPI32.DLL is

5.1.2600.2180 (xpsp_sp2_rtm.040803-2158)

David N

Thursday, March 06, 2008 12:39 PM by astebner

# re: Removal tool to fix .NET Framework install failures

Hi David - The version of the cleanup tool that I posted yesterday contained a fix that inadvertantly caused this error on some operating systems.  I'll be posting a fix shortly.  I'm sorry for the inconvenience.

Thursday, March 06, 2008 12:55 PM by astebner

# re: Removal tool to fix .NET Framework install failures

Hi David - An updated version of the cleanup tool that fixes this error is now available at http://astebner.sts.winisp.net/Tools/dotnetfx_cleanup_tool.zip.  I'm sorry for the inconvenience that this issue caused for you.

Monday, March 31, 2008 6:08 AM by … il prossimArio… » .net framework muore…

# &#8230; il prossimArio&#8230; &raquo; .net framework muore&#8230;

Wednesday, April 09, 2008 7:10 PM by John Dykstra

# re: Removal tool to fix .NET Framework install failures

Thanks for providing the cleanup tool. It worked for me after all else failed. I needed to get my .NET in order so that Turbo Tax would be happy and I could do my taxes on time. I'm going to add my experience and your link in my tech blog.

Saturday, April 19, 2008 10:14 PM by Nashwan

# re: Removal tool to fix .NET Framework install failures

I just joind now the blog and register an account here only to say you Thank you :)

Best Regards

Monday, May 05, 2008 5:06 PM by danhinz

# re: Removal tool to fix .NET Framework install failures

Net 2.0 runs fine, SP1 install bombs out and kills 2.0.  Can't uninstall, can't reinstall, donetframework fix won't work either.  App is dead :(   Your tool fixed me right up without as much as a hiccup.  Thanks a million.  Can't believe I joined MSDN just to say THANK YOU!

Monday, May 05, 2008 10:32 PM by alanbret

# re: Removal tool to fix .NET Framework install failures

Thank You! Thank You! Thank You!

The path that has led to this point is unbelievable.  All I wanted to do was update the video drivers on my ATI 8500DV card on my Win2K box. The boxed CDROM drivers installed fine, but the updated drivers bombed, complaining about missing mscoree.dll. Of course it was missing, I had never knowingly put dotnet on my machine (nor did I want to!). So I got a copy of 1.1, but the installation failed repeatedly with "Microsoft .NET Framework (English) v1.0.3705 -- Error 1904.Module C:\WINNT\system32\mscoree.dll failed to register.  HRESULT -2146232576"

Anyway, I was about to give up and re-format my drive (and spend a week or more putting everything back), when I came across your blog.

IT WORKS!  Thanks again.  -Alan (a reluctant and resentful dotnet user)

Saturday, May 10, 2008 10:49 PM by 2.0 Framework won't install

# 2.0 Framework won't install

Wednesday, May 21, 2008 1:34 PM by Beemf

# re: Removal tool to fix .NET Framework install failures

Helo all,

i got big problem. During migration of servers i have uninstall .net framwork 3 sp1 from server. Uninstall was successfull.

Now i need to install some application which need .net framework 3 but i cant install it. If i try to install verson 3 it said that there is already installed newer version and if i try with 3 sp1 i get error on the begining of the installation. Even 3.5 doesnt help.

I cant uninstall or install. In one word i am stuck and cant do anything.

Try your tool and didnt help me. It clean system but cant install it. Is there any other way to tell system that it isnt install yet?

One way i manage to install app is to install new .net framework 3.5 sp1 beta but that also upgrade version .net 2 with sp2. Can i get installation for only .net framework 3 sp2?

Thanks for any comments or tips.

Peter

Wednesday, May 21, 2008 6:42 PM by astebner

# re: Removal tool to fix .NET Framework install failures

Hi Beemf - What OS is this happening on?  Is it Windows Server 2003, or Vista or Windows Server 2008?  Also, can you list the contents of the following registry value on your system so I can try to narrow this down further?

HKEY_LOCAL_MACHINE\Software\Microsoft\NET Framework Setup\NDP\v3.0

Thursday, May 22, 2008 2:33 PM by vaximily

# re: Removal tool to fix .NET Framework install failures

I have tried EVERYTHING to be able to Install .NET Framework 2.0.  Uninstall / reinstall, clean out all versions of .NET, etc etc etc you get the idea.

I am still getting the error System.EnterpriseServices.dll can not be found when installing.

I've checked the directory and before the install the file doesn't exist.  During the install it creates the file, and after it fails and I hit finish it deletes it again.

I disabled McAfee as well.  Any more ideas here?

Please email me for faster communication.  I am in a corporate environment and even our IT people are stuck and I need this fixed ASAP.

Thursday, May 22, 2008 3:17 PM by astebner

# re: Removal tool to fix .NET Framework install failures

Hi Vaximily - I'm sorry for the hassles that this issue is causing for you.  It sounds like you've tried most of the steps that I know of for troubleshooting .NET Framework installation issues.  There are a couple of other things that are specific to issues with System.EnterpriseServices.dll that you may want to try as well:

http://blogs.msdn.com/astebner/archive/2005/07/27/444085.aspx

http://blogs.msdn.com/astebner/archive/2005/07/24/442747.aspx

http://blogs.msdn.com/astebner/archive/2006/01/08/510677.aspx

Also, if you haven't already tried it, you may want to try disabling services with MSConfig as well using the steps at http://blogs.msdn.com/astebner/archive/2006/11/25/disabling-services-with-msconfig-to-work-around-setup-failures.aspx.

If none of the above work, then I think you will need to contact Microsoft Technical Support for more in-depth troubleshooting assistance.  There is contact information at http://support.microsoft.com and you should be entitled to a free support case for setup-related issues such as this.

Hopefully this helps.

Thursday, May 22, 2008 4:09 PM by vaximily

# re: Removal tool to fix .NET Framework install failures

Unfortunately after completing each of the steps mentioned, still no luck.

Here is the EXACT error message>>>>

Error 25015. Failed to install Assembly 'C:\Windows\Microsoft.NET\Framework\v2.0.50727\System.EnterpriseServices.dll' because of the system error: The system cannot find the path specified.

Any more help before I throw this thing in a box and send it back to Dell?

Thursday, May 22, 2008 4:21 PM by astebner

# re: Removal tool to fix .NET Framework install failures

Hi Vaximily - In the past, I've seen cases where this has been caused by a virus on the system and by programs like Windows Defender being too aggressive in what they are protecting.  You may want to check and see if you have Windows Defender running in the background in addition to McAfee just in case.

If that doesn't help, then I don't know of any additional suggestions to try.  However, before you return your computer, I would strongly suggest contacting Microsoft Technical Support as I suggested previously.  They should be able to help you debug this further directly on your system and will hopefully help narrow down the cause and help you fix this.  They have worked on several cases in the past that resulted in this same error message that I am aware of and have been able to successfully fix all of them so far.  The hard part here is that there are a lot of possible root causes for this type of error and it typically takes some direct debugging to walk through some of the diagnostics.

I'm very sorry for the hassle that this is causing for you.

Thursday, May 22, 2008 4:28 PM by vaximily

# re: Removal tool to fix .NET Framework install failures

Do you know the typical turn around time for something like that would be?  My company modifies all sorts of security setings to lock down our systems pretty heavily, so at this point it seems easier to just have them send me a new laptop and I'll send this one back to them so they can format it or return it to Dell.

I don't think there's a 'virus' as our network is locked down pretty solidly --- unless you count their monitoring junkware as a virus!! :)

Thursday, May 22, 2008 4:49 PM by astebner

# re: Removal tool to fix .NET Framework install failures

Hi Vaximily - The typical turnaround time is a day or two.  If you'd like, you can contact me via email and I can help you get a case created - Aaron.Stebner (at) microsoft (dot) com.  If your company can easily give you a new laptop and reformat the current one, it may not be worth that trouble though.  Let me know what you'd prefer to do.

Sunday, May 25, 2008 12:10 PM by Beemf

# re: Removal tool to fix .NET Framework install failures

Hello again. Sorry for my late replay, been out of town.

Astabner i check registry and all i have is folder HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\NET Framework Setup\NDP\v2.0.50727, dont have v3.0.

Also this is windows server 2003 r2 sp2 x64.

Sunday, May 25, 2008 6:31 PM by astebner

# re: Removal tool to fix .NET Framework install failures

Hi Beemf - Since you're running a 64-bit OS, could you also check and see if you have a v3.0 key at HKEY_LOCAL_MACHINE\WOW6432Node\SOFTWARE\Microsoft\NET Framework Setup\NDP\v3.0?

If you're getting an error saying a later version of the .NET Framework 3.0 is already installed, that typically means there is something incorrect in the registry somewhere.

Tuesday, May 27, 2008 1:58 AM by Beemf

# re: Removal tool to fix .NET Framework install failures

Hi,

I check under LOCAL_MACHINE\SOFTWARE\WOW6432Node\Microsoft\NET Framework Setup\NDP\v3.0 and v3.0 was there. I just delete v3.0 folder and the installation of .net framework 3 sp1 was successful.

Is that ok? Just delete all content under v3. I was doing that on copy of virtual server and dont want to damage production server.

Thanks for all the help Astebner.

Tuesday, May 27, 2008 2:33 PM by astebner

# re: Removal tool to fix .NET Framework install failures

Hi Beemf - .NET Framework 3.0 and 3.5 setup use registry values in locations like that to determine if a newer version of the product is already on the system, so it is probably OK to remove those values in order to unblock installation if you are getting that error and you are sure you don't already have a newer version installed.

Just to be sure though, can you list exactly what you have in your registry at that location so I can take a quick look?

Friday, July 04, 2008 9:25 AM by D_Adams

# re: Removal tool to fix .NET Framework install failures

Hi Arron,

I just wanted to say that your tool has saved me lots of time and that your efforts are greatly appreciated. Great work and thanks!

Saturday, August 09, 2008 8:06 PM by jtannercc33914

# re: Removal tool to fix .NET Framework install failures

Thanks for the cleanup tool.  I tried everything including M/S (knowing that would be a waste - but I was desperate).  I couldn't get some updated graphic software to work right and knew it was a .Net problem but until I used your cleanup tool I was stumped.  Thanks again.

Monday, October 20, 2008 8:18 AM by Solucionar problema al instalar .NET

# Solucionar problema al instalar .NET

# SHADOW folders in the .NET v1.1.433 folder resolved | Jason Slater Technology Blog

Tuesday, December 02, 2008 7:01 AM by Microsoft .net Framework Cleanup Tool

# Microsoft .net Framework Cleanup Tool

Tuesday, December 02, 2008 8:17 AM by Microsoft .net Framework Cleanup Tool - Computer Forums

# Microsoft .net Framework Cleanup Tool - Computer Forums

# Disinstallare le versioni di . NET Framework | ilprogramma.com

# Disinstallare completamente .NET &laquo; Fare, disfare e rifare

Wednesday, December 03, 2008 3:29 AM by Efinditnow &rsaquo; Microsoft .net Framework Cleanup Tool

# Efinditnow &rsaquo; Microsoft .net Framework Cleanup Tool

Monday, December 08, 2008 9:09 PM by Davegrohl

# re: Removal tool to fix .NET Framework install failures

Oh dear me, I think ive messed up using this thing.

I couldnt install framework 3.5, so i used your tool and wiped all framework installation of my pc.

Since im on vista premium 64x its not so happy about not having framework 3.0 installed.

The big problem is when i try to install framework 3.0, it gives me an error saying I need to "activate or deactivate windows-functions" in the controlpanel to install or configure microsoft.net framework 3.0 x 64. (basically translated from danish to english)

The real problem is that there doesnt seem to be anything to activate or deactivate in  "windows-functions" under programms and functions, where you are supposed to be able to turn on and off windows-functions such as allowing the framework 3.0 x 64 to be installed/configured :S

If you are unsure what menu im talking about, here is a screen: http://img.photobucket.com/albums/v365/RN1807/problemo.jpg

Tuesday, December 09, 2008 1:49 PM by astebner

# re: Removal tool to fix .NET Framework install failures

Hi Davegrohl - The .NET Framework 2.0 and 3.0 are installed as OS components on Windows Vista, so the .NET Framework cleanup tool on my blog will not even attempt to remove those.  Normally, the .NET Framework 3.0 will appear in the Windows Features control panel along with other OS components, and it will allow you to activate or deactivate it.

However, in your case, you don't have anything listed in that dialog.  It sounds to me like there is some kind of bug in the OS on your system that is preventing it from listing the OS components you have installed.  I'm not sure how your system got into that state or how to resolve this type of issue.

I did a web search and there appear to be quite a few people who have run into this though.  Here are a couple of links that might help:

http://www.winvistaclub.com/t22.html

http://support.microsoft.com/kb/931712

http://blogs.msdn.com/astebner/archive/2008/07/28/8786504.aspx

If none of these help, you may need to try to repair/re-install Windows Vista on your system.

# Free of All ?? Blog Archive &raquo; Microsoft .net Framework Cleanup Tool

Wednesday, December 17, 2008 3:00 PM by sagar2007

# re: Removal tool to fix .NET Framework install failures

thanks a lot bro....! awesome tool..

# Completely Uninstall/Remove .Net Framework with .Net Framework Cleanup

Sunday, January 18, 2009 10:12 AM by Microsoft.NET 1.0 verwijderen? | hilpers

# Microsoft.NET 1.0 verwijderen? | hilpers

Thursday, January 22, 2009 10:41 AM by Probl?me d'installation | hilpers

# Probl?me d'installation | hilpers

Friday, January 23, 2009 7:25 AM by dotnetfx.exe | hilpers

# dotnetfx.exe | hilpers

Wednesday, January 28, 2009 11:02 AM by Microsoft .NET Framewok! | hilpers

# Microsoft .NET Framewok! | hilpers

Tuesday, February 03, 2009 12:04 AM by MZFoto

# re: Removal tool to fix .NET Framework install failures

Aaron hi, I got a problem 0x643 while installing the .NET 3.5 SP1 via Automatic Updates. I went through all the loops and got here. After running your tool several times I was not able to install .net 1 sp3 and .net 1.1 sp1, but all the other .net packages excluding 3.5 sp1. I saw your other article about 1603, but I guess I need to clear this problem first. I am running XP Pro SP3.

  I think all my problems started after I cloned my old hard drive to a new one, if that is any help.

  Any help will be greatly appreciated! TIA!

Wednesday, February 04, 2009 8:28 PM by astebner

# re: Removal tool to fix .NET Framework install failures

Hi MZFoto - Can you please zip and upload your .NET Framework 3.5 SP1 setup log files to a file server and then reply back here with a link so I can take a look?  You can find a list of the log files created by .NET 3.5 SP1 setup in the blog post at http://blogs.msdn.com/astebner/archive/2008/04/30/8445569.aspx.

Thursday, February 05, 2009 12:22 AM by Problem installing .NET Framework 3.5 SP1 - Operating Systems

# Problem installing .NET Framework 3.5 SP1 - Operating Systems

Friday, February 20, 2009 4:31 AM by kclewis

# re: Removal tool to fix .NET Framework install failures

Aaron, hi.  I am trying to install framework 3.0 and I get an error with the following signature:

EventType : clr20r3     P1 : servicemodelreg.exe     P2 : 3.0.4506.30    

P3 : 4545a225     P4 : servicemodelreg     P5 : 3.0.0.0     P6 : 4545a225    

P7 : 2b     P8 : 1e     P9 : system.typeloadexception    

I also get an error code of 0xe0434f4d.  log files are available <a href="http://rapidshare.com/files/200291194/MS_.Net_error.zip">here</A>

Friday, February 20, 2009 4:36 AM by kclewis

# re: Removal tool to fix .NET Framework install failures

Aaron, I neglected to mention that I am running XP SP3 and I recently did a repair installation of Windows and had .NET framework issues afterward(the computer said they weren't installed, installation said they were). I ran your tool and am now in the process of reinstalling.

I appreciate any help,

Keith

Friday, February 20, 2009 1:17 PM by astebner

# re: Removal tool to fix .NET Framework install failures

Hi Kclewis - The System.TypeLoadException that you are encountering typically means that there are some old .NET Framework 3.0 bits left behind somewhere on your system that are interfering with .NET Framework 3.0 setup.  I'd suggest trying to use the steps listed at http://blogs.msdn.com/astebner/archive/2008/03/07/8108332.aspx to remove all versions of the .NET Framework from your system, then proceed to install the .NET Framework 3.5 SP1 (this will install 2.0 SP2 and 3.0 SP2 for you behind the scenes).

# Installing moss 2007 on sbs 2003 setup errors wizard won't finish | keyongtech

Tuesday, February 24, 2009 10:07 AM by aggiornamento windows vista: net framework 3.5 | hilpers

# aggiornamento windows vista: net framework 3.5 | hilpers

Wednesday, April 08, 2009 4:37 AM by vvkalkundri

# Unable to run the tool number of times on XP64 OS

Hi ,

I have to perform testing of installing and uinstalling the software repeated on XP64 os. As a part of Install and Uninstall, i have to repeatedly install.net and uninstall the .net. I am using clean up utility tool for the same.

    I have seen that After performing uninstallation of .net3.5 and .net3.0  for some number of times the the tool gets hung or goes into infinite loop.

 I have seen that this is because there is a HOT fix from Microsoft that cannot be uninstalled.The Hot Fix no is :KB953595.

Wednesday, April 08, 2009 3:09 PM by astebner

# re: Removal tool to fix .NET Framework install failures

Hi Vvkalkundri - First of all, the cleanup tool is not designed as a replacement for the standard .NET Framework uninstall process.  I would suggest automating the standard uninstall for your test scenarios so you will more closely match what a customer will actually do on their system.  I have posted other items on my blog about how to automate the install and uninstall of various versions of the .NET Framework - you should be able to search my blog archive to find them.

That being said, I don't know of any reason why the cleanup tool would hang.  Do you have log files from the cleanup tool when it is hanging that you could post on a file server so I can take a look at?

# Removal tool to fix .NET Framework install failures &laquo; Note

Anonymous comments are disabled
 
Page view tracker