none
.NET V4.0.30319

    Question

  • Have had the following errors messages on start up:  sprtcmd.exe TWCapp.exe-to run need V4.0.30319 of .NET-but I have V4 and still get error.. I do have 32 bit vista and it seems I can only find 64 bit .NET v4-is this the problem? If so, what do I do?

    Thanks.

    Error log is below when I ran the checker:

    Sunday, April 22, 2012 4:35 AM

Answers

All replies

  • " I do have 32 bit vista and it seems I can only find 64 bit .NET v4-is this the problem?"

    No. The full .NET Framework 4.0 installer includes both 32 and 64 bit components, and installs what is required after detecting your OS.

    First, please check the integrity of your .NET Framework 4.0 installation with this tool:

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

    Run the tool with .NET 4.0 selected, then post the first 15 lines and last 15 lines of output here.

    Look carefully at the last 15 lines of output. If the test application failed, this means your installation of .NET Framework 4.0 is currupt. In that case, you must remove .NET Framework 4.0 using Add/Remove, then reinstall using this procdedure - follow 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:

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

    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.


    • Edited by pvdg42MVP Sunday, April 22, 2012 1:40 PM
    Sunday, April 22, 2012 1:33 PM
  • Thanks for the quick response.

    1. Done

    2. There is one file I am not allowed to delete (DFDA8E)-says it's open in another program-if I reboot, then a different file will not let itself be deleted. Is it OK to leave this file alone? I notice that more files get added to this temp folder occasionally.

    3. 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"

    How do I execute this command from an elevated position? Do I right click on the command prompt and select run as admin? Also I am not very good at computer language. Do I type do takeown /F %D && icacls %D /reset /T exactly as it is in bold, or do I replace /F with /C (my drive) or something else?.

    I can see the Windows/assembly folder, but then I have 6 folders-GAC/GAC_32/GAC_MSIL/native images/temp/tmp. I am assuming one of the 1st three folders is my target?

    Sorry for being such a newby.

    1st set of log file lines

    [04/22/12,11:23:46] Beginning of new SetupVerifier activity logging session
    [04/22/12,11:23:46] Activity log file location: C:\Users\THEHEN~1\AppData\Local\Temp\setupverifier_main_04-22-12_11.23.46.txt
    [04/22/12,11:23:46] Error log file location: C:\Users\THEHEN~1\AppData\Local\Temp\setupverifier_errors_04-22-12_11.23.46.txt
    [04/22/12,11:23:46] Build created on December 29, 2011
    [04/22/12,11:23:46] Detected operating system: Windows Vista (x86)
    [04/22/12,11:23:46] Install state for .NET Framework 1.0: not installed.
    [04/22/12,11:23:46] Install state for .NET Framework 1.1: not installed.
    [04/22/12,11:23:46] Install state for .NET Framework 2.0: installed with service pack 2.
    [04/22/12,11:23:46] Install state for .NET Framework 3.0: installed with service pack 2.
    [04/22/12,11:23:46] Install state for .NET Framework 3.5: not installed.
    [04/22/12,11:23:46] Install state for .NET Framework 4 Client: installed with no service packs.
    [04/22/12,11:23:46] Install state for .NET Framework 4 Full: installed with no service packs.
    [04/22/12,11:23:46] Not adding product '.NET Framework 1.0' because it is not currently installed
    [04/22/12,11:23:46] Not adding product '.NET Framework 1.1' because it is not currently installed
    [04/22/12,11:23:46] Not adding product '.NET Framework 1.1 SP1' because it is not currently installed
    [04/22/12,11:23:46] Not adding product '.NET Framework 2.0' because it is not currently installed
    [04/22/12,11:23:46] Not adding product '.NET Framework 2.0 SP1' because it is not currently installed
    [04/22/12,11:23:46] Not adding product '.NET Framework 3.0' because it is not currently installed
    [04/22/12,11:23:46] Not adding product '.NET Framework 3.0 SP1' because it is not currently installed
    [04/22/12,11:23:46] Not adding product '.NET Framework 3.5' because it is not currently installed
    [04/22/12,11:23:46] Not adding product '.NET Framework 3.5 SP1' because it is not currently installed
    [04/22/12,11:23:51] Starting verification for product .NET Framework 4 Full
    [04/22/12,11:23:51] Section [Files - .NET Framework 4 Client (Common)] - start parsing entries
    [04/22/12,11:23:51] File C:\Windows\Microsoft.NET\assembly\GAC_32\CustomMarshalers\v4.0_4.0.0.0__b03f5f7f11d50a3a\CustomMarshalers.dll (version 4.0.30319.1) is installed on the system
    [04/22/12,11:23:51] File C:\Windows\Microsoft.NET\assembly\GAC_32\ISymWrapper\v4.0_4.0.0.0__b03f5f7f11d50a3a\ISymWrapper.dll (version 4.0.30319.1) is installed on the system
    [04/22/12,11:23:51] File C:\Windows\Microsoft.NET\assembly\GAC_32\Microsoft.Transactions.Bridge.Dtc\v4.0_4.0.0.0__b03f5f7f11d50a3a\Microsoft.Transactions.Bridge.Dtc.dll (version 4.0.30319.1) is installed on the system
    [04/22/12,11:23:51] File C:\Windows\Microsoft.NET\assembly\GAC_32\Microsoft.VisualBasic.Activities.Compiler\v4.0_10.0.0.0__b03f5f7f11d50a3a\Microsoft.VisualBasic.Activities.Compiler.dll (version 10.0.30319.1) is installed on the system
    [04/22/12,11:23:51] File C:\Windows\Microsoft.NET\assembly\GAC_32\mscorlib\v4.0_4.0.0.0__b77a5c561934e089\mscorlib.dll (version 4.0.30319.1) is installed on the system
    [04/22/12,11:23:51] File C:\Windows\Microsoft.NET\assembly\GAC_32\PresentationCore\v4.0_4.0.0.0__31bf3856ad364e35\PresentationCore.dll (version 4.0.30319.1) is installed on the system
    [04/22/12,11:23:51] File C:\Windows\Microsoft.NET\assembly\GAC_32\System.Data\v4.0_4.0.0.0__b77a5c561934e089\System.Data.dll (version 4.0.30319.1) is installed on the system
    [04/22/12,11:23:51] File C:\Windows\Microsoft.NET\assembly\GAC_32\System.EnterpriseServices\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.EnterpriseServices.dll (version 4.0.30319.1) is installed on the system

    Last set of 15 lines:

    [04/22/12,11:23:58] Section [Registry - .NET Framework 4 Full (Common)] - stop parsing entries
    [04/22/12,11:23:58] Section [Registry - .NET Framework 4 Full (32-bit)] - start parsing entries
    [04/22/12,11:23:58] Section [Registry - .NET Framework 4 Full (32-bit)] - stop parsing entries
    [04/22/12,11:23:58] Not running action 'Registry - .NET Framework 4 Full (64-bit)' for product '.NET Framework 4 Full' because the OS condition does not match
    [04/22/12,11:23:58] Not running action 'Registry - .NET Framework 4 Full (Wow6432Node)' for product '.NET Framework 4 Full' because the OS condition does not match
    [04/22/12,11:23:58] Processing custom action 'Custom Action - .NET Framework 4.0 test application'
    [04/22/12,11:23:58] ExecutablePath = 'Netfx40TestApplication.exe'
    [04/22/12,11:23:58] FriendlyName = '.NET Framework 4 test application'
    [04/22/12,11:23:58] TimeoutSeconds = '300'
    [04/22/12,11:23:58] WaitOnExit = 'true'
    [04/22/12,11:23:58] Silent = 'true'
    [04/22/12,11:23:58] Launching process 'Netfx40TestApplication.exe' now
    [04/22/12,11:23:58] Process successfully launched. Waiting 300 seconds for it to complete.
    [04/22/12,11:23:58] ****ERROR**** Process 'Netfx40TestApplication.exe' exited with return code -2146232576
    [04/22/12,11:23:58] ****ERROR**** Verification failed for product .NET Framework 4 Full

    Sunday, April 22, 2012 4:40 PM
  • Please follow this procedure to run the command:

    You need to open a command window As Administrator.

    Then, paste the command into the window at the prompt, then hit your Enter key.

    First, Copy this:

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

    then, right click on the icon (left end) in the command window title bar and select Edit->Paste. Then, hit your Enter key.

    Once you have done that, follow the steps given previously.

    Sunday, April 22, 2012 4:50 PM
  • Thanks. Did all you said in the order mentioned

    Ran reset as admin

    shut off virus checker and then downloaded fresh installer-removed files from temp folder-ran as admin-got message that .net was repaired, but upon reboot same thing happened.

    Then uninstalled .net rebooted and followed the procedure above again, except this time I installed the .net4. App said it was installed, but upon reboot, same errors.

    I ran the install logs and uploaded to Sky drive/https://skydrive.live.com/public folder

    Please help if you can.

    Monday, April 23, 2012 2:39 AM
  • Hi nebrhahe,

    Welcome to the MSDN forum.

    Please right click your installatino logs from Sky drive and click share to get the sharing link. Then show us that link. We can't read your logs now.

    Thanks,


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

    Monday, April 23, 2012 9:46 AM
  • Monday, April 23, 2012 5:16 PM
  • The installation succeeded:

    "Final Result: Installation completed successfully with success code: (0x80070BC2), "The requested operation is successful. Changes will not be effective until the system is rebooted. " (Elapsed time: 0 00:03:29)."

    If rebooting your system corrupts the .NET Framework every time, you should consider reinstalling your OS.

    Reverify corruption:

    First, please check the integrity of your .NET Framework 4.0 installation with this tool:

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

    Run the tool with .NET 4.0 selected, then post the first 15 lines and last 15 lines of output here.

    If the test app failed again (last 15 lines), consider reinstalling your OS.

    Monday, April 23, 2012 6:39 PM
  • As before-failed after reboot-dont understand how a reboot can do this. To reinstall OS will lose all info correct? Can I try to fix what is wrong and if so, how?

    1st 15 lines

    04/23/12,20:28:37] Beginning of new SetupVerifier activity logging session
    [04/23/12,20:28:37] Activity log file location: C:\Users\THEHEN~1\AppData\Local\Temp\setupverifier_main_04-23-12_20.28.37.txt
    [04/23/12,20:28:37] Error log file location: C:\Users\THEHEN~1\AppData\Local\Temp\setupverifier_errors_04-23-12_20.28.37.txt
    [04/23/12,20:28:37] Build created on December 29, 2011
    [04/23/12,20:28:37] Detected operating system: Windows Vista (x86)
    [04/23/12,20:28:37] Install state for .NET Framework 1.0: not installed.
    [04/23/12,20:28:37] Install state for .NET Framework 1.1: not installed.
    [04/23/12,20:28:37] Install state for .NET Framework 2.0: installed with service pack 2.
    [04/23/12,20:28:37] Install state for .NET Framework 3.0: installed with service pack 2.
    [04/23/12,20:28:37] Install state for .NET Framework 3.5: not installed.
    [04/23/12,20:28:37] Install state for .NET Framework 4 Client: installed with no service packs.
    [04/23/12,20:28:37] Install state for .NET Framework 4 Full: installed with no service packs.
    [04/23/12,20:28:37] Not adding product '.NET Framework 1.0' because it is not currently installed
    [04/23/12,20:28:37] Not adding product '.NET Framework 1.1' because it is not currently installed
    [04/23/12,20:28:37] Not adding product '.NET Framework 1.1 SP1' because it is not currently installed
    [04/23/12,20:28:37] Not adding product '.NET Framework 2.0' because it is not currently installed
    [04/23/12,20:28:37] Not adding product '.NET Framework 2.0 SP1' because it is not currently installed
    [04/23/12,20:28:37] Not adding product '.NET Framework 3.0' because it is not currently installed
    [04/23/12,20:28:37] Not adding product '.NET Framework 3.0 SP1' because it is not currently installed
    [04/23/12,20:28:37] Not adding product '.NET Framework 3.5' because it is not currently installed
    [04/23/12,20:28:37] Not adding product '.NET Framework 3.5 SP1' because it is not currently installed
    [04/23/12,20:28:43] Starting verification for product .NET Framework 4 Full
    [04/23/12,20:28:43] Section [Files - .NET Framework 4 Client (Common)] - start parsing entries

    Last 15 lines

    [04/23/12,20:29:01] Section [Registry - .NET Framework 4 Full (Common)] - stop parsing entries
    [04/23/12,20:29:02] Section [Registry - .NET Framework 4 Full (32-bit)] - start parsing entries
    [04/23/12,20:29:02] Section [Registry - .NET Framework 4 Full (32-bit)] - stop parsing entries
    [04/23/12,20:29:02] Not running action 'Registry - .NET Framework 4 Full (64-bit)' for product '.NET Framework 4 Full' because the OS condition does not match
    [04/23/12,20:29:02] Not running action 'Registry - .NET Framework 4 Full (Wow6432Node)' for product '.NET Framework 4 Full' because the OS condition does not match
    [04/23/12,20:29:02] Processing custom action 'Custom Action - .NET Framework 4.0 test application'
    [04/23/12,20:29:02] ExecutablePath = 'Netfx40TestApplication.exe'
    [04/23/12,20:29:02] FriendlyName = '.NET Framework 4 test application'
    [04/23/12,20:29:02] TimeoutSeconds = '300'
    [04/23/12,20:29:02] WaitOnExit = 'true'
    [04/23/12,20:29:02] Silent = 'true'
    [04/23/12,20:29:02] Launching process 'Netfx40TestApplication.exe' now
    [04/23/12,20:29:02] Process successfully launched. Waiting 300 seconds for it to complete.
    [04/23/12,20:29:02] ****ERROR**** Process 'Netfx40TestApplication.exe' exited with return code -2146232576
    [04/23/12,20:29:02] ****ERROR**** Verification failed for product .NET Framework 4 Full

    Tuesday, April 24, 2012 1:32 AM
  • The corruption occurs on reboot because your OS is corrupt.

    For best suggestions on repairing/reinstalling Vista, ask here:

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

    Tuesday, April 24, 2012 12:55 PM