Unified .NET Framework Troubleshooting Guide


Details about the .NET Framework 2.0 setup packaging

Error codes that can appear during .NET Framework setup

How to repair a broken version of the .NET Framework that ships with the OS

How to resolve some specific types of .NET Framework setup failure

.NET Framework service pack install issues

Where to find log files

Useful tools

Deployment Guides

Other references

 

Comments (100)

  1. gody says:

    how come there is no solution to the error messages esp the failure to register assemblies.25015 error code .

    i need help please

  2. Hi Gody – I have not posted a blog item about error code 25015 yet because we have not narrowed down any definitive root causes of that error yet.

    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.

  3. megawatt says:

    Hi Aaron!

    I work at Intuit where I support Quicken Medical Expense Manager, which installs on top of .NET Framework 1.1. I have been working with your .NET Framework team in Bangalor, specifically with Arun Ramalingam and Aditya Hari (mostly) and they have been UNBELIEVABLY helpful in helping me to get my customers fixed when we discover that their .NET Framework is broken. They shared your cleanup tool with me and it has cut my support call time from 2 hrs to 20 min. Many KUDOS to you for developing it! Everyone that I have spoken with at Microsoft has been so kind and helpful and I intend to write a note to Bill Gates to let him know what a great team of folks that he has!

    I have one last question for you, can you explain to me, in laymen’s terms, how and why the .NET Framework can break? I just want to understand a bit more so that I can attempt to explain it to my customers when they ask.

    Thanks so much!

    Meg A. Watt

    Quicken Medical Expense Manager

    Intuit, Inc.

  4. Hi Megawatt – Thank you very much for this feedback on Arun and Aditya as well as the .NET Framework cleanup tools.  I have passed this feedback on to the technical support managers that oversee the .NET Framework products as well.

    Your question about how/why the .NET Framework can break is not a simple one to answer.  Like any reasonably complex piece of software, there are a lot of possible points of failure.  The .NET Framework relies upon the presence of many files and registry keys, so if any of them are missing, have bad data, have incorrect versions or are corrupt, it can lead to unpredictable results.

    Since the .NET Framework is a runtime that other applications use, when it is broken, it can lead to unpredictable results and crashes in those applications.

    The most common cause of fragility in the .NET Framework that I’ve seen in my past experience is related to the file %windir%system32mscoree.dll.  That file is a shim that is shared by all versions of the .NET Framework, and it enables side-by-side functionality by determining which version of the .NET Framework to use when running any given .NET application.  If that file is corrupt or somehow gets downgraded, it can cause applications to fail to load.  As a general rule of thumb, that file should be versioned the same as the highest version of the .NET Framework you have installed.  For example, if you have version 1.0 and 1.1 of the .NET Framework on your system, that file should be versioned 1.1.4322.

    Hope this helps.  If you have any more specific questions that I can help you answer for your customers, or if you run into any further problems, please don’t hesitate to contact me.

  5. gormboy says:

    Hello, Aaron;

    First, thanks for the wealth of information you’ve poured out here.  However, I’ve spent the better part of a day trying to reinstall .NET Framework 2.0, and I’m just stumped!  First, I tried it through Windows Update, but that gave an error code (0x643).  Then, poking around here, I learned about dotnetfx.exe, downloaded it, and attempted to install it.  However, each attempt ended with the message:

    Error 25015.Failed to install assembly

    ‘C:WINNTMicrosoft.NETFrameworkv2.0.50727System.dll’ because of system

    error:

    The system cannot find the file specified

    Where is system.dll that the system can’t find it?  Should it be placed in the v2.0.50727 folder as part of installation?  A search of my system shows there is no system.dll.

    I’ve already used the clean-tool and performed the manual clean up.

    I realize this may not be the appropriate forum, but I’m desperate!  Any help would be appreciated.

    Thanks!

    Dennis

  6. Hi Gormboy – Just to confirm, you’ve already tried to run the tool described at http://blogs.msdn.com/astebner/archive/2006/05/30/611355.aspx and that didn’t help, correct?  If not can you please try that.  If so, can you please try to us the SubInAcl tool described at http://blogs.msdn.com/astebner/archive/2005/08/09/449720.aspx to try to fix any permission issues that might exist on your system?

    If neither of those help, your best bet is to contact Microsoft technical support for further troubleshooting assistance.  There is contact information at http://support.microsoft.com/?LN=en-us&scid=gp%3Ben-us%3Bofferprophone&x=15&y=12.  That site says that you have to pay, but for setup-related problems such as this, there is not a support charge.

  7. soniavdas says:

    I am getting "1603:error installing .Net framework" on installing .NET 1.1 on Vista. Can you please help?

  8. Hi Soniavdas – Error code 1603 is a generic failure code for an installer.  You will need to gather a verbose log file from the failing setup to be able to narrow this down further.  You can use instructions like the ones at http://blogs.msdn.com/astebner/archive/2005/03/29/help-me-help-you-if-you-have-setup-bugs.aspx to do this.  If you can gather this log, zip and send it to me at Aaron.Stebner (at) microsoft (dot) com, I will try to take a look and see if I can figure out any possible causes of this issue on your system.

  9. jwraith says:

    Hey Aaron,

    I’m trying to run the Setup Verification tool in silent mode and pipe it to text file, however all it seems to do is create a blank text document then do nothing.

    A little help would be appreciated 🙂

  10. Hi Jwraith – The verification tool is not a console application, so you cannot pipe output to a text file because there is no output available to pipe.  However, it creates a log file with the actions it performs and the results of the verification in the %temp% directory on the systems that it is run on.

    Also, the tool supports a few command line switches that will allow you to run it in silent mode and control the exact location of the log file that gets created.  You can run the file vsverify.exe inside the self-extracting EXE for the setup verification tool with a /? switch to see the usage options.

    When running in silent mode, the verification tool will also return exit codes indicating the results of the verification.  A return code of 0 means success, and a non-zero return code means that some phase of the verification failed.

    Hopefully this will help in your scenario.  Please contact me directly using http://blogs.msdn.com/astebner/contact.aspx if you have more detailed questions about how to get this scenario working on your system.

  11. Takuboku says:

    Hi,

    I tried to install .Net 2.0 and SQL express. However, The install failed at checking the configuration."Setup has detected a problem with Microsoft .Net farmewrok installation & cannot proceed.  Microsoft .Net framewrok 2.0 is either not installed on this systems or is corrupt"

    I installed .Net 2.0 successfully, "The message Ms .Net farmework 2.0 has been successfully installed."

    I checked the installed the status of .Net 2.0 with verification tool. I got the below message.

    Is it completed to install the .Net?

    09/27/07 15:44:00 *********** Log info from SetupVerifier.exe ***********

    09/27/07 15:44:00  

    09/27/07 15:44:00 #################  SUMMARY  ##########################

    09/27/07 15:44:00 Number of files with correct attributes = 496

    09/27/07 15:44:00 Number of files installed but not supposed = 0

    09/27/07 15:44:00 Number of files with incorrect version = 0

    09/27/07 15:44:00 Number of files with incorrect language = 1

    09/27/07 15:44:00 Number of files missing = 0

    09/27/07 15:44:00 Number of file warnings = 2

    09/27/07 15:44:00

    09/27/07 15:44:00 Total files = 497

    09/27/07 15:44:00 ######################################################

    09/27/07 15:44:00  

    09/27/07 15:44:00 ##################  ERRORS  ##########################

    09/27/07 15:44:00 Contents of FileLangProb.txt

    09/27/07 15:44:00 CompID File Version Language Shared Permanent CRC Excluded

    09/27/07 15:44:00

    09/27/07 15:44:00 *** File with different language stamp (expected/actual) ***

    09/27/07 15:44:00 {77B2DBF7-665A-432C-B1B4-ADD82744DE15} C:Program FilesInternet ExplorerMUI409mscorier.dll 2.0.50727.42 ENU true false – false

    09/27/07 15:44:00 {77B2DBF7-665A-432C-B1B4-ADD82744DE15} C:Program FilesInternet ExplorerMUI409mscorier.dll 2.0.50727.42 JPN true false 0x18b18a53 false

    09/27/07 15:44:00

    09/27/07 15:44:00  

    09/27/07 15:44:00 Contents of FileMissing.txt

    09/27/07 15:44:00 CompID File Version Language Shared Permanent CRC Excluded

    09/27/07 15:44:00

    09/27/07 15:44:00  

    09/27/07 15:44:00 Contents of FileVerProb.txt

    09/27/07 15:44:00 CompID File Version Language Shared Permanent CRC Excluded

    09/27/07 15:44:00

    09/27/07 15:44:00 ######################################################

    09/27/07 15:44:00  

    09/27/07 15:44:00 #################  WARNINGS  #########################

    09/27/07 15:44:00 CompID File Version Language Shared Permanent CRC Excluded

    09/27/07 15:44:00

    09/27/07 15:44:00 *** File with greater version (expected/actual) ***

    09/27/07 15:44:00 {0E69362B-643A-4B36-A50E-55E1888B307E} C:WINDOWSMicrosoft.NETFrameworkv2.0.50727System.EnterpriseServices.tlb 2.0.50727.42 ENU true true – false

    09/27/07 15:44:00 {0E69362B-643A-4B36-A50E-55E1888B307E} C:WINDOWSMicrosoft.NETFrameworkv2.0.50727System.EnterpriseServices.tlb 2.0.50727.832 ENU true true 0x9341ec8b false

    09/27/07 15:44:00

    09/27/07 15:44:00 *** File with greater version (expected/actual) ***

    09/27/07 15:44:00 {1A6D8713-9116-44AE-BA60-4CF0E8C1D58B} C:Program FilesCommon FilesMicrosoft SharedDWDW20.EXE 11.0.6555.0 – false false – false

    09/27/07 15:44:00 {1A6D8713-9116-44AE-BA60-4CF0E8C1D58B} C:Program FilesCommon FilesMicrosoft SharedDWDW20.EXE 11.0.6560.0 – false false 0x5b5a178d false

    09/27/07 15:44:00

    09/27/07 15:44:00 ######################################################

    09/27/07 15:44:00  

    09/27/07 15:44:00 ******** End of log info from SetupVerifier.exe *******

    09/27/07 15:44:00  

    09/27/07 15:44:00 ****ERROR**** VerifySetup returned false for parameters v20_urt_std_x86_ixp.sem and E_FILES

    09/27/07 15:44:00 Verification thread is returning 100

  12. Hi Takuboku – From what I can tell in the verification results, the .NET Framework 2.0 should be correctly installed on your system.  The language mismatch for that one file and the higher versions for those other 2 files are OK to ignore in this case.

    If you are still getting a .NET Framework 2.0 installation error from SQL Server setup, there may be something strange in the logic that SQL is using to detect the .NET Framework.  If that is the case, I’d suggest posting a question on the SQL setup forum at http://forums.microsoft.com/MSDN/ShowForum.aspx?ForumID=95&SiteID=1 and hopefully someone there will be able to suggest a fix for you.

  13. Fabien G. says:

    Hi,

    I have installed Visual Studio 2005, with the update available from the microsoft web site. And I have always the same issue (with the C++ IDE):

    when I try to get the property dialog box of a project, I always have approximatively the message:

    "Impossible to create the PropertyGrid component. Check that the CLR and the .NET framework are correctly installed."

    I have installed-uninstalled several time the software (Visual Studio, .NET), and nothing changes. I have use the cleanup software dotnetfx_cleanup_tool.zip, before the last install.

    In the registry, I have the key associated with the .Net framework 2.0.

    When I launch netfx_setupverifier.exe, I have the same log file as above.

    I have spend a lot of time on this issue, and I don’t see what I can check now.

    Is the issue due to the .Net framework or is it due to Visual Studio?

    What can I check or do to solve that?

    Thanks a lot for your help.

  14. Hi Fabien G – The only instances of this issue that I have heard of in the past were caused by having leftover pieces of an old VS 2005 beta somewhere on the system.  In some of those cases, running the VS 2005 beta cleanup tool at http://astebner.sts.winisp.net/Tools/vs2005_beta_cleanup_tool.zip might help.

    If that does not help on your system, then I’m not sure what other workarounds to suggest.  It might help to post a question on one of the MSDN forums (http://forums.microsoft.com) to see if someone there has any additional ideas.

    I’m sorry I’m not able to be more helpful in this scenario.

  15. Fabien G. says:

    Hi astebner,

    thanks for your help, but the cleanup tool didn’t solve the issue.

    I feel that my computer is corrupted, but I don’t know how to inspect it.

    I asked a collegue to look at it, but we’ll probably have to reinstall the computer if we don’t find any other solution 🙁

    Thanks

  16. vkievsky says:

    Hello Aaron,

    I have problem installing SQl Server 2005 under laptop’s Windows XP SP2 with the same error every time: "Setup detected a problem with .Net Framwork instsallation and cannot proceed. Microsoft .Net Framework 2.0 is either not installed or is corrupt".

    I have .Net Framework 2.0 install file which I downloaded directly from Microsoft.

    I reinstalled .Net Framework 2.0 few times. First, I removed thru Control Panel. Then for removal I used Windows Cleanup Tool. Then I used your manual removal steps. In addition, I used your Framework verification tool which shows success.

    But error persists.

    Did I used everything I could for repair?

    Regards

    Vladimir Kievsky

  17. Hi Vkievsky – If you haven’t already, I’d suggest trying to use the steps listed at http://blogs.msdn.com/astebner/archive/2008/03/07/8108332.aspx to remove and re-install the .NET Framework 2.0.

    If you still see errors during SQL Server setup even after re-installing the .NET Framework 2.0, then I’d suggest posting a question on the SQL Server setup forum at http://forums.microsoft.com/MSDN/ShowForum.aspx?ForumID=95&SiteID=1 and hopefully someone there will be able to provide some additional suggestions.

  18. garny says:

    I am curious does anybody else has the problem of automated registration for installation of Windows updates.

    With my XP installation I prefer to review and choose the desired updates, disabling some. Several months ago though I was surprised to see that I have pending updates on my shutdown option with no other means of reviewing them. Since I do a lot modifications to my Windows with software installs and updates, I suggested that I have done something wrong, although I could not remember what.

    Now I made a brand new installation with a sp3 integrated install and everything was fine till the moment I installed .NET FX 3, shortly after that I had to restart and I saw that there are new updates in the shutdown option. I was frustrated and immediately went for a System Restore, which eventually helped and now notification of updates is back.

    Still I need to install again that NET FX 3, because of software dependencies

    Have anyone seen such behavior and what do you do to review and modify the list of pending updates?

  19. Hi Garny – It sounds like your system is configured to automatically download and install updates when you reboot your system.  There is a knowledge base article at http://support.microsoft.com/kb/306525 that describes how to change automatic update options on Windows XP.  I’d suggest reviewing that article to see if they can help you configure different automatic update settings that are closer to how you want your system to behave.

  20. Snappletooth says:

    Hi Aaron,

       I get the following errors in my error log when installing 2.0. I have extracted the first warning/error mentioned and the log says the rest.

       I had a previous version of NET ( 1.x) installed that seemed to run fine. A new application that needs 2.0 required me to delete the old NET to install the new NET. NET 2.0 will not install due to the following error.

       Any help will be appreciated.

    Entering CMsiInstaller::GetMscoreeVersionFromSystem

    [11/25/08,14:41:43] ***WARNING***: Cannot obtain MSCOREE.DLL version at C:WINDOWSsystem32mscoree.dll

    [11/25/08,14:41:43] Entering CMsiInstaller::GetMscoreeVersionFromMsi

    [11/25/08,14:41:43] Version of mscoree.dll in the msi package is 2.0.50727.42.

    [11/25/08,14:41:43] Leaving CMsiInstaller::GetMscoreeVersionFromMsi

    [11/25/08,14:41:44] MsiInstallProduct called with Command line:

    [11/25/08,14:41:44] USING_EXUIH=1 REBOOT=ReallySuppress FILESINUSETEXT=""

    [11/25/08,14:41:47] Entering CNavigator::Next

    [11/25/08,14:41:47] Leaving CNavigator::Next

    [11/25/08,14:43:59] Display message

    [11/25/08,14:43:59] Error 25015.Failed to install assembly ‘C:WINDOWSMicrosoft.NETFrameworkv2.0.50727System.EnterpriseServices.dll’ because of system error: The volume does not contain a recognized file system.

    Please make sure that all required file system drivers are loaded and that the volume is not corrupted.

    [11/25/08,14:44:25] Display message

    [11/25/08,14:44:25] Error 25015.Failed to install assembly ‘C:WINDOWSMicrosoft.NETFrameworkv2.0.50727System.EnterpriseServices.dll’ because of system error: The volume does not contain a recognized file system.

    Please make sure that all required file system drivers are loaded and that the volume is not corrupted.

    [11/25/08,14:44:28] ***ERROR EVENT*** : Custom Action Failure:Action ended 14:44:28: InstallFinalize. Return value 3..

    [11/25/08,14:44:28] ***ERROR EVENT*** : See Windows Install log  for details.

    [11/25/08,14:45:47] ***ERROR EVENT*** : Custom Action Failure:Action ended 14:45:47: INSTALL. Return value 3..

    [11/25/08,14:45:47] ***ERROR EVENT*** : See Windows Install log  for details.

  21. Snappletooth says:

    I guess no one checks this website too often. I was hopiong someone might know how to repair Error 25015.

  22. Snappletooth says:

    I is curious that the verbose log only shows Error 25015 if there is no .NET Framework installed at all – no version installed. If V. 1.1 is installed, and I try to install 2.0 over it, the same Error 25015 occurs, but it doesn’t show in the log.

  23. Hi Snappletooth – I have seen error 25015 before, but there are a lot of possible causes, and I haven’t seen that exact error message (the volume does not contain a recognized file system) happening during .NET Framework setup before.  I’d suggest first trying the steps listed at http://blogs.msdn.com/astebner/archive/2008/03/07/8108332.aspx to see if they help at all here.  If those steps don’t help, then the MsConfig tool listed at http://blogs.msdn.com/astebner/archive/2006/11/25/disabling-services-with-msconfig-to-work-around-setup-failures.aspx might also help.

  24. liam-davison says:

    Hey Aaron,

    I have tried to install the Visual Studio 2008 SP1, but it freezes when it gets to the .NET Framework 3.5 SP1.  I then tried to install the .NET Framework 3.5 SP1 by itself and it also just never completes. I don’t get any error message, it just sits there running. I left it going overnight and it was still going 12 hours later, not actually doing anything though. The status bar is almost at the end when it stops doing anything. Any ideas?

  25. Hi Liam-davison – I’d suggest looking at the .NET Framework 3.5 SP1 setup log files to see what the last action it tried to do was before it started hanging.  You can find a list of the log files created by this setup at http://blogs.msdn.com/astebner/archive/2008/04/30/8445569.aspx.

    If you’d like, I can try to take a look and see if I can spot anything in your logs.  To do that, can you please zip your logs, upload them to a file server of your choice (such as http://skydrive.live.com) and then post a comment back here with a link to the location that the log files can be downloaded from?

  26. pilotdaz says:

    I had all sorts of problems trying to install .NET 3.0 and I’ve read just about everything on this website and tried most of the fixes…There was a fix mentioned in the .NET 3.0 readme where IIS prevents .NET 3.0 installation. I removed IIS 6, then all my problems went away and install was fine after that…I will re-install IIS 6 later. All the logs seemed very misleading.

  27. Hi Pilotdaz – There are some IIS interaction issues that can cause .NET Framework 3.0 and 3.5 setup to fail.  I posted some steps that I use to diagnose this type of scenario using .NET Framework setup log files at http://blogs.msdn.com/astebner/archive/2008/03/28/8342307.aspx.  Hopefully this will be useful to help you better understand the log files in the future.

  28. Snappletooth says:

    Error 25015.Failed to install assembly ‘C:WINDOWSMicrosoft.NETFrameworkv2.0.50727System.EnterpriseServices.dll’ because of system error: The volume does not contain a recognized file system.

    Please make sure that all required file system drivers are loaded and that the volume is not corrupted.

    It’s 6 months later and there is still no solution for this arcane and vanilla error report that caused me to junk my computer that would not allow an install of netFramework 2.0. I have gradually weaned my way over to non-Microsoft products,because apparently no one really understands how to fix the many bugs in Microsoft products. Even IT professionals can only guess the cause of the many error messages. It seems a reformat is the only trie way to adress Microsoft issues. No thanks. I think I’ll stick with Apple.  

  29. Hi Snappletooth – I’m sorry for the continued hassles that this issue has caused for you.  It is possible that hard drive corruption could cause this type of error.  The steps at http://blogs.msdn.com/astebner/archive/2009/02/06/9403450.aspx might help in this scenario.

    If all else fails, I suggest contacting Microsoft Technical Support for more in-depth individualized troubleshooting assistance.  You can find contact information for the support team at http://support.microsoft.com.

  30. Snappletooth says:

    Hi ast,

     Well, Bill Gates left Microsoft, and I am following him. *smiles*.  Thanks for your advice along the rocky road.

  31. Falling Rock says:

    Mr. Stebner,

     Your blog is awexome! I beg your pardon for asking such a low-level newbie question as this, but I also cannot get the recent patches for .NET Framework 1.1 and the other one for 2.0 to install. I have little more than NO idea of what these things are doing for me, in my system. I am not running this machine as a server, and it is not in a domain, just a standalone desktop with DSL internet connectivity (att.net)

     The two recent Windows Update critical patches for .NET Framework v 1.1 failed with error code 0x645 and for v2.0 wit error code 0x64C. Not 0x643, the 0x643 is covered thoroughly.

    So, here’s my simpleton question:

      Which versions of .NET Framework are needed on my WinXP SP3 machine?

    Info:

    My Add or Remove Programs lists the following:

    Microsoft .NET Framework 1.1

    Microsoft .NET Framework 1.1  Hotfix (KB928366)

    Microsoft .NET Framework 1.0  Hotfix (KB928367)

    Microsoft .NET Framework 2.0 Service Pack 2 – and ten (10) indented items under this. Do you need to see this list?

    Microsoft .NET Framework 3.0 Service Pack 2 – and eleven (11) indented items under this. (List?)

    Microsoft .NET Framework 3.5 SP1   –  and two (2) Hotfixes.

    Is any one more than the latest (v3.5)  needed? Maybe the 3.5 rolls up the old 1.0 through 3.0??  Do I need to be updating all of these when an update is offered for each ? Do I need to install the .NET Framework 4.0?  

      Please advise.  

    FYI – This system:  HP Pavilion a1040n

    OS: Windows XP Professional SP3 32b regularly patched by Win Update except when it fails to install…

    CPU: Intel P4 519J 3.065GHz

    RAM: 2GB DDR 3200

    HD: 148 GB free on system partition

    AV: Avast! updated typically every day

    AS: Windows Defender updated every two to six days since Oct. ’08.

    FRWL: Windows Firewall enabled at present.

  32. Hi Falling Rock – What I’d suggest doing here is using the steps listed at http://blogs.msdn.com/astebner/archive/2009/10/23/9912209.aspx to remove the versions of the .NET Framework that are installed on your system and then try to re-install the .NET Framework 3.5 SP1 first (this will also install the .NET Framework 2.0 SP2 and 3.0 SP2 behind the scenes).

    You don’t necessarily need to install other versions of the .NET Framework unless you have programs that you use on your system that require them.  I described this scenario in more detail at http://blogs.msdn.com/astebner/archive/2009/04/20/9557946.aspx, so I’d suggest looking at that to help you decide which version(s) of the .NET Framework to install on your system.

    I would suggest not installing the .NET Framework 4 for now because it is still in beta.  The final version will release early in 2010, so if you plan to install that version, I’d suggest waiting until then.

  33. jayhawk_94 says:

    For several weeks now my windows update has been failing on the .net 3.5 sp1 update.  Most recently I purchased TurboTax and it won’t install without this update.

    I’ve tried several of the suggestions and tools on your blog with no avail.

    I’m running 32-bit Vista.  The setup verifier tool fails every time i try to run it with an error.  I tried running the cleanup tool. Then disabling all non-MS services on startup.  Reboot.  Then running the full 3.5 sp1 install.  It fails every time.  I’m at a loss as to what this issue could be.  Please help!

    Thanks!

  34. lito94 says:

    Hello. I need help installing Microsft .NET Framework 2.0

    The error is that it keeps rolling back at the end of the installation where it says or trying to install System.Enterprise.Service.dll. Then this window will pop out

    [IMG]http://i45.tinypic.com/24omvwz.jpg[/IMG]

    When I press ‘What data does this report contain?’ This will come out

    [IMG]http://i49.tinypic.com/2rei1qd.jpg[/IMG]

    Then the installation failed.

  35. Hi Jayhawk_94 – Can you please use the tool described at http://blogs.msdn.com/astebner/archive/2007/11/21/6458047.aspx to gather up your .NET Framework setup log files, post them to a file server (such as http://skydrive.live.com), then reply here with a link I could use to download your logs and take a look to see if I can figure out what is causing this install failure?

  36. Hi Lito94 – I’d suggest trying to use the steps listed at http://blogs.msdn.com/astebner/archive/2008/03/07/8108332.aspx to remove the .NET Framework from your system, and then try to install the .NET Framework 3.5 SP1 (which will also install the .NET Framework 2.0 SP2 and 3.0 SP2 for you behind the scenes).  If 3.5 SP1 fails as well, please use the tool described at http://blogs.msdn.com/astebner/archive/2007/11/21/6458047.aspx to gather up your .NET Framework setup log files, post them to a file server (such as http://skydrive.live.com), then reply here with a link I could use to download your logs and take a look to see if I can figure out what is causing this install failure.

  37. Hi Italo – The screenshot you attached only shows the extraction of the .NET Framework 4 setup files from inside the main setup EXE.  It doesn't show anything about when the installation happens afterwards.  Can you please use the tool described at blogs.msdn.com/…/6458047.aspx to gather your .NET Framework setup log files, upload the file %temp%vslogs.cab that this tool produces to a file server (such as http://skydrive.live.com) and then reply back here with a link I can use to download the log files and take a further look?

  38. peking97 says:

    Hi Aaron,

    Following a conflict with the latest Nero10 installer I am now repeatedly being offered KB's 979909, 982168 and 983583 by the Windows Update site. I have verified all the .NET Framework installations using the verification tool and all are OK. I have also checked my update history on the Update site and it reports these KB's as installed with a green checkmark against them. Any suggestions please?

  39. peking97 says:

    Just a little further info. When I run Belarc Advisor it reports the following two MS hotfixes as missing?

    KB979909 – Important

    KB983583 – Critical  

  40. Hi Peking97 – I'm not sure how to explain the behavior that you're seeing in this scenario.  Sometimes, the Windows Update scanning logic will use cached data and continue to offer you updates that are actually already installed.  In those cases, it can help to reboot and try to run a Windows Update scan again after the reboot.  It might also help to try steps like the ones in the knowledge base article at support.microsoft.com/…/971058 to reset Windows Update on your system.

    I'm not familiar with the Belarc Advisor product, so I'm not sure what it is doing to determine whether or not those updates are installed.  It might help to remove those updates using the control panel and then try to let Windows Update install them again.

  41. peking97 says:

    All appears back to normal now after I un-installed and re-installed all the .NET installations.

    Belarc Advisor now reports all OK. I find it strange that the verification tool should report all OK whereas Belarc correctly identified those two as missing/corrupt. Anyway, as I say, all OK now. Thanks for the input and best regards.

  42. Livin_Target says:

     Have a Q.. The main error showing in the .NET Framework box is

    "System.InvalidCastException: Conversion from string "<!DOCTYPE HTML PUBLIC "-//W3C//D" to type 'Double' is not valid. —> System.FormatException: Input string was not in a correct format."

     I have tried a couple of the fixes, however, so far nothing touches it. I have the whole error log saved just didn't want to post something that large here. Should I go on to the next attempt and just reinstall? And if so I have Win 7 Ultimate .. what all versions do I need reinstall? Can I just do an install of ver 4 and that bring the whole thing up to speed?

      Sry, so full of questions, but, this is first time dealing with this particular error type.

  43. Hi Livin_Target – On Windows 7, the .NET Framework 2.0 SP2, 3.0 SP2 and 3.5 SP1 are all installed as OS components.  You can use the Windows Features control panel (optionalfeatures.exe) to hide and re-show the .NET Framework 3.0 and 3.5, and doing that might help repair those versions.  That won't help for the .NET Framework 2.0 though.  You'll need to use steps like the ones at blogs.msdn.com/…/how-to-repair-the-net-framework-2-0-and-3-0-on-windows-vista.aspx to repair that version of the .NET Framework.

    You can also proceed with installing the .NET Framework 4 and that might help solve this problem as well.

  44. Maxi says:

    An error occured during installation of Quicken related to assembly error. something like assembly componedt

  45. Anoop says:

    Hi

    I have a clickonce deployed application in my machine. When I tried to load the application, 90% of the application window is getting loaded but finally, I get the following error:

    Could not load file or assembly '0 bytes loaded from System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' or one of its dependencies. An attempt was made to load a program with an incorrect format.

    I have read somewhere that this error could be caused when something goes wrong with the .net framework in the machine. My machine is having .Net framework 1.1, 2.0 and 3.0. So which framework should I reinstall? The application is developed using .net 2.0. Also, please let me know how the application is partially loading(90%) if the framework is corrupted.?

    Regards

    Anoop.

  46. Hi Maxi – Installation errors related to assembly components can be caused by the application itself or by the .NET Framework.  Do you have any more specific information about the error that you're seeing so I can try to narrow this down further?

  47. Hi Anoop – This type of error could be caused by the .NET Framework being in a bad state on your computer.  I'd suggest trying to install the .NET Framework 3.5 SP1 (which will install the .NET Framework 2.0 SP2 and 3.0 SP2 behind the scenes) to see if that helps resolve this error.  If that doesn't help, then I'd suggest posting a question on the ClickOnce forum at social.msdn.microsoft.com/…/threads to see if someone there can suggest some additional troubleshooting steps for you to try in this scenario.

  48. michelle says:

    hi aaron… I have a completely new computer and apart from an antivirus programme and Microsoft Office I have not intalled anything yet. Windows 7 was preinstalled. I have been getting a Microsoft.NET Framework exception message:

    System.IO.IOException:

      at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)

      at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy)

      at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy)

      at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options)

      at System.IO.StreamWriter..ctor(String path, Boolean append, Encoding encoding, Int32 bufferSize)

      at System.IO.StreamWriter..ctor(String path)

      at Toshiba.OOBE.Common.RegistrationSettings.Save()

      at Toshiba.OOBE.Reminder.ReminderForm.reminderTimer_Tick(Object sender, EventArgs e)

      at System.Windows.Forms.Timer.OnTick(EventArgs e)

      at System.Windows.Forms.Timer.TimerNativeWindow.WndProc(Message& m)

      at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

    what should I do?

  49. Hi Michelle – This looks like a problem with a Toshiba registration program as opposed to a problem with the .NET Framework.  I'd suggest trying to contact Toshiba to see if there are any known issue with this program or any troubleshooting steps that that can suggest to solve this type of error.

  50. Frank A Tinker, Ph.D. says:

    After wandering through this and any number of other sites dealing with .NET 3.5 install problems I found a solution that may be unique or may be helpful to others. Give it a try before you go completely bald: Uninstall MSXML 6.0 SP2 then try the .NET 3.5 SP1 install. Worked for me. If it works for you send me a gazillion dollars…or give $25 to your favorite charity.

    –Tinker

  51. Dan Earle says:

    Just thought I'd post this solution to my problem that has taken me 2.5 days!!

    I could not install .net 3.5 as it was crashing when trying to install .net 2

    I was getting:

    error 25015 failed to install assembly system.messaging

    in the log was a message:

    ***warning***: cannot obtain mscoree.dll version at c:windowssystem32mscoree.dll"

    and crashes involving:

    visualstudio8setup (even though this wasnt installed anymore)

    Tried .net cleanup tool, asl resetting tool, etc was at the end of my tether, thinking about a fresh install of windows XP, then I did this and it worked:

    rename C:WINDOWSassembly to C:WINDOWSoldassembly

    Warning, this is a bit drastic: I wouldn't be surprised if that broke any .net apps you have so you would have to reinstall etc.

  52. Margie says:

    I have been trying to install Quicken 2011 but keep getting "Error: 1935 An error occured during the installation of assembley componant 76C3F0F6-9B9D-35DA-81C6-CA8A88CC93CA. HRESULT:0x8007010B" Have restarted and tried to reinstall but still get the error message.  How can I get this installed?

  53. Hi Margie – I'd suggest trying to use the System Update Readiness Tool and the steps listed at blogs.msdn.com/…/9303167.aspx to see if they help in this scenario.

  54. dominik lambrechts says:

    I try to install  .NET Framework 3.5 , result

    [03/01/11,20:16:28] Microsoft .NET Framework 3.5 'package': [2] Error: Installation failed for component Microsoft .NET Framework 3.5 'package'. MSI returned error code 1603

    I made a lofgile vslogs.cab; but the vs2008deployment@hotmail.com doesn't exist anymore

    Where can I send the logfile to resolve the problem?

    Dominik

  55. Hi Dominik Lambrechts – Can you please upload your vslogs.cab to a file server (such as http://skydrive.live.com), then reply back here and provide a link that I can use to download your log files and take a further look?

  56. dominik lambrechts says:

    Aaron,

    the link is

    cid-c8a3d6e05f2c95cf.skydrive.live.com/redir.aspx

    Here some history (maybe it helps):

    I needed the Microsoft .Net 3.5 SP1 for a purcased package; but I saw that there was Microsoft .NET Framework 4, which I installed.

    But the package needs 3.5 SP1 and trys to install it; then I used the dotnetfx_cleanup_tool.zip

    and tryd to install 3.5 SP1 (MSI returned error code 1603).

    regards,

    Daminik

  57. Hi Dominik Lambrechts – This is the error that I see in your log file:

    Error 1935.Er is een fout opgetreden tijdens de installatie van het onderdeel System.ServiceModel.Web,version="3.5.0.0",publicKeyToken="31bf3856ad364e35",processorArchitecture="MSIL",fileVersion="3.5.594.1152",culture="neutral". Zie Help en ondersteuning voor meer informatie. HRESULT: 0x8002802F. onderdeelinterface: , functie: CreateAssemblyCache, naam van onderdeel: {8AAC775A-59B0-4591-A44C-4FCF2BA3184D}

    The error code 0x8002802F usually means that there is something wrong with the .NET Framework 2.0 on the computer.  I'd suggest trying to use the steps at blogs.msdn.com/…/how-to-repair-the-net-framework-2-0-and-3-0-on-windows-vista.aspx to repair the .NET Framework 2.0 files, and I'd also suggest checking that the .NET Framework 2.0 registry keys listed at blogs.msdn.com/…/3260076.aspx are set to the correct values on your computer.

  58. Stan Lee says:

    Hello Aaron,

    I am getting the following error when attempting to open a launcher for a mmorg I am beta testing

    "to run this application you must first install one of the following versions of the .NET Framework:

    v4.0.30319

    Contact your application publisher for instructions about obtaining the appropriate version of the .Net framework."

    I have repaired, uninstalled and reinstalled Net 4. Turned off my anivirus and reinstalled as administrator. I have uninstalled 1.1 and 3.5sp and still get the same error

    I need to know what to try next..

  59. Hi Stan Lee – That's strange.  Normally, uninstalling + re-installing the .NET Framework 4 should solve this type of error.  I'd suggest trying to use the steps listed at blogs.msdn.com/…/8108332.aspx to fully uninstall all versions of the .NET Framework from your computer, then re-install the .NET Framework 4 Full and see if that will help solve this error.

    Also, what version of Windows are you running?

  60. Stan Kremp says:

    Hi AAron,

    I have successfully installed, at various times, TurboTax 2006, 2007, 2008, 2009, and 2010 on

    my laptop (Dell, Vista at SP2).  I install appropriate Windows updates when notified.  

    Recently, I was notified of an "Important" Security Update for Microsoft .NET Framework 4 on

    Windows XP, Windows Server 2003, Windows Vista, Windows 7, Windows Server 2008 x86

    (KB2446708).  Each time I have "installed" the update my Update History shows that it was

    installed successfully, and each time I power on the computer I am reminded that I have

    Important Updates for my computer.  When I look at update history, I now have five instances

    listed as successful installs of the .NET Framework 4.  

    However, I can no longer execute any of my TurboTax .exe files.  Each time I try I immediately receive the following message:

    "TurboTax Engine has stopped working."  The problem details are:

    Problem signature:

     Problem Event Name: APPCRASH

     Application Name: ttax.exe

     Application Version: 2007.9.9.85

     Application Timestamp: 47cf90fd

     Fault Module Name: ntdll.dll

     Fault Module Version: 6.0.6002.18327

     Fault Module Timestamp: 4cb73436

     Exception Code: c0000005

     Exception Offset: 000299a4

     OS Version: 6.0.6002.2.2.0.768.3

     Locale ID: 1033

     Additional Information 1: e51a

     Additional Information 2: 4c0d4d78887f76d971d5d00f1f20a433

     Additional Information 3: e51a

     Additional Information 4: 4c0d4d78887f76d971d5d00f1f20a433

    When I close the program, the same error message appears again: "TurboTax Engine has stopped

    working."  This time the problem details are:

    Problem signature:

     Problem Event Name: BEX

     Application Name: ttax.exe

     Application Version: 2007.9.9.85

     Application Timestamp: 47cf90fd

     Fault Module Name: StackHash_dd8f

     Fault Module Version: 0.0.0.0

     Fault Module Timestamp: 00000000

     Exception Offset: 7ffdf000

     Exception Code: c0000005

     Exception Data: 00000008

     OS Version: 6.0.6002.2.2.0.768.3

     Locale ID: 1033

     Additional Information 1: dd8f

     Additional Information 2: c897048e0a97d00641941a6f10aa8056

     Additional Information 3: 9ae5

     Additional Information 4: d7a0f278ec86bbde39a6c03caedebf21

    The only change in my system is the repeated attempts to install Important" Security Update

    for Microsoft .NET Framework 4 on Windows XP, Windows Server 2003, Windows Vista, Windows 7,

    Windows Server 2008 x86 (KB2446708).

    As a consequence I searched for a solution to the problem and came across the

    netfx_setupverifier.

    I ran the netfx_setupverifier with the following results:

    .NET Framework 2.0 SP2, .NET Framework 3.0 SP2, .NET Framework 3.5 SP1, all verified successfully, but:

    .NET Framework 4 Client failed with the message: "Product verification failed, See log for details."

    As was suggested in another post, I uploaded the appropriate log files to:

    cid-d15518850471fc6b.office.live.com/…/.Documents

    ngen_service.old.log

    ngen_service.log

    ngen.log

    It seems that there is an chronic problem with the installation and execution of various software and either corruption or update abnormalities with .NET Framework releases.  Before I proceed further, I would like to correct whatever problems this new .NET Framework 4 update, and restore my ability to execute my various versions of TurboTax.  This is critical because all of the personal tax data created when I ran those programs is now unavailable to me.

    Please help and advise me on what I should do to recover from this issue.

  61. Hi Stan Kremp – This is strange.  From what I know, TurboTax uses the .NET Framework 3.5 SP1, and the .NET Framework 4 should not interfere with the .NET Framework 3.5 SP1 at all.  I haven't been able to get the link to your log files to work, but what I'd suggest to start with is to use the tool and the steps listed at blogs.msdn.com/…/8108332.aspx to fully remove the versions of the .NET Framework that are installed on your computer, then re-install the .NET Framework 3.5 SP1 and the .NET Framework 4.  Hopefully doing this will restore your ability to use TurboTax, and also it will hopefully resolve the Windows Update issues you were seeing.

  62. RMT2 says:

    I downloaded .NET 2.0 SP2 off of the Microsoft Website, and while extracting it says that "File is corrupt" and the file being extracted is "SitSetup.dll". When I try to manually extract the files with programs like Winzip and WinRAR, many of the files fail to extract. Do I need to download the file again?

  63. Hi RMT2 – This type of error usually means that something went wrong while trying to download the setup program and the copy that you downloaded ended up corrupted.  I'd suggest deleting the copy you previously downloaded and trying again to download this setup program.

  64. RMT2 says:

    Thanks Aaron! Re-downloaded and now up and running :).

  65. jspitzer@rochester.rr.com says:

    I will soon be uninstalling the only program on my computer that needs NET 4 Framework.  I would then like to uninstall NET 4 itself.  I am running Win 7/64 bit.

    Your Blog explains many things about removing NET 4, but several issues are not clear to me.

    1. There have been multiple Updates/Security Updates to both NET 4 Client Profile and NET 4 Extended,  I think eleven (11) in total.  

    a. Can I use Programs and Features to remove these various Updates/Security Updates?

    b. If so, should the Updates/Security Updates be removed before or after removing NET 4 Framework itself?

    2. It appears that NET 4 Client Profile and NET 4 Extended can be remove either with Programs and Features OR with your command line tools.  Should one method be preferred over another?

    Many Thanks for your guidance.

  66. Hi BoxCoxGuy – For the .NET Framework 4, uninstalling the base product should also remove the updates.  I don't believe you need to install the updates separately.  I'd suggest using the Programs and Features control panel to remove the .NET Framework 4, and only use the tools on my blog as a last resort in case the normal uninstall process fails.

  67. jspitzer@rochester.rr.com says:

    Thanks!  Just what I needed to know.

  68. Ramon says:

    I cant update win  7 files  get code 80070643  please help resolve

  69. Hi Ramon – That error code is a generic code that means "setup failed" but doesn't give any information about why it failed.  What exact product are you trying to install when you get this error?

  70. vingolu says:

    OS Version Information: …

    [7/31/2012, 15:26:16]OS Version = 6.1.7600, Platform 2

    [7/31/2012, 15:26:16]OS Description = Windows 7 – x86 Ultimate Edition

    problem:

    Exe (N:4b5b8133d72544c94bd8faacWindows6.1-KB958488-v6001-x86.msu) failed with 0x1a91 – Transaction support within the specified resource manager is not started or was shut down due to an error. .

    [7/31/2012, 15:32:38]PerformOperation on exe returned exit code 6801 (translates to HRESULT = 0x1a91)

    [7/31/2012, 15:32:38] Action complete

    [7/31/2012, 15:32:38]Error 0x1a91 is mapped to Custom Error:

    [7/31/2012, 15:32:38]OnFailureBehavior for this item is to Rollback.

    help me?

  71. Acquiel says:

    Hi Aaron Stebner,

    Yesterday I installed .net framework 3.5 sp1 in my computer after i look at my computer that i have no net framework installed . in the end it fails . when i look at my control panel , add/remove programs i have net framework 2.0 installed . i dont know why . i read some articles on how to fix net frame work 3.5 sp1 . none of them works . i have this problem

    [08/02/12,21:58:38] XPSEPSC Installer: [2] Component XPSEPSC Installer returned an unexpected value.

    [08/02/12,21:58:39] WapUI: [2] DepCheck indicates XPSEPSC Installer is not installed.

    [08/02/12,22:01:43] XPSEPSC Installer: [2] Component XPSEPSC Installer returned an unexpected value.

    [08/02/12,22:01:44] WapUI: [2] DepCheck indicates XPSEPSC Installer is not installed.

    i already have XPSEPSC INSTALLER and i install it . and it didnt work . i download log collection tools . please help me on this one .

    I just dont want to uninstall net framework 2.0 yet without me letting you know my real problem .

    where can i post my vslogs.cab ?

  72. Hi Acquiel – Can you please use the tool described at blogs.msdn.com/…/6458047.aspx to collect all of your setup log files, upload the file named %temp%vslogs.cab that this tool will create to a file server (such as http://skydrive.live.com), and then reply back here and provide a link that I can use to download your log files and take a closer look?

    Also, I noticed that you posted the same comment on several different blog posts.  In the future, you only need to post a comment on one blog post, and I'll see it and respond to it.

  73. Hi Vingolu – Do you see this error when installing all types of updates on your computer, or do you only see it for this one update?  Can you please use the tool described at blogs.msdn.com/…/6458047.aspx to collect all of your setup log files, upload the file named %temp%vslogs.cab that this tool will create to a file server (such as http://skydrive.live.com), and then reply back here and provide a link that I can use to download your log files and take a closer look?

  74. thomas says:

    I need help please tried installing office home and student 2007 and i deleted 2010 having problems and now i can't install 2007 keeps saying there is an error. what do i do?

  75. Hi Thomas – What is the exact error that you're seeing in this scenario?

    I don't have a lot of expertise troubleshooting Office installation issues, so you might have better luck posting this question on one of the Office forums (such as support.microsoft.com/…/gp_newsgroups_master).

  76. Christian says:

    Hi, Aaron. I have a problem with .Net Framework, i m using Windows XP and i installed .Net Framework 3.5 and 4.0, everything was working fine, then i found some other related updates in the option software section in windows update. So i installed them and i got my PC running slow and choppy so i used the restoration point created before i installed the last update to return everything as it was.

    It worked partially, i got almost everything working fine again, but i got an error when i try to run an internet TV program that depends on .Net Framework, i got the system.IO File Not Found Exception asking for a .exe file of that program.

    What should i do now?, i still can undo the system restoration that i did if it is necessary or id there any application that can fix my problem?

    Please, i need your help to fix this.

  77. Hi Christian – I'd suggest using the steps listed at blogs.msdn.com/…/8108332.aspx to remove all versions of the .NET Framework from your computer, then re-install the versions you need to run your applications, then visit Windows Update one more time to install the latest security updates for the versions of the .NET Framework that you have installed.

  78. Christian says:

    Thx Aaron, i had found that post before you posted it, i followed it to fix my issue.

    First, i tried reparing the .Net Framework versions (from 2.0 to 4.0), after reparing version 3.5, i got my problem solved.

    But i lost a plus that i gained after installing 4.0, and that was playing youtube videos smooth.

    After Adobe flashplayer released its 11.202.235 version, most of the old PCs have issues with playing net videos, but after installing .Net Framework 4.0, i got an improve in my youtube videos.

    So i uninstalled/reinstalled .net framework 4.0 (installed the critical updates from windows update for .net 4.0 as well) and got the videos running smooth again (not perfect but a lot better than before of intalling 4.0).

    Everything is working fine now, thx a lot for your posts and your blog.

  79. Christian says:

    Aaron, I m back. I have an issue with .net framework again, but this time, im using another HD, i bought a new one and added it to my PC. I installed windows XP there and updated it. It works fine but with some programs i got this error message :

    docs.google.com/…/edit

    Follow the link above to check the error message (it s pretty big so i couldn t post it here)

    I have the option to choose Continue or quit, i tried continue with one program and it worked, but i don t want to get this error message from time to time.

    I have .net framework 3.5 installed and the versions before that as well, i have my windows XP updated with all critical updates installed, i tried repairing framework 3.5 in the install/uninstall programs section to solve the problem but no luck.

    You know how i can fix this issue ??

    Sorry for bother you again, but you are really good with this.

    Thx in advance.

  80. Hi Christian – The error in the link you posted looks like a problem with the application that you're using, not a problem with the .NET Framework itself.  My suggestion would be to contact the application manufacturer to see if they have any known issues and/or patches for that type of problem.

  81. Christian says:

    Well, if that was the only program that give me that error message i would think the same, but for example i got a similar error message with my internet tv program (this program worked without any issue with my old HD using XP and same version of framework, i m using the same version of the program as well) i click in continue and all worked fine and i didnt get that menssage using that program again.

    So i have some questions :

    if i click continue every time that message appears i wont get anything wrong with my PC in the future??

    And i was thinking to update .net framework from 3.5 to 4.0, should i do it or i need to fix this issue first??

  82. Hi Christian – If you're seeing the same error message from multiple programs and not just one, then it probably is something wrong with the .NET Framework.  Normally, I suggest removing and re-installing the .NET Framework to try to solve that type of problem, but you've already tried that so I don't expect you to get any different results by trying that again.

    You can skip the error message without causing any further problems, but that can get annoying over time.

    It might help to install the .NET Framework 4, so if you haven't yet, I'd suggest trying that too.

  83. Marco says:

    Hi Aaron.

    First of all, congratulations and thank you for your page.

    You have been around for the comunity for a very long time and you are considere and authoritative source on installation troubleshooting!

    I am trying an install of Net 4.0 on a 2008 Server R2 Sp1 (which has 3.5 as part of the operating system – as a "feature" ).

    I am getting "Exe (C:WindowsTEMP2Microsoft .NET Framework 4 Setup_4.0.30319Windows6.1-KB958488-v6001-x64.msu) failed with 0x240006 – (null)."

    I have looked everywhere and cant come down with a solution or root cause.

    I will apreciate so much if you can shed some light.

    Thank you!

  84. Hi Marco – Exit code 0x240006 means that this update is already installed.  That is expected if you've already got that .msu file installed, and it isn't the cause of a .NET Framework setup failure.

    In order to narrow down the cause of your .NET Framework 4 setup failure, can you please use the tool described at blogs.msdn.com/…/6458047.aspx to collect all of your setup log files, upload the file named %temp%vslogs.cab that this tool will create to a file server (such as http://onedrive.live.com), and then reply back here and provide a link that I can use to download your log files and take a closer look?

  85. Marco says:

    The situation has changed since then, but it is still failing.

    I disabled the NET3.5 "feature" from the "turn windows features on or off" configuration.

    I am now seeing the following error :

    on the html file: Final Result: Installation failed with error code: (0x80070643), "Fatal error during installation. " (Elapsed time: 0 00:00:36).

    on the text log : Windows Installer installed the product. Product Name: Microsoft .NET Framework 4 Client Profile. Product Version: 4.0.30319. Product Language: 0. Manufacturer: Microsoft Corporation. Installation success or error status: 1603.

    I am running the collect software now and will be sending the logs to you soon.

  86. Marco says:

    Here is the link to the logs : onedrive.live.com/redir

    Thank you Aaron.

  87. Marco says:

    I thought Id chime in and let you guys know what ultimately solved my problem, since I havent seen that on any other blogs.

    Check your log files for something similar to "unable to write to key" next to an incomplete registry key location.

    You gotta look that key up on your registry, then go up one level (on my case the next level up was "CLSID"), right click on it

    and change the permisions. First you must take ownership of the key (and the keys below it – this is important!).

    Then add the user "NT SERVICETrustedInstaller" with full control. I also added "System" just to be sure, but it suffice with TrustedInstaller.

    Before you close this dialog, make sure to select the checkbox that will inherit this user permissions to all children keys.

    If you get an error when doing this, it means you didnt took ownership of all children first, so go back and do it and repeat.

    This will allow you to finishe your installation. Afterwards you might want to reset these settings to normal.

    NOTE: The first time I did this it didnt work, because apparently there are multiple copies of the CLSID branch on the registry.

    If it doesnt work the first time, find the next CLSID branch that contains the key mentioned on your log file.

    It worked for the on the second try.

    Good luck!!!!!!!

  88. Hi Marco – Thank you for posting about your experience.  I'm sorry I didn't have a chance to look at your logs in the meantime (I just got back from vacation and am catching up on my blog comments now).

    For others reading these comments in the future, Marco's solution is specific to his scenario.  It may or may not apply to your scenario.  To tell for sure, you'll need to look in the verbose .NET Framework setup log files and determine the exact cause of the failure, and then find a solution from there.

  89. anup kumar says:

    hi

    i am trying to install MS SQL server 2012 in Windows 8. many issue related to .NET framwork 3.5 faces.

    if one is solve another is comes.

    Latest is "unhandled exception has occurred in your application. "

    I f any solution please send me on

    anupkumar08@gmail.com

    Thanks

    Anup

  90. Hi anup kumar – I'm sorry, but I don't have expertise troubleshooting SQL Server installation problems.  I'd suggest posting a question on the SQL Server setup forum at social.msdn.microsoft.com/…/home and hopefully someone there can help you solve this problem.

  91. Chris says:

    Hi Aaron,

    I am desperately trying to solve a Windows 7 Update problem that I have had for more than a year. Whenever the installation finishes the system gives me two error message (80070643 and 80071A91). When I look at the Update History, it is always the Security Update for .NET Framework 3.5.1 and Windows Server 2008 R2 SP1 (for 64-bit system) that fails.

    I have tried cleaning up and reinstalling the .NET framework in order of their publishing. The issue usually is with the 3.5 component.

    Can you help me please?

    Thanks and regards,

    Chris

  92. Hi Chris – I'd suggest trying the repair steps listed at answers.microsoft.com/…/7ab518c0-a588-4170-83b1-ab8c62d6de37 to see if they help you solve this installation problem.

  93. Rahuldevg says:

    HI Aaron,

    While installing VS 2012 express version on my windows 7 ultimate.I am facing the error:-

    Please help to sort out this problem.

    Installation Log

    OS Version = 6.1.7600, Platform 2

    OS Description = Windows 7 – x86 Ultimate Edition

    CommandLine = E:998706611aba9ab5f3e1\Setup.exe /x86 /x64

    Using Simultaneous Download and Install mechanism

    Operation: Installing

    Package Name = Microsoft .NET Framework 4 Setup

    Package Version = 4.0.30319

    User Experience Data Collection Policy: Disabled

    Number of applicable items: 10

    Exe (E:998706611aba9ab5f3e1SetupUtility.exe) succeeded.

    Exe Log File: dd_SetupUtility.txt

    ServiceControl operation succeeded!

    Exe (E:998706611aba9ab5f3e1Windows6.1-KB958488-v6001-x86.msu) failed with 0x1a91 – Transaction support within the specified resource manager is not started or was shut down due to an error. .

    Exe Log File: CBS.log

    Final Result: Installation failed with error code: (0x00001A91), "Transaction support within the specified resource manager is not started or was shut down due to an error. " (Elapsed time: 0 00:01:54).

  94. Hi Rahuldevg – I'd suggest trying the workaround described at support.microsoft.com/…/939399 to see if it helps in this scenario.

  95. Kaycee says:

    Microsoft .NET 4.6.1 (0x80070643), “Fatal error during installation. ” How can I fix this?

    1. Hi Kaycee – Can you please use the tool described at http://blogs.msdn.com/astebner/archive/2007/11/21/6458047.aspx to collect all of your setup log files, upload the file named %temp%\vslogs.cab that this tool will create to a file server (such as http://onedrive.live.com), and then reply back here and provide a link that I can use to download your log files and take a closer look?