none
.NET - A Framework of problems for me RRS feed

  • Question

  • Hi, everyone!

    Ever since Window 7's launch, i've had issues with .NET Framework, specifically version 4. I've just installed Windows 7 on a brand new SSD and obviously I had to go through reinstalling all my programs and games to take advantage of the drive.

    My problem arrives at .NET Framework 4:

    I've installed two applications which depend on it, Razer Synapse and some other application which doesn't matter. The relevance is that both applications when executed, immediately prompt me with a .NET Framework 4.0319 error. It's the generic error saying to contact the admin or something, I dunno. I of course Google (sorry Bing!) it to figure out what's going on and am met with very little information. The information that IS there, are tools that verify the .NET 4 installation and provide a log. There's also a means by which of going into %temp% and opening up an .HTML file. I will provide both the .HTML's log and the log of the Verification Tool later on. At any rate here is my history of what i've done;

    - Run into .NET Framework application dependancy failure (asking for .NET Framework 4.0319

    - Check .HTML log file for errors, all of them say something along the lines of "...Installed Successfully Code: 0x0000000.." or "...Installed Successfully Code: 0x000009.."

    - Run 'dotNetFx40_Full_setup' to repair installation. Everything passes and is fine.

    - Applications still fail. (RzSynapse.exe / Play with SIX)

    - Check logs again, everything reports fine.

    - Uninstall, reinstall .NET Framework 4.5 in hopes of having whatever missing dependances magically show up or filling in the game. This fails. Of course that's not how it works.

    - Application Still fails to load, now asking for .Net Framework 4.0

    - Uninstall .Net Framework 4.0

    - Install .Net Framework 4.0 again by running dotNetFx40_Full_setup.

    Monday, September 17, 2012 10:10 PM

Answers

  • Hi MagicallyMalicious.exe,

    Thanks for your post.

    After I've read your post, I suspect the issue was not so clear for me.

    1.  The installation logs shows that message is to tell us "You need to reboot your OS in order to have .NET Framework 4.0 installed successfully". This is always not a core error but a warnning. 

    2.  I saw the verification tool, it seems you can find .NET 4.0 from that tool, am I right?

         Could you please also paste the last line of that logs to see if .NET 4.0 verifies successfully?

         I'm confused about your error message on that sceenshot. Does this error reported by your application which depends on .NET 4.0 or the verification tool itself?

    3. I also noted that you have installed .NET 4.5 before. If so ,please read this page http://msdn.microsoft.com/en-us/library/5a4x27ek.aspx

    • The .NET Framework 4.5 replaces the .NET Framework 4. When you install the .NET Framework 4.5 on a system that has the .NET Framework 4 installed, the assemblies are replaced.

    • Uninstalling the .NET Framework 4.5 also removes pre-existing .NET Framework 4 files. If you want to go back to the .NET Framework 4, you must reinstall it and any updates to it. (See Installing the .NET Framework 4.)

    It is very important that you need to remove any updates to .NET 4 before you re-install it. I recommend you follow this instruction to reinstall .NET 4.0.

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

    Regards,


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


    Wednesday, September 19, 2012 5:34 AM
    Moderator

All replies

  • Okay, after having reinstalled .NET Framework 4.0 Full, I still have the error. Verify now fails. However the Installer verifies itself too and says that it's okay, but the Verification Tool fails.

    I realized, OH! I installed the wrong .Net Framework! I'm running X86-64 (Win 7 Ult.)

    - Uninstall .Net Framework 4.0 Full

    - Reinstall .Net Framework 4.0 Full X86-64 (dotNetFx40_Full_x86_x64) - Before uninstalling, I went to verify the file contents, and funnily enough, even the 64-bit installer said everyone was alright. Whatever. Installed.

    BUT NOW THIS HAPPENS!

    Checked my User Agent, and of course that reports fine:

    I'm so bloody frustrated with this!

     So again I reinstall normal X86 version of .Net:

    OS Version = 6.1.7600, Platform 2
    OS Description = Windows 7 - x64 Ultimate Edition 
    CommandLine = F:\8569e3221df3a4f96088f6581de8\\Setup.exe /x86 /x64 /ia64 /web
    TimeZone = Pacific Daylight Time
    Initial LCID = 1033
    Using Simultaneous Download and Install mechanism
    Operation: Installing
    Package Name = Microsoft .NET Framework 4 Setup
    Package Version = 4.0.30319
    User Experience Data Collection Policy: AlwaysUploaded
    Number of applicable items: 11
    Exe (F:\8569e3221df3a4f96088f6581de8\SetupUtility.exe) succeeded.
    Exe Log File: dd_SetupUtility.txt
    ServiceControl operation succeeded!
    ServiceControl operation succeeded!
    Exe (C:\Users\Jono\AppData\Local\Temp\Microsoft .NET Framework 4 Setup_4.0.30319\Windows6.1-KB958488-v6001-x64.msu) failed with 0x80240017 - (null).
    Exe (F:\8569e3221df3a4f96088f6581de8\SetupUtility.exe) succeeded and requires reboot.
    Exe Log File: dd_SetupUtility.txt
    MSI (C:\Users\Jono\AppData\Local\Temp\Microsoft .NET Framework 4 Setup_4.0.30319\netfx_Core_x64.msi) Installation succeeded. Msi Log: Microsoft .NET Framework 4 Setup_20120917_162124794-MSI_netfx_Core_x64.msi.txt
    MSI (C:\Users\Jono\AppData\Local\Temp\Microsoft .NET Framework 4 Setup_4.0.30319\netfx_Extended_x64.msi) Installation succeeded. Msi Log: Microsoft .NET Framework 4 Setup_20120917_162124794-MSI_netfx_Extended_x64.msi.txt
    Exe (F:\8569e3221df3a4f96088f6581de8\SetupUtility.exe) succeeded.
    Exe Log File: dd_SetupUtility.txt
    ServiceControl operation 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:01:13).

    -

    "Exe (C:\Users\Jono\AppData\Local\Temp\Microsoft .NET Framework 4 Setup_4.0.30319\Windows6.1-KB958488-v6001-x64.msu) failed with 0x80240017 - (null)."

    Yet SFC passes:

    Edit: OH YEAH! I REMEMBER THIS PROBLEM. The Windows 7 install I had before this SSD had this same exact bloody issue: mscoree.dll fails to update: http://blogs.msdn.com/b/astebner/archive/2010/12/29/10110053.aspx


    Monday, September 17, 2012 10:50 PM
  • Please use this verification tool to show us the current state of your .NET Framework 4.0:

    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 tool output here.

    If the verification fails, that means your .NET 4.0 installation is corrupt. If you reinstall 4.0 and it verifies OK, then goes corrupt after a reboot, that typically is symptomatic of OS issues which will require an OS reinstall to correct.

    Tuesday, September 18, 2012 6:32 PM
  • Hi MagicallyMalicious.exe,

    Thanks for your post.

    After I've read your post, I suspect the issue was not so clear for me.

    1.  The installation logs shows that message is to tell us "You need to reboot your OS in order to have .NET Framework 4.0 installed successfully". This is always not a core error but a warnning. 

    2.  I saw the verification tool, it seems you can find .NET 4.0 from that tool, am I right?

         Could you please also paste the last line of that logs to see if .NET 4.0 verifies successfully?

         I'm confused about your error message on that sceenshot. Does this error reported by your application which depends on .NET 4.0 or the verification tool itself?

    3. I also noted that you have installed .NET 4.5 before. If so ,please read this page http://msdn.microsoft.com/en-us/library/5a4x27ek.aspx

    • The .NET Framework 4.5 replaces the .NET Framework 4. When you install the .NET Framework 4.5 on a system that has the .NET Framework 4 installed, the assemblies are replaced.

    • Uninstalling the .NET Framework 4.5 also removes pre-existing .NET Framework 4 files. If you want to go back to the .NET Framework 4, you must reinstall it and any updates to it. (See Installing the .NET Framework 4.)

    It is very important that you need to remove any updates to .NET 4 before you re-install it. I recommend you follow this instruction to reinstall .NET 4.0.

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

    Regards,


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


    Wednesday, September 19, 2012 5:34 AM
    Moderator
  • I'll mark this thread because you have not followed up this case. If you have more time to look at the issue and use my solution to test, please unmark this thread. If the issue is resolved, we will appreciate it if you can share the solution so that the answer can be found and used by other community members having similar questions

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

    Tuesday, September 25, 2012 6:27 AM
    Moderator
  • Hello i encountered the same problem with Razer Synapse on Win 8 x64 both enterprise and pro versions. My temporary fix for the problem was to:

    1. Go to C:\Program Files (x86)\Razer\Synapse, and locate 'RzSynapse.exe';

    2. Right click on 'RzSynapse.exe' and select properties;

    3. Go to 'Compatibility' tab and, under 'Privilege level' check 'Run this program as an administrator' box.

    This fixed the issue for me, at least for a while.

    Friday, April 12, 2013 1:23 AM
  • Hey Barry

    i have encountered the same issue as the previous blogger and followed all instructions and came up with this.....

    First and last 15 lines of validation run

    [09/10/13,22:17:46] Beginning of new SetupVerifier activity logging session
    [09/10/13,22:17:46] Activity log file location: C:\Users\LEROYV~1\AppData\Local\Temp\setupverifier_main_09-10-13_22.17.46.txt
    [09/10/13,22:17:46] Error log file location: C:\Users\LEROYV~1\AppData\Local\Temp\setupverifier_errors_09-10-13_22.17.46.txt
    [09/10/13,22:17:46] Build created on September 10, 2012
    [09/10/13,22:17:46] Detected operating system: Windows 7 (x64)
    [09/10/13,22:17:46] For more information about repairing the .NET Framework, see http://support.microsoft.com/kb/2698555 and http://go.microsoft.com/fwlink/?LinkID=246062
    [09/10/13,22:17:46] Install state for .NET Framework 1.0: not installed.
    [09/10/13,22:17:46] Install state for .NET Framework 1.1: not installed.
    [09/10/13,22:17:46] Install state for .NET Framework 2.0: installed with service pack 2.
    [09/10/13,22:17:46] Install state for .NET Framework 3.0: installed with service pack 2.
    [09/10/13,22:17:46] Install state for .NET Framework 3.5: installed with service pack 1.
    [09/10/13,22:17:46] Install state for .NET Framework 4 Client: installed with no service packs.
    [09/10/13,22:17:46] Install state for .NET Framework 4 Full: installed with no service packs.
    [09/10/13,22:17:46] Install state for .NET Framework 4.5: not installed.

    Last 15

    [09/10/13,22:18:11] Key: HKLM\SOFTWARE\Microsoft\NET Framework Setup\NDP\v4\Full
        Value: Version
        Actual Data:    REGISTRY VALUE FOUND
    [09/10/13,22:18:11] Section [Registry - .NET Framework 4 Full (Wow6432Node)] - stop parsing entries
    [09/10/13,22:18:11] Processing custom action 'Custom Action - .NET Framework 4.0 test application'
    [09/10/13,22:18:11] ExecutablePath = 'Netfx40TestApplication.exe'
    [09/10/13,22:18:11] FriendlyName = '.NET Framework 4 test application'
    [09/10/13,22:18:11] TimeoutSeconds = '300'
    [09/10/13,22:18:11] WaitOnExit = 'true'
    [09/10/13,22:18:11] Silent = 'true'
    [09/10/13,22:18:11] Launching process 'Netfx40TestApplication.exe' now
    [09/10/13,22:18:11] Process successfully launched. Waiting 300 seconds for it to complete.
    [09/10/13,22:18:11] ****ERROR**** Process 'Netfx40TestApplication.exe' exited with return code -2146232576
    [09/10/13,22:18:11] ****ERROR**** Verification failed for product .NET Framework 4 Full

    I would really appreciate any feedback as the razer support team are absolutely clueless here

    Would you plz inbox me @ leroy.vorster@yahoo.com?


    • Edited by LeGusLaS Tuesday, September 10, 2013 12:32 PM
    Tuesday, September 10, 2013 12:30 PM
  • Hello LeGusLaS,

    Your .NET Framework 4.0 is corrupt.

    From the verifier log: "****ERROR**** Verification failed for product .NET Framework 4 Full"

    You can try a .NET 4.0 repair, and if that fails, remove it then reinstall using this procedure:

    Follow ALL 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:

    http://www.microsoft.com/en-us/download/details.aspx?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://aka.ms/vscollect

    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.

    The complete log set is needed for analysis.


    • Edited by pvdg42 Tuesday, September 10, 2013 2:51 PM
    Tuesday, September 10, 2013 2:48 PM