none
.NET framework 4.0 installed but my programs wont recoginze it. RRS feed

  • Question

  • I keep on trying everything using dotnetfx_cleanup_tool and reinstalling Netframework even renaming the assembly folder to assembly2 im using the stand alone installer of net framework. And Still Cant Run Applications That Are Using Netframework 4.0 I keep On getting the error "To run this application you first must install one of the following versions of the .Net Framework: v4.0.30319" I also tried installing .NET 4.5 but still the same..

    When I use the netfx_setupverifier it says that Verification failed for product .NET Framework 4 Full and for the Client 

    Maybe its time to reinstall windows 7?

    Btw I am running on Win7 Ultimate 64bit

    .NET Framework 4 Full log:

    http://www.mediafire.com/view/?2gk59a4cve435lb

    .NET Framework 4 Client log:

    http://www.mediafire.com/view/?b49m3olj128v4kz

    And if you need my vslog.cab..

    http://www.mediafire.com/?ybf8puu2247cv0w



    • Edited by Kristian619 Monday, May 21, 2012 11:48 AM Vslog
    Monday, May 21, 2012 5:49 AM

Answers

  • As .NET Framework 4.0 installed, but won't verify, you should reinstall using this procedure:

    Uninstall .NET 4.0 using Add/Remove.

    Then,

    Follow these steps exactly:

    Before trying to install .NET Framework 4.0, execute this command from an ELEVATED Command Prompt provided by the .NET Framework Team:

    "This issue is likely caused by a bad ACL on assembly\tmp folder. After installing updates, the ACL propagates to installed assembly folders in both 4.0 & legacy GAC.  If those updates were installed by WU or another user, the propagated ACL will prevent install of the same assembly by the current user.

    A work around would be to reset the ACL on GAC dirs.

    for /F %D in ('dir %WINDIR%\assembly %WINDIR%\Microsoft.NET\assembly /s /b /a:d') do takeown /F %D && icacls %D /reset /T"

    After running that command, follow these steps:

    Please follow these instructions exactly:

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

    http://www.microsoft.com/en-us/download/details.aspx?id=24872

    2. 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.

    Note: Just using an administrator account is NOT enough. To activate full privileges, you must right-click the installer, then select Run as administrator.

    If the install fails, provide complete 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.

    If the install succeeds, reverify as you did before.

    • Marked as answer by Kristian619 Saturday, May 26, 2012 5:13 PM
    Monday, May 21, 2012 10:52 PM

All replies

  • As .NET Framework 4.0 installed, but won't verify, you should reinstall using this procedure:

    Uninstall .NET 4.0 using Add/Remove.

    Then,

    Follow these steps exactly:

    Before trying to install .NET Framework 4.0, execute this command from an ELEVATED Command Prompt provided by the .NET Framework Team:

    "This issue is likely caused by a bad ACL on assembly\tmp folder. After installing updates, the ACL propagates to installed assembly folders in both 4.0 & legacy GAC.  If those updates were installed by WU or another user, the propagated ACL will prevent install of the same assembly by the current user.

    A work around would be to reset the ACL on GAC dirs.

    for /F %D in ('dir %WINDIR%\assembly %WINDIR%\Microsoft.NET\assembly /s /b /a:d') do takeown /F %D && icacls %D /reset /T"

    After running that command, follow these steps:

    Please follow these instructions exactly:

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

    http://www.microsoft.com/en-us/download/details.aspx?id=24872

    2. 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.

    Note: Just using an administrator account is NOT enough. To activate full privileges, you must right-click the installer, then select Run as administrator.

    If the install fails, provide complete 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.

    If the install succeeds, reverify as you did before.

    • Marked as answer by Kristian619 Saturday, May 26, 2012 5:13 PM
    Monday, May 21, 2012 10:52 PM
  • Hi Kristian619,

    Welcome to the MSDN forum.

    Customers were not recommand to use dotnetfx_cleanup_tool , we have been informed of that because it may harmful to your OS.

    As for your error, I found that your error really is like this, you got a 0x80240017 error when installing.

    Like this "PerformOperation on exe returned exit code 2149842967 (translates to HRESULT = 0x80240017)"

    It means ERROR_CRC in Windows error, so I think you may try another standalone installer and give it a try.

    If you have any updates, please feel free to let me know.

    Best regards,


    Barry Wang [MSFT]
    MSDN Community Support | Feedback to us

    Tuesday, May 22, 2012 7:29 AM
    Moderator
  • Thanks pvdg42! works like magic! :DD
    Saturday, May 26, 2012 5:13 PM
  • Thanks pvdg42! works like magic! :DD
    Saturday, May 26, 2012 5:13 PM