Welcome to MSDN Blogs Sign in | Join | Help

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 cleanup tool, I got some questions about whether or not a comparable version is available for cleaning up the .NET Framework 2.0.  I am currently working on a couple of small work items in the code for the tool to enable it to work with 2.0, but in the meantime I wanted to post some manual steps.  I know there have been a lot of uninstall/reinstall issues because we have released an alpha, a beta and numerous Community Tech Preview (CTP) versions and not all of them will uninstall completely cleanly in order to allow a future beta version of 2.0 to install correctly.

 

The following steps will help resolve .NET Framework 2.0 installation failures/hangs in most cases. Before proceeding please note these important caveats:

  • These steps will only work for the .NET Framework 2.0 installed by dotnetfx.exe (the MSI-based setup).  There is a version of .NET Framework 2.0 that is installed as part of the OS if you are running any pre-release builds of Windows codename Longhorn.  You should not use these steps on Longhorn.
  • These steps will damage the .NET Framework 1.0 or 1.1 if you have either of these versions installed on your computer.  This is because you are instructed to rename the file mscoree.dll that is shared by all versions of the .NET Framework.   If you have 1.0 or 1.1 installed, you will need to immediately install a later build of .NET Framework 2.0 to update mscoree.dll or perform a repair of the .NET Framework 1.0 or 1.1.  To repair .NET Framework 1.0 or 1.1, go to the Add or Remove Programs control panel, click on the link for support information, and then click on the Readme link.
  • If you are running Windows Server 2003, Windows XP Media Center Edition or Windows XP Tablet PC Edition, there is a version of the .NET Framework that ships as part of the OS.  In those situations, you cannot repair by using the instructions in Add or Remove Programs under the readme link.  In those scenarios it is strongly recommended that you immediately install .NET Framework 2.0 to provide an updated version of mscoree.dll.  If that is not an option, you must repair your OS to fix the issue.

Steps to clean up a machine to fix a failed .NET Framework 2.0 installation:

  • Using Add or Remove Programs, locate any versions of the .NET Framework 1.2 or 2.0 and choose Remove to uninstall them
  • Using regedit, navigate to HKLM\Software\Microsoft\.NETFramework and delete any keys and values that have 1.2 or 2.0 in it, including keys/values that are in subkeys underneath .NETFramework.
  • Using regedit, navigate to the sub-hive HKLM\Software\Microsoft\.NETFramework\Policy and delete any key or value that has 1.2 or 2.0 in it. 
  • Using regedit, navigate to HKLM\Software\Microsoft\ASP.NET and delete any key or value that has 1.2 or 2.0 in it, including keys/values that are in subkeys underneath ASP.NET. 
  •  Right-click on My Computer and choose Manage. Expand Computer Management (Local), then Local Users and Groups, then click on the Users folder. In the right-hand pane, right-click on the ASPNET user account and choose Delete to remove it.
  •  Go to %windir%\assembly and delete anything with *1.2* or *2.0* in the folder name. Delete the GAC_32 and GAC_MSIL folders as well.

    You can not view the contents of %windir%\assembly in Windows Explorer when the .NET Framework is installed.  In order to view the contents, you will need to set the following registry value and reopen Windows Explorer

    Key name:
    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Fusion
    Value name: DisableCacheViewer
    Data type: REG_DWORD
    Value data: 1

    Note: You should remove the DisableCacheViewer value after you complete this step because this is only used for debugging purposes.

  • Go to %windir%\Microsoft.NET\Framework and delete any folders named v1.2.* or v2.0.* along with all of the files and subfolders they contain.  You may get errors when trying to delete some of the files because they are in use.  In most cases, rebooting the machine and trying again will work.  If not, you can rename the files to be <filename>.old and then delete them after a future reboot.
  •  Rename %windir%\system32\mscoree.dll to mscoree.dll.old.
  •  After doing all of this, try to install the previously failing version of the .NET Framework 2.0.

If you have any trouble getting these steps to work correctly please let me know.  Also stay tuned for a future post once I get the cleanup tool updated to work with .NET Framework 2.0 and post it for download.

 

Published Saturday, April 16, 2005 12:56 PM by astebner
Filed under:

Comments

Saturday, April 16, 2005 1:21 PM by Aaron Stebner's WebLog

# Uninstalling previous Visual Studio 2005 betas to prepare to install beta 2

Now that Visual Studio 2005 and .NET Framework 2.0 beta 2 is about to be available, I wanted to communicate...
Saturday, April 16, 2005 2:25 PM by MikeFarinha

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

Thank you for the walk through Aaron! If I come across any other problems I'll post them up here.
Monday, April 18, 2005 1:11 AM by Aaron Stebner's WebLog

# Visual Studio 2005 and .NET Framework 2.0 beta 2 now available

I know I'm a little late jumping on this particular bandwagon and posting a blog item about it, but just...
Monday, April 18, 2005 6:00 AM by Erik Dibbern Röser

# Imens du venter p&amp;amp;amp;#229; download

Hvis du, ligesom jeg,&amp;nbsp;har haft mange forskellige version af Visual Studio 2005 p&#229; din maskine over...
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...
Wednesday, May 11, 2005 5:58 AM by Duck

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

Worked just great,thanks for that. Next time I'll read the instructions...
Sunday, May 15, 2005 6:32 AM by wangjun

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

When I install the vwd 2005 feb ctp, i clicked the" ixpvwd.exe" instead of ' setup.exe' ,

but during i using it, some err happen ,so i reinstall it by clicking ixpvwd.exe.

but now when i want to unstall it ,

it said some pre version installed ,unstall them,

How can i do it ?

do you have some tool to remove all the beta 2 feb ctp ?

Thanks !
Sunday, May 15, 2005 6:42 AM by wangjun

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

my email : forwangjun@163.com
help me !
Monday, May 16, 2005 4:44 PM by J Plumb

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

I tried the manual uninstall on Windows Server 2003 and on a client's computer, but the new version still detects the previous version. I can't find any files or registry entries that could trigger this, and I get an error if I try to run the cleanup utility. If you have any suggestions, I would be thankful.
J
Sunday, May 22, 2005 11:54 AM by astebner

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

Hi J Plumb - Can you please try the following steps and see if this will resolve the issue?

1. Download the VS 2005 beta cleanup tool from http://go.microsoft.com/fwlink/?linkid=47065 and save it to your desktop

2. Go to the Start menu, choose Run, type cmd and run vs2005_beta_cleanup_tool.exe /t:c:\temp /c from the cmd prompt

3. From the cmd prompt, run c:\temp\msizap TP {71F8EFBF-09AF-418D-91F1-52707CDFA274}

4. Now run c:\temp\cleanup.exe and when the UI lauches, choose to remove the VS 2005 beta again.

5. After the cleanup completes, try to reinstall VS 2005 Beta 2 one more time.
Sunday, May 22, 2005 11:59 AM by astebner

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

Hi Wangjun - Can you please try the following steps and see if this will resolve the issue?

1. Download the VS 2005 beta cleanup tool from http://go.microsoft.com/fwlink/?linkid=47065 and save it to your desktop

2. Go to the Start menu, choose Run, type cmd and run vs2005_beta_cleanup_tool.exe /t:c:\temp /c from the cmd prompt

3. From the cmd prompt, run c:\temp\msizap TP {F7491330-512C-469D-94F6-4828D2D0344E} to remove the VWD February 2005 CTP.

4. Now run c:\temp\cleanup.exe and when the UI lauches, choose to remove the VS 2005 beta.

5. After the cleanup completes, try to reinstall VS 2005 Beta 2 one more time.
Monday, May 23, 2005 10:53 AM by astebner

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

Quick update on the steps I listed above in the 2 previous comments - I forgot that we removed msizap.exe from the VS 2005 beta version of the cleanup tool to make the download size smaller.

You can find a copy of msizap.exe inside the version of the cleanup tool designed for .NET Framework 1.0 and 1.1 that is posted at http://astebner.sts.winisp.net/Tools/dotnetfx_cleanup_tool.zip.

Hope this helps and sorry for any confusion...
Monday, May 30, 2005 1:23 PM by Hong Gao 's Web Log :

# Visual Studio 2005 Beta 2 Install Issues

Beta 2 common install issues and work around can be located at http://lab.msdn.microsoft.com/vs2005/get/vsbeta2installissues/default.aspx...
Monday, May 30, 2005 1:49 PM by Hong Gao 's Web Log :

# Visual Studio 2005 Beta 2 Install Issues

Beta 2 common install issues and work around can be located at http://lab.msdn.microsoft.com/vs2005/get/vsbeta2installissues/default.aspx...
Friday, June 10, 2005 1:07 PM by ajm

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

If anyone is still having trouble removing components you might want to try the "Windows Installer Clean Up Utility" worked like a charm for me.


http://download.microsoft.com/download/e/9/d/e9d80355-7ab4-45b8-80e8-983a48d5e1bd/msicuu2.exe
Monday, June 13, 2005 6:58 PM by ian

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

When I try to reinstall .Net 2.0 Beta 2 framework (running dotnetfx.exe), I have selected both Repair and Uninstall. When I click next, the installer says "Initializing Install" ... then it blows up. Below is the installer fail info. Thanks for any help.


- I followed manual steps and retried.. no success.

- I ran both cleaner tools posted... no success.




======================
MSI CA LOG ENTRY INFO:
======================


CA NAME:


======================
LAST 100 LINES INFO :
======================

=== Verbose logging started: 6/13/2005 19:54:46 Build type: SHIP UNICODE 3.00.3790.2538 Calling process: C:\DOCUME~1\a379190\LOCALS~1\Temp\IXP000.TMP\Install.exe ===
MSI (c) (6C:50) [19:54:46:639]: Resetting cached policy values
MSI (c) (6C:50) [19:54:46:639]: Machine policy value 'Debug' is 0
MSI (c) (6C:50) [19:54:46:639]: ******* RunEngine:
******* Product: C:\DOCUME~1\a379190\LOCALS~1\Temp\IXP000.TMP\netfx.msi
******* Action:
******* CommandLine: **********
MSI (c) (6C:50) [19:54:46:639]: Client-side and UI is none or basic: Running entire install on the server.
MSI (c) (6C:50) [19:54:46:639]: Grabbed execution mutex.
MSI (c) (6C:50) [19:54:46:659]: Cloaking enabled.
MSI (c) (6C:50) [19:54:46:659]: Attempting to enable all disabled priveleges before calling Install on Server
MSI (c) (6C:50) [19:54:46:659]: Incrementing counter to disable shutdown. Counter after increment: 0
MSI (s) (54:0C) [19:54:46:679]: Grabbed execution mutex.
MSI (s) (54:04) [19:54:46:689]: Resetting cached policy values
MSI (s) (54:04) [19:54:46:689]: Machine policy value 'Debug' is 0
MSI (s) (54:04) [19:54:46:689]: ******* RunEngine:
******* Product: C:\DOCUME~1\a379190\LOCALS~1\Temp\IXP000.TMP\netfx.msi
******* Action:
******* CommandLine: **********
MSI (s) (54:04) [19:54:46:689]: Machine policy value 'DisableUserInstalls' is 0
MSI (s) (54:04) [19:54:46:699]: File will have security applied from OpCode.
MSI (s) (54:04) [19:54:47:760]: SOFTWARE RESTRICTION POLICY: Verifying package --> 'C:\DOCUME~1\a379190\LOCALS~1\Temp\IXP000.TMP\netfx.msi' against software restriction policy
MSI (s) (54:04) [19:54:47:760]: Note: 1: 2262 2: DigitalSignature 3: -2147287038
MSI (s) (54:04) [19:54:47:760]: SOFTWARE RESTRICTION POLICY: C:\DOCUME~1\a379190\LOCALS~1\Temp\IXP000.TMP\netfx.msi is not digitally signed
MSI (s) (54:04) [19:54:47:770]: SOFTWARE RESTRICTION POLICY: C:\DOCUME~1\a379190\LOCALS~1\Temp\IXP000.TMP\netfx.msi is permitted to run at the 'unrestricted' authorization level.
MSI (s) (54:04) [19:54:47:770]: End dialog not enabled
MSI (s) (54:04) [19:54:47:770]: Original package ==> C:\DOCUME~1\a379190\LOCALS~1\Temp\IXP000.TMP\netfx.msi
MSI (s) (54:04) [19:54:47:770]: Package we're running from ==> C:\WINDOWS\Installer\318bd7.msi
MSI (s) (54:04) [19:54:47:810]: APPCOMPAT: looking for appcompat database entry with ProductCode '{7A1ADD0C-17F3-47B8-B033-A06E189C835D}'.
MSI (s) (54:04) [19:54:47:810]: APPCOMPAT: no matching ProductCode found in database.
MSI (s) (54:04) [19:54:47:820]: Machine policy value 'DisablePatch' is 0
MSI (s) (54:04) [19:54:47:820]: Machine policy value 'AllowLockdownPatch' is 0
MSI (s) (54:04) [19:54:47:820]: Machine policy value 'DisableLUAPatching' is 0
MSI (s) (54:04) [19:54:47:820]: Machine policy value 'DisableFlyWeightPatching' is 0
MSI (s) (54:04) [19:54:47:820]: APPCOMPAT: looking for appcompat database entry with ProductCode '{7A1ADD0C-17F3-47B8-B033-A06E189C835D}'.
MSI (s) (54:04) [19:54:47:820]: APPCOMPAT: no matching ProductCode found in database.
MSI (s) (54:04) [19:54:47:820]: Transforms are not secure.
MSI (s) (54:04) [19:54:47:820]: Note: 1: 2205 2: 3: Control
MSI (s) (54:04) [19:54:47:820]: Command Line: USING_EXUIH=1 REBOOT=ReallySuppress FILESINUSETEXT= REINSTALL=ALL REINSTALLMODE=emusc CURRENTDIRECTORY=C:\DOCUME~1\a379190\LOCALS~1\Temp\IXP000.TMP CLIENTUILEVEL=3 CLIENTPROCESSID=3436
MSI (s) (54:04) [19:54:47:820]: PROPERTY CHANGE: Adding PackageCode property. Its value is '{0325D29B-24C8-4E9E-8531-A6D746FB74ED}'.
MSI (s) (54:04) [19:54:47:820]: Product Code passed to Engine.Initialize: ''
MSI (s) (54:04) [19:54:47:820]: Product Code from property table before transforms: '{7A1ADD0C-17F3-47B8-B033-A06E189C835D}'
MSI (s) (54:04) [19:54:47:820]: Product Code from property table after transforms: '{7A1ADD0C-17F3-47B8-B033-A06E189C835D}'
MSI (s) (54:04) [19:54:47:820]: Product registered: entering maintenance mode
MSI (s) (54:04) [19:54:47:820]: PROPERTY CHANGE: Adding ProductState property. Its value is '5'.
MSI (s) (54:04) [19:54:47:820]: PROPERTY CHANGE: Adding ProductToBeRegistered property. Its value is '1'.
MSI (s) (54:04) [19:54:47:820]: Entering CMsiConfigurationManager::SetLastUsedSource.
MSI (s) (54:04) [19:54:47:820]: Specifed source is already in a list.
MSI (s) (54:04) [19:54:47:820]: User policy value 'SearchOrder' is 'nmu'
MSI (s) (54:04) [19:54:47:820]: Machine policy value 'DisableBrowse' is 0
MSI (s) (54:04) [19:54:47:820]: Machine policy value 'AllowLockdownBrowse' is 0
MSI (s) (54:04) [19:54:47:820]: Adding new sources is allowed.
MSI (s) (54:04) [19:54:47:820]: PROPERTY CHANGE: Adding PackagecodeChanging property. Its value is '1'.
MSI (s) (54:04) [19:54:47:820]: Note: 1: 1729
MSI (s) (54:04) [19:54:47:820]: Note: 1: 2729
MSI (s) (54:04) [19:54:47:820]: Note: 1: 2729
MSI (s) (54:04) [19:54:47:830]: Product: Microsoft .NET Framework 2.0 Beta 2 -- Configuration failed.

MSI (s) (54:04) [19:54:47:840]: MainEngineThread is returning 1638
Another version of this product is already installed. Installation of this version cannot continue. To configure or remove the existing version of this product, use Add/Remove Programs on the Control Panel.
{7A1ADD0C-17F3-47B8-B033-A06E189C835D}
MSI (c) (6C:50) [19:54:47:850]: Decrementing counter to disable shutdown. If counter >= 0, shutdown will be denied. Counter after decrement: -1
MSI (c) (6C:50) [19:54:47:850]: MainEngineThread is returning 1638
=== Verbose logging stopped: 6/13/2005 19:54:47 ===
Tuesday, June 14, 2005 10:06 PM by astebner

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

Hi Ian,

This log file is showing that Windows Installer thinks that you already have the .NET Framework 2.0 beta 2 installed. Can you try to run msiexec /x {7A1ADD0C-17F3-47B8-B033-A06E189C835D} to remove beta 2, and then try to run setup again and see if it works for you? If that doesn't work, please try the following:

1. Download the version of the cleanup tool at http://astebner.sts.winisp.net/Tools/dotnetfx_cleanup_tool.zip

2. Run cleanup_tool.exe /t:c:\temp /c

3. Go to c:\temp and run msizap.exe TP {7A1ADD0C-17F3-47B8-B033-A06E189C835D}

4. Try to run .NET Framework 2.0 beta 2 setup again

Please let me know if this works for you....
Friday, June 17, 2005 4:57 PM by Steve Schamber

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

Hi Aaron,
Thanks for all your excellent advice. We've followed all of the steps you've outlined and still have not been able to successfully install, so I'm hoping you can give us some ideas.

Our situation _seems_ like it might be slightly different from others, but I'll do my best to outline what we're experiencing and if you have any questions or need more detail, please let me know:

--Each time we attempt an install, it appears to run fine through these basic steps: Extract, EULA, Configuring Install, Write System Reg Entries, Copying New Files, Binding Executables, Write System Reg Values. At this point, the progress message changes to "Rolling Back. . . " and the detail says "Unregistering SystemEnterpriseServices.dll" and then throws a rather generic error--"An error occurred during setup.
The following error occurred during setup: Installation Failed."

--We are attempting to load the Beta 2.0 .NET Framework on a test machine that was built to mirror our production server as closely as possible, which has the .NET v1.2 installed. The Framework is being installed from dotnetfx.exe, and we are using Windows Installer 3.1

--The issue has occurred consistently on our Win2K test server, although it installed fine on a similar machine running Win2K3. We first tried running the vs2005_beta_cleanup_tool.exe as recommended on the Microsoft MSDN Site, and then following your manual instructions in this post--neither of which changed the sypmtoms or outcome.

I apologize for being so verbose, but I'm hoping there is some clue you'll see that we've overlooked. Please let me know if you have any suggestions or questions.

Thanks!

Steve
Friday, June 17, 2005 6:27 PM by astebner

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

Hi Steve - could you please look in your %temp% directory for the most recent file named dd_netfx20msi*.txt and zip and send that file to me via email? That will help us figure out which part of setup is failing and causing the rollback to happen.
Tuesday, July 12, 2005 2:38 PM by David Shrader

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

My install/uninstall is quite FUBARed. I tried the manual uninstall, and automated uninstall, the brute force uninstall. It will not uninstall. Before I tried any of the manual or brute force, i was getting error 2203.

Any ideas?

David
Tuesday, July 12, 2005 3:57 PM by astebner

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

Hi David - could you please look in your %temp% directory for the most recent file named dd_netfx20msi*.txt and zip and send that file to me via email at aaronste (at) microsoft (dot) com? Error 2203 means "Database: [2]. Cannot open database file. System error [3]" but hopefully the log file will give me more context on what could be causing this error.

Wednesday, July 20, 2005 8:15 AM by Don Baechtel

# Cleanup of .Net Framework 2.0 Beta still fails

I am trying to install July CTP of VS 2005. It fails because .Net 2.0 Beta is install. All attempts to unistall .Net 2.0 Beta fail because netfx.msi file is missing. VS 2005 Cleanup utility fails because netfx.msi file is missing. The .Net Framework 2.0 Beta Cleanup tool completes without error but .Net 2.0 Beta is STILL installed after it runs and the system is rebooted. .Net 1.0 and 1.1 were removed but not 2.0 Beta. How do I unistall .Net 2.0 Beta?
Wednesday, July 20, 2005 8:41 PM by astebner

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

Hi Don - can you please try to install the Windows Installer Cleanup Utility from http://support.microsoft.com/default.aspx?scid=kb;en-us;290301 and use that to locate and remove the .NET Framework 2.0 beta? I am working on a version of the cleanup tool that will work with VS 2005 beta 2 and I will fix the issue you are running into if the original MSI is missing as part of that release. In the meantime the Windows Installer Cleanup Utility should allow you to fix this bug.

Friday, July 29, 2005 5:33 AM by raveresque

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

We are having exactly the same problem as Steve Schamber will the roll back... have there been any more details on this... I have uploaded my log files to http://www.trilliumd.co.uk/dotnet2b2log.zip if these are use.

tia
Saturday, July 30, 2005 3:18 AM by Word

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

I improperly uninstalled both .NET framework 2 and visual studio express C# I've deleted everything in sight related to it in the registry files, renamed a few to delete them, restarted several times. And still when I try to install it again I get this error - The Windows Installer package: C:\Documents and Settings\User\Local Settings\Temp\SIT20876.tmp\vs_setup.ms_ could not be opened.

I need to finish up some work from school so I need help as soon as possible.
Thanks in advance,
Travis
Saturday, July 30, 2005 6:50 PM by Word

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

Update - used the microsoft clean up install utility or whatever its called..anyway cleaned up .net 2.0 and C# and now I get to the downloading then installing part and I get several errors...
Monday, August 01, 2005 10:56 AM by astebner

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

Hi Raveresque - I looked at your log file and it does appear to be the same issue as Steve was seeing. Unfortunately, I was not ever able to determine the root cause of Steve's issue before he needed to reformat the machine and start over. I am asking around to see if there have been any other solutions found yet because I have heard of several customers who have reported this issue at http://lab.msdn.microsoft.com/productfeedback/. I will let you know what I am able to find...


Hi Word - could you give me more detail about the errors that you see while installing C# Express? If possible, could you zip and attach dd_*.txt from your %temp% directory so I could see the exact error messages you are getting? You can send them to aaronste (at) microsoft (dot) com.
Monday, August 01, 2005 7:41 PM by astebner

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

Hi Raveresque - we have a potential fix for the issue that you reported, but since we have been unable to reproduce it in our test lab, we are not sure if it will work or not. Would you be willing to try out an updated version of .NET Framework setup to see if it fixes this issue on your machine? If so, you can download it from http://astebner.sts.winisp.net/Tools/netfx.zip, extract the contents and run install.exe from within that package.

Please contact me at aaronste (at) microsoft (dot) com if you try this and let me know whether or not it resolves the issue on your machine.
Sunday, August 07, 2005 7:34 AM by Word

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

I installed some audio drivers for some odd reason and ended up having to do a system restore ( dont ask ) which undid all of my random .net framework visual studio registry deletings so I ended up with a new error Involving an HRESULT thinger. I then proceeded to another solution written by you deleting a registry value to make .net framework beta 2 reinstall and it fixed that problem as well as another one I was having before all this mess started.

Thanks alot!
Travis
Tuesday, August 09, 2005 9:33 PM by astebner

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

Hi Raveresque - I still haven't heard back from you and I don't have a way to contact you, but I wanted to let you know that I have posted an additional blog item about the problem you are seeing. You can read it at http://blogs.msdn.com/astebner/archive/2005/08/09/449720.aspx. If you happen to read this and are still having the problem, I would really like if you could contact me via email at aaronste (at) microsoft (dot) com before using the steps in my new blog post. I want to see if the buddy build of the .NET Framework I posted at http://astebner.sts.winisp.net/Tools/netfx.zip will resolve your issue and help you avoid needing to try that other workaround.

Thanks in advance!
Wednesday, August 10, 2005 8:09 AM by gabriel

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

Hi Aaron. try with all tools

- cleanup_tool.exe
- msicuu2.exe
- vs2005_beta_cleanup_tool.exe

When I run VS2K5 installer this continued says
that:
Microsoft Windows installer 3.0 and
Microsoft .NET Framework 2.0 Beta 2 are installed. I don't see any of this product listing in Windows Install Clean Up utility.

I try running with this issue and receive:

"The installer has encountered an unexpected error installing this package. This may indicate a problem with this package. The error code is 2908"

I apreciate any help.

-gabriel


Saturday, August 13, 2005 3:07 PM by astebner

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

Hi Gabriel - it sounds like you might be hitting a problem where VS setup thinks the .NET Framework is already installed but in reality it is not. Can you take a look at http://blogs.msdn.com/astebner/archive/2005/06/16/429997.aspx and see if this helps resolve this issue for you? If it does not, please gather up the log files listed at http://blogs.msdn.com/astebner/articles/447012.aspx and zip them and send them to me at aaronste (at) microsoft (dot) com and I will take a look and see what I can figure out.

Tuesday, August 16, 2005 3:36 PM by astebner

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

Hi again Raveresque - in case you find my comments here and want to try out the patched .NET Framework beta 2 package, I had to move it to a different location so the previous link is not valid anymore. It is now available at http://astebner.sts.winisp.net/Tools/netfx20_beta2.zip.

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 9:00 PM by Arinaya

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

Hi, I have tried all of these things, nothing is working. There was a previous install of SQL Server 2005 that was removed, as well as NET2 using Add/Remove programs. I have tried the cleanup utility, removed all of the listed files/registry entries, renamed mscoree.dll, and have also deleted/renamed a number of other suspicious registry entries in HKLM/Software/Microsoft/Visual Studio and /MSSQL... When I run the VS2005Beta installer (team edition on 2003 sm.business server), it loads the install components, then says a previous version was found click ok to uninstall, ok, exit.

Any ideas? TIA.
Tuesday, August 23, 2005 11:14 PM by astebner

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

Hi Arinaya - there is a known issue with the Visual Studo 2005 beta setup on Windows Server 2003 small business server that will cause setup to report that a previous beta version is installed. Can you try the workaround listed at http://blogs.msdn.com/astebner/archive/2005/05/13/417377.aspx and see if that works for you?

Wednesday, August 24, 2005 2:46 PM by Arinaya

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

Thanks Aaron, that was it.
Wednesday, August 31, 2005 4:20 AM by Jacky

# Visual Studio 2005 Beta 2 Installation Problem

Hi, I have installed a copy of Visual Studio 2005 Beta 2 recently to develop smart device applications. During the installation, there is no error message. However, I can't deploy the exe file to the device emulator. A message box always pop up and says "No such interface supported" when I try to connect to the emulator for Windows Mobile 5.0 Pocket PC and the deployment fails.

I don't know what happened. I have also searched the internet. No such problem is reported so far. Can someone help me to solve this problem? Thanks.
Wednesday, August 31, 2005 12:53 PM by MobileDevGroup

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

Do you know what the setup failure was for the device emulator ? The no such interface usually come when device emulator is not installed on the machine.

From your Beta 2 disk, under the setup folder there is a folder called \WCU\ARM run vs_emulator.exe from there and try to install manually. Do reboot the machine before running it.

Also if you have the device emulator installed this patch helps making connectivty very robust

http://www.microsoft.com/downloads/details.aspx?familyid=0E05817F-08D6-48A2-A572-CF77ED72C5BE&displaylang=en

Thanks
Amit Chopra
Tuesday, September 13, 2005 8:31 AM by Hugo

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

Hi Aaron,

For what its worth - I tried your fixed .Net 2 install (http://astebner.sts.winisp.net/Tools/netfx20_beta2.zip) and it worked!

I had the same problem as Raveresque

Cheers and Thanks
Hugo
Tuesday, September 13, 2005 12:11 PM by astebner

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

Hi Hugo - thank you for trying out the updated .NET Framework 2.0 beta 2 bits and letting me know that it worked for you. It sounds like you are hitting the issue I described at http://blogs.msdn.com/astebner/archive/2005/08/28/457416.aspx in case you want to read more details about the cause and the fix.

Thanks!
Thursday, September 15, 2005 3:32 PM by Craig : Geek, IBlogger

# Exploring the GAC

I'm sure a plenty of people have wondered what's under the covers of the Global Assembly Cache, and have...
Tuesday, September 20, 2005 7:31 PM by Tanya

# Can't clean up .NET Framework install for Microsoft WinFX

Hi,

What I'm trying to do is install WinFX (http://www.microsoft.com/downloads/details.aspx?FamilyId=CE888B4C-CCBD-452F-9D90-F4B7190CCA24&displaylang=en)
I think the prerequisite is that I have to have all previous versions of .NET Framework uninstalled, as well as other Microsoft components.

I keep getting this error when I'm trying to install it: "Please uninstall Windows Workflow Foundation before installing this product". Windows Workflow doesn't show up as a program when I go to "Add/Remove Programs".

I had several versions of Microsoft .NET Framework on my computer, as well as the whole Visual Studio suite. I un-installed all those, but I think I didn't do it in the correct order. So, I tried some manual steps that I found on your website, but that didn't help. I also tried the Microsoft clean-up program, but it gave me errors (didn't complete correctly).

Any advice would be much appreciated.
Tanya
Tuesday, September 20, 2005 10:15 PM by astebner

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

Hi Tanya - you can use the msiinv.exe tool that I described at http://blogs.msdn.com/astebner/archive/2005/07/01/434814.aspx to locate information about the Windows Workflow Foundation component. Msiinv will give you the product code for this product, and then you can run msiexec /x <product code> to uninstall it. If msiexec /x fails, you can use msizap.exe to remove this component as a last resort. I have a beta version of a wrapper tool that automates both of these steps for you that you can try. It is located at http://astebner.sts.winisp.net/Tools/smartmsizap.zip. You'll want to run smartmsizap /p <product_code> using the product code you get from the msiinv output.

Hope this helps. I realize this is kinda confusing so please contact me again if you try this and run into any issues.
Saturday, December 24, 2005 3:49 AM by Matt F.

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

Thank you!

After untold hours spent trying to install a service pack and critical security update for .NET Framework 1.1 I was finally able to do so after removing the 2.0 version. No more MSVS Runtime or sidebyside errors. I'm afraid to try installing 2.0 again.

Thank you!

Matt
Wednesday, January 04, 2006 5:13 PM by Nadav

# .NET Framework 2.0 (50727.42) installation failure

Dear Aaron,

I have bump into the following issue when installing .NET Framework v2.0 from the VS 2005 CD (netfx version): whenever I install it, I get a crash while
'
Registering System.EnterpriseServices.dll
Executing: "C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\RegSvcs.exe" /bootstrapi
'.

This is the whole history of VS 2005 and this computer:
1. VS 2005 Beta 2 instlled & uninstalled with no issues.
2. VS 2005 RC installed & uninstalled with no issues.
3. VS 2005 RTM installed with no issues.
4. VS 2005 starting to fail loading components, as well as vshost.exe crashes. I followed the instructions in your blog regarding how to remove it. Framework started to crash upon uninstall as well as the SQL Server 2005 Mobile component.
5. I followed your cleanup instructions, which did not help with regards to how to clean up the environment.
6. I followed the specific instructions regarding how to clean Framework 2.0, but this still doesn't help.
7. I tried to run "gacutil /i System.EnterpriseServices.dll" as you adviced someone else with a similar situation on Beta 2, but this worked fine and did not crash.

This, of course, entirely prevents me from installing VS 2005...

Please advise! I am entirely helpless. Reinstalling the machine is a complicated issue.

TIA, Nadav
Monday, January 09, 2006 3:34 PM by astebner

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

Hi Matt - the .NET Framework 2.0 is designed to work side-by-side with .NET 1.0 and 1.1. It sounds like you may have run into an issue that was a bug in one of the beta versions of the .NET Framework 2.0 but has been fixed in the final release. I encourage you to try to install the final release of the .NET Framework 2.0 from http://www.microsoft.com/downloads/details.aspx?FamilyID=0856eacb-4362-4b0d-8edd-aab15c5e04f5&DisplayLang=en and not be deterred by the previous problems you've run into. If you hit any future issues, please contact me directly using http://blogs.msdn.com/astebner/contact.aspx and I will do my best to assist.

Hi Nadav - I posted a blog entry yesterday that may help solve this issue for you with the .NET Framework 2.0 final release. Can you please try the workarounds listed at http://blogs.msdn.com/astebner/archive/2006/01/08/510677.aspx and see if it helps solve this issue for you?
Monday, January 09, 2006 3:44 PM by Nadav

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

Hello Aaron,

Thsnks for your reply!

I tried the workarounds, they did not help. But I did look at the installation log files, and found this right after the crash, which may finally lead to some clue:

Unhandled Exception:
System.IO.FileLoadException: Could not load file or assembly 'RegSvcs, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. Failed to grant permission to execute. (Exception from HRESULT: 0x80131418)
File name: 'RegSvcs, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' ---> System.Security.Policy.PolicyException: Execution permission cannot be acquired.
at System.Security.SecurityManager.ResolvePolicy(Evidence evidence, PermissionSet reqdPset, PermissionSet optPset, PermissionSet denyPset, PermissionSet& denied, Boolean checkExecutionPermission)
at System.Security.SecurityManager.ResolvePolicy(Evidence evidence, PermissionSet reqdPset, PermissionSet optPset, PermissionSet denyPset, PermissionSet& denied, Int32& securitySpecialFlags, Boolean checkExecutionPermission)

I still have the files (and they're not that difficult to reproduce regardless), so I can post them to you or to Product Feedback Center as you advise.

Again TIA,
Nadav
Saturday, January 14, 2006 2:50 PM by Mark Fawcus

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

Your 1.0/1.1 cleanup tool proved to be very useful when trying to get a Linksys WMA11B up and running on an XP machine with 1.0, 1.1 and 2.0 previously installed. This product seems to XP SP2 and .NET since 1.0!
Tuesday, January 17, 2006 2:29 PM by astebner

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

Hi Nadav - I have not seen a crash like you are reporting in the past. Could you please zip and send me the file dd_netfx20msi*.txt from this system so I could take a look? You can send it to aaronste@microsoft.com.
Friday, February 03, 2006 12:31 PM by Nadav

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

Hello Aaron,

I finally managed to install the framework and VS 2005. I took the following steps to clean old installations:

First, I deleted C:\Documents and Settings\%User%\Application Data\Microsoft\CLR Sec
urity Config\v2.0.* (and there were 3 different ones, one for Beta2, one for RC and one for final version).

Second, I looked through the registry for all the keys/values that contained 50215 or 50727 and deleted them (carefully, of course - sometimes only parts of them).

Afterwards VS installation came out clean. For now it seems to be working well.

Regards,
Nadav
Friday, February 03, 2006 12:39 PM by astebner

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

Hi Nadav - I am very happy to hear that you were able to figure this out. I'm sorry for the hassle that you encountered while trying to get it to work and also for the delay in getting back to you after you sent the log files to me. I had been trying to reproduce the issue to figure out other possible suggestions to send you but hadn't had any luck.

Saturday, February 11, 2006 5:55 PM by andrew

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

Thanks for this, I finally managed to get .NET v2.0 to install after deleting everything. The error I was getting wasn't one I've seen anywhere else, so I'll post it here in case anyone else has the same problem:
Error 25015.Failed to install assembly 'C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Microsoft.Build.Engine.dll' because of system error: The system cannot find the path specified.
Monday, March 20, 2006 8:48 PM by Jmonkey

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

Quick question... I don't have the beta uninstaller anymore. Is it mandatory? I know it's needed to run the programs given online and on the add/remove tool, but is there a manual way to remove this successfully before I try. I cannot find a beta version to download. If needed, can anyone find and/or supply a version to install so that I can finally uninstall my vb.net express 2005 and webforms webapps (forgot exact name) 2005...beta 2. Thanks in advance!
Monday, March 20, 2006 8:59 PM by astebner

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

Hi Jmonkey - The beta uninstaller makes things easier, but it isn't necessarily mandatory.  In the steps to remove the beta version listed at the top of this blog post, you can replace the first bullet ("Using Add or Remove Programs, locate any versions of the .NET Framework 1.2 or 2.0 and choose Remove to uninstall them") with the steps listed at http://blogs.msdn.com/astebner/archive/2005/10/30/487096.aspx and that should allow you to achieve the same results.  Hope this helps!
Tuesday, March 21, 2006 1:48 PM by Lucius

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

I was attempting to install Visual Basic Studio Express Edition.
It said something about uninstalling several apps and the .NET Framework 2.0 beta prior to install.
I mistakenly uninstalled the .NET Framework before uninstalling the other apps. SQL Server 2005 Express Edition Beta 2
SQL Server 205 Tools Express Edition Beta 2
SQL Server Setup Support Files
MSDN Express Library 2005 Beta - English
I'm not sure that I must remove the MSDN Express Library.  Anyhow, I have download and attempted to install dotnetfx.exe it fails and crashes asking to send a report which I have done.
I tried the following cleanup tool: http://astebner.sts.winisp.net/Tools/netfx20_beta2.zip
And attempted again to install, it failed.  I'm unable the apps until I have 2.0 reinstalled.
Any help will be appreciated.
Tuesday, March 21, 2006 2:52 PM by Lucius

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

I made problems worse before I made them better.
I previously had a FAT32 partition for my Primary drive, I converted it to NTFS and began a tedious process of manually setting security for many of the key folders. I used a properly installed version of Windows XP as a guide.  Some subfolders may still be set wrong.  SYSTEM didn't have access to my temp folder.  This prevented my reinstallation of .NET 1.0 and 1.1 Frameworks.  I expect I may be able to install the 2.0 framework as well now.   (Fingers crossed)
Tuesday, March 21, 2006 3:12 PM by Lucius

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

Yeah, that fixed it.  I know have 2.0 back in, I should be able to accomplish my tasks, I won't post anymore unless I run into more problems.
Tuesday, March 21, 2006 8:33 PM by Lucius

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

My attempts at uninstalling:
SQL Server 2005 Express Edition Beta 2
SQL Server 205 Tools Express Edition Beta 2
are met with the following message:
The Microsoft .Net Framework 2.0 is not installed. Please install before running setup.
I have installed, I have attempted the clean, I have attempted reinstall. Both of these install times appear to be successful.  I did reboot after the first install, and rebooted after the second install.  My process of cleaning the 2.0 install included the steps noted at the very top this page Titled, "Steps to clean up a machine to fix a failed .NET Framework 2.0 installation:" These include some minor registry changes and folder deletions.

As stated before, any help is greatly appreciated
Tuesday, March 21, 2006 9:41 PM by astebner

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

Hi Lucius - Can you please try to use the steps listed at http://blogs.msdn.com/astebner/archive/2005/10/30/487096.aspx to locate and manually remove the SQL 2005 beta versions that are still installed on your system and see if that solves this issue for you?
Wednesday, March 22, 2006 3:59 AM by .net developer

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

hi all,

I am trying to create an ODBC connection to Access 2003 from vb.net2005 final version with framework 2.0 final version (I didn't install the beta version before), but when the code trying to open the connection this error appears:

Could not load file or assembly 'System.EnterpriseServices, Version=2.0.0.0,
Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified. ,  
 at System.Data.Common.ADP.IsSysTxEqualSysEsTransaction()
  at System.Data.Common.ADP.NeedManualEnlistment()
  at System.Data.Odbc.OdbcConnection.Open()
  at abd.frmSplash.frmSplash_Load(Object sender, EventArgs e)

I run the same code on another pc and it run without any problem, I think that the problem in the framework.

Note, when I installed the .net2005 an error occurred first time, then I tried to install it second time and it run without error , may be the framework installed from the first time and didn't installed at the second time, so this may be the error.

Any help for this problem?

Thanks in advance.
Friday, March 24, 2006 2:13 AM by astebner

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

Hi .NET Developer - This does seem like an issue with the .NET Framework 2.0 on this system.  Can you please try to repair it using the entry in Add/Remove programs and see if that helps?  If it does not help, can you please try to uninstall the .NET Framework and then reinstall it from the folder \wcu\dotnetframework\ on your original VS 2005 installation media or from http://www.microsoft.com/downloads/details.aspx?FamilyID=0856eacb-4362-4b0d-8edd-aab15c5e04f5?
Sunday, March 26, 2006 10:21 AM by .net developer

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

thanks  astebner,

but i tried to uninstall the framwork and by mistake i removed something else, so i installed the framework again and repaired vb.net and every thing is work now

thanks for you all

assalamu alaikum (bye in arabic)'

.net developer
Sunday, April 02, 2006 9:54 PM by Nash

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

Aaron,

Developer here; think I may have a unique one. Scanning through the comments it looks like my current error is most similar to Nadav in January. My original error propagated, however, from adding an assembly to the GAC, presumably corrupting it. I have uninstalled MSVS 05 and .NET2.0 in attempt to fix it, now I have the failing .Net 2.0.
Ran the tools.
Any additional thoughts/info on gacutil.exe leading to this issue?

Thnx,
Nash
ashworth@comcast.net
Tuesday, April 04, 2006 2:11 PM by Nash

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

Nash again,

The solution cleaned up my corrupted Global Assembly Cache; thanks. 'Delete the GAC_32 and GAC_MSIL folders' perhaps? The action seemed to be the difference.

Nash
Sunday, May 07, 2006 9:59 PM by Rob Latour

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

Thanks for posting this thread - I had a client who had an error message that said:

IsSysTxEqualSysEsTransaction
Could not load file or assembly 'System.EnterpriseServices, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified.

A this was the only place I could find it mentioned and resolved.

My client just repaired his version of the dot net framework and all was well!

Best Regards to all concerned and thanks again for the post.
Wednesday, May 31, 2006 12:36 AM by Aaron Stebner's WebLog

# Automated cleanup tool to remove the .NET Framework 2.0

I have posted an updated version of the .NET Framework cleanup tool that now contains support for automatically...
Wednesday, June 14, 2006 1:13 PM by Alan

# I am not an expert....

Ok guys, I appoligize for my stupidity :-).  I really need to get framework 2.0 installed on my computer, however when installing I get the dreaded 25015 error, the stupid

microsoft.visualbasic.vsa.dll

because of system error: the directory name is invalid.

I have seen the same problem on here many times, but I must be to blind to see the solution if any.  If some brave soul wants to take on my problem please email me at alanrc2000@yahoo.com, thanks alot, you guys are greaaaat !
Wednesday, June 14, 2006 1:46 PM by astebner

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

Hi Alan - Can you please try to use the automated cleanup tool to remove any pieces of the .NET Framework 2.0 that are on your system and then try installing again?  You can find information about the cleanup tool at http://blogs.msdn.com/astebner/archive/2006/05/30/611355.aspx.

Sunday, June 18, 2006 12:04 AM by Ted Hickox

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

A friend of mine downloaded the final version of Net Framework 2.0 from Microsoft.com.  While he did this for me I downloaded the redistributable pack.  The reason my friend downloaded the Net Framework file is that he had Broadband access and I only have dial up.  The day the disk with the Net Framework arrived, I was very sleepy.  I accidentally loaded the Net Framework before loading the Redistributable pack.  I tried uninstalling and reinstalling the Net Framework, but to no avail.  I don't want to destroy any dll's because I had bad luck with a dll a few years back.  Is there anything I can delete that will allow me to reinstall Net Framework 2.0 without destroying any dll's?  I would be happy to delete any registry keys.  
Sunday, June 18, 2006 11:12 PM by astebner

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

Hi Ted - The .NET Framework is the same thing as the redistributable pack.  I don't think you should need to uninstall and reinstall.  If you find that it is necessary, you can try out the removal tool at http://blogs.msdn.com/astebner/archive/2006/05/30/611355.aspx.  Hope this helps!

# Aaron Stebner's WebLog : Visual Studio 2005 and .NET Framework 2.0 Setup Troubleshooting Guide

Thursday, June 29, 2006 12:24 AM by oyeGURU

# How to install .Net Framework 2.0 without administrator login ?

How do i install .Net Framework 2.0 without administrator login ?
Friday, June 30, 2006 7:20 PM by astebner

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

Hi oyeGURU - You will need to deploy the .NET Framework 2.0 with elevated privileges using Active Directory if you want to install without an administrator logging in.  A lot of the things that the .NET Framework setup does require administrator rights, so you cannot install as a normal user.

You can find instructions for how to do this kind of deployment at http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnnetdep/html/ndp2_dplad.asp.

# How Fully Clean an Old .NET Framework 2.0 Installation &raquo; don&#8217;t remember my site

Thursday, September 14, 2006 10:05 PM by Jay Levitt

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

I came across this page while troubleshooting an install of Office 2007 Beta 2 Technical Refresh (B2TR).  I was getting all sorts of errors writing to various assemblies, and ended up unable to either install or uninstall Office.

I finally figured out the problem.  I had installed Office 2007 B2 with .NET Framework 2.0 installed.  I then ran into a performance problem with ATI's Catalyst Control Panel that required uninstalling .NET Framework 2.0, so I did.  Unfortunately, Office 2007 depended on some assemblies that were now in the unreachable GAC_32 and GAC_MSIL directories!

I know nothing about .NET, but I manually moved all the files from GAC_32 and GAC_MSIL into GAC, and the Office installer was now happy.

I'm not even sure which product has the bug.  Office presumably depends on .NET to install assemblies in the right place, and doesn't know the true directories that they're installed in.  But what should happen when that .NET is now an older version?  Quite a messy dependency chain.  I know - I'll let Aaron worry about it.

Jay
Saturday, October 07, 2006 10:44 PM by clarym

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

Nadav You saved my rear. Your solution solved my problems after hours of research and trial/error. Thanks Mark
Saturday, October 21, 2006 12:16 PM by Aaron Stebner's WebLog

# Unified .NET Framework Troubleshooting Guide

Details about the .NET Framework 2.0 setup packaging Available command line switches for .NET Framework

Thursday, January 18, 2007 6:57 PM by kevinremiix

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

Help!

Yes, I installed VB for the first time since I started school. Then I removed it because it took too much space because I was a space freak.

Anyways, I want to reinstall it again. Now it says that 'vs_setup.ms_' can not be opened.

I have tried your solution. But, I dont think it was very in-depth so I did not follow.

Any help would be appreciated..

Friday, January 19, 2007 4:19 PM by astebner

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

Hi Kevinremiix - The steps in this particular blog post are only applicable to the .NET Framework 2.0, not to VB.  Did you previously uninstall by using the Add/Remove Programs entry for VB Express?  If so, you should be able to download the VB Express package and run it from http://msdn.microsoft.com/vstudio/express/vb/download/.

If that version of the VB Express installer is giving you this same error, you can try to use manual download and install steps like the ones listed at http://blogs.msdn.com/astebner/articles/551674.aspx.

Hopefully one of these will help.

Friday, February 16, 2007 9:34 PM by Aaron Stebner's WebLog

# Visual Studio 2005 and .NET Framework 2.0 Setup Troubleshooting Guide

Where to get Visual Studio 2005 and the .NET Framework 2.0 Where to download the .NET Framework 2.0 redistributable

Wednesday, February 21, 2007 4:07 PM by yeahyeah

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

hi aron i got some troubles when installing visual c# express edition i've tried your steps for the failed framework but when i try to open the installed visual c# this happens:

the beta period is over

thank you for your participation

you can now remove microsoft visual c#2005 express edition beta form your computer.

can you help me?

Wednesday, February 21, 2007 4:35 PM by astebner

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

Hi Yeahyeah - It sounds like you had a previous beta of the C# Express Edition that was not fully removed.  I suggest trying the following steps:

1.  Uninstall C# Express

2.  Remove the registry values listed at http://blogs.msdn.com/astebner/archive/2005/11/14/492765.aspx

3.  Remove the registry sub-key named HKEY_CURRENT_USER\Software\Microsoft\VCSExpress

4.  Try to install Visual C# Express again

Hopefully this will help.

Monday, March 26, 2007 10:54 PM by CraigHumphrey

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

Recently hit this problem (source not available) and .Net 2.0 just went nuts...

Tried the clean-up tool, no dice.  Wasn't till I manually followed the steps in your post and then ran the Windows Install Clean Up tool (removing the uninstall entries for .net 2.0) that I was finally able to install .net 2.0 again... whew...

You might want to update the clean up tool to make sure it removes all files/folders (I suspect a running App got in the way - ActiveSync?) and the install/uninstall reg keys.

Thanks for pointing me in the right direction!

Later'ish

Craig

Thursday, July 12, 2007 1:09 PM by moliken

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

Success...Thank You!!!

Apparently, the latest MS security patch for .NET 2.0 (KB928365) corrupted my .NET install.  I was unable to uninstall the patch or uninstall, reinstall or repair the .NET 2.0 install.  The CleanUp tool worked flawlessly. I was then able to reinstall .NET and apply the patches. Thank you.

Wednesday, July 18, 2007 3:49 AM by harryaya

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

Hi Aaron,

I just installed Vista and wanted to install Sql Server 2005 developer. I met the following issue:

It successfully installed pre-requisite Sql Server native client and Sql server support files of Sql server, when I click next to proceed installation, it pop up error window after that:

"setup has detected a problem with microsoft .net framework installation and cannot proceed. Microsoft .net framework 2.0"

But my machine has already installed .net framework 2.0, I double check for it by installing .net framework 2.0. it display the error:

"The product is already installed as part of the operating system."

However, in Program and features, .net framework 2.0 is not listed in the currently installed programs… Then I used your clean up tools to try to clean .net framework 2.0. But it didn't list .net 2.0. Then I wondered if I has installed .net 2.0 or not...

Seems this is a dead lock for me to proceed my installation. I also called Support Center for help, they were not able to offer a solution for this…

I would appreciate it a lot if anyone here can give a big hand. Thanks in advance!

Thursday, July 19, 2007 10:46 PM by astebner

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

Hi Harryaya - The .NET Framework 2.0 is a part of the OS on Windows Vista, but does not allow you to remove it and therefore does not appear in the Programs and Features control panel.  Also, the cleanup tool does not allow you to remove it because it is an OS component.

There are steps at http://blogs.msdn.com/astebner/archive/2007/03/26/how-to-repair-the-net-framework-2-0-and-3-0-on-windows-vista.aspx that can be used to repair the .NET Framework 2.0/3.0 files, but I'm not sure if that will help in your scenario or not.  The only other way I know of to repair the .NET Framework on Windows Vista is to repair/re-install Windows Vista itself.

Monday, July 30, 2007 4:53 AM by shobman

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

Hi Aaron

I have spent hours trying to install .net 2.0 on to a Windows 2000 workstation.

The installation gets to approximately 40% complete and just stalls. This happens every time just after the command to disable the cancel button. The onscreen message appears to be writing reg keys to software\microsoft\windows\currentversion\sibebyside\patchedcomponents

Yet when I have checked the dd_netfx20MSI text file its last command is:

MSI (s) (6C:FC) [20:17:28:468]: Invoking remote custom action. DLL: C:\WINNT\Installer\MSI17.tmp, Entrypoint: QuietExec

Because I have to forcefully close the install I have used your cleanup tool to successfully remove all versions of .net installed but still have the same problem upon attempting to reinstall.

I have had trouble finding information on my exact problem and any insight into this would be hugely appreciated.

Thanks

Simon

Monday, July 30, 2007 1:37 PM by astebner

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

Hi Shobman - Can you please make a copy of the dd_netfx20msi*.txt file while setup is stalled at 40% complete on your system, and then zip and send me that entire log so I can take a look to see if I can figure anything out about the root cause of this issue?  You can send the log to Aaron.Stebner (at) microsoft (dot) com.

Also, in the meantime, it might help to try to use the workaround 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 in this scenario.

Saturday, September 08, 2007 7:13 PM by Uninstalling VS.NET 2005 Pre Beta 2 « Mike’s Dump

# Uninstalling VS.NET 2005 Pre Beta 2 &laquo; Mike&#8217;s Dump

Wednesday, December 12, 2007 3:45 PM by Maikl

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

You saved my life...

Monday, December 17, 2007 5:27 PM by Rydal's .Net Clr

# Re-installing .Net Framework 2.0, 3.5 broke it!

Re-installing .Net Framework 2.0, 3.5 broke it!

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

# links for 2007-12-31 | Lazycoder

# wehuberconsultingllc.com &raquo; Blog Archive &raquo; Aaron Stebner&#8217;s WebLog : Automated cleanup tool to remove the .NET Framework 1.0, 1.1, 2.0, 3.0 and 3.5

Friday, February 08, 2008 1:35 AM by mmk2118

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

Thanks so much deleting the folder .Net framework and reinstalling worked.

Tuesday, April 15, 2008 1:48 PM by AZGT Technician

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

Aaron,

Thank you for your help on this .Net Framwork issue. It was a big help and work grweat.

Don

Wednesday, April 23, 2008 5:11 AM by ChinaTradeWiki

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

No luck here :( I have problem with ATi video drivers, which leads to .net 2 and I keep getting error when I try to reinstall.

Wednesday, April 23, 2008 11:32 AM by astebner

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

Hi ChinaTradeWiki - I'd suggest trying the steps listed at http://blogs.msdn.com/astebner/archive/2008/03/07/8108332.aspx to see if they help resolve this issue installing the .NET Framework 2.0 on your system.

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

# 2.0 Framework won't install

Tuesday, May 20, 2008 12:03 PM by emhartain

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

Hi, Aaron.

I'm glad to see this thread.  I really need your help.  A while back we took a Server 2003 installation and cloned it to new hardware, as the old was becoming unreliable.  Believe it or not, 99% of everything worked.  The one problem we had was with sharepoint.  It worked for the most part, but we got 'web part errors' due to some missing files from the other server.  In the mess of safe mode operation and missing file copying, something happened to .net 2 and probably asp.net, making it impossible to uninstall/reinstall .net, sharepoint, etc.  We've discovered that there's a F: drive on the old server with a bunch of temp folder info on it.  Someone evidently set that computer to temp out to this drive.  It's a physical drive on the original server, and we don't have a physical for the new.  I created a shared folder and mapped it to F: and provided it with files.  I still get the same errors trying to reinstall .net2 and/or sp1, sharepoint, backupassist is not working.  Used your tool to clean up 2.0 install, and that removes it from the add/remove programs list, but there are still services trying to run as well as .net 2 info in the drive and registry.  We still get 'the temp folder is either full or unreachable.  Verify blah blah blah' but it's there and plenty of room and not read only and so forth.  What do we do?

Tuesday, May 20, 2008 9:33 PM by astebner

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

Hi Emhartain - I'm not sure how best to get rid of the remaining references to that other temporary directory.  You may need to manually search the registry and update locations there or something like that.  Unfortunately, this is one of the dangers of cloning an OS install and moving it to a different physical computer that doesn't have the same configuration.

Friday, September 12, 2008 1:19 PM by Cleanup tool remove .NET Framework | MonclovaCaliente

# Cleanup tool remove .NET Framework | MonclovaCaliente

Tuesday, January 20, 2009 9:50 AM by Problem bei Install Framework 2.0 | hilpers

# Problem bei Install Framework 2.0 | hilpers

Tuesday, April 21, 2009 3:54 PM by Ruminations from the Expression Web support team

# Known causes for Expression Web 2 installation crashes

Tired of trying to install Expression Web 2 over and over again only to have the installation crash with

# Known causes for Expression Web 2 installation crashes | Coded Style

# Known causes for Expression Web 2 installation crashes | Coded Style

# Known causes for Expression Web 2 installation crashes | Coded Style

# Known causes for Expression Web 2 installation crashes | Coded Style

# Known causes for Expression Web 2 installation crashes | Coded Style

# Known causes for Expression Web 2 installation crashes | Coded Style

# Known causes for Expression Web 2 installation crashes | Coded Style

# Known causes for Expression Web 2 installation crashes | Coded Style

# Known causes for Expression Web 2 installation crashes | Coded Style

# Aaron Stebner s WebLog How to manually cleanup a failed NET | debt solutions

Anonymous comments are disabled
 
Page view tracker