VarunGupta

If you have knowledge, let others light their candles at it. - Margaret Fuller

Troubleshooting .NET Framework 4 Install failures

Troubleshooting .NET Framework 4 Install failures

Rate This

 

Note: If these troubleshooting instructions do not help, search or post on MSDN Forums in .NET Framework Setup or Visual Studio Setup and Installation. This is a community-driven web site on which Microsoft employees also participate.

 

How to locate the latest installation log file and installation error code:

 

  1. Navigate into the temp directory (Click Windows button, type %temp% in search bar and click temp folder in search results)
  2. Search for filename that starts with “Microsoft .NET Framework 4 Setup” (It is an HTML document)
  3. Navigate to the end of the html file.

You would see last line in the file starting with “Final Result: Installation failed with error code:” It will be followed by error code, e.g. (0x80070642)

 

Refer to following table for each error code:

 

  1. Error Code: 0x80070002 (MSI fails to start installation)

 Steps to identify the issue:

               1. Open the latest installation log file

  1. Use Ctrl+F to search for the text "PerformOperation returned 2 (translates to HRESULT = 0x80070002)".
  1. Look at the pervious line with the text pattern as MSI(<<Drivename:\<<GUID>>\netfx_core_x86.msi)
  1. For e.g. "MSI (E:\073b39cc3bdd7647a3baf06ef854a959\netfx_Core_x86.msi) Installation failed"
  1. It means that Drivename ( as above example, E: drive ) does not have administrator  appropriate permission

 Steps to resolve the issue:

 

  1. Go to Start-> Computer
  1. Right click on the Drive name identified in the log file ( drive name identified in step 4 above)
  1. Go to Security tab,Click on Edit button to update the permissions
  1. Select Administrators under Groups or user names list
  1. Select  Full control,Modify,Read & execute,Read, Write by clicking on Allow check boxes.
  1. Click on Apply, this will start updating all the files permission existing in the drive.
  1. Click OK.

 

Steps to Verify the issue resolution:

  1. Restart the .NET4 framework setup again

.NET4 Framework 4 setup -> http://www.microsoft.com/downloads/details.aspx?FamilyID=9cfb2d51-5ff4-4491-b0e5-b386f32c0992&displaylang=en

 

  1. Error Code:  0x00000BC9

 

Steps to identify the issue:

  1. Open the latest Microsoft .NET Framework setup log file in the temp directory
  1. Search for "exit code 3017 (translates to HRESULT = 0xbc9)"   in the log file.

 

Steps to resolve the issue:

  1. Restart the machine.

 

  1. Error Code: 0x80070643

 

  1. [This is applicable if you are running Windows x64 operating system]

 

Check if it's 1719 MSI internal error:

Steps to Identify the issue:

  1. Open the latest installation log file in the temporary directory
  1. Use  Ctrl + F to search for the text "Returning IDOK. INSTALLMESSAGE_ERROR [The Windows Installer Service could not be accessed. This can occur if the Windows Installer is not correctly installed. Contact your support personnel for assistance.]
  1. This may indicate that Windows Installer registry keys may not be correct

Steps to resolve the issue:

  1. Click Windows button and type 'regedit' in search bar.
  1. Click 'regedit' in search results
  1. Navigate to following registry hive:

HKLM\Software\Microsoft\Windows\CurrentVersion\Installer

 Check if following registry keys have correct values:

  •  MsiExecCA32 should end with \Windows\syswow64\msiexec.exe
  • MsiExecCA64 should end with  \Windows\system32\msiexec.exe

Re-run setup program after trying troubleshooting steps. 

 

4.  Error: 1060 (424)

 

 

Steps to identify the issue:

  1. Open the latest Microsoft.NET framework setup log file in temp directory
  1. Search for " exit code 1060 (translates to HRESULT = 0x424)"
  2. Also, confirm that message prior to the error line shows the below message:

"The specified service does not exist as an installed service. ."

 

Steps to resolve the issue:

  1. Install windows update service

Refer

http://windows.microsoft.com/en-ID/windows7/Windows-Update-error-80070424

http://www.techiecorner.com/112/error-number-0x80070424-in-windows-update-solution/

 

 

For Windows 2000, for Windows XP, or for Windows Server 2003

To make sure that the required services are available and are running, follow these steps:

  1. Click Start, click Run, type services.msc, and then click OK.
  1. Double-click Background Intelligent Transfer Service.
  1. If the Startup status shows "Stopped," click Start, and then click OK.
  2. Double-click Automatic Updates.
  1. If the Startup status shows "Stopped," click Start, and then click OK.
  1. Double-click Workstation.
  2. If the Startup status shows "Stopped," click Start, and then click OK.
  1. Close the Services dialog box and then try to install updates again.

 

Notes

  • If the Background Intelligent Transfer Service does not appear in the list of services, click the following link to view the KB article on the Microsoft Web site and download the update:
    923845  An update package for Background Intelligent Transfer Service (BITS) is now available for Windows Server 2003 and for Windows XP
  • If the Automatic Update Service does not appear in the list of services, follow the steps that are listed in Method 3.

For Windows Vista, for Windows Server 2008, and for Windows 7

To make sure that the required services are available and are running, follow these steps:

  1. Click Start, type services.msc in the Start Search box, and then click services.msc in the programs list. If you are prompted for an administrator password or for confirmation, type the password or provide confirmation.
  2. Double-click Background Intelligent Transfer Service.
  3. If the Startup status shows "Stopped," click Start, and then click OK.
  1. Double-click Automatic Updates.
  1. If the Startup status shows "Stopped," click Start, and then click OK.
  1. Double-click Workstation.
  2. If the Startup status shows "Stopped," click Start, and then click OK.
  3. Close the Services dialog box and then try to install updates again.

                   <http://support.microsoft.com/kb/968002 has more details>

 

5.  Error: 0x80004002

Steps to identify the issue:

  1. Open the latest Microsoft.NET framework setup log file in temp directory
  1. Search for "exit code 0x80004002"

 Steps to resolve the issue:

        1.       Click Start and type notepad in the Start Search box, and then click notepad in the Programs list.

2.       Copy the following commands, and then paste them into the Notepad window.

REGSVR32 WUPS2.DLL /SREGSVR32 WUPS.DLL /SREGSVR32 WUAUENG.DLL /SREGSVR32 WUAPI.DLL /SREGSVR32 WUCLTUX.DLL /SREGSVR32 WUWEBV.DLL /SREGSVR32 JSCRIPT.DLL /S   REGSVR32 MSXML3.DLL /S1

3.       On the Notepad File menu, click Save As .

4.       .In the File name box, type register.bat , and then click All Files (*.*) in the Save as type box.

5.       Save the register.bat file to the desktop.

6.       Right-click the register.bat file, and then click Run as administrator.

If you are prompted for an administrator password or for confirmation, type the password, or click Continue.

7.       Try to install .NET Framework 4 setup again

If installation still fails with same error code, please follow the steps below:

1.       Download and install the Windows Update Agent

For more information about how to download the latest version of Windows Update Agent, click the following article number to view the article in the Microsoft Knowledge Base: 949104   (http://support.microsoft.com/kb/949104/)

 

 

 

 

 

 

Blocking Error messages:

 1. If you see following message in .NET4 Setup message box - " You must install the 32-bit Windows Imaging Component (WIC) before you run Setup. Please visit the Microsoft Download Center to install WIC, and then rerun Setup."

Resolution: Please visit http://go.microsoft.com/fwlink/?LinkId=162643 and install "wic_x86_enu.exe" file. After installing "wic_x86_enu.exe", rerun .NET Framework 4 setup

 

 

 


Incase you still see setup failure, please post your question with your setup log on the forum -> http://social.msdn.microsoft.com/Forums/en-US/netfxsetup/threads

Regards,

Varun Gupta

 

 

 

 

  • locating the latest installation log file and error code. This is the post iam searching for a long time but i could not find anywhere. Thanks for posting this topic and giving a very accurate solution. All the error code and steps to solve the issue are very valuable.I have no doubt in your explanation. Good effort Varun. Post more and more dot net error blogs so that we will get benifitted.

    gloriatech.com/microsoft-net-development-services.aspx

  • Hi David,

    Sorry to hear that you ran into installation issue. Did you upgrade your operating system?

    Please use following page to collect logs and email them to varun_logs at hotmail dot com

    blogs.msdn.com/.../instructions-to-collect-net-framework-4-and-visual-studio-2010-beta-setup-logs.aspx

    Sincerely,

    Varun

  • Hi Michael,

    Sorry to hear that you ran into installation issue. Did you upgrade your operating system?

    Please use following page to collect logs and email them to varun_logs at hotmail dot com

    blogs.msdn.com/.../instructions-to-collect-net-framework-4-and-visual-studio-2010-beta-setup-logs.aspx

    Sincerely,

    Varun

  • I get this error

    net framwork 4 installation error 0x000013EC

    social.msdn.microsoft.com/.../9f6745c9-41ec-46d4-9ebc-24c26d7e1524

  • Hi San,

    I have asked someone to look into issue reported by you.

    Sincerely,

    Varun

  • Hi Varun, I have sent you an email with my log and explaining the situation. Just checking you have received it?

    Thanks!

  • Hello

    I have the error: 0x80070643 -- When installing .Net Framework 4.  Install fails.  I notice above that this was applicable to a 64-bit system.  I've got Windows/XP SP3 on a 32-bit system, and this situation is frustrating and confusing.

    On top of that, I had .Net Framework 4 Beta installed and that appears to have NOT been uninstalled. correctly.

    Either the error is misleading or the v4 beta hangover is interfering with the .Net 4 install.  

    How can I clean up the Beta references?  Can can I force .Net 4 to install correctly on my 32-bit machine.  I've used the full .net 4 installation.exe - the web installer - also, the VS2010 Express install CD.  Al produce the same error and leave my .Net potential unusable.

    I really think the situation here is too complex.  Better to just install  and uninstall.  Can someone email me: william(dot)full(dot)moon(at)gmail(dot)com?  Thanks.

    ~ Will

  • Hi Varun,

    I have been encountering the following error while trying to install the Vs 2010 profession version on my machine which has Windows 7 - .Net framework fails to install with the same error "Final Result: Installation failed with error code: (0x80070643), "Fatal error during installation. " (Elapsed time: 0 00:03:09)." . I tried to follow the instructions to resolve it...

    But i could not find MsiExecCA32 or MsiExecCA64 under HKLM\Software\Microsoft\Windows\CurrentVersion\Installer...

    I have tried various other ways - nothing seems to work...Still was thinking to contact someone who had had similar issues, and resolved it..- before trying out my final option to re-format my machine and install everything again :(

  • hello, plzzz give link for WIC (Windows Imaging Component) for net framework 4.0

    ==================================================================

    Hello Junaid:

    Links for WIC are:

    1. X86 computer: http://go.microsoft.com/fwlink/?LinkId=162643

    2. X64 computer:http://go.microsoft.com/fwlink/?LinkId=162644

    Sincerely,

    Varun

     

  • I have been trying unsuccessfully to install microsoft web matrix.  It seems to be getting stuck at the .net framework 4 set up.  I have tried several different approaches but can't find the error code  0xc80003f3.  The failure seems to be at the following point:

    (C:\Users\Sheila\AppData\Local\Temp\Microsoft .NET Framework 4 Setup_4.0.30319\Windows6.1-KB958488-v6001-x64.msu) failed with 0xc80003f3 - (null).

    Final Result: Installation failed with error code: (0xC80003F3) (Elapsed time: 0 00:07:20).

    OS Version = 6.1.7600, Platform 2

    OS Description = Windows 7 - x64 Home Premium Edition

    CommandLine = C:\84470d3747a45f521c99acf4c9\\Setup.exe /q /chainingpackage webpi /norestart /log

    This is directly from the installation log.  Can you please help me figure out what the problem seems to be?  I thought I already had the ,net framework installed but I can't find it now in programs and features.  Thought maybe the wrong version was there and uninstalling that would help but no go.

    I look forward to hearing from you.  Thanks.

  • Hi Sheila,

    You should first try restarting the computer and rerunning .NET Framework 4 installation.

    If it does not help, please refer to following post for suggestions to resolve this error. It appears that windows update is not working correctly on your computer.

    social.answers.microsoft.com/.../19138d2c-ae5a-4313-a245-1378b8e015f1

    Thanks,

    Varun

  • Hi David Williams,

    Sorry to hear that you ran into installation issue. Did you upgrade your operating system?

    Please use following page to collect logs and email them to varun_logs at hotmail dot com

    blogs.msdn.com/.../instructions-to-collect-net-framework-4-and-visual-studio-2010-beta-setup-logs.aspx

    Sincerely,

    Varun

  • I have a laptop with 320Gb internal hard drive partitioned into C: and D: partitions.

    I have an external eSata hard drive of 2Gb, drive letter E:.

    The installer attempts to extract the installation files to the E: drive and then returns the error:

    "Another installation in progress"

    When I disconnected the E: drive, the installation ran successfully.

  • I have encountered with this error:

    [2/24/2011, 11:50:38] --- logging level: standard ---

    [2/24/2011, 11:50:38] Successfully bound to the ClusApi.dll

    [2/24/2011, 11:50:38] Error 0x800706d9: Failed to open the current cluster

    [2/24/2011, 11:50:38] Cluster drive map: ''

    [2/24/2011, 11:50:38] Considering drive: 'C:\'...

    [2/24/2011, 11:50:38] Considering drive: 'D:\'...

    [2/24/2011, 11:50:38] Considering drive: 'E:\'...

    [2/24/2011, 11:50:38] Considering drive: 'F:\'...

    [2/24/2011, 11:50:38] Considering drive: 'G:\'...

    [2/24/2011, 11:50:38] Considering drive: 'H:\'...

    [2/24/2011, 11:50:38] Considering drive: 'I:\'...

    [2/24/2011, 11:50:38] Considering drive: 'J:\'...

    [2/24/2011, 11:50:38] Drive 'J:\' is rejected because of the unknown or unsuitable drive type

    [2/24/2011, 11:50:38] Considering drive: 'K:\'...

    [2/24/2011, 11:50:38] Drive 'K:\' is rejected because of the unknown or unsuitable drive type

    [2/24/2011, 11:50:38] Considering drive: 'L:\'...

    [2/24/2011, 11:50:38] Drive 'L:\' is rejected because of the unknown or unsuitable drive type

    [2/24/2011, 11:50:38] Drive 'D:\' has been selected as the largest fixed drive

    [2/24/2011, 11:50:38] Directory 'D:\a6f4a766e1f0ca02281aecd5c5fafb\' has been selected for file extraction

    Please help me in soloution.

    thnx.

  • Hi Amd,

    Sorry to hear that you ran into installation issue.

    Can you use following link to collect logs and email them to varun_logs at hotmail dot com

    blogs.msdn.com/.../instructions-to-collect-net-framework-4-and-visual-studio-2010-beta-setup-logs.aspx

    Sincerely.

    Varun

Page 3 of 14 (209 items) 12345»
Leave a Comment
  • Please add 5 and 7 and type the answer here:
  • Post