none
Error telling me to install v4.0.30319 when it is already installed. RRS feed

  • Question

  • I have the full .Net v4 installed.

    Some application tell me:

    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 installed and uninstalled multiple times to no avail.  According to the .NET seup verifier the following issues are present:

     

    ======================================================================
    [12/21/10,19:32:17] Beginning of new SetupVerifier error logging session
    [12/21/10,19:32:17] Activity log file location: C:\Users\alexb\AppData\Local\Temp\setupverifier_main_12-21-10_19.32.17.txt
    [12/21/10,19:32:17] Error log file location: C:\Users\alexb\AppData\Local\Temp\setupverifier_errors_12-21-10_19.32.17.txt
    [12/21/10,19:32:17] Build created on October 15, 2010
    [12/21/10,19:32:17] Detected operating system: Windows 7 (x86)
    [12/21/10,19:32:28] ***WARNING*** File C:\Windows\Microsoft.NET\Framework\sbscmp20_mscorlib.dll is not installed on the system
    [12/21/10,19:32:30] ***WARNING*** File C:\Windows\Microsoft.NET\Framework\v4.0.30319\WPF\wpftxt_v0400.dll is not installed on the system
    [12/21/10,19:32:30] ***WARNING*** File C:\Windows\Microsoft.NET\Framework\v4.0.30319\WPF\WPFFontCache_v0400.exe is not installed on the system
    [12/21/10,19:32:34] ****ERROR**** Process 'Netfx40TestApplication.exe' exited with return code -2146232576
    [12/21/10,19:32:34] ****ERROR**** Verification failed for product .NET Framework 4 Full

     

    how can i fix?

    Wednesday, December 22, 2010 3:37 AM

Answers

  • Turns out this issue can be caused by:

    1) not having the real RTM version of Windows 7 - check your NTOSKRNL.EXE version is 6.1.7600.16385 or higher.

    2) by having used a beta version of Windows update

    Tuesday, January 18, 2011 8:01 PM

All replies

  • Having read a little further it seems this issue is because my mscoree.dll in system32 and syswow64 are ver 2.0.50727.4927 and should be ver 4.

    I am running Win7 Ultimate with all updates applied, i have tried SurCheck tool - no issues found.

    Looking around the net this is not an uncommon issue. it would seem to be something that the .Net folks need to get to the bottom of.

    Oh and it applies to *both* my machine (one x86 and one x64) i have at home; so it is something systematic i have done.  I would prefer not to flatten the boxes and I am willling to debugs etc if needed.
    Wednesday, December 22, 2010 4:28 AM
  • Hello,

    You may try download .net framework 4.0 from the following link and install again to see if there are any issues: http://www.microsoft.com/downloads/en/details.aspx?FamilyID=9cfb2d51-5ff4-4491-b0e5-b386f32c0992&displaylang=en

    There are some general tips for Visual Studio installation in the following post:  http://forums.msdn.microsoft.com/en-US/vssetup/thread/60f71a54-506e-4c70-be98-e993ce6d1ddf/

    If this issue still exists, follow the two setps shown below and try reinstalling to see if the issue is fixed.

    1. Verify that if you have turned on the feature of .NET Framework.
        (Control Panel - Programs and Features - Turn Windows features on or off - Verify that the box next to Microsoft .NET Framework has been checked)

    2. Use Verification Tool to verify .Net Framework has been installed well on your OS. If .Net Framework cannot be verified on your computer, you can try to follow the steps mentioned in this blog to repair the .NET Framework.

    If the installation still fails, I think we need to collect the logs for further troubleshooting. After collecting logs, you may send vslogs.cab file to me (v-jinfan@microsoft.com)

    The steps to collect the log:
    - Try to clean your "%temp%" folder (Start Menu >> Run >> Type "%temp%")
    - Install .NET Framework 4
    - Collect the logs from "%temp%" folder
       Collect tool: http://blogs.msdn.com/heaths/archive/2008/05/09/visual-studio-and-net-log-collection-utility.aspx


    Edwer Fang [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.

    Thursday, December 23, 2010 6:03 AM
    Moderator
  • Tried all the steps you listed on multiple machines before i posted.

    Sent logs as requested so changing post to 'un-answered' unill we have resolved.

    Thanks!

    Tuesday, January 11, 2011 2:44 AM
  • Turns out this issue can be caused by:

    1) not having the real RTM version of Windows 7 - check your NTOSKRNL.EXE version is 6.1.7600.16385 or higher.

    2) by having used a beta version of Windows update

    Tuesday, January 18, 2011 8:01 PM