none
Strange .net error: WDSmartWare.exe: Bad Image RRS feed

  • Question

  • Hello:

    Recently, every time I start Windows, I get a message: "C:\Windows\Microsoft.NET\Framework64\v2.0.50727\mscorwks.dll is either not designed to run on Windows or it contains an error. Try installing the program again using the original installation media or contact you sytem administrator or software vendor for support."

    I have uninstalled MS .NET Compact Framework 2.0 as well as a .NET 2.0 SDK found in the control panel, and the error persists. Checking the path given in the error, it appears I have a copious set of files under the directory tree "v2.0.50727" including the DLL file in question, and it is as though the uninstall didn't touch them. I now have no idea about what these files are, except that my WD Smartware (which runs a password-protected backup drive I have) relies on it, and possibly other programs.

    Any assistance would be appreciated.

    Paul

    • Edited by Win7_Paul Wednesday, April 11, 2012 11:17 PM
    Wednesday, April 11, 2012 10:51 PM

Answers

  • First, be SURE you understand that you CANNOT install .NET Framework 2.0 in Windows 7!

    Windows 7 includes .NET Framework 3.5.1 (which is .NET Framework 2.0, 3.0 and 3.5 with all updates through 3.5 SP1) as an embedded OS feature. None of these versions can be installed by the user.

    Your verification test app report indicates that yourr .NET Framework 2.0 is corrupt. There is only ONE technique available for correcting embedded frameworks, here:

    http://blogs.msdn.com/b/astebner/archive/2007/03/26/how-to-repair-the-net-framework-2-0-and-3-0-on-windows-vista.aspx

    As stated in the article, if this technique does not correct your situation, you will need to reinstall Windows 7.

    • Proposed as answer by Alexander Sun Friday, April 13, 2012 6:02 AM
    • Marked as answer by Alexander Sun Tuesday, April 17, 2012 9:39 AM
    Thursday, April 12, 2012 4:57 PM

All replies

  • What is your Windows version and Service Pack level? Any fixes for .NET Framework 2.0 (which appears to be involved in your WD Smartware issue) will be very different depending on your Windows version.

    You can start by verifying .NET Framework 2.0 on your system with this tool:

    http://blogs.msdn.com/b/astebner/archive/2008/10/13/8999004.aspx

    Run the tool selecting .NET Framework 2.0, then post the first 15 lines and last 15 lines of tool output here.

    Thursday, April 12, 2012 2:45 AM
  • I am using Windows 7 Home Premium, SP 1 (64 bit).

    I selected version 2.0 as the .NET to verify (I have 2 others) on your verification tool:

    FIRST 15 or so LINES:

    ======================================================================
    [04/12/12,05:47:00] Beginning of new SetupVerifier activity logging session
    [04/12/12,05:47:00] Activity log file location: C:\Users\Paul\AppData\Local\Temp\setupverifier_main_04-12-12_05.47.00.txt
    [04/12/12,05:47:00] Error log file location: C:\Users\Paul\AppData\Local\Temp\setupverifier_errors_04-12-12_05.47.00.txt
    [04/12/12,05:47:00] Build created on December 29, 2011
    [04/12/12,05:47:00] Detected operating system: Windows 7 (x64)
    [04/12/12,05:47:00] Install state for .NET Framework 1.0: not installed.
    [04/12/12,05:47:00] Install state for .NET Framework 1.1: installed with no service packs.
    [04/12/12,05:47:00] Install state for .NET Framework 2.0: installed with service pack 2.
    [04/12/12,05:47:00] Install state for .NET Framework 3.0: installed with service pack 2.
    [04/12/12,05:47:00] Install state for .NET Framework 3.5: installed with service pack 1.
    [04/12/12,05:47:00] Install state for .NET Framework 4 Client: installed with no service packs.
    [04/12/12,05:47:00] Install state for .NET Framework 4 Full: installed with no service packs.
    [04/12/12,05:47:00] Not adding product '.NET Framework 1.0' because it is not currently installed
    [04/12/12,05:47:00] Not adding product '.NET Framework 1.1 SP1' because it is not currently installed
    [04/12/12,05:47:00] Not adding product '.NET Framework 2.0' because it is not currently installed
    [04/12/12,05:47:01] Not adding product '.NET Framework 2.0 SP1' because it is not currently installed
    [04/12/12,05:47:01] Not adding product '.NET Framework 3.0' because it is not currently installed
    [04/12/12,05:47:01] Not adding product '.NET Framework 3.0 SP1' because it is not currently installed
    [04/12/12,05:47:01] Not adding product '.NET Framework 3.5' because it is not currently installed
    [04/12/12,05:47:09] Starting verification for product .NET Framework 2.0 SP2

    LAST 15 or so LINES:

    [04/12/12,05:47:13] Section [Registry GE - .NET Framework 2.0 SP2 (Common)] - stop parsing entries
    [04/12/12,05:47:13] Not running action 'Registry GE - .NET Framework 2.0 SP2 (32-bit)' for product '.NET Framework 2.0 SP2' because the OS condition does not match
    [04/12/12,05:47:13] Section [Registry GE - .NET Framework 2.0 SP2 (64-bit)] - start parsing entries
    [04/12/12,05:47:13] Key: HKLM\SOFTWARE\Microsoft\NET Framework Setup\NDP\v2.0.50727
        Value: SP
        Expected Data:    2
        Actual Data:    2
    [04/12/12,05:47:13] Section [Registry GE - .NET Framework 2.0 SP2 (64-bit)] - stop parsing entries
    [04/12/12,05:47:13] Processing custom action 'Custom Action - .NET Framework 2.0 test application'
    [04/12/12,05:47:13] ExecutablePath = 'Netfx20TestApplication.exe'
    [04/12/12,05:47:13] FriendlyName = '.NET Framework 2.0 test application'
    [04/12/12,05:47:13] TimeoutSeconds = '300'
    [04/12/12,05:47:13] WaitOnExit = 'true'
    [04/12/12,05:47:13] Silent = 'true'
    [04/12/12,05:47:13] Launching process 'Netfx20TestApplication.exe' now
    [04/12/12,05:47:13] Process successfully launched. Waiting 300 seconds for it to complete.
    [04/12/12,05:47:13] ****ERROR**** Process 'Netfx20TestApplication.exe' exited with return code -2147024703
    [04/12/12,05:47:13] Not running action 'Files - .NET Framework netfxperf.dll' for product '.NET Framework 2.0 SP2' because the OS condition does not match
    [04/12/12,05:47:13] ****ERROR**** Verification failed for product .NET Framework 2.0 SP2

    Thanks

    Paul


    • Edited by Win7_Paul Thursday, April 12, 2012 10:07 AM
    Thursday, April 12, 2012 9:52 AM
  • Hi,

    did you try to install .Net framework 64 Bit ?

    download 64 bit version from below link

    .Net Framework 2.0 64 Bit

    Regards

    Purvi

    Thursday, April 12, 2012 1:50 PM
  • First, be SURE you understand that you CANNOT install .NET Framework 2.0 in Windows 7!

    Windows 7 includes .NET Framework 3.5.1 (which is .NET Framework 2.0, 3.0 and 3.5 with all updates through 3.5 SP1) as an embedded OS feature. None of these versions can be installed by the user.

    Your verification test app report indicates that yourr .NET Framework 2.0 is corrupt. There is only ONE technique available for correcting embedded frameworks, here:

    http://blogs.msdn.com/b/astebner/archive/2007/03/26/how-to-repair-the-net-framework-2-0-and-3-0-on-windows-vista.aspx

    As stated in the article, if this technique does not correct your situation, you will need to reinstall Windows 7.

    • Proposed as answer by Alexander Sun Friday, April 13, 2012 6:02 AM
    • Marked as answer by Alexander Sun Tuesday, April 17, 2012 9:39 AM
    Thursday, April 12, 2012 4:57 PM