none
Failed at installing .net Framework

Answers

All replies

  • Use Aaron Stebner's cleanup tool to get rid of any leftovers from the failed install. The tool has been updated to deal with all frameworks currently available, including 4.0:

    http://blogs.msdn.com/b/astebner/archive/2008/08/28/8904493.aspx

    Then, try the 4.0 standalone installer, "As Administrator" after disabling your AV and anti-malware programs.

    http://www.microsoft.com/downloads/en/details.aspx?FamilyID=0a391abd-25c1-4fc0-919f-b21f31ab88b7&displaylang=en

    Tuesday, May 10, 2011 11:15 PM
  • Hi Saren,

     

    Welcome to the MSDN forum.

     

    According to the description of your problem, could you let me know your OS version?

    In my opinion, the issue you have met is related to KB956250. You encountered an error 0xc8000408 which is a kind of hrFileAccessDenied issue, and it means “unable to access the file”.

    This article I think provide helpful information.

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

    To figure out whether the error is related to KB956250, you can compare the version of your file to the version in this article.

     

    I also advise you to use the Cleanup Tool to remove all leftovers caused by failed installation.

    Cleanup Tool: http://blogs.msdn.com/b/astebner/archive/2008/08/28/8904493.aspx

     

    Then I suggest you download the .NET Framework 4 standalone installer.

    .NET Framework 4 standalone installer: http://www.microsoft.com/downloads/en/details.aspx?FamilyID=0a391abd-25c1-4fc0-919f-b21f31ab88b7&displaylang=en

     

    When you begin to install .NET Framework 4, I advise you to disable your anti-virus and security software. Please run the setup file with Administrator  privileges. To do so: Right-click the installer > Run as administrator.

     

    If I have misunderstood anything, please feel free to let me know.

     

    Best Regards,


    Alexander Sun
    Thursday, May 12, 2011 5:34 AM
  • Hi Saren,

    Any updates? Have your problem resolved?

    If you need further assistance, feel free to let me know. I will be more than happy to be of assistance.

    Best Regards,


    Andrew Wu [MSFT]
    MSDN Community Support | Feedback to us
    Get or Request Code Sample from Microsoft
    Please remember to mark the replies as answers if they help and unmark them if they provide no help.

    Tuesday, May 17, 2011 10:39 AM
  • HI,

    I am having a similar issue on my PC with window 7 ultimate version.

    I used teh clean up tool, it exit with code 0 however the error log file contains couple of lines:

    [02/23/12,13:37:31] Beginning of new cleanup utility session
    [02/23/12,13:37:33] Failed to open the service 'httpfilter'
    [02/23/12,13:37:33] Failed to open the service 'msftpsvc'
    [02/23/12,13:37:33] Failed to open the service 'nntpsvc'
    [02/23/12,13:37:33] Failed to open the service 'smtpsvc'
    [02/23/12,13:37:33] Failed to open the service 'w3svc'
    [02/23/12,13:37:33] Failed to open the service 'iisadmin'
    [02/23/12,13:37:37] MoveFileEx failed for 'C:\Windows\system32\mscorier.dll' with error code 5 - Access is denied.

    [02/23/12,13:37:40] MoveFileEx failed for 'C:\Windows\system32\mscories.dll' with error code 5 - Access is denied.

    [02/23/12,13:37:42] MoveFileEx failed for 'C:\Windows\Microsoft.NET\Framework\NETFXSBS10.exe' with error code 5 - Access is denied.

    [02/23/12,13:37:45] MoveFileEx failed for 'C:\Windows\Microsoft.NET\Framework\sbs_diasymreader.dll' with error code 5 - Access is denied.

    [02/23/12,13:37:48] MoveFileEx failed for 'C:\Windows\Microsoft.NET\Framework\sbs_iehost.dll' with error code 5 - Access is denied.

    [02/23/12,13:37:50] MoveFileEx failed for 'C:\Windows\Microsoft.NET\Framework\sbs_microsoft.jscript.dll' with error code 5 - Access is denied.

    [02/23/12,13:37:53] MoveFileEx failed for 'C:\Windows\Microsoft.NET\Framework\sbs_microsoft.vsa.vb.codedomprocessor.dll' with error code 5 - Access is denied.

    [02/23/12,13:37:55] MoveFileEx failed for 'C:\Windows\Microsoft.NET\Framework\sbs_mscordbi.dll' with error code 5 - Access is denied.

    [02/23/12,13:37:58] MoveFileEx failed for 'C:\Windows\Microsoft.NET\Framework\sbs_mscorrc.dll' with error code 5 - Access is denied.

    and then I tried to run .netFramework installer as adming and it still giving this error:

    Final Result: Installation failed with error code: (0xC8000408) (Elapsed time: 0 00:06:33).
    [2/23/2012, 13:45:35]WM_ACTIVATEAPP: Focus stealer's windows WAS visible, NOT taking back focus

    any suggestions as what I can try next?

    Thanks,

    Firas

    Thursday, February 23, 2012 9:56 PM
  • First, if you want potential helpers to read your post, you need to start a new thread.

    Adding a reply to an answered thread (think closed) means that most will never see it.

    We need to see your complete install logs to know what is going on with your system, so I suggest you go through the following steps, exactly as stated:

    Follow these steps exactly:

    1. Download a fresh copy of the standalone installer for .NET Framework 4.0:

    http://www.microsoft.com/download/en/details.aspx?displaylang=en&id=17718

    2. Before running the installer, apply irarab's fix as follows:

    "I went to "C:\Windows\Microsoft.NET" there is a directory called "assembly".

    I looked in the directory and found some subdirectories with lots of old dot net 4 files. I renamed the directory assembly2 and tried to install Dot Net 4 and it worked!!!!

    (You can't delete the assembly directory unless you take ownership of it but you can rename it.)"

    Also, clear your %temp% directory and disable your AV software.

    The %temp% directory is a reference to the Temp folder associated with the current user. To clear it, do the following:

    Sign on to your system with the Administrator user account you will use to run the installer. Click the Start Orb and type %temp% in the search box. The search results will show the Temp folder you want. Click on the Temp folder to open it in Windows Explorer, then delete the entire contents.

    3. Run the standalone installer from step 1 As Administrator.

    If the install fails, provide complete install logs as follows:

    Collect your full install logs as follows:

    Please collect your install logs with this:

    http://www.microsoft.com/downloads/details.aspx?FamilyID=E0DA314F-6216-4A18-BC6B-7D29CF83AF20&displaylang=e&displaylang=en

    After you run Collect.exe, you'll find vslogs.cab in your %temp% directory. Please upload vslogs.cab to a public site, like SkyDrive, and post the link here.

    We need to see the complete log set.

    Thursday, February 23, 2012 10:38 PM
  • Hi thanks for your answer, the only reason I have made a reply here rather than  a new thread  is to say that I found this post that might describe my issue but  I still have issue installing vs/.NetFramwork.

    so I followed your instructions

    AV as well as security essential are off

    deleting what is in TMP dir

    rename C:\Windows\Microsoft.NET\assembly to C:\Windows\Microsoft.NET\assembly2

    downloaded the installer, ran it as admin and still getting the same error. the collected log file is uploaded to skydrive

    https://skydrive.live.com/redir.aspx?cid=aa21549ba4fc50a6&resid=AA21549BA4FC50A6!107&parid=AA21549BA4FC50A6!105

    thanks for your help.

    Firas

    Thursday, March 01, 2012 4:44 PM
  • You should follow the steps in Alexander Sun's answer in this thread:

    http://social.msdn.microsoft.com/Forums/en-US/netfxsetup/thread/9f3e6515-32ce-4163-8496-8d7835de2a55 

    You appear to have a Windows Installer issue.

    Thursday, March 01, 2012 8:04 PM
  • I have tried what Alexander suggested to merge miserver but that didn't help, I am still getting the same error.

    I was reading through other posts and a suggestion to re-install the OS was made, do you think this is a valid one?

    Thanks,

    Firas

    Thursday, March 01, 2012 9:16 PM
  • In general, spending days on a problem and getting nowhere makes no sense.

    The fact is that there are innumerable possible ways for software installations to go wrong, especially with software like a managed environment (.NET Framework).

    If you have tried the established solutions to no avail, you should consider repair or reinstall of your OS.

    For help with Windows repair/reinstall, these forums are the place to ask:

    http://answers.microsoft.com/en-us/windows/forum

    Friday, March 02, 2012 1:33 AM