none
.Net 4. Framework V4.0.030319 on Windows 7

    Question

  • Hi,

     

    I'm using a 64-bit operating system with Windows 7 Home Premium.

    I just installed a software but am unable to open it.

     

    I get an error which says " .Net Framework Initialization Error" - 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 on obtaining the appropriate version of the .Net framework.

    This installation is very important to my work and i need this to work on my laptop.

     

    Please let me know how can i do this?

     

    Thanks,

    Yagnesh

     

    Thursday, September 01, 2011 11:01 AM

Answers

  • Hy guys,

    for a correct collection of .NET installation logs, follow these steps:

    1. By using this link (http://blogs.msdn.com/b/astebner/archive/2008/10/13/8999004.aspx) please verify the installation state of the versions of the .NET Framework on your computer

    2 if the verification tool’s comboBox reports an entry concerning .NET Fx 4 please do the following steps:

                 a .     Start clean up tool: http://blogs.msdn.com/b/astebner/archive/2008/08/28/8904493.aspx
     
                 b.      Remove .Net Fx 4.0

    3.       After that Download the .NET Fx 4 by using this link: http://www.microsoft.com/download/en/details.aspx?displaylang=en&id=17718

    (this is the standalone installer and not the webinstaller)

    4.       Click on the Start menu, choose Run, type msconfig and click OK

    5.      Check the box labeled Hide all Microsoft services

    6.       Click the Disable All button to disable all non-Microsoft services

    7.       In the System Configuration tool, click on the General tab

    8.      Uncheck the box labeled Load startup items

    9.   Click OK to accept all changes in the System Configuration tool

    10.  Reboot for the changes to take effect

    11.   Delete all files in %temp%

    12.   Install the .NET Fx 4

    13. If the installation fails:

    a.       Download this tool for collecting the .NET installation log: http://www.microsoft.com/download/en/details.aspx?displaylang=en&id=12493

    b.      Run this tool

    c.      Analyze these log files or you could send me the %temp% directory.

     (My E-Mail:   a-mibrin@microsoft.com)

    Note: please attach the link of this post in the mail.


    Best regards / Cordiali saluti, Michele Brina Developer Support Engineer | http://blogs.msdn.com/itasupport
    Thursday, September 01, 2011 12:26 PM
  • .Net Framework 4 latest version http://www.microsoft.com/download/en/details.aspx?id=17851#overview

    If you are still reciving the same error try following the steps in the below thread

    http://social.msdn.microsoft.com/Forums/en-US/netfxsetup/thread/97d4f63a-538a-4c4e-8091-72d56e7659a0/

     

    It is better to consult your software vendor, they might have a update or a better solution.


    Please mark those posts as answer which answers your question. Faraz
    Thursday, September 01, 2011 11:54 AM
  • Hi YagneshG,

    Since the error is related to the .net fx 4, you can analyze the log file starting: "[09/02/11,20:52:15] Starting verification for product .NET Framework 4 Client"

    I found these useful information:

    [09/02/11,20:52:15] Section [Files - .NET Framework 4 Client (Common)] - start parsing entries
    [09/02/11,20:52:15] ***WARNING*** File C:\windows\Microsoft.NET\Framework\sbscmp20_mscorlib.dll is not installed on the system
    [09/02/11,20:52:16] ***WARNING*** File C:\windows\Microsoft.NET\Framework\v4.0.30319\WPF\wpftxt_v0400.dll is not installed on the system
    [09/02/11,20:52:16] Section [Files - .NET Framework 4 Client (Common)] - stop parsing entries
    [09/02/11,20:52:16] Not running action 'Files - .NET Framework 4 Client (32-bit)' for product '.NET Framework 4 Client' because the OS condition does not match
    [09/02/11,20:52:16] Section [Files - .NET Framework 4 Client (64-bit)] - start parsing entries
    [09/02/11,20:52:17] ***WARNING*** File C:\windows\Microsoft.NET\Framework64\v4.0.30319\WPF\WPFFontCache_v0400.exe is not installed on the system
    [09/02/11,20:52:17] ***WARNING*** File C:\windows\Microsoft.NET\Framework64\v4.0.30319\WPF\wpftxt_v0400.dll is not installed on the system
    [09/02/11,20:52:17] ****ERROR**** Process 'Netfx40TestApplication.exe' exited with return code -2146232576
    [09/02/11,20:52:17] ****ERROR**** Verification failed for product .NET Framework 4 Client

    This issue (in 90% cases) is due to the version number of mscoree.dll. A successful install will have version 4.0.* of that DLL, whereas a bad install will have version 2.0.* of that DLL.

    The .NET Framework 4 installs an OS update to modify mscoree.dll, and so if the OS component store is broken, that part of the .NET Framework 4 setup will fail.

    I typically suggest trying the steps + tool listed at http://blogs.msdn.com/b/astebner/archive/2009/01/09/9303167.aspx in this type of scenario, but unfortunately that doesn't work in all cases, so it might be necessary to repair/re-install Windows to solve this type of problem. I'd suggest contacting Microsoft technical support to see if they have any other options for you to try before resorting to re-installing Windows though. You can find contact information for them at http://support.microsoft.com.


    || Michele Brina || Developer Support Engineer || http://blogs.msdn.com/itasupport
    Monday, September 05, 2011 7:14 AM

All replies

  • .Net Framework 4 latest version http://www.microsoft.com/download/en/details.aspx?id=17851#overview

    If you are still reciving the same error try following the steps in the below thread

    http://social.msdn.microsoft.com/Forums/en-US/netfxsetup/thread/97d4f63a-538a-4c4e-8091-72d56e7659a0/

     

    It is better to consult your software vendor, they might have a update or a better solution.


    Please mark those posts as answer which answers your question. Faraz
    Thursday, September 01, 2011 11:54 AM
  • Hy guys,

    for a correct collection of .NET installation logs, follow these steps:

    1. By using this link (http://blogs.msdn.com/b/astebner/archive/2008/10/13/8999004.aspx) please verify the installation state of the versions of the .NET Framework on your computer

    2 if the verification tool’s comboBox reports an entry concerning .NET Fx 4 please do the following steps:

                 a .     Start clean up tool: http://blogs.msdn.com/b/astebner/archive/2008/08/28/8904493.aspx
     
                 b.      Remove .Net Fx 4.0

    3.       After that Download the .NET Fx 4 by using this link: http://www.microsoft.com/download/en/details.aspx?displaylang=en&id=17718

    (this is the standalone installer and not the webinstaller)

    4.       Click on the Start menu, choose Run, type msconfig and click OK

    5.      Check the box labeled Hide all Microsoft services

    6.       Click the Disable All button to disable all non-Microsoft services

    7.       In the System Configuration tool, click on the General tab

    8.      Uncheck the box labeled Load startup items

    9.   Click OK to accept all changes in the System Configuration tool

    10.  Reboot for the changes to take effect

    11.   Delete all files in %temp%

    12.   Install the .NET Fx 4

    13. If the installation fails:

    a.       Download this tool for collecting the .NET installation log: http://www.microsoft.com/download/en/details.aspx?displaylang=en&id=12493

    b.      Run this tool

    c.      Analyze these log files or you could send me the %temp% directory.

     (My E-Mail:   a-mibrin@microsoft.com)

    Note: please attach the link of this post in the mail.


    Best regards / Cordiali saluti, Michele Brina Developer Support Engineer | http://blogs.msdn.com/itasupport
    Thursday, September 01, 2011 12:26 PM
  • Hi YagneshG,

    Since the error is related to the .net fx 4, you can analyze the log file starting: "[09/02/11,20:52:15] Starting verification for product .NET Framework 4 Client"

    I found these useful information:

    [09/02/11,20:52:15] Section [Files - .NET Framework 4 Client (Common)] - start parsing entries
    [09/02/11,20:52:15] ***WARNING*** File C:\windows\Microsoft.NET\Framework\sbscmp20_mscorlib.dll is not installed on the system
    [09/02/11,20:52:16] ***WARNING*** File C:\windows\Microsoft.NET\Framework\v4.0.30319\WPF\wpftxt_v0400.dll is not installed on the system
    [09/02/11,20:52:16] Section [Files - .NET Framework 4 Client (Common)] - stop parsing entries
    [09/02/11,20:52:16] Not running action 'Files - .NET Framework 4 Client (32-bit)' for product '.NET Framework 4 Client' because the OS condition does not match
    [09/02/11,20:52:16] Section [Files - .NET Framework 4 Client (64-bit)] - start parsing entries
    [09/02/11,20:52:17] ***WARNING*** File C:\windows\Microsoft.NET\Framework64\v4.0.30319\WPF\WPFFontCache_v0400.exe is not installed on the system
    [09/02/11,20:52:17] ***WARNING*** File C:\windows\Microsoft.NET\Framework64\v4.0.30319\WPF\wpftxt_v0400.dll is not installed on the system
    [09/02/11,20:52:17] ****ERROR**** Process 'Netfx40TestApplication.exe' exited with return code -2146232576
    [09/02/11,20:52:17] ****ERROR**** Verification failed for product .NET Framework 4 Client

    This issue (in 90% cases) is due to the version number of mscoree.dll. A successful install will have version 4.0.* of that DLL, whereas a bad install will have version 2.0.* of that DLL.

    The .NET Framework 4 installs an OS update to modify mscoree.dll, and so if the OS component store is broken, that part of the .NET Framework 4 setup will fail.

    I typically suggest trying the steps + tool listed at http://blogs.msdn.com/b/astebner/archive/2009/01/09/9303167.aspx in this type of scenario, but unfortunately that doesn't work in all cases, so it might be necessary to repair/re-install Windows to solve this type of problem. I'd suggest contacting Microsoft technical support to see if they have any other options for you to try before resorting to re-installing Windows though. You can find contact information for them at http://support.microsoft.com.


    || Michele Brina || Developer Support Engineer || http://blogs.msdn.com/itasupport
    Monday, September 05, 2011 7:14 AM