none
.Net Framework 4 verification issue RRS feed

  • Question

  • The problem:

     

    I constantly get errors associated with .net framework, like "registry key must point to install location" or "C:\Windows\Microsoft.NET\Framework\v4.0.31310\mscoreei.dll could not be loaded"

     

    Attempted Resolutions:

     

    i have uninstalled and reinstalled probably 3 times, first client, then full .net all with restarts in between and still get errors

    I ran the ".NET Framework verification setup utility and this is the last 4 lines of the error log:

    [10/06/11,20:00:16] Launching process 'Netfx40TestApplication.exe' now
    [10/06/11,20:00:17] Process successfully launched. Waiting 300 seconds for it to complete.
    [10/06/11,20:00:24] ****ERROR**** Process 'Netfx40TestApplication.exe' exited with return code -2146232575
    [10/06/11,20:00:24] ****ERROR**** Verification failed for product .NET Framework 4 Client

    i have researched this error to no avail, and please do not tell me to reinstall windows

    Friday, October 7, 2011 12:20 AM

Answers

  • I reinstalled Windows, Problem solved

    Thankyou everyone for you assistance though, i suspect the issue arose from installing poorly developed software such as dock replacements and organizers, i would not recommend doing so

    • Marked as answer by Landon27 Monday, October 17, 2011 2:46 PM
    Monday, October 17, 2011 2:45 PM

All replies

  • Hi Landon,

    Have you already tried to uninstall the .NET Fx 4 by using Aaron Stebner cleanup tool?

    You can reach this tool here:

    http://blogs.msdn.com/b/astebner/archive/2008/08/28/8904493.aspx

     

    After that try to install the Framework following these steps:

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

    2.       In the System Configuration tool, click on the Services tab

    3.       Check the box labeled Hide all Microsoft services

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

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

    6.       Click the Selective startup radio button

    7.       Uncheck the box labeled Load startup items

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

    9.       Reboot for the changes to take effect

    10.   Delete all files in %temp%

    11. Attach ProcessMonitor

    12. Install .net 4 by using the standalone installer (not the WEB-inst)

    13. In case of failure:

            - Stop and Save all ProcMon trace

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

             - Run this tool and send me the %temp% directory  (a-mibrin@microsoft.com - please specify this forum) or upload these file on your Skydrive

     


    || Michele Brina || Developer Support Engineer || http://blogs.msdn.com/itasupport
    Friday, October 7, 2011 7:48 AM
  • What is ProcessMonitor and ProcMon Trace?

     

    Upon restart i got the first error stated again

    i ran the collector and dumped all temp files and attached them, then emailed to the email you specified


    Also
    FXSAPIDebugLogFile in temp couldnt be moved because its being used by another process, not sure if thats significant

    Very much appreciate the help, its affecting me hugely, i had no idea how much applications use the .NET framework

    Saturday, October 8, 2011 5:58 PM
  • Hi Landon,

     

    Process Monitor is an advanced monitoring tool for Windows that shows real-time file system, Registry and process/thread activity. You can download process monitor here: http://technet.microsoft.com/en-us/sysinternals/bb896645

     

    Do you mind sharing your log files? If I get access to your logs, I will be able to provide you with some valuable suggestions.

     

    For FXSAPIDebugLogFile, just let it alone. This file is not related to your problem.

     

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

     

    Best Regards,


    Alexander Sun [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.

    Monday, October 10, 2011 6:00 AM
  • Hi Landon,

    I've checked the installation logs, and I could find the error message below:

    Error: Cannot open manifest file C:\Windows\Microsoft.NET\Framework64\v4.0.30319\ServiceModelPerformanceCounters.man, returned error code is 3.

    Would you please help to check the things below:

    • What versions of .NET Framework have installed in your system? Do you have .NET Framework 3.5 SP1 installed?
    • Please go to Control Panel >> Program and features, and check if the .NET Framework 3.5 SP1/4.0 exists in the program list;
    • Please open Windows Explorer and check if the folder C:\Windows\Microsoft.NET\Framework64\v4.0.30319\ exists.

    I would suggest you try the steps below to get .NET Framework installed:

    1. Download and install the latest Windows Installer package.
    2. If you could see .NET Framework 4.0(Client Profile) in the Program and features, please uninstall it first;
    3. Turn off your anti-virus/antispyware software;
    4. Clean %temp% folder;
    5. Run Process Monitor
    6. Run the setup with Administrator privilege.

    If the installation failed again, would you please run the collect.exe and collect the installation logs again and save the Process Monitor log?


    || Michele Brina || Developer Support Engineer || http://blogs.msdn.com/itasupport
    Monday, October 10, 2011 7:08 AM
  • Answers:

    • Not sure (you'll see why)
    • The only installed .Net Packages are ".NET Client Profile 4" and "Extended Profile 4" (paraphrased)
    • Though the programs menu shows only .net 4. the framework64 folder shows folders titled "v2.0.50727" "v3.0" "v3.5" and "v4.0.30319"


    Actions:

    1. Uninstalled .NET 4 Full, then Client
    2. Rebooted
    3. Disabled Antivirus (MS security essentials)
    4. Started ProcMon
    5. Ran Client installer as administratror http://www.softpedia.com/get/Programming/Other-Programming-Files/Microsoft-NET-Framework-Client-Profile.shtml External Mirror 1
    6. Setup finished without error
    7. Saved Log file

    Results:

    • Still get first stated error when running .net applications or verifier

    Notes:

    • Downlaod the log file here http://tinyurl.com/3kegslh
    • its a torrent

     

    Monday, October 10, 2011 9:34 PM
  • Hi Landon,

    sorry for my laate answer.

    Unfortunately i'm not able to dowload from torrent.

    Here in Microsoft that is not allowed.

     

    Michele


    || Michele Brina || Developer Support Engineer || http://blogs.msdn.com/itasupport
    Tuesday, October 11, 2011 12:58 PM
  • i have to like ultra compress the logfile, cuz its like a whole gig, so i figured a torrent would work

    try this: http://www.filedropper.com/logfile

     

    And by the way i came across another error:

    I tried to access the event viewer to see if anything suspicious was there and it said

    "MCC could not create the snap-in. This snap-in might not have been correctly installed"

    The CLSID: was blank

    Tuesday, October 11, 2011 4:34 PM
  • Hi Landon,

     

    You have upload a Process Monitor log instead of logs collected by this tool: http://www.microsoft.com/download/en/details.aspx?displaylang=en&id=12493

    Could you please try to collect log by this tool? After you run collect.exe, you can find vslogs.cab in %temp% folder. You can upload it to an open website like Windows Live SkyDrive or send it to me (v-alsun_at_microsoft_dot_com).

     

    You also can use .NET Framework Setup Verification Tool to check if you have installed .NET Framework 4 correctly.

    .NET Framework Setup Verification Tool: http://blogs.msdn.com/b/astebner/archive/2008/10/13/8999004.aspx

    If this tool reveals .NET Framework 4 has been installed successfully, your problem is related to application or program you tried to run.

     

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

     

    Best Regards,


    Alexander Sun [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, October 13, 2011 5:17 AM
  • Yes i did upload a ProcMon Log, because i was instructed too

    I ran collect.exe as a previous set of instructions and here it is

    http://www.filedropper.com/vslogs_1

    if you could give me a new set of instructions involving collect.exe ill run it again

     

    As for the verification tool, i used that after every install and recieved the same error mentioned in the first post along with the last 4 lines in the log file it produced

    Thursday, October 13, 2011 7:10 PM
  • Hi Landon,

     

    I have checked your logs. From your log:

    [10/7/2011, 20:57:46]Final Result: Installation completed successfully with success code: (0x00000000), "The operation completed successfully. " (Elapsed time: 0 00:01:36).

    [----------BEGIN----------[

    Failed to load the runtime. (Exception from HRESULT: 0x80131700)

    ]---------- END ----------]

    Interestingly, your logs indicate that .NET Framework 4 has been installed successfully, but this failure appeared in the process.

     

    First, I recommend you create a new project targeting .NET Framework 4. And try to run it on your side to see whether the error message will occur.

     

    Second, I recommend you use “chkdsk /f/r/b” in the command prompt with administrator privileges. You can refer to this page: http://technet.microsoft.com/en-us/library/cc730714(WS.10).aspx

     

    Third, I recommend you try system file checker tool to troubleshoot missing or corrupted system files: http://support.microsoft.com/kb/929833

     

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

     

    Best Regards,


    Alexander Sun [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.

    Friday, October 14, 2011 7:35 AM
  • I reinstalled Windows, Problem solved

    Thankyou everyone for you assistance though, i suspect the issue arose from installing poorly developed software such as dock replacements and organizers, i would not recommend doing so

    • Marked as answer by Landon27 Monday, October 17, 2011 2:46 PM
    Monday, October 17, 2011 2:45 PM
  • Sorry but this is not a fix..


    Verification fails on me too.
     Process 'Netfx40TestApplication.exe' exited with return code -1073741701


    I can't run turbotax program that I purchased and catalyst drivers..because of this. 
    Tried all the suggestions on the forums so please don't ask again.


    This is BULL****. Microsoft.  Having to reimage system for a verification error.
    I can't believe noone from MS can fix or post anything that works.


    This is the rise of Android and ios folks.... See how MS turns into OS/2
    Wednesday, March 14, 2012 1:13 AM