How to repair the .NET Framework 2.0 and 3.0 on Windows Vista


NOTE – this blog post was originally written for the .NET Framework 2.0 and 3.0 on Windows Vista.  Since then, Windows 7 has shipped, and it includes the .NET Framework 2.0, 3.0 and 3.5 as OS components.  The steps in this blog post apply equally to Windows 7 as well. 


Since the Windows Vista public launch in January 2007, I have been receiving questions about how to repair the .NET Framework 2.0 and 3.0 to try to resolve various bugs.  As I previously described here, the 2.0 and 3.0 versions are installed as OS components on Windows Vista and do not appear in the Programs and Features (formerly known as Add/Remove Programs) control panel.


Many of the customers I have heard from have tried to use the .NET Framework cleanup tool, but it does not list the .NET Framework 2.0 as a valid removal option when it is run on Windows Vista.  This is by design – the cleanup tool does not offer the option to remove any version of the .NET Framework that is an OS component on the OS it is being run on.

Windows Vista OS files and registry information (including those that are a part of the .NET Framework 2.0 and 3.0) are protected by Windows Resource Protection (WRP) in Windows Vista.  This means that only the OS installer service (named TrustedInstaller) has permission to modify/remove these files or registry keys unless you specifically take ownership of the files/keys and add additional user accounts to the access permission list (which you should not need to do except in extraordinary circumstances).

If you run into problems using .NET Framework applications on Windows Vista, and you suspect that files or registry entries that are a part of the .NET Framework 2.0 or 3.0 are corrupt, you can use the instructions listed below to attempt to repair them.

Repairing .NET Framework 2.0/3.0 files on Windows Vista

You can use the following steps to repair the files that are a part of the .NET Framework 2.0 and 3.0 on Windows Vista and Windows Server 2008:


  1. Click on the Start menu, choose All Programs, then Accessories, then right-click on the Command Prompt item and select Run as administrator
  2. Click Continue to authorize opening a command prompt with administrative privileges
  3. Run this command in the cmd prompt: sfc /scannow
  4. The cmd prompt should list text stating “Beginning system scan. This process will take some time.”
  5. Wait for the scan to complete (this can take several minutes so be patient).  This command will scan all protected system files and replace incorrect versions with correct Microsoft versions
  6. When the scan completes, the SFC tool will indicate whether or not it found any problems and whether or not it was able to fix them

  7. If any errors are reported that SFC was unable to fix, there are steps in this knowledge base article and this how-to guide that explain how to locate and attempt to fix the errors

Repairing .NET Framework 2.0/3.0 registry entries on Windows Vista

Unfortunately, there is not an easy way of repairing the registry keys/values that are installed by Windows Vista like there is for files.  If you want to try to repair the registry keys/values that are a part of the .NET Framework 2.0 and 3.0, you will need to run Windows Vista OS setup again and repair the OS.


<update date=”9/8/2008″> Added a link to a knowledge base article with instructions that can be used to fix errors reported by sfc.exe on Windows Vista and Windows Server 2008. </update>


<update date=”10/7/2008″> Clarified what SFC does behind the scenes in more detail. </update>


<update date=”8/9/2009″> Fixed broken link to knowledge base article in step 7. </update>


<update date=”3/10/2010″> Added a note about Windows 7. </update>


 

Comments (225)

  1. mzygmunt says:

    Hi Aaron,

    I made "ngen uninstall mscorlib.dll" recently and than after trying to install it again I am getting such a notice from ngen:

    c:WindowsassemblyNativeImages_v2.0.50727_32>ngen install c:WindowsMicrosoft

    .NETFrameworkv2.0.50727mscorlib.dll

    Microsoft (R) CLR Native Image Generator – Version 2.0.50727.312

    Copyright (C) Microsoft Corporation 1998-2002. All rights reserved.

    Installing assembly c:WindowsMicrosoft.NETFrameworkv2.0.50727mscorlib.dll

    Failed to get dependencies for assembly. (Exception from HRESULT: 0x80131F00)

    And it seems that after recent vista updates there is some problem with dependencies but I have no idea what is the problem, because it seems that some libs that mscorlib.dll used is no longer present in the original version.

    The "reinstall" feature would be very useful in this case. This ngen uninstall/install mscorlib.dll problem reprod on other machine. Is it a .net 2.0 bug on vista?

    Are there any workaround for this problem without having to reinstall the vista itself?

  2. Hi Mzygmunt – First of all, why would you want to uninstall the native image for Mscorlib?  This will cause all .NET Framework native images to be invalidated, and there’s no reason you should ever need to do that.

    If you have gotten into this state, you should be able to run the following command to re-generate native images for all assemblies on your system:

    %windir%Microsoft.NETFrameworkv2.0.50727ngen.exe update

    Hopefully this helps.

  3. diegov says:

    A few days ago I was trying to play with Safari 3 beta for Windows without success. When I finally uninstalled it, Vista was so broken that it could not start anything that had to do with .NET 2.0 o 3.0. For instance, PowerShell failed to run, Visual Studio 2005 failed, NAnt failed to run, etc. I did not find your post but figured out myself that since now .NET is part of the OS "sfc /scannow" should fix it and it did. I post this comment here just in case someone runs into the same problem through the same path. I also installed Microsoft Visual C++ 2005 SP1 Redistributable, but I don’t think it played a role.

  4. everydaypanos says:

    Hi,

    I installed VB Express Orcas on Vista x64 and after the uninstall I could not run my old Apps. It says in the VStudio Error List that System, System.Data and all the other "basic" classes are missing from the system. It is really weird. I checked the REFERENCES LIST and I saw that it tries to load them from …Framework/v2.0.50727/ folder which does not exist!

    I even found the Dlls and manually copied them there and still no cure.

  5. ogunther says:

    I opened the command prompt as Administrator and attempted to follow your instructions and got the following:

    C:Windowssystem32>sfc /scannow

    Beginning system scan.  This process will take some time.

    Windows Resource Protection could not perform the requested operation.

    Any ideas as to what is wrong or what I’m doing wrong? Any help would be greatly appreciated. Thank you.

  6. Hi Everydaypanos – I don’t know of any cases where installing or uninstalling Orcas would remove the .NET Framework 2.0 files from %windir%Microsoft.NETFrameworkv2.0.50727 – and those files are protected by Windows Resource Protection so it wouldn’t be possible to delete them unless the process is running with special "Trusted Installer" privileges that are generally only granted to OS hotfixes and service packs.

    Did it help to run sfc /scannow to restore these files as described in this blog post?

    Also, I have heard of a bug in the .NET Framework 3.5 beta 1 that may be related to your scenario.  It is described at https://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?FeedbackID=285305&wa=wsignin1.0 and has been fixed in the .NET Framework 3.5 beta 2.

  7. Hi Ogunther – I haven’t heard of an error like that from the SFC tool until now.  It appears that you’re running it correctly.  You might see some error messages in %windir%logscbscbs.log that could help narrow down the root cause.  I’m not sure what to suggest for you other than to try to repair/re-install Windows Vista to get around this.  I’m sorry I’m not able to be more helpful in this scenario.

  8. Jslone says:

    I’m having a similar problem with .NET 2.0 and sfc /scannow. Figured I’d post it here. In case anyone else ever runs into this.

    My .Net 2.0 is toast (suspect is a failed sleep or system crash that caused hard drive erorrs), and thanks to .Net being "integrated" I’m now going to have to re-install vista 🙁

    Here’s the output in the debugger when I try to start a .Net application. I get the lovely "mscorwks.dll could not be loaded" dialog.

    ModLoad: 79e70000 7a3d6000   C:WindowsMicrosoft.NETFrameworkv2.0.50727mscorwks.dll

    LDR: LdrpWalkImportDescriptor() failed to probe C:WindowsMicrosoft.NETFrameworkv2.0.50727mscorwks.dll for its manifest, ntstatus 0xc0150002

    sfc /scannow

    Beginning system scan.  This process will take some time.

    Beginning verification phase of system scan.

    Verification 85% complete.

    Windows Resource Protection could not perform the requested operation.

    from cbs.log:

    POQ 51 starts:

    POQ 51 ends.

    2007-08-23 23:27:27, Info                  CSI    00000122 [SR] Verify complete

    2007-08-23 23:27:27, Error                 CSI    00000123@2007/8/24:06:27:27.262 (F) d:vistartmbasewcpcomponentstorecsd_locking.cpp(304): Error c015000c [Error,Facility=FACILITY_SXS_ERROR_CODE,Code=12 (0x000c)] originated in function CCSDirectTransaction::LockComponent expression: (null)

    [gle=0x80004005]

    2007-08-23 23:27:33, Error                 CSI    00000124 (F) c015000c [Error,Facility=FACILITY_SXS_ERROR_CODE,Code=12 (0x000c)] #1958342# from CCSDirectTransaction::OperateEnding at index 0 of 1 operations, disposition 2

    🙁

    -Justin

  9. Anonymous says:

    Details about the .NET Framework 2.0 setup packaging Available command line switches for .NET Framework

  10. Anonymous says:

    I have previously posted some instructions ( here and here ) that can be used to verify and attempt to

  11. Anonymous says:

    I have previously posted some instructions ( here and here ) that can be used to verify and attempt to

  12. eddiee says:

    Six weeks after installing Norton Ghost 12, it stopped working, failing to start with a .NET exception on System.Windows.Forms.ButtonRenderer. After uninstalling and reinstalling Ghost, it now fails to start with an exception on System.OutOfMemoryException.

    Norton support claims it is a problem with the .NET 2.0 framework. The "sfc /scannow" run reports:

      Verification 99% complete.Windows Resource Protection found corrupt files but was unable to fix some of them.

    CBS.log reports:

      Verify and Repair Transaction completed. All files and registry keys listed in this transaction  have been successfully repaired

    Ghost still fails. Is the .NET 2.0 framework bad? When you say "you will need to run Windows Vista OS setup again and repair the OS.", does this mean install the OS again? My system is an OEM purchase of Vista Business.

    Eddie

  13. Hi Eddiee – This error could be caused by a bug in the application itself, or a problem in the .NET Framework.  It is difficult to say for sure without some further debugging though.  Do you see similar errors in other programs on this system that use the .NET Framework, or is it only in Ghost?  You may want to check on the Norton site to see if they have any FAQs that mention these errors that you’re seeing to see if they have any suggested workarounds you could try.

    Yes, the steps I listed do mean that you would try to install the OS again.  Usually, an OEM system comes with some sort of recovery disc that can be used to do this as a last resort if you need to.

  14. Anonymous says:

    My boss had some problems on his PC after installing some tools onto it and upon further diagnosis it

  15. pvandegriff says:

    OK-I tried the .NET cleanup tool and using SFC. SFC didn’t find anything wrong and removing and reinstalling all of the versions of .NET FW didn’t help. Any .NET application I run fails in one way or another.

    Is there any other technique out there or am I just stuck formatting my drive and starting over? (The tried and true fix for any version of Windows!)

  16. Hi Pvandegriff – The .NET Framework cleanup tool does not allow you to remove the .NET Framework 2.0 or 3.0 on Windows Vista because those versions are a part of the OS.  It might help to install Vista SP1 because Vista SP1 includes the .NET Framework 2.0 SP1 and 3.0 SP1.  It might also help to try running the .NET Framework verification tool described at http://blogs.msdn.com/astebner/archive/2008/03/03/8015158.aspx to see if it reports any errors.  You can send me the log file from that tool if it does report errors and I can take a look to see if I can suggest anything.  If you do that, you can send the log to Aaron.Stebner (at) microsoft (dot) com.

    If all else fails, you will likely need to repair/re-install Windows Vista to try to fix any issues you have with the .NET Framework 2.0 or 3.0 on this OS.

  17. Micato says:

    Hi Aaron – due to my installation errors from Visual Studio 2008 pro, I ended temporarily in checking my .NET Environment.

    The sfc reports: 100% complete -> the WRP found errors -> could not repair some of them (a German Vista is installed here).

    The log is 15MB big(!). Perhaps a summary from an "error" search is helpful:

    **** cbs.log ****

    Line 51161: 2008-03-14 16:08:03, Error              Failed to find the CixTarget for Container package_1_for_kb110806~31bf3856ad364e35~x86~~6.0.6000.1318.cat

    Line 51162: 2008-03-14 16:08:03, Error                        DpxException hr=0x80070002 code=0x020109

    Line 61352: 2008-03-14 16:13:24, Error                        Failed to find the CixTarget for Container package_2_for_kb929300~31bf3856ad364e35~x86~~6.0.6000.525.cat

    Line 61353: 2008-03-14 16:13:24, Error                        DpxException hr=0x80070002 code=0x020109

    Line 61354: 2008-03-14 16:13:24, Error                        Failed to find the CixTarget for Container package_1_for_kb929300~31bf3856ad364e35~x86~~6.0.6000.525.cat

    Line 61355: 2008-03-14 16:13:24, Error                        DpxException hr=0x80070002 code=0x020109

    **** cbs.log (end) ****

    Thanks in advance for any hints,

    regards Matthias.

  18. Hi Micato – The errors you listed do not appear to be related to Visual Studio 2008 setup.  Can you please zip and send me the log files from VS 2008 setup on your system so I can take a look and see if I can figure out anything about the cause of the error?  You can find a list of possible log files at http://blogs.msdn.com/astebner/archive/2007/07/31/4156781.aspx.  You can send the zip file with the logs to Aaron.Stebner (at) microsoft (dot) com.

  19. Anonymous says:

    I have heard from several customers in the past who have had issues installing hotfixes or updates for

  20. Tacos says:

    Hello Aaron. I’m having trouble with getting .NET Framework 2.0 and 3.0 installed/fixed. When I try to run the files for 2.0 and 3.0, it says 2.0 is installed and 3.0 needs me to go into "Turn windows functions on or off" in the control panel. The problem there is that when I go to that function in the control panel, the window for options is completely blank.

    I also tried using the sfc /scannow command, but it gave me the message "There is a system repair pending which requires reboot to complete. Restart Windows and run sfc again." The problem is that this message comes up even if I try running it immediately after a reboot.

    Any help would be greatly appreciated. I can’t even install some programs until I get this whole thing sorted out.

  21. Hi Tacos – It sounds like there is something stuck on your system that makes Windows think that there is an OS update in progress.  In the past, I’ve seen this caused by the following registry value:

    [HKEY_LOCAL_MACHINEComponents]

    StoreDirty

    Can you check and see if you have this value at this location, and if so, delete it, reboot and see if that will allow the Windows Features dialog to correctly display the list of Windows components so you can enable the .NET Framework 3.0?

  22. Anonymous says:

    A while back, I wrote a blog post about how to perform silent repairs and uninstalls for the .NET Framework

  23. orhuntnfish says:

    Hi Aaron,

    I have been having many issues with my Vista installation. Other than the Blue screen issues, I have also had many issues getting the updates to install. As I have looked through the many blogs and comments I found this and have run sfc /scannow. After about 55% it aborted for WRP could not perform the requested operation. As I read further you state to check the CBS.log file. I look there and I find the scanning and see this line mixed in there often.

    pA = PROCESSOR_ARCHITECTURE_AMD64

    So my problem is that I am running an Intel Quad Core Processor, not AMD. I do not know if this matters.

    I did rerun the scan again and it got to 56% and aborted for the same reason.

    Can you shed some light on the pA and let me know if this matters?

  24. Hi Orhuntnfish – I don’t have enough in-depth knowledge to say for sure, but I don’t believe this item about the processor architecture matters in this scenario.  It might help to try to run the System Update Readiness Tool by using the 3 steps listed at the bottom of the blog post at http://blogs.msdn.com/astebner/archive/2009/01/09/9303167.aspx to see if that helps solve the problem you’re running into while running SFC.  If that doesn’t help, then you may need to try to repair/re-install your OS to solve this type of error.

  25. david_fair says:

    The link in step 7 no longer works.

  26. Hi David_fair – Thanks for the heads up.  I’ve updated that link with one that is currently working for me.  Sorry for the hassles.

  27. partogi says:

    i think i got some problems with .NET frameworks. i installed FxVisor32.msi which is to remove the shortcut arrow on vista.

    the problem is, the that program requires a system logout in order that the arrow icon removed.

    but when i clicked logout, this errors happened:

    See the end of this message for details on invoking

    just-in-time (JIT) debugging instead of this dialog box.

    ************** Exception Text **************

    System.ComponentModel.Win32Exception: The system cannot find the file specified

      at System.Diagnostics.Process.StartWithCreateProcess(ProcessStartInfo startInfo)

      at System.Diagnostics.Process.Start()

      at VistaArrowGone.Form1.btApply_Click(Object sender, EventArgs e)

      at System.Windows.Forms.Control.OnClick(EventArgs e)

      at System.Windows.Forms.Button.OnClick(EventArgs e)

      at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)

      at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)

      at System.Windows.Forms.Control.WndProc(Message& m)

      at System.Windows.Forms.ButtonBase.WndProc(Message& m)

      at System.Windows.Forms.Button.WndProc(Message& m)

      at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)

      at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)

      at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

    ************** Loaded Assemblies **************

    mscorlib

       Assembly Version: 2.0.0.0

       Win32 Version: 2.0.50727.4016 (NetFxQFE.050727-4000)

       CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll


    FxVisor

       Assembly Version: 2.0.0.0

       Win32 Version: 2.0.0.0

       CodeBase: file:///C:/Program%20Files/Frameworkx/Vista%20Shortcut%20Manager/FxVisor.exe


    System.Windows.Forms

       Assembly Version: 2.0.0.0

       Win32 Version: 2.0.50727.4016 (NetFxQFE.050727-4000)

       CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll


    System

       Assembly Version: 2.0.0.0

       Win32 Version: 2.0.50727.4016 (NetFxQFE.050727-4000)

       CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll


    System.Drawing

       Assembly Version: 2.0.0.0

       Win32 Version: 2.0.50727.4016 (NetFxQFE.050727-4000)

       CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll


    System.Configuration

       Assembly Version: 2.0.0.0

       Win32 Version: 2.0.50727.4016 (NetFxQFE.050727-4000)

       CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll


    System.Xml

       Assembly Version: 2.0.0.0

       Win32 Version: 2.0.50727.4016 (NetFxQFE.050727-4000)

       CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll


    Accessibility

       Assembly Version: 2.0.0.0

       Win32 Version: 2.0.50727.4016 (NetFxQFE.050727-4000)

       CodeBase: file:///C:/Windows/assembly/GAC_MSIL/Accessibility/2.0.0.0__b03f5f7f11d50a3a/Accessibility.dll


    ************** JIT Debugging **************

    To enable just-in-time (JIT) debugging, the .config file for this

    application or computer (machine.config) must have the

    jitDebugging value set in the system.windows.forms section.

    The application must also be compiled with debugging

    enabled.

    For example:

    <configuration>

       <system.windows.forms jitDebugging="true" />

    </configuration>

    When JIT debugging is enabled, any unhandled exception

    will be sent to the JIT debugger registered on the computer

    rather than be handled by this dialog box.

  28. Hi Partogi – The call stack you listed shows that the .NET Framework is unable to find one of the files it needs, but it doesn’t list exactly which file is missing.  I’d suggest trying to use the steps listed at http://blogs.msdn.com/astebner/archive/2007/03/26/how-to-repair-the-net-framework-2-0-and-3-0-on-windows-vista.aspx to repair the files that are a part of your OS and see if that helps in this scenario.

  29. Jerminski73 says:

    I see that you are quite the think-tank for .net issues and I am hoping that you can help resolve mine as well.  I am trying to install .net 3.5 and each time I do it gives me the following line :

    [12/14/09,11:12:22] Microsoft .NET Framework 2.0SP1 (CBS): [2] Error: Installation failed for component Microsoft .NET Framework 2.0SP1 (CBS). MSI returned error code -2147418113  [12/14/09,11:12:40] WapUI: [2] DepCheck indicates Microsoft .NET Framework 2.0SP1 (CBS) is not installed.  

    I have turned on .net 3.0 in roles and turned of windows updates then I read in one of your posts to run sfc /scannow to which I got errors and zipped up the error report from the most recent install attempt only and can send at any time.  I have been thru about 40 blogs about this error but so far no resolution.  If there is anything else I can submit that might help then let me know.

  30. Hi Jerminski73 – The .NET Framework 2.0 SP1 CBS package is failing with a code that means "catastrophic failure", which isn’t too useful of an error code.  That component should create some additional logging information at c:windowslogscbscbs.log.  Could you please zip up the cbs.log along with the errors from sfc /scannow, post them on a file server (such as http://skydrive.live.com) and then reply back here with a link I could use to download the logs and take a look?

    Also, there are a couple of other things that might help you in this scenario:

    1.  If you haven’t yet, try to install the latest Windows Vista service pack (SP2) and then re-run .NET Framework 3.5 setup to see if it will work afterwards.

    2.  Try to run the System Update Readiness Tool described at http://support.microsoft.com/kb/947821 to see if it is able to find and fix any issues.  This tool will create a log named c:windowslogscbschecksur.log, so if you run this tool, please include that in the zip file that you upload to the file server as well.

  31. Jerminski73 says:

    Ok, here is the cbs.log

    http://cid-79efd12e2d62179d.skydrive.live.com/self.aspx/.Public/CBSlog.zip

    I will post checksur as soon as it is done.  

    Ona side note, I have noticed that my Windows updates appear to fail quite regularly.  In fact almost all of them fail except the ones I have manually installed.

  32. Hi Jerminski73 – Unfortunately, I don’t see anything too useful in this cbs.log.  Basically, it repeats the same error in a different way:

    2009-12-14 13:29:24, Info                  CBS    WER: Generating failure report for package: Package_for_KB948609~31bf3856ad364e35~x86~~6.0.6001.3053, status: 0x8000ffff, failure source: Resolve, start state: 0, target state: 7

    Since you mentioned failures from other Windows updates, it sounds like there may be something fundamentally wrong with your OS, and not just something wrong with .NET Framework setup.  From the log, it looks like you have Windows Vista SP1, so if you haven’t yet, I’d suggest trying to install Vista SP2 to see if that helps resolve this error.  

    I’d also be interested in seeing your CheckSUR log file if you have a chance to upload that as well.

  33. Jerminski73 says:

    Hi Aaron, I have tried several other things to make this work and I took your recommendation and downloaded Server 2008 SP2 and upon install I get a "catostrophic failure" E_UNEXPECTED(0X8000ffff).  Now what do I do?

    The software has only been in place a little over a year.

  34. Hi Jerminski73 – The catastrophic failure you’re seeing during Windows Server 2008 SP2 installation is the same error code you were getting during .NET Framework 2.0 SP2 installation previously.  It sounds like there is something fundamentally wrong with the ability to install OS updates/service packs on your system.  I’m afraid that this type of troubleshooting is beyond my areas of expertise.  I’d suggest one of the following at this point:

    1.  Try to run the System Update Readiness Tool described at http://support.microsoft.com/kb/947821″>http://support.microsoft.com/kb/947821 to see if it is able to find and fix any issues.  This tool will create a log named c:windowslogscbschecksur.log, so if you run this tool, please upload that to the file server as well so I can see if I can spot any possible problems and solutions there.

    2.  Try to contact Microsoft Support for more detailed troubleshooting assistance for this OS service pack installation issue.  You can find contact information at http://support.microsoft.com.

    3.  Try to repair/re-install your OS to see if that will fix the underlying problem that is causing this catastrophic failure.

  35. Jerminski73 says:

    Got the name of any Server 2008 guru’s with a blog I can ask these questions to?

  36. Hi Jerminski73 – I don’t know of any Windows Server 2008 blogs, but this issue doesn’t appear to be specific to WS08.  The same underlying engine is used to install updates and service packs on Windows Vista, WS08 and Windows 7.  You will likely have more luck asking on a Windows Vista forum if you don’t want to try to contact Microsoft Support and don’t want to try to repair your OS.

    I would still like to see your CheckSUR log file if you have had a chance to try that tool yet.  There may be some data in there that can give additional ideas of workarounds for you to try.

  37. Jerminski73 says:

    Here is the Checksur file.

    <iframe title ="Preview" scrolling="no" marginheight="0" marginwidth="0" frameborder="0" style="width:98px;height:115px;padding:0;background-color:#fcfcfc;" src="http://cid-79efd12e2d62179d.skydrive.live.com/embedicon.aspx/Public/CheckSUR.persist.log"></iframe&gt;

  38. Hi Jerminski73 – Unfortunately, that log doesn’t show any errors.  Do you also have CheckSUR.log (this one you attached is CheckSUR.persist.log)?  I want to see if there are any errors listed in the other log as well just in case.

  39. rookie21 says:

    I have a Vista running laptop that i am trying to install Office 07 Home and student on. After about 75% of the install it gives a 1935 error and then backs out of the installation. I have done some research and found out that it has something to do with the .net framework 2.0 which as you have stated is a part of the OS in vista. When trying to run the sfc /scannow it says that "Window Resource Protection could not start the repair service". In a bind, think you could help?

  40. Hi Rookie21 – A 1935 error can be caused by the .NET Framework, but that is not necessarily always the case.  It can also occur for Win32 assemblies, particularly on Windows Vista and higher.  I’d suggest taking a look at the blog post at http://blogs.msdn.com/astebner/archive/2009/10/07/9904471.aspx to see if the information there is helpful at all in this scenario.

    For the SFC scenario, can you please make sure that you’re running SFC from an elevated cmd prompt?  That could be the cause of that failure to start the repair service.  The workaround at http://www.winhelponline.com/blog/fix-for-error-windows-resource-protection-could-not-start-the-repair-service-when-running-sfc-in-vista/ might help here as well.

  41. Jerminski73 says:

    http://cid-79efd12e2d62179d.skydrive.live.com/browse.aspx/Public

    Here we go again…  I did a few thing that other MS reps have listed and still have the same result.  I found the windowsupdate.txt quite interesting, almost half of the files failed to register?!?!?!

    Thanks!

  42. Hi Jerminski73 – I’m very sorry for the continued hassles here.  I see all of the same errors as before in your new set of log files.  I’m not sure exactly what additional workarounds you have tried, but it is getting to the point where I think you may have to repair/re-install Windows on your system to solve this error.

  43. Allan J says:

    Hi Aaron,

    I’m trying to repair the .NET setup on a Vista Business computer. Initially the symptoms of a problem were the failure of a program which depends on .NET, and the continued failure of .NET-related windows updates to install. Manual .NET updates also failed, indicating a problem with the existing .NET 2.0 setup.

    When I run "sfc /scannow" from an elevated command prompt, it reports "no integrity violations".

    But the .NET Framework Setup Verification Utility seems to be finding the problem. It succeeds for .NET 1.1, and fails for 2.0, 3.0, and 3.5. In all three cases of failure, it reports the same 11 errors. It reports "File C:WindowsAssemblyGAC_32mscorlib2.0.0.0__b77a5c561934e089big5.nlp is not installed on the system", and then reports this same problem with 10 more files on this same path – bopomofo.nlp, normidna.nlp, normnfc.nlp, normnfd.nlp, normnfkc.nlp, normnfkd.nlp, prcp.nlp, sortkey.nlp, sorttbls.nlp, xjis.nlp

    I don’t even find the path "C:WindowsAssemblyGAC_32" on the computer, though the .NET Framework Setup Verification Utility lists a few files on this same path and says that they -are- installed on the system. So I really don’t understand what the error report is telling me.

    I do find all of these .nlp files on the path "C:WindowsMicrosoft.NETFrameworkv2.0.50727", and also in 11 of 13 mscorlib folders under "C:Windowswinsxs". Interestingly though, the other 2 mscorlib folders here are both missing the same 11 .nlp files that were reported as "not installed" by the .NET Framework Setup Verification Utility.

    How can I correct these 11 errors and get .NET up and running again?

    Allan J

  44. Hi Allan J – I don’t believe that running SFC will put missing files back in the GAC.  You might be able to open an elevated cmd prompt and manually copy these files from your v2.0.50727 folder into the folder named C:WindowsAssemblyGAC_32mscorlib2.0.0.0__b77a5c561934e089 to solve this issue.  You will not be able to use Windows Explorer to do this because it does not show you the actual folder structure for the GAC.

    If the above manual fix does not work, then you might be able to solve this by installing the latest Windows Vista service pack (SP2).

    If that doesn’t help either, then you will probably have to repair/re-install your OS to fix this issue.

  45. Allan J says:

    Yes, this worked – just manually copying those 11 files. Thanks much for your reply. There’s still some trouble with Windows Update that I haven’t worked out, but .NET itself is now working. The Setup Verification Tool now succeeds for all versions of .NET. Also I’ve tried one of the .NET dependent applications that had stopped working, the Windows Event Viewer, and that’s back in service.

    It seems the only remaining problem is that Windows Update fails to handle .NET related updates. The System Update Readiness Tool reports missing catalogs and manifests, all related to KB974470, a .NET 2.0 SP2 Security Update. It appears that the System Update Readiness Tool fixed some things, but not all.

    The problem I’m facing now is a bit different than it was. Would reinstalling Vista SP2 still be a good thing to try? Or was that just for repairing the .NET installation?

    I followed the instructions at http://support.microsoft.com/kb/940410 to try to remove the corrupted package for KB974470, but the package manager couldn’t remove it.

    I’d like to look closer at the log from the System Update Readiness Tool, and see if there’s anything I might be able to manually replace from a healthy Vista OS. Would this be worth attempting?

    I’m not sure that I’d be able to do a repair install. The user hasn’t been able to find his Vista installation CD, so I’m trying hard to find alternatives.

    Allan

  46. Hi Allan J – It might help to try to re-install Windows Vista SP2, but I’m not sure.  What I usually do in this type of case is run the System Update Readiness Tool, then look at the log file it creates named c:windowslogscbschecksur.log.  In some cases, that tool will not be able to correct all problems, but there will be information in the log that you can use to manually correct them.  For example, if it reports orphaned manifests or catalogs, sometimes it will work to manually rename the registry keys that are used to track those manifests/catalogs.  The CheckSUR.log file will have more information about where to find those keys.  I wrote about this type of issue in step 3 at the end of the blog post at http://blogs.msdn.com/astebner/archive/2009/01/09/9303167.aspx.

    Hopefully this will help.

  47. Allan J says:

    It’s working!! Windows Update has now successfully installed all updates including the stubborn KB974470. I don’t mean to imply that the KB itself was at fault. Based on things the user told me, I suspect the cause of these problems was that Windows Update got interrupted (maybe manually, maybe loss of internet connection) while trying to process KB974470 the first time, leaving behind some corrupted or incomplete info on the computer. Here’s a summary of what the repair involved:

    Re-running the System Update Readiness Tool.

    I don’t know what I did wrong the first time, but comparing my first CheckSUR.log with what I got when re-running it the next day, the later log had some very helpful info that had been missing in the first one. Somehow the first log seems to have been truncated. The log takes a long time to generate – about a half hour in this case – but if a log is missing the "Summary" and "Unavailable repair files" sections at the end, it’s definitely worth trying again. These sections were the key to the manual repair.

    The summary reported the automatic repair of 39 errors, which involved the absence of "payload files" and their containing folders. Then there were 27 remaining errors to be manually dealt with –

    12 cases of "CSI Manifest Missing".

    These were all specifically identified by path and filename in the "Unavailable repair files" section. Note that the paths aren’t quite complete as shown in the log. On a typical Vista system, just add C:Windows to the beginning of the path to complete it.

    4 cases of "CBS MUM Corrupt".

    These were all specifically identified by path and filename in the "Unavailable repair files" section.

    4 cases of "CBS Catalog Corrupt".

    These were all specifically identified by path and filename in the "Unavailable repair files" section.

    These first 20 errors were successfully repaired by copying from the same locations on a healthy and fully updated Vista system. The donor was Vista Home and the recipient was Vista Business, but it still worked. The copying required use of the "takeown" and "icacls" commands, outlined for another manual repair situation at http://support.microsoft.com/kb/929833.

    2 cases of "CSI Catalog Missing"

    These were not identified in the "Unavailable repair files" section.

    1 remaining case of "Payload File Missing"

    This was not identified in the "Unavailable repair files" section.

    These 3 errors were identified by running the System Update Readiness Tool a third time. With the majority of the errors already resolved, CheckSUR.log was short enough this time that the relevant entries could be readily seen and dealt with, again by copying from the same locations on another Vista system. The third of these 3 errors wasn’t identified as clearly as the rest. For the missing payload file, a filename and the name of its containing folder were provided, but it took some poking around to figure out that the folder was meant to be located in C:Windowswinsxs.

    4 cases of "CBS Watchlist Component Missing".

    I wasn’t able to figure out how to manually repair these. After one more run of the System Update Readiness Tool, these 4 errors were the only ones remaining in the log. For each of these the log reports "Package registry presence failed, possibly an orphaned package on package watchlist". This seems to suggest that some registry editing might be needed, but it’s not clear to me exactly what to edit. These errors don’t seem to be specifically related to KB974470. Maybe the remnants of some other unrelated Windows Update glitch? Also it turns out that they are not fatal errors. At this point, with these 4 errors remaining, I ran Windows Update and it all completed successfully.

    So maybe I’m done. But in case some additional repair is possible and/or needed, here are the 4 unresolved errors:

    Checking Component Watchlist

    (f) CBS Watchlist Component Missing 0x80070002 x86_bthmtpenum.inf_31bf3856ad364e35_0.0.0.0_none_23d1b875dc1c1425 Microsoft-Windows-WPD7IP-SKU-Package~31bf3856ad364e35~x86~~7.0.6002.18112.bthmtpenum Package registry presence failed, possibly an orphaned package on package watchlist

    (f) CBS Watchlist Component Missing 0x80070002 x86_wpdfs.inf_31bf3856ad364e35_0.0.0.0_none_49c6cb2f1ac5fe37 Microsoft-Windows-WPD7IP-SKU-Package~31bf3856ad364e35~x86~~7.0.6002.18112.wpdfs Package registry presence failed, possibly an orphaned package on package watchlist

    (f) CBS Watchlist Component Missing 0x80070002 x86_wpdmtp.inf_31bf3856ad364e35_0.0.0.0_none_43743b50cedad977 Microsoft-Windows-WPD7IP-SKU-Package~31bf3856ad364e35~x86~~7.0.6002.18112.wpdmtp Package registry presence failed, possibly an orphaned package on package watchlist

    (f) CBS Watchlist Component Missing 0x80070002 x86_wpdmtphw.inf_31bf3856ad364e35_0.0.0.0_none_1c1880257795310c Microsoft-Windows-WPD7IP-SKU-Package~31bf3856ad364e35~x86~~7.0.6002.18112.wpdmtphw Package registry presence failed, possibly an orphaned package on package watchlist

  48. Allan J says:

    More insight on those last 4 errors. I ran the System Update Readiness Tool on the healthy Vista system that was used as the source of repair files. It reported exactly the same 4 "Component Watchlist" errors (plus 2 other errors that I’ll want to go ahead and manually correct, now that I know about them). Anyway, apparently those 4 watchlist errors are pretty common. I’d be interested in knowing where they came from and how to fix them, but it seems pretty certain now that they can be safely ignored.

  49. Hi Allan J – I’m not sure if those 4 errors are safe to ignore or not.  If Windows Update is correctly detecting, downloading and installing updates on your system and if the Windows Features control panel displays and functions correctly, it is likely OK to ignore those errors.

    If you would like to try to fix them, I would suggest looking at step 3 at the end of my blog post at http://blogs.msdn.com/astebner/archive/2009/01/09/9303167.aspx.  The component store writes a bunch of registry information at HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionComponent Based ServicingPackages and orphaned packages usually have some left over references under that part of the registry somewhere.  If you decide to make changes, please be very careful and make backups before doing so.  It is easy to break Windows Update and other critical parts of your OS by making incorrect changes in that part of the registry.

  50. wmudg01 says:

    Help. I ran the command prompt and no errors were found, but I’m still getting the "Required System Software Not Installed" prompt every time I start up. What are the next steps I should take to remove this?

  51. Hi Wmudg01 – I haven’t heard of this type of error before.  Is it coming from Windows itself, or from an application that you have installed?

    If it is from an application, do you know which application?  You might be able to narrow it down by running msconfig.exe and looking at which items are listed in the Startup tab (those are the programs configured to run every time Windows starts up).

    If it is Windows itself that displays this error, then I’d suggest trying to install the latest OS service pack if you haven’t yet.  For Windows Vista, you should install SP1 and SP2.

  52. wmudg01 says:

    Astebner-

    This is from Windows itself….windows 7. And its been this way since I got the computer. All of the latest OS Service packs are installed and still no change. Any other suggestions?

  53. Hi Wmudg01 – I’ve heard of this type of error on Windows 7 for certain types of Lexmark printer software.  Do you happen to have a Lexmark printer and the Lexmark software control panel installed?  If so, then I’d suggest taking a look at the forum post at http://social.msdn.microsoft.com/Forums/en/netfxsetup/thread/743ffddd-134b-4a95-8872-4a25c23ebea3 to see if that helps in this scenario.  To summarize that post, there is an updated Windows 7 installer for Lexmark printers that can help in this scenario.

  54. wmudg01 says:

    Astebner-

    I don’t have a printer installed and only use thebasic Office Suite (Word, Excel and PowerPoint). I use IE 8,  and the driver to conect my amer to my computer to backup my photos. That’s about it.

  55. Hi Wmudg01 – I’m sorry, but I’m not sure what else would cause that type of error.  The error usually means that there is some application on the computer that is incorrectly detecting that the .NET Framework is missing, so the solution is usually to narrow down what application is generating the error and then contacting the application manufacturer to see if they have any updates.  You might be able to narrow it down further by running msconfig.exe and looking in the Startup tab to see what programs are configured to run when your computer starts.  You can try to run each of those command lines one by one to see if any of them give this type of error.

  56. Trevortni says:

    I am having a problem with "mscorwks.dll could not be loaded."  After too much time spent reading blogs and checking things, I have determined that there is a Side-By-Side issue where everything that uses .NET is trying to load VC80.CRT, v8.0.50608.0, but the VC80.CRT I have is various subversions of 8.0.50727.  I know from playing with similar instances of this problem in the past that if this were on XP, it would be fixed simply by reinstalling .NET 2.0.

    Seeing as this is not an option on Vista, I have tried everything else under the sun that I’ve found lying around forums to fix this problem, notably installing the VCRedist installers; but nothing repairs this, which I assume is because I don’t have a base version of 8.0.50608 to update to 50727.  Do you have any advice for getting this issue fixed?  

    Incidentally, sfc /scannow always claims to have found found corrupt files and successfully repaired them, but the problems always persist.

  57. Hi Trevortni – The versions of the CRT files that the .NET Framework 2.0 needs are included with the OS on Windows Vista along with the .NET Framework files.  If you are unable to solve this error by running sfc /scannow, then it might help to install Windows Vista SP1 and SP2 if you haven’t yet (because those OS service packs also contain service packs for the .NET Framework 2.0).  If that doesn’t help either, then you may need to repair your OS in order to solve this.

  58. Anonymous says:

    I have Vista SP2 Russian. NET Framework 2.0 is also Russian. How can I install English NET Framework 2.0 instead Russian one?

  59. Hi DemonKPZ – The non-English versions of the .NET Framework also include English resources in them, so if you have Russian Windows Vista, you should have the .NET Framework 2.0 and 3.0 with both English and Russian resources.  Since the .NET Framework is a part of the operating system, the only way to get other language packs is to install the corresponding Windows OS language pack.

  60. Anonymous says:

    I`m trying since 2 days to fix a corrupted installation of .net framework 2.0. tried all kind of fixed that I could find, but none worked, and the reinstallation of framework was always failing.

    "sfc /scannow" did the trick, and finally could install it.

    Thanks a lot!!!

  61. Anonymous says:

    Necesito Desintalar el Net Framework 2.0  de Vista ya que hemos desarrollado un Sitema y no nos sirve el 2.0 solo el 1.1, Algien que me pueda a yudar me urge desintalarllo

  62. Hi Erick – The .NET Framework 2.0 is installed as a part of the OS on Windows Vista, Windows Server 2008 and Windows 7, and it cannot be removed because other parts of the OS require it (MMC, Windows Media Center, etc).

  63. Anonymous says:

    I tried and I am getting the following error:-

    C:Windowssystem32>%windir%Microsoft.NETFrameworkv2.0.50727ngen.exe update

    Microsoft (R) CLR Native Image Generator – Version 2.0.50727.4016

    Copyright (c) Microsoft Corporation.  All rights reserved.

    Error loading type library/DLL. (Exception from HRESULT: 0x80029C4A (TYPE_E_CANT

    LOADLIBRARY))

  64. Hi Paul – I'm not sure what type library is failing to load in this scenario.  Did you try to run sfc /scannow as described above in this blog post to repair the OS files on your computer?  If you already tried that and it didn't help, then it might help to install the .NET Framework 3.5 SP1 (which will install the .NET Framework 2.0 SP2 and 3.0 SP2 for you behind the scenes).  You can download it from http://www.microsoft.com/…/details.aspx.

  65. Anonymous says:

    Wow, after spending more than a few hours trying to figure out why KB983590 was failing to install on my fresh Windows 7 64-bit machine, I finally came across this and it has resolved my problem.

    By that point I had already tried most everything including running the verification tool, which confirmed that there were files missing from my .NET 3.5 SP1 installation. I tried the cleanup tool but found that 3.5.1 was not in the drop-down list for removal. I had tried removing 3.5.1 from the Windows features, but got an error when uninstalling. I tried clean booting and what feels like a million other fixes and suggestions but nothing worked.

    Finally, I ran 'sfc /scannow' and the results said that some file corruption had been found and was repaired. After this I ran the verification tool which confirmed that .NET 3.5 SP1 is valid.

    KB983590 has now installed successfully and I’m back in business.

    I rarely post just to say thanks, especially after being so frustrated with this whole issue, but I am thankful and I hope this helps others.

    Cheers,

    ~Alan

  66. Anonymous says:

    Hi Aaron,

    dotnetchk.exe returns failed for .NET 2.0 on my system (amd64, Windows 7 64-bit) although setupverifier verifies the 2.0 installation.  

    sfc /scannow finds no integrity violations.

    I have been using Visual Studio 2005 to develop a ClickOnce installed app for some time.  (VS2008 is also installed.)  The application used to install or update on my system without a problem.  It never returned this error or needed to install the .NET prerequisite.

    I recently installed a .Net 2.0 app from another developer (using VS 2008 on XP).  That installation used an msi file to install.  I also downloaded his project and built it.

    Since then, ClickOnce installs or updates of my application have failed on my system, although they install/update properly on another amd64 Windows 7 64-bit system with the same Visual Studio versions installed.

    Install log:

    The following properties have been set:

    Property: [AdminUser] = true {boolean}

    Property: [ProcessorArchitecture] = AMD64 {string}

    Property: [VersionNT] = 6.1.0 {version}

    Running checks for package '.NET Framework 2.0', phase BuildList

    Running external check with command line "C:UsersBobAppDataLocalTempVSD8FC0.tmpdotnetfxdotnetchk.exe"

    Process exited with code 0

    Setting value '0 {int}' for property 'DotNetInstalled'

    Reading value 'Version' of registry key 'HKLMSoftwareMicrosoftInternet Explorer'

    Read string value '8.0.7600.16385'

    Setting value '8.0.7600.16385 {string}' for property 'IEVersion'

    The following properties have been set for package '.NET Framework 2.0':

    Property: [DotNetInstalled] = 0 {int}

    Property: [IEVersion] = 8.0.7600.16385 {string}

    Running checks for command 'dotnetfxinstmsia.exe'

    Result of running operator 'ValueExists' on property 'VersionNT': true

    Result of checks for command 'dotnetfxinstmsia.exe' is 'Bypass'

    Running checks for command 'dotnetfxWindowsInstaller-KB893803-v2-x86.exe'

    Result of running operator 'ValueExists' on property 'Version9x': false

    Result of running operator 'VersionLessThan' on property 'VersionNT' and value '5.0.3': false

    Result of running operator 'VersionGreaterThanOrEqualTo' on property 'VersionMsi' and value '3.0': true

    Result of checks for command 'dotnetfxWindowsInstaller-KB893803-v2-x86.exe' is 'Bypass'

    Running checks for command 'dotnetfxdotnetfx.exe'

    Result of running operator 'ValueNotEqualTo' on property 'DotNetInstalled' and value '0': false

    Result of running operator 'ValueEqualTo' on property 'AdminUser' and value 'false': false

    Skipping FailIf because Property 'Version9X' was not defined

    Result of running operator 'VersionLessThan' on property 'VersionNT' and value '5.0.3': false

    Result of running operator 'ValueNotExists' on property 'IEVersion': false

    Result of running operator 'VersionLessThan' on property 'IEVersion' and value '5.01': false

    Result of running operator 'ValueNotEqualTo' on property 'ProcessorArchitecture' and value 'Intel': true

    Result of checks for command 'dotnetfxdotnetfx.exe' is 'Fail'

    '.NET Framework 2.0' RunCheck result: Fail

    A prerequisite failed for Package ".NET Framework 2.0"

    Package failed with message "This version of the .NET Framework 2.0 is not supported on a 64-bit operating system. Contact your application vendor."

    dotnetchk.exe file version is 8.0.50727.42, 9/23/2005

    Any idea on why dotnetchk fails to find .NET 2.0 now and how to fix it?

    Any help would be appreciated,

    Max

  67. Hi Max – I'm not familiar with exactly what dotnetchk looks for behind the scenes, so I'm not sure why it would return "false" for the .NET Framework 2.0 on a Windows 7 system (because Windows 7 comes with the .NET Framework 2.0 SP2, 3.0 SP2 and 3.5 SP1 by default).  If running SFC didn't help solve this issue, then I think you may need to repair Windows to try to solve this because there isn't any way to repair the version of the .NET Framework 2.0 that comes with Windows 7 without repairing all of the components that come with Windows.

  68. Anonymous says:

    Hi Aaron,

    Thanks for your quick response.  Definitely a puzzle.  Will try to repair Windows 7.

    Thanks again,

    Max

  69. Anonymous says:

    i ca,nt install .net framwork

  70. Anonymous says:

    Hi Aaron, I'm running Vista Business SP 2 on my laptop.

    I have the software inSSIDer (a wifi performance scanning software) and have run it successfully for the past few days. Last night due to a few instances of Windows Explorer not responding I restarted the computer by pressing and holding the on/off switch — twice. The computer was restarted in safe mode and then I restarted it again in the normal mode.

    Now, while trying to run inSSIDer, I get the following message:

    The .NET Framework configuration on this computer is corrupted, inSSIDer cannot continue. Repair the configuration and then run inSSIDer again.rnrnWe're sorry for any inconvenience.

    I've tried unstalling and installing inSSIDer but am still getting the same message.

    I've also tried running sfc /scannow, but the scan showed no problems.

    I'd appreciate any help from you. (I'm not a very advanced computer user so simple instructions would be helpful.)

    Thank you.

    Keith

  71. Hi Indika – What version of the .NET Framework are you trying to install, what version of Windows are you installing on, and what is the error that you're seeing?  Can you please use the tool described at blogs.msdn.com/…/6458047.aspx to gather your .NET Framework setup log files, upload the file named %temp%vslogs.cab that is created by that tool to a file server (such as http://skydrive.live.com) and reply here with a link I can use to download your log files and take a further look to see what I can figure out?

  72. Hi Keith – SFC only repairs the files that are installed as a part of Windows.  It doesn't repair things like registry keys, permissions, service registration, etc.  I'm not sure what configuration information the inSSIDer software program is checking, but if it is anything other than files, then SFC isn't going to be helpful in this scenario and you will likely need to repair Windows to solve this type of error.  You should be able to do this by putting in your original Windows installation disc, running setup and choosing to repair from there.

    Alternatively, you can try to contact the manufacturer of inSSIDer to see if they can give you more information about what .NET Framework configuration their program is checking when it shows this error message.  Once you know that, it might be possible to manually fix the configuration without needing to do a full repair of Windows.

  73. Anonymous says:

    Hi Aaron, thanks for the response. InSSIDer has responded that the program needs .net framework 3.5. I've done a repair on the programs and software of it, but am still unable to run inSSIDer. Would you have any idea what's wrong? Thank you.

  74. Hi Keith – If you haven't yet, I'd suggest installing the .NET Framework 3.5 SP1 from http://www.microsoft.com/…/details.aspx.

    If that doesn't help, can you try to ask the InSSIDer support team what exact settings that the product is looking for when it reports that error message about the .NET Framework being corrupt?

  75. Anonymous says:

    TurboTax 2010 won't install on my Windows 7 machine, since it doesn't think that .NET 2.0 and 3.5 sp1 are installed.  This is apparently a known issue with Intuit, but it's still a problem.  When I look at installed programs these two aren't there since they were "cleaned up" by the utility suggested above.  Am I just hosed?

  76. Hi Scotto – Windows 7 includes the .NET Framework 2.0 SP2, 3.0 SP2 and 3.5 SP1 as a part of the OS.  The cleanup tool does not allow you to remove versions of the .NET Framework that are a part of the OS.  These versions are not listed in the Programs and Features control panel, but they are still installed.

    I've posted some suggestions in the past for solving this type of issue for TurboTax 2009 setup, but I'm not sure if they will still work for TurboTax 2010 or not.  Here are some links:

    blogs.msdn.com/…/9953883.aspx

    blogs.msdn.com/…/9990936.aspx

  77. Anonymous says:

    Hi Aaron,

    Thanks for the links!  I haven't been successful so far in quashing this problem to the extent that Intuit has given me a free pass for TurboTax 2010 online (but I don't want that, since it can't import from last year).

    If the cleaning tool can't remove the .NET framework from Windows 7, how come they were in the installed programs list before I ran the cleaner, and not there afterward?  Are these registry entries that were deleted?

    Regards,

    scotto…

  78. Hi Scotto – The cleanup tool will remove the .NET Framework 1.0, 1.1 and 4.0 on Windows 7, but it will not remove 2.0, 3.0 or 3.5 because those versions are OS components on Windows 7.  What exact version(s) of the .NET Framework did you see in the Programs and Features control panel prior to running the cleanup tool?  The only way I know of that the .NET Framework 3.5 would have been listed there is if you previously were running Windows Vista and had the .NET Framework installed there, then upgraded to Windows 7.

    In the past, I've had people try running the TurboTax tool at turbotax.intuit.com/…/SLN12472.html to gather log files.  Can you give that a try, and then post the logs to a file server such as http://skydrive.live.com, then reply back here with a link I can use to download the logs and take a further look to see if I can figure anything out?

  79. Anonymous says:

    Scotto

    If you are having issues with installing software that searches for .net frameworks, a quick fix that worked for me when installing on a windows 7. I was trying to install intuit quickbooks and it always errored out asking for .net frameworks. so what I did was in the program and features windows I turned on all the features using turn on and off windows features. I just checked the two sub boxes under the microsoft .net frameworks catagory. hope that helps.

  80. Anonymous says:

    Hi Aaron!

    I have some situation under Windows 7 Pro (up to date) different of what I read above.

    Since a few days – maybe a week – when I shutdown the system I receive an error message about the impossibility to shut down an instance of csc.exe (or something similar).

    I tried several planner and organizer programs, which I have installed and uninstalled and I think one of these uninstalls deleted something used by Netframe 4.0.

    How can I repair this?

    Regards,

    John

  81. Hi John Sandu – You can try to repair the .NET Framework 4 by going to the Programs and Features control panel, finding the items named Microsoft .NET Framework 4 Client Profile and Microsoft .NET Framework 4 Extended, clicking on the Uninstall/Change button, and choosing to repair them.  If repairing doesn't help, it will sometimes help to uninstall + re-install them instead.

  82. Anonymous says:

    Hi Aaron,

    Seems you are an expert on this. I have a similar problem, receiving error messages running, Windows Live, SyncToy and various other programs. My OS in W7-32 with SP1 installed. I ran the sfc /scannow as described above, but it did not identify any problems. Any suggestions?

    Regards /Kim

    Details from the Microsoft .NET Framework error box:

    …………….

    See the end of this message for details on invoking

    just-in-time (JIT) debugging instead of this dialog box.

    ************** Exception Text **************

    System.IO.FileNotFoundException: Could not load file or assembly 'Accessibility, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. Den angivne fil blev ikke fundet.

    File name: 'Accessibility, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'

      at System.Windows.Forms.Control.OnHandleCreated(EventArgs e)

      at System.Windows.Forms.Control.WmCreate(Message& m)

      at System.Windows.Forms.Control.WndProc(Message& m)

      at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)

      at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)

      at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

    WRN: Logføring af assemblybinding er deaktiveret.

    Logføring af assemblybindingsfejl aktiveres ved at angive registreringsdatabasevÌrdien [HKLMSoftwareMicrosoftFusion!EnableLog] (DWORD) til 1.

    BemÌrk! Ydeevnen forringes ved logføring af assemblybindingsfejl.

    Denne funktion deaktiveres ved at fjerne registreringsdatabasevĂŚrdien [HKLMSoftwareMicrosoftFusion!EnableLog].

    ************** Loaded Assemblies **************

    mscorlib

       Assembly Version: 2.0.0.0

       Win32 Version: 2.0.50727.5444 (Win7SP1GDR.050727-5400)

       CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll


    WindowsLive.Writer.PostEditor

       Assembly Version: 15.4.3508.1109

       Win32 Version: 15.4.3508.1109

       CodeBase: file:///C:/Program%20Files/Windows%20Live/Writer/WindowsLive.Writer.PostEditor.dll


    WindowsLive.Writer.Interop

       Assembly Version: 15.4.3508.1109

       Win32 Version: 15.4.3508.1109

       CodeBase: file:///C:/Program%20Files/Windows%20Live/Writer/WindowsLive.Writer.Interop.DLL


    WindowsLive.Writer.Mshtml

       Assembly Version: 15.4.3508.1109

       Win32 Version: 15.4.3508.1109

       CodeBase: file:///C:/Program%20Files/Windows%20Live/Writer/WindowsLive.Writer.Mshtml.DLL


    WindowsLive.Writer.HtmlEditor

       Assembly Version: 15.4.3508.1109

       Win32 Version: 15.4.3508.1109

       CodeBase: file:///C:/Program%20Files/Windows%20Live/Writer/WindowsLive.Writer.HtmlEditor.DLL


    WindowsLive.Writer.ApplicationFramework

       Assembly Version: 15.4.3508.1109

       Win32 Version: 15.4.3508.1109

       CodeBase: file:///C:/Program%20Files/Windows%20Live/Writer/WindowsLive.Writer.ApplicationFramework.DLL


    WindowsLive.Writer.CoreServices

       Assembly Version: 15.4.3508.1109

       Win32 Version: 15.4.3508.1109

       CodeBase: file:///C:/Program%20Files/Windows%20Live/Writer/WindowsLive.Writer.CoreServices.DLL


    WindowsLive.Writer.Interop.Mshtml

       Assembly Version: 15.4.3508.1109

       Win32 Version: 15.4.3508.1109

       CodeBase: file:///C:/Program%20Files/Windows%20Live/Writer/WindowsLive.Writer.Interop.Mshtml.DLL


    WindowsLive.Writer.Passport

       Assembly Version: 15.4.3508.1109

       Win32 Version: 15.4.3508.1109

       CodeBase: file:///C:/Program%20Files/Windows%20Live/Writer/WindowsLive.Writer.Passport.DLL


    System

       Assembly Version: 2.0.0.0

       Win32 Version: 2.0.50727.5420 (Win7SP1.050727-5400)

       CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll


    System.Drawing

       Assembly Version: 2.0.0.0

       Win32 Version: 2.0.50727.5420 (Win7SP1.050727-5400)

       CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll


    WindowsLive.Writer.Localization

       Assembly Version: 15.4.3508.1109

       Win32 Version: 15.4.3508.1109

       CodeBase: file:///C:/Program%20Files/Windows%20Live/Writer/WindowsLive.Writer.Localization.DLL


    System.Windows.Forms

       Assembly Version: 2.0.0.0

       Win32 Version: 2.0.50727.5420 (Win7SP1.050727-5400)

       CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll


    System.Configuration

       Assembly Version: 2.0.0.0

       Win32 Version: 2.0.50727.5420 (Win7SP1.050727-5400)

       CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll


    System.Xml

       Assembly Version: 2.0.0.0

       Win32 Version: 2.0.50727.5420 (Win7SP1.050727-5400)

       CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll


    WindowsLive.Writer.Api

       Assembly Version: 1.1.0.0

       Win32 Version: 15.4.3508.1109

       CodeBase: file:///C:/Program%20Files/Windows%20Live/Writer/WindowsLive.Writer.Api.DLL


    WindowsLiveLocal.WriterPlugin

       Assembly Version: 15.4.3508.1109

       Win32 Version: 15.4.3508.1109

       CodeBase: file:///C:/Program%20Files/Windows%20Live/Writer/WindowsLiveLocal.WriterPlugin.DLL


    WindowsLive.Writer.Controls

       Assembly Version: 15.4.3508.1109

       Win32 Version: 15.4.3508.1109

       CodeBase: file:///C:/Program%20Files/Windows%20Live/Writer/WindowsLive.Writer.Controls.DLL


    WindowsLive.Writer.Localization.resources

       Assembly Version: 15.4.3508.1109

       Win32 Version: 15.4.3508.1109

       CodeBase: file:///C:/Program%20Files/Windows%20Live/Writer/da/WindowsLive.Writer.Localization.resources.DLL


    WindowsLive.Writer.HtmlParser

       Assembly Version: 15.4.3508.1109

       Win32 Version: 15.4.3508.1109

       CodeBase: file:///C:/Program%20Files/Windows%20Live/Writer/WindowsLive.Writer.HtmlParser.DLL


    WindowsLive.Writer.BlogClient

       Assembly Version: 15.4.3508.1109

       Win32 Version: 15.4.3508.1109

       CodeBase: file:///C:/Program%20Files/Windows%20Live/Writer/WindowsLive.Writer.BlogClient.DLL


    WindowsLive.Writer.Extensibility

       Assembly Version: 15.4.3508.1109

       Win32 Version: 15.4.3508.1109

       CodeBase: file:///C:/Program%20Files/Windows%20Live/Writer/WindowsLive.Writer.Extensibility.DLL


    WindowsLive.Writer.SpellChecker

       Assembly Version: 15.4.3508.1109

       Win32 Version: 15.4.3508.1109

       CodeBase: file:///C:/Program%20Files/Windows%20Live/Writer/WindowsLive.Writer.SpellChecker.DLL


    ************** JIT Debugging **************

    To enable just-in-time (JIT) debugging, the .config file for this

    application or computer (machine.config) must have the

    jitDebugging value set in the system.windows.forms section.

    The application must also be compiled with debugging

    enabled.

    For example:

    <configuration>

       <system.windows.forms jitDebugging="true" />

    </configuration>

    When JIT debugging is enabled, any unhandled exception

    will be sent to the JIT debugger registered on the computer

    rather than be handled by this dialog box.

  83. Hi Kim – Unfortunately, the SFC tool does not repair files in the global assembly cache (GAC) on Windows Vista or Windows 7.  I'm afraid that the only way to repair these files is to repair/re-install Windows.

  84. Anonymous says:

    Hello Aaron,

    I am having NGEN errors pasted at http://pastebin.com/FHdawitu

    Also, the .NET Verifier will not accept the 2.0, 3.5 installs. I first had issues with TurboTax 2010, Paint.Net and Stardock Impulse and have not been able to get anywhere. Now trying to install FlashDevelop and it won't even install.

    On Windows Vista SP2 32-bit.

    Any help would be appreciated!

    ~M

  85. Anonymous says:

    It is asking for XP Pro SP3 CD. Does that mean that there are corrupt files? I don't have such a CD. I have XP home installed, and the computer didn't come with a Windows CD because it was preinstalled. I tried a XP Home CD but that didn't work.

  86. Hi What CD? – You might be able to re-download and re-install Windows XP SP3 from http://www.microsoft.com/…/details.aspx to solve this type of error.

  87. Hi Michael Lubker – The NGen log that you uploaded show that the failures are being caused by missing files on your computer.  The log doesn't say exactly what files are missing though.  You mentioned trying the .NET Framework setup verification tool.  Do you have a log file from that tool that you could upload so I can see if it is reporting any missing files?

    In the meantime, you can also try the SFC command line listed above in this blog post to try to repair missing files on your version of Windows.  You could also try installing the latest Windows Vista service pack to see if that will help restore these missing files to your computer.

  88. I'm having a related issue to this thread.  I originally had Windows Vista 32-bit and upgraded to Windows 7.  I used the option to just copy over Windows 7 and leave the data alone.  Not a clean format, re-install.  Anyway, I'm ran the .NET validation tool and .NET 2.0, 3.0 and 3.5 all will not validate on this computer for some reason.  It's interesting too, as I'm able to run visual studio, web matrix, etc.  However, I cannot open Management Studio because of the .Net Framework 2.0 issue.

    When I try to install the .NET 2.0 SP1 or SP2, it tells me to turn the windows feature on…Obviously that's NOT a value of Windows 7.  The .net framework 3.5 feature is turned on in my setup.

    Here's my log from the .NET 2.0 failure.  I won't post the whole log (just the errors section):

    [06/26/11,11:28:02] ****ERROR**** Key: HKLMSOFTWAREMicrosoft.NETFrameworkpolicystandardsv1.0.0

    Value: v2.0.50727

    Expected Data: 50727

    Actual Data: NOT FOUND

    [06/26/11,11:28:02] ****ERROR**** Key: HKLMSOFTWAREMicrosoft.NETFrameworkpolicystandardsStandard CLI 2002

    Value: v2.0.50727

    Expected Data: 4095

    Actual Data: NOT FOUND

    [06/26/11,11:28:02] ****ERROR**** Key: HKLMSOFTWAREMicrosoft.NETFrameworkpolicystandardsStandard CLI 2005

    Value: v2.0.50727

    Expected Data: 4095

    Actual Data: NOT FOUND

    [06/26/11,11:28:02] ****ERROR**** Key: HKLMSOFTWAREMicrosoft.NETFrameworkpolicyupgrades

    Value: 2.0.50727

    Expected Data: 1.0.0-2.0.50727

    Actual Data: NOT FOUND

    [06/26/11,11:28:02] ****ERROR**** Key: HKLMSOFTWAREMicrosoft.NETFrameworkpolicyv2.0

    Value: 50727

    Expected Data: 50727-50727

    Actual Data: NOT FOUND

    [06/26/11,11:28:02] Key: HKLMSOFTWAREMicrosoftNET Framework SetupNDPv2.0.50727

    Value: SP

    Actual Data: REGISTRY VALUE FOUND

    I've looked in the registry and there is no policy folder in there. I do see the SP DWORD (service pack) with a value of 0.

    The .NET 3.0 SP1 log looks very similiar:

    [06/26/11,11:28:34] ****ERROR**** Key: HKLMSOFTWAREMicrosoft.NETFrameworkpolicystandardsv1.0.0

    Value: v2.0.50727

    Expected Data: 50727

    Actual Data: NOT FOUND

    [06/26/11,11:28:34] ****ERROR**** Key: HKLMSOFTWAREMicrosoft.NETFrameworkpolicystandardsStandard CLI 2002

    Value: v2.0.50727

    Expected Data: 4095

    Actual Data: NOT FOUND

    [06/26/11,11:28:34] ****ERROR**** Key: HKLMSOFTWAREMicrosoft.NETFrameworkpolicystandardsStandard CLI 2005

    Value: v2.0.50727

    Expected Data: 4095

    Actual Data: NOT FOUND

    [06/26/11,11:28:34] ****ERROR**** Key: HKLMSOFTWAREMicrosoft.NETFrameworkpolicyupgrades

    Value: 2.0.50727

    Expected Data: 1.0.0-2.0.50727

    Actual Data: NOT FOUND

    [06/26/11,11:28:34] ****ERROR**** Key: HKLMSOFTWAREMicrosoft.NETFrameworkpolicyv2.0

    Value: 50727

    Expected Data: 50727-50727

    Actual Data: NOT FOUND

    [06/26/11,11:28:34] Key: HKLMSOFTWAREMicrosoftNET Framework SetupNDPv2.0.50727

    Value: SP

    Actual Data: REGISTRY VALUE FOUND

    [06/26/11,11:28:34] Key: HKLMSOFTWAREMicrosoftNET Framework SetupNDPv2.0.50727

    Value: Install

    Expected Data: 1

    Actual Data: 1

    [06/26/11,11:28:34] Section [Registry GE – .NET Framework 2.0 SP2 (Common)] – start parsing entries

    [06/26/11,11:28:34] ****ERROR**** Key: HKLMSOFTWAREMicrosoftNET Framework SetupNDPv2.0.50727

    Value: SP

    Expected Data: 2

    Actual Data: 0

    [06/26/11,11:28:35] Key: HKLMSOFTWAREMicrosoftNET Framework SetupNDPv3.0Setup

    Value: Version

    Actual Data: REGISTRY VALUE FOUND

    [06/26/11,11:28:35] Key: HKLMSOFTWAREMicrosoftNET Framework SetupNDPv3.0SetupWindows Communication Foundation

    Value: Version

    Actual Data: REGISTRY VALUE FOUND

    [06/26/11,11:28:35] Key: HKLMSOFTWAREMicrosoftNET Framework SetupNDPv3.0SetupWindows Presentation Foundation

    Value: ProductVersion

    Actual Data: REGISTRY VALUE FOUND

    [06/26/11,11:28:35] Key: HKLMSOFTWAREMicrosoftNET Framework SetupNDPv3.0SetupWindows Workflow Foundation

    Value: FileVersion

    Actual Data: REGISTRY VALUE FOUND

    [06/26/11,11:28:35] Key: HKLMSOFTWAREMicrosoftNET Framework SetupNDPv3.0SetupWindows Presentation Foundation

    Value: Version

    Actual Data: REGISTRY VALUE FOUND

    The .NET 3.0 SP2 is more of the same…

    [06/26/11,11:28:20] ****ERROR**** Key: HKLMSOFTWAREMicrosoft.NETFrameworkpolicystandardsv1.0.0

    Value: v2.0.50727

    Expected Data: 50727

    Actual Data: NOT FOUND

    [06/26/11,11:28:20] ****ERROR**** Key: HKLMSOFTWAREMicrosoft.NETFrameworkpolicystandardsStandard CLI 2002

    Value: v2.0.50727

    Expected Data: 4095

    Actual Data: NOT FOUND

    [06/26/11,11:28:20] ****ERROR**** Key: HKLMSOFTWAREMicrosoft.NETFrameworkpolicystandardsStandard CLI 2005

    Value: v2.0.50727

    Expected Data: 4095

    Actual Data: NOT FOUND

    [06/26/11,11:28:20] ****ERROR**** Key: HKLMSOFTWAREMicrosoft.NETFrameworkpolicyupgrades

    Value: 2.0.50727

    Expected Data: 1.0.0-2.0.50727

    Actual Data: NOT FOUND

    [06/26/11,11:28:20] ****ERROR**** Key: HKLMSOFTWAREMicrosoft.NETFrameworkpolicyv2.0

    Value: 50727

    Expected Data: 50727-50727

    Actual Data: NOT FOUND

    [06/26/11,11:28:20] Key: HKLMSOFTWAREMicrosoftNET Framework SetupNDPv2.0.50727

    Value: SP

    Actual Data: REGISTRY VALUE FOUND

    [06/26/11,11:28:21] ****ERROR**** Key: HKLMSOFTWAREMicrosoftNET Framework SetupNDPv2.0.50727

    Value: SP

    Expected Data: 2

    Actual Data: 0

    [06/26/11,11:28:21] Key: HKLMSOFTWAREMicrosoftNET Framework SetupNDPv3.0Setup

    Value: Version

    Actual Data: REGISTRY VALUE FOUND

    [06/26/11,11:28:21] Key: HKLMSOFTWAREMicrosoftNET Framework SetupNDPv3.0SetupWindows Communication Foundation

    Value: Version

    Actual Data: REGISTRY VALUE FOUND

    [06/26/11,11:28:21] Key: HKLMSOFTWAREMicrosoftNET Framework SetupNDPv3.0SetupWindows Presentation Foundation

    Value: ProductVersion

    Actual Data: REGISTRY VALUE FOUND

    [06/26/11,11:28:21] Key: HKLMSOFTWAREMicrosoftNET Framework SetupNDPv3.0SetupWindows Workflow Foundation

    Value: FileVersion

    Actual Data: REGISTRY VALUE FOUND

    Based on this, do you see any registry Voodoo I can do to fix up the issue or should I try to repair it from a Windows 7 Ultimate Disk?  Or being that I did an update from Vista, am I going to just have to format and install Windows 7 fresh?

    Thanks in advance.

  89. Hi Forest Marie – I'm not sure why these values would be missing from your computer after upgrading to Windows 7.  The .NET Framework 2.0 SP2 is included as an OS component on Windows 7, and as a result, you can't use the standalone .NET Framework 2.0 SP1 or SP2 installer to repair the .NET Framework 2.0 bits on a Windows 7 computer.

    It might help to install Windows 7 SP1 onto your computer – it includes some updates for the .NET Framework 2.0, 3.0 and 3.5, and it might end up restoring these settings onto your computer and re-enable using MMC.  If that doesn't help, then I'd suggest trying to repair/re-install Windows 7 from your original Windows 7 installation disc.  I think you can repair without needing to re-format your hard drive.

  90. Anonymous says:

    Hi i'm trying to run Fruit Ninja.

    But at first i was getting MSVCR100.dll & MSVCP100.dll missing errors.

    So i installed VC++ 2010 and it fixed those.

    But now i am getting this error that says

    the procedure entry point _invalid_parameter_noinfo_noreturn could not be located in the dynamic link library msvcr100.dll

    I tried ur sfc/scannow command as admin and the result also said that some errors were found n fixed. But still after rebooting the game shows d same error..

    Any suggestions?

  91. Hi Vipul – There are a few different service packs available for the VC++ 2010 Redistributable.  It might help to try to install one of the other service packs to see if it will fix this error with msvcr100.dll.  If that doesn't help, you may want to check on the web site for the creators of Fruit Ninja to see if they have any known issues related to the VC++ runtime files like msvcr100.dll.  If they do, hopefully they'll have some suggestions for you to try to solve this type of error.

    The VC++ 2010 runtime files are not installed as a part of Windows, so SFC will not help in this scenario.  SFC only restores files that are installed as a part of Windows.

  92. Anonymous says:

    The "sfc /scannow" method did a great job in restoring a Windows 7 system that would not open any applications and would only display a "The application was unable to start correctly" message.  Thanks!!

  93. Anonymous says:

    Hi Aaron,

    I have a Windows Pro 7 64bit O/S and run Visual Studio 2010.

    A couple of days ago I reverted all my VS2010 projects from .Net Frame 4.0 back to 3.5 to cope with a 3rd party library that does not work with 4.0.

    Since then all my projects complain about stdole.dll being missing, even though it resides where it always has on my C: drive.

    My investigation causes me to think that the problems lies with the Framework.

    I ran "sfc /scannow" and it found no "integrity violations".

    Any suggestions on where top go from here?

    Cheers

  94. Hi MarkC – I haven't heard of an issue like this before.  When you say that you reverted your projects, do you mean that you changed the Target Framework setting in the VS IDE from the .NET Framework 4 to the .NET Framework 3.5?  Also, what is the exact error message that you see, and when do you see it (for example, does it happen when you try to open your project, when you try to build it, when you try to run it, etc)?

    I'd suggest double-checking to make sure that you have the .NET Framework 3.5 enabled on your computer.  You can do that by going to the Windows Features control panel (optionalfeatures.exe) and making sure that the item named Microsoft .NET Framework 3.5.1 is checked.

    It might also help to try your project on another Windows 7 computer to see if the problem is specific to your computer or if it is a problem with the project itself.

  95. Anonymous says:

    Hey Aaron, wondering if I could bother you for some help:

    Getting the following error for all .Net/XNA applications:

     Problem Event Name: APPCRASH

     Application Name: Magicka.exe

     Application Version: 1.4.0.6

     Application Timestamp: 4e6fa0f4

     Fault Module Name: KERNELBASE.dll

     Fault Module Version: 6.1.7601.17651

     Fault Module Timestamp: 4e211319

     Exception Code: e0434f4d

     Exception Offset: 0000b9bc

     OS Version: 6.1.7601.2.1.0.256.1

     Locale ID: 4105

    Spent probably 12 hours now reading trying everything (I've uninstalled all .net and xna installations, reinstalled, disabled .net 3.5 in Win7, and enabled, and then reinstalled everything, I've tried with a different user account, sfc scannow shows 100% fine files, I even copied the folders from my mom's w7 laptop for .net (the 2 framwork folders only) for win7(as a hail mary, lol, and reverted back to my backup after), and as a last resort tried that .Net cleaner program) and am still unable to fix this problem.

    One thing I've noticed is that when I install .Net 4 it doesn't show up on the .Net verifier program.

    This all started when I installed a game, I believe I then followed bad advice to install some version of .Net or XNA I shouldn't have (4.0 of one or the other or both), and possibly a .Net 3.5 sdk…  but I don't think so, I'll go back to check the history to make sure.

    I'm an ex-network engineer who's moving to programming so any explanation of the fields in the error code would be welcome, I can try to debug it myself if I learn a bit more (what does the exception offset refer to?).

    If I have to do a Windows repair will I lose anything?

    Should I try copying the GAC folders over from another Win7 install?  On my comp there are only 4.0 folders in there.

    Thanks a Ton,

    Andrew

    specs in case:  win7 64 ultimate with sp1, amd dual core 3.6ghz, all windows updates installed

  96. Hi Andrew – I don't think this issue has anything to do with the XNA Framework or XNA Game Studio if you are seeing it for all .NET applications.  I'd suggest trying the SFC repair command line in this blog post if you haven't yet.  If that doesn't help, then I'd suggest trying the System Update Readiness Tool at support.microsoft.com/…/947821 and try to re-install Windows 7 SP1.

    If none of those help, then you may need to repair Windows to solve this type of error.  There should be an option to do a non-destructive repair if you run setup from your original OS installation disc.

  97. dhb@flsi.com says:

    I already posted this yesterday but I don't see it here. I'm trying again…

    I've been experiencing frequent crashes of SSMS 2008R2. As often as once/hour. I submitted the post below to the SQL Server General Tools Forum and was directed here. I followed the instructions for running sfc /scannow. It reached 62% complete and then halted with this message "Windows Resource Protection could not perform the requested operation".

    I'd appreciate any guidance.

    Darrell

    <<

    I'm getting random crashes of SSMS about once a day. In each case I have a script connected to a database but I'm not interacting with it…it's sitting idle. For example, it crashed overnight. I have an Access app open that has a connection to the SQL Server back-end. The SSMS crash locks up the Access app until I clear the crash message.

    Environment: Windows7 64-bit, SQL Server 2008 R2 64-bit, Office 2010 with Access 2010 32-bit.

    Problem event Name: APPCRASH

    Application Name: Ssms.exe

    Application Version: 2009.100.1600.1

    Application Timestamp: 4bb679e7

    Fault Module Version: 2.0.50727.5446

    Fault Module Timestamp: 4d8cdc73

    Exception Code: C0000005

    Exception Offset: 00093e3f

    OS Version: 6.1.7601.2.1.0.256.48

    Locale ID: 1033

    >

  98. Hi DarrellDoesData – If you are getting an error while running SFC, I'd suggest trying to install Windows 7 SP1 if you haven't yet.  It might also help to try the System Update Readiness Tool from support.microsoft.com/…/947821.

    If neither of those help, then you may need to repair/re-install Windows to solve this error.

  99. dhb@flsi.com says:

    Yeah, I've got SP1 installed. I'll try the System Update Readiness Tool.

    Thanx.

  100. Anonymous says:

    Hello,

    VS 2010 ultimate crash just after I launch it: "MSVS has encountered a problem and needs to close".

    i try to deinstall and reinstall but still have problem

    My OS is windows seven.

    problem details :

    Signature du problème :

     Nom d’évĂŠnement de problème:    CLR20r3

     Signature du problème 01:    devenv.exe

     Signature du problème 02:    10.0.30319.1

     Signature du problème 03:    4ba1fab3

     Signature du problème 04:    PresentationCore

     Signature du problème 05:    4.0.0.0

     Signature du problème 06:    4ba1f865

     Signature du problème 07:    533f

     Signature du problème 08:    11

     Signature du problème 09:    System.IO.FileNotFoundException

     Version du système:    6.1.7600.2.0.0.256.48

     Identificateur de paramètres rĂŠgionaux:    1036

    Informations supplÊmentaires sur le problème :

     LCID:    1033

    Someone could help me ?

    AT

  101. Hi AT – From this crash report, it looks like one of the .NET Framework files is missing from your computer.  I'd suggest trying to fully uninstall the .NET Framework 4 and then re-install it by using the steps and the tool described at blogs.msdn.com/…/8108332.aspx.  Hopefully that will restore this file and allow you to successfully launch VS 2010.

  102. Anonymous says:

    Situation: I first noticed I was having trouble booting up my computer.  Windows 7.  I figured my hard drive was starting to go out.  Usually a second boot attempt would be succesfull.  So today it booted up fine and as I was going through some folders it started kicking me back to the previous folder.  Than I could not open any folders with a double click.  Had to right click and open.  I could not get any further though.  I was like it would kick me right back again.  Then I open my browser.  Choose a location and bamb.  Right back to google. (home page)  I intially thought, thats it, my hard drive is fried. I wanted to try defrag but did disk cleanup first.  Nothing worked.  Then after thinking it appears like someone keeps hitting the back button I unpluged my Rat 7 mouse.  Plugged it back in and what do ya know.  Must have been a stuck back button or something.  So I restarted a couple times to be sure everything was working ok and it was, until…..I tried opening a program I use that requires .NET  Searched and searched.  Tried reinstalling and got the same message a lot of people here got which was, .net framework is already installed on this os.  I finally made it here.  By the way, when I did the disk cleanup I was thinking I deleted something regarding this.  I tried your sfc /scannow and it found and fixed my problem.  I am one as well as others have mentioned here that does not normally reply to these but I was so releaved it worked and impressed by your knowledge Aaron I had to say thanks.  And if anyone has the initial problem I have with the mouse and the computer behaving irratically like that.  They should check there periffirals.  Thank you again Aaron, I bow to you sir.

    Thankfully yours,

    Jamie

  103. If its a file Issue as indicated by the ".Net Setup Verification Tool", you can simply extract the original file(s) from a Windows Installation disc and place it where required; using '7-Zip' from [Disc]:sourcesinstall.wim file. blog.nirsoft.net/…/how-to-extract-missing-system-files-from-the-dvd-of-windows-7vista

  104. Anonymous says:

    Hi Aaron.

    I may sound a little moronic here. I had an issue installing Xna framework 4.0. I followed your instructions and ran sfc /scannow. It told me that it found some errors it couldn't fix, and to check the CBS log. I then ran into my problem. When I try to open the cbs log with notepad, it tells me that access is denied. I am the system's only user, and as such, I am the administrator. Do I need to enter safe mode to access the log?

    Sincerely,

    Noogai.

  105. Anonymous says:

    I forgot to mention, i'm running Vista home premium.

  106. Hi Noogai96 – If you get access denied for cbs.log, you can usually make a copy of it and then open the copy instead.

    What is the exact error that you're seeing when you try to install the XNA Framework 4.0 on your computer?  If possible, can you please use the steps listed at blogs.msdn.com/…/help-me-help-you-if-you-have-setup-bugs.aspx to enable verbose logging, reproduce the setup failure, then upload the file named %temp%msi*.log that will be created by the failing install to a file server (such as http://skydrive.live.com), and then reply back here and post a link that I could use to download your log file and take a closer look?

  107. Anonymous says:

    Hi Aaron.

    It's all good. Installing service pack 2 seemed to fix the problem. I have XNA Framework 4.0 installed now. I'll come to you if I have any more problems!

    Thankfully,

    Noogai.

  108. Anonymous says:

    Hi Aaron

    I got an issue installing visual studio 2008 in my desktop win 7 64 bit.always getting error when its installing .NetFramework 3.5 SP1 shows that i need to turn on/off Windows Feature. I am getting error message when im trying to turn on or off .Net Framework 3.5 saying not all function blah blah..I already try running it in command prompt and i found out that im getting error 14098 saying that its corrupt. already running sfc/scannow and was able to fix the registry then install windows update .net 4.0. When im trying to install visual studio 2008 still getting same error message that i need to turn on windows feature and getting same error message in cmd error 14098. When i run sfc/scannow again it shows that it didn't find any integrity violations..

    Already clueless on what to do with this part pls help..

  109. Hi Julius – Error 14098 means that the Windows component store is corrupt.  It might help to run the System Update Readiness Tool to see if it can correct that type of error.  You can find that tool at support.microsoft.com/…/947821.

    If that doesn't help, you might need to repair/re-install Windows to solve this type of error.

  110. Anonymous says:

    Thank you for the guide man! Very helpful!

  111. Anonymous says:

    Hello Aaron… I tried everything but it doesn't work. I did what you wrote in the tutorial… said that it found corrupted files, said that it fixed them… but it still doesn't work.

  112. Anonymous says:

    Hi Aroon, could you please help me? I have Windows 7 x64. .NET stopped working after some updates. I tried system system restore point but I got an error… I also tried: sfc /scannow, but it didn't show any error. However, the .NET verification tool has shown some errors. The report is here: http://pastebin.com/F9T2SRBf

    Could you please look at it and help me? I have many programs installed, and reinstalling the system would be a real pain for me….

  113. Anonymous says:

    I treid all of the instructions but it didn't work for me. Windows 7 x64. sfc /scannow doesn't show any problems, however the verification tool shows some errors (http://pastebin.com/F9T2SRBf). I also tried system repair and it didn't succeed. Could you please help me? What should I do?

  114. Hi Adam – The files that are being reported as missing in the verification tool log file are not protected by Windows File Protection, which means that running sfc.exe will not restore them.  To restore those files, you'll need to either manually copy them from another Windows 7 computer, or you'll need to re-run Windows setup and choose the repair option.  There should be an option that lets you do an in-place repair without re-formatting your computer, so that should allow you to retain your installed programs and data.

  115. Anonymous says:

    This is all pretty painful and expensive, and seems to happen more often than one would hope.  Microsoft should at least provide ISOs for Vista with SP2 already slipstreamed so people can attempt a repair.  Asking Joe user to create one isn't a realistic answer.  I feel the takweaway should be an admission that making .Net "part of the OS" was and is an enormous error.

  116. Anonymous says:

    I have not used the computer in almost two weeks. Two weeks ago, all I used was microsoft word to type some documents. Auto updates were turned on (stupidly), but the only updates it installed were to Windows Defender. I did notice in the past two weeks that it did autoinstall something, and fail to restart (I woke in the middle of the night to a dark blue/black idle screen), but after a force-shut down, it restarted normally, and installed updates.

    Notes about the numerous repairs: The first error I got was actually a "your harddisk may have a problem or encounter failure, blahblah, please restart". I did. It attempted to scan/fix. Asked if I wanted to system restore. I hit yes, but it kept scanning/repairing. It shut down and attempted to restart, but was stuck on the "Starting windows" screen with nothing but a black screen. It shut down on its own after 10 mins, and restarted back to the scan/repair window. I did this two more times, before going to the starting Windows screen, where the windows logo loaded. It sat at this screen for another 5-10 minutes, before saying it was installing/applying updates and configuring windows. Another 5-10 minutes later it finally loaded the normal desktop. I could not even use the computer for abut 15 minutes, because it would not let me close any program, open anything, or edit anything. It took it 5 minutes to CTRL ALT DEL and let me open the task manager, but it froze that window as well. After 10 minutes, I was finally allowed access to closing/opening programs, to receive the sorttbls error dialog.

    Then importance of me saying 5-10 or 15 minutes, is because all these processes or similar before took barely a minute on my computer. This thing was starting up in 15-30 seconds before this error. Now is 15-30 minutes..

  117. Anonymous says:

    I love how it didnt post my first comment.

    Basically: Followed various links to here. Ran sfc /scannow. Results:

    Microsoft Windows [Version 6.1.7601]

    Copyright (c) 2009 Microsoft Corporation.  All rights reserved.

    C:Windowssystem32>sfc /scannow

    Beginning system scan.  This process will take some time.

    Beginning verification phase of system scan.

    Verification 100% complete.

    Windows Resource Protection did not find any integrity violations.

    C:Windowssystem32>

    Still having my errors. Opening word or even notepad is a Bee-.

    Opening turn on/off windows features results in a blank white list (it lists nothing in the… well, list!).

    Just went to framework 4.0 on my programs list tho, and hit change/install, then repair framework 4.0 to original state. Its the only net framework showing in the list. Just the .net framework 4.0 extended (repairing), and framework 4.0 client profile.

  118. Hi RikoRain – It sometimes takes a few minutes for comments to be processed and posted on the blog site.  Sorry for the delay there.

    I'm not sure what would cause the type of problems that you're describing.  Here are a few things that I've run into in the past that might be helpful in your scenario:

    1.  Run chkdsk.exe /R to see if it can find and fix any hard drive errors on your computer.
    2.  Defragment your hard drive.

    3.  Re-seat the RAM sticks on your mother board and/or try to replace the RAM sticks in case one or more of them is going bad.

    Hopefully one of these will help.

  119. Anonymous says:

    I will try that. Though it was just having the "hard disk/drive failure" prompt at first, after all that repairing it tried to do, now it has the sorttbls. So to be quite honest, Im not even sure what is really going on. Nothing works on it anymore and I constantly get the sorttbls prompt.

    But I will try re-seating the RAM sticks first (because apparently the computer also system restored to a few weeks ago, and said there were updates to install, so I shut it down to install them and havent turned it back on yet).

    (And what sucks is my computer didnt come with a nice reset disk so installing the entire thing to factory – definately last resort) e.e

    Thanks! Will post back if it works.. or doesnt! haha

  120. Anonymous says:

    Also, now, my computer makes a ticking noise. Im not sure if it was caused by whatevers wrong, or because I tried to open microsoft word to test if the computer was still crapping a brick. The tick is like… TICK, 1 Mississippi, 2 Mississippi, 3 Mississippi, TICK. Repeat. Forced restart and it ran chkdsk again where it proceeded to delete and repair/restore about 50 things. I couldnt keep track of them. It sat at the Welcome screen for a long time instead of the startingwindows screen, and loaded the initial desktop quicker  – but I still have the sorttbls.nlp error, and all its problems. I dont dare open Word again to test it out.

    Is there some way I can just copy/paste the missing file? I know it sounds stupid but I have an identical computer that i bought for someone else in the household. Both computers are only about 4-5 months old. Or is it possible for me to system restore to the beginning of time? (since I cant reinstall the OS, because the thing doesnt have a disk, it has some stupid "restore to default" program thing that wont even pop up now).  

    Sorry for so many, and long posts. I try to be detailed.

  121. Hi RikoRain – The ticking noise sounds like a possible hardware failure (or an imminent hardware failure)  đŸ™

    The .nlp files are not protected by Windows Resource Protection, so running sfc /scannow will unfortunately not restore it for you.  The easiest way to fix that type of error would be to copy it from your other computer as long as it is running the same version of Windows.  It should also be possible to repair/re-install Windows to restore that file, but that is a more invasive option than copying it from another computer and I'm not sure how you'd do that if you don't have your original installation disc.

  122. Anonymous says:

    Thanks! A friend told me that most computers now dont come with install disks anymore, but a program on them that does it. I couldnt find it but luckily sorttbls doesnt interfere much with Team Viewer.  He was able to remote in and find the HP Recovery program and get it to run successfully. So the computer was restored to factory settings. Annoying, but it restored whatever was wrong, and the computer seems to be running okay.

    Still havent tested word though, but I still havent re-installed it anyway.

    Definately good stuff here tho :3 and completely remembering the chkdsk/R and sfc/scannow :3 thanks!

    (Also the computer isnt ticking anymore, odd tho, it only ticked with  the error + microsoft word -shrug-)

  123. Anonymous says:

    Well I'm having problems at the time of repair. NET Framework, I enter the command pronpt administered by more he asks for password, I have to get there by ususario now, when I walk by the User current it says must be a given, what I do have some specific password to login as administrator?

  124. Hi Problems with repair – I'm sorry, but I'm not sure I fully understand the problem that you're running into here.  Are you saying that you get prompted for a username and password when you try to launch the command prompt with the Run as administrator menu item?  If so, that means that the user account that you're logged in with is not in the Administrators group, and you'll need to have the username and password for an account that is in the Administrators group in order to be able to launch a command prompt as an administrator.  There should have been at least one account created and added to the Administrators group when you first booted your computer and configured Windows.

  125. Anonymous says:

    Aaron:

    I'm having significant issues with .NET and it's preventing me from running some .NET applications like SQL Server Management Studio.  I went in to my control panel (running Windows 7 Enterprise 64bit with 4GB RAM and a half full 232GB hard drive) and unchecked .NET 3.51 but got an error message that all components were not updated.  I then rebooted and checked the 2 boxes underneath .NET 3.51 and got the same error.  I then ran the sfc /scannow which, of course errored out.  I took screen shots of the command shell and the error message and embedded the CBS.LOG file in a document on my SkyDrive.  HEEEEEELP.  I've been beating my head against the wall for a month.  Yesterday I even tried to do the upgrade option on a Win 7 install and THAT errored out.  I'm also getting weird error messages every time I open up Adobe and I think most of my problems are related to corrupt system files.

    I tried to download .NET 2.0 to install it and was told I had to do the .NET management in the control panel.

    Below is a link to my SkyDrive.  The CBS.LOG file is embedded in the document.

    skydrive.live.com/redir

  126. Hi Pauly B – There are a lot of errors like the following in your cbs.log:

        HRESULT = 0x800703f9 – ERROR_NOT_REGISTRY_FILE

    Based on that, it sounds like something has gotten corrupted in your registry that is causing the Windows component store to not work correctly, which impacts the ability to run SFC, check and uncheck items in the Programs and Features control panel, etc.

    Unfortunately, I don't know for sure how to correct that type of error though, and I didn't find any definitive answers when I searched the forums.  I'd suggest trying to post a question about this issue on the Windows 7 forum at answers.microsoft.com/…/windows_7 and hopefully someone there can help provide some suggestions for you to try.

  127. Anonymous says:

    Hi Aaron. Please help me with my issue. I can not install .NET Framework neither 3.0 nor 3,5 version. The error note (v.3.0) is: Windows Communication Foundation: [2] Error: Installation failed for component Windows Communication Foundation. MSI returned error code 1603.

    Couple days ago I uninstalled 3.5 version as there were problems with some hotfixes to it. Then I could install only 1.1 and 2.0 versions. My failed installation logs files you can see at my ZIP file (skydrive.live.com)

    Can you find the cause of the problem? My OS is w.vistax86 SP2. Thank you.

  128. Anonymous says:

    Hi Aaron. I need your help. I ran that sfc/scannow on my computer. It showed that my computer has no problem. i tried to run the program again but it showed the same problem again "parser Error". What can i do now?

  129. Hi PawelB – Your logs show that the .NET Framework installer is having trouble when it tries to enable the .NET Framework 3.0 component that is included as a part of Windows Vista.  The other 1603 error is caused by trying to install the redistributable .NET Framework 3.0 component, which is not allowed on Windows Vista because that component is a part of Windows.

    Here are the steps that I suggest for this type of error:

    1.  Install the latest Windows service pack if you haven't yet.
    2.  Try to run the System Update Readiness Tool from support.microsoft.com/…/947821.

    3.  Try to repair the files that are a part of your OS by using the steps listed at blogs.msdn.com/…/how-to-repair-the-net-framework-2-0-and-3-0-on-windows-vista.aspx.

    If none of the above help, you might need to repair/re-install Windows to fix this type of error.  It might also help to post a question on one of the Windows forums to see if someone there has any additional suggestions for you to try before you resort to re-installing Windows.

  130. Hi Swastika – The parser error might be a problem with the program that you are trying to use as opposed to a problem with the .NET Framework.  What is the exact program that you're using, and what is the exact error message?

    It might help to search on the web site for the program's manufacturer to see if they have any known issues or patches.

  131. Anonymous says:

    Hi Aaron. Thank you very much for your answer. Unfortunately nothing helps. Every time I run the SFC tool it shows that damaged files have been found and successfully repaired. After system restarting, which is required, the problems remain the same. So are there in my case any corrupt files that SFC is enable to repair or not? Should I attempt to replace them as “how to guide” describes ? Could you please look at my CBS file I uploaded to my file server  (skydrive.live.com)? I would be appreciated.

  132. Hi PawelB – I looked at your CBS log, and it appears that the SFC repair worked correctly.  I don't see any errors in that log, but it does require a reboot to finish repairing some of the files.

    If running SFC didn't help solve your original issue, then I'd suggest trying the other steps in my previous reply – installing or re-installing the latest Windows service pack and trying the System Update Readiness Tool.

    If none of those steps help, then the only other thing I know of to suggest is to repair/re-install Windows.

  133. Anonymous says:

    Thank you, Aaron. Repairing/re-installing Windows seems to be necessary.

  134. Anonymous says:

    (Did it go through?)

    Hello Aaron,

    You are very smart, I am sure you can help me (thank you in advance).

    I am not able to install all the programs with setups that have inside Framework. I run Win 7 64bit, so I have Framework 3.5.1 in my OS directly. However, when I run these kind of setups, they don't seem to recognise that I HAVE 3.5.1. And so I can't go on with the installation because the setup fails to install the Framework 2.0 I don't even need.

    I tried anything.

    • I already turned on/off the features and subfeatures in the Control Panel
    • I used the repair tool from Microsoft.com

    • I already used sfc/scannow, nothing

    • they key ''HKEY_LOCAL_MACHINESOFTWAREMicrosoftNET Framework SetupNDPv3.5SP'' IS set at 1

    However, going around forums, I found out that I do NOT have this registry key

    ''HKEY_LOCAL_MACHINESOFTWAREWow6432NodeMicrosoftNET Framework SetupNDPv3.5SP''

    Could be this the problem? How could I solve it? I thank you in advance

  135. Hi Naomi – I don't think the SP registry key makes any difference in this scenario.

    Here are the steps that I suggest for this type of error:

    1.  Install the latest Windows service pack if you haven't yet.
    2.  Try to run the System Update Readiness Tool from support.microsoft.com/…/947821.

    3.  Try to repair the files that are a part of your OS by using the steps listed at blogs.msdn.com/…/how-to-repair-the-net-framework-2-0-and-3-0-on-windows-vista.aspx.

    If none of the above help, you might need to repair/re-install Windows to fix this type of error.  It might also help to post a question on one of the Windows forums to see if someone there has any additional suggestions for you to try before you resort to re-installing Windows.

  136. Anonymous says:

    Thanks for your kindness Aaron.

    My Win is updated. The point 2. doesn't work. This means that my OS is corrupted?

    I don't understand. My Frameworks do work. Otherwise many softwares in 64bits or in 32bits couldn't work.

    I just have a problem that is less heavy. The setups of 32bit softwares that require Framework seem not to see that Framework is present in my OS. They try to install Framework but they fail, since Frameowork is integrated in the OS. This problem is not present with setups of 64bit softwares. That's why I am asking if the ''Wow6432Node'' registry key is the issue. Because that is the one that rules the 32bit interface. Maybe with that registry key, the 32bit setups will see that I do have Framework and so I can go on with the setup.

  137. Hi Naomi – Based on the issue you describe, it does sound like there is a 32-bit (Wow6432Node) registry key missing that is making 32-bit applications think that the .NET Framework is not installed.  Running sfc.exe like this blog post describes will only repair missing files – it will not restore missing registry keys.  I don't know of a good way to fix this type of missing registry key, so my only suggestions are to compare the registry in a working computer to your registry and manually add any 32-bit .NET Framework registry keys that are missing, or to repair/re-install Windows to force it to re-create the missing registry keys.

  138. Anonymous says:

    Hey since you are THE Genius and Windows /Microsoft wont help me I figured I would ask u and c if u can shed light on this. I recently downloaded Microsoft Security Essenials for protection for my computer and uninstalled my old anti-virus Norton. No probs except recently Everytime I log on and turn my laptop on, under the Security Essentials, the Real Time Protection is turned OFF, and I have not done it. It is doing on it's own, and then I have to turn back ON but am wondering WHY this is happening and is this a secuity or Virus Issue? And how to Fix.

    Also, it seems I still have Windows Defender on my computer but I cant find under Uninstall to remove, (if that's the problem). Any suggestions? Or should I download more secure free software out there for all my protection, and if so which ones, and where at? Im not asking 4 much am I?????

    Thanks for your time and knowledge. I am just your average dummy when it comes to IT soooooooooo  be easy on the verbage and instructions if any answers. Thanks Kimmy

  139. Hi Kimmy – I don't have much experience with Microsoft Security Essentials.  For your question about why Real Time Protection keeps getting turned off on your computer, I'd suggest taking a look at the forums and support options for Microsoft Security Essentials at support.microsoft.com/…/15931.

    For the Windows Defender question, I'd suggest trying the steps listed at blogs.msdn.com/…/487096.aspx to see if they will allow you to fully uninstall the product.

  140. Anonymous says:

    Hi Aaron i sometimes have sign off problems on windows 8.1 that say the .net framework has stopped. how do i repair the .net on windows 8.1?

  141. Hi Tony – This type of error might mean that an application that uses the .NET Framework is crashing, or it could be a problem with the .NET Framework itself.  What is the exact text of the error message?

    If you want to try to repair the .NET Framework on Windows 8.1, you'll need to use steps like the ones at blogs.msdn.com/…/how-to-repair-the-net-framework-2-0-and-3-0-on-windows-vista.aspx.  Those steps were originally written for Windows Vista, but they also work for newer versions of Windows that include the .NET Framework as a part of the OS.

  142. Anonymous says:

    i run some software windows7. some software can't run windows xp. this software support NetFx20SP2_x86. i install NetFx20SP2_x86, after try to open the sofware. but cannot open. some software before open microsoft .net framework error msg box display [See the end of this message for details on invoking

    just-in-time (JIT) debugging instead of this dialog box.]

  143. Hi Ram – I'm not sure I understand the problem that you're describing.  Are you trying to install netfx20sp2_x86 on a Windows 7 computer and it is failing?  If so, that is expected to happen because Windows 7 includes the .NET Framework 2.0 SP2, 3.0 SP2 and 3.5 SP1 as a part of the OS, and there is no need to install it separately as a result.

    If I'm misunderstanding your issue, can you please provide more details so I can see if I can try to help?  The thing that would help the most is if you can provide the full text of the error message(s) that you are seeing and a more detailed description of exactly what you're trying to do at the time that you see the errors (are you trying to install something?  If so, what?  Or are you trying to run a program?  If so, what program?, etc).

  144. Anonymous says:

    i tried to install python framework, then i uninstall to save space,now my win 7 is broken and find this 'msvcd100.dll' requested to install this

  145. Hi mmasi – I'd suggest temporarily re-installing the Python framework, making a copy of that msvcd100.dll that it installs, then uninstall it again and put the file you copied back in the location that the Python framework installed it to.

  146. Anonymous says:

    Windows 7

    sfc /scannow > nothing to fix and still not fixed

    Cleanup tool > .Net 2,3,3.5 missing so can't clean and reinstall

    Turn Windows features on or off > .Net 3.5.1 is selected with a tick but still won't do crap

    none of the dotnetfx work (dotnetfx35settup.exe,dotnetfx35.exe)

    i'm so helpless here

  147. Hi DJz – The .NET Framework 3.5.1 is included as a part of Windows 7, and it cannot be removed or installed separately.  That is why you don't see it offered in the cleanup tool and why dotnetfx35.exe and dotnetfx35setup.exe don't work.

    Are you trying to use a .NET application on your Windows 7 computer and it won't run correctly?  If so, what is the exact error message that you see?

  148. Anonymous says:

    dev.bukkit.org/…/bukkitgui

    this is the app that i needed to launch, all the operating systems are more than enough.

    but i not sure is .net framework is working or not

    though i have no problem install Microsoft Visual Studio 2008 with no error

    that app just launch a few sec than auto gone,this may out of the topic to ask

    so in windows 7 .Net Framework is clearly working?

  149. Hi DJz – You can use the verification tool described at blogs.msdn.com/…/8999004.aspx to provide a quick sanity check about whether or not the .NET Framework is working correctly on your computer.  You can also try to run MMC because it uses the .NET Framework too.

    I'm not sure what would cause that app to launch and then disappear.  Do you see any errors or warnings in the Application Event Log after it disappears?  You might also want to ask the app's manufacturer if they have any known issues, patches or workarounds that you can try out.

  150. Anonymous says:

    I have seen this .Net Framework error since installing SP3 on VP in many different environments with many different types of workstations and servers. I understand how you say that these frameworks are a part of the OS in Vista(?) and Windows 7 but what I don't understand is why MS cannot come up with a fix for this. I understand that because these are different systems running different software and different versions of the different software etc. nut in their infinite wisdom one would think this problem could be fixed in a update for all systems still supported by Microsoft with a tool that must be run prior to a particular update can occur. I am now on a system that was upgraded from Vista to Windows 7 home and after running the scan nothing is found to be wrong however the error message continues. Until I run into something that was written in that framework Net 2.0 and requires it to NOT be imbedded, I could ignore it but I worry it'll be in something that I must use from old records (I do taxes and the carry forward from 3 yrs ago deductions might cause me to look back on some old stuff on an old CD backup of tax records and reinstalling the software from that time period) right in the middle of heavy tax time and Ill be enraged!

    I was told some years ago to uninstall all the SP and versions 4.0, 3.0, 2.5 if that's even one of them lol, etc and come forward. The problem is I afraid (would be great for you to say not to worry) that some may also require that the OS version this was upgraded FROM to be in residence? I do not wish to go back to Vista and then reinstall hundreds of updates for it as well as Windows 7. C

    Can you see in my having to go back that far or run some old software that wasn't written when 7.0 was in our brain where I will not be able to ignore this message? Also is there a way to get rid of the message?

    When I look into the system there isn't listed anything older than .Net 3.5.1. Can I  DOS a directory to see if the older ones are there just hiding and Windows 7 doesn't have cause to even look for them while operating yet perhaps ARE in fact hiding somewhere?

    This .Net 2.0 thing ever gonna go away? Its been going on in my life for over 4 yrs and I can not help but wonder….. I was able to fix it in XP by uninstalling as mentioned and coming forward but really! This is ridiculous

    I wish I saw more "thank you's" above here as I read and read, I saw too few!!!!!

    A BIG THANK YOU from me and an even bigger one for those asking questions that aren't involved with this thread but abuse your kindness and ask anyway, its because you ARE here for us and they don't wanna wait for others more neglectful and woefully less attentive than you, but come on people THANK THIS MAN!!!!!

  151. Anonymous says:

    OMGoodness I found tons of .Net in windows.old directory answered one a my questions, so theyre there lol but can I take them outta there or make them visable to this OS? not VP XP sorry, above question, should've read before posting, forgive?

    Thanks again

    My message is that I need .Net Framework 2.0 to run  certain things and it does not exist then takes me to a link to download it sort of not directly to it, haveta read to find the exact one for this system blah blah blah It is there at each restart or hard start thank you again!

  152. Hi AliciaD – What is the exact .NET Framework error message that you're seeing on your computer currently?

    The Windows.old directories contain files that are left behind from your old OS after an OS upgrade.  The .NET Framework files in those folders are only left behind for backup purposes and can't be used anymore.

    Windows 7 includes the .NET Framework 2.0 SP1, 3.0 SP1 and 3.5 SP1 as a part of the operating system.  Here are some steps that I typically recommend that people use to try to repair the versions of the .NET Framework that are installed as a part of the OS:

    1.  Install the latest Windows service pack if you haven't yet.
    2.  Try to run the System Update Readiness Tool from support.microsoft.com/…/947821.

    3.  Try to repair the files that are a part of your OS by using the steps listed at blogs.msdn.com/…/how-to-repair-the-net-framework-2-0-and-3-0-on-windows-vista.aspx.

    If you have .NET Framework issues on Windows XP, then I recommend trying to use the tools and steps listed at blogs.msdn.com/…/8108332.aspx to try to repair or uninstall/re-install the .NET Framework.

  153. Anonymous says:

    Hi Aaron,

    Trying to get the Nexus Mod Manager (at http://www.nexusmods.com/…/modmanager) running on Win 7 64 bit. The exception is thrown:

    Badformatexception: "Could not load file or assembly 'System.Xml.Linq, Version=3.5.0.0"

    System.Xml.Linq is in WindowsAssembly

    Net 3.5.0 not in "Programs & Features"- as you have said, it's pre-bundled with Win 7.

    Have Net 4.0 & 4.5 and VS10.

    Net 3.5.1 in "Turn Windows Features On/Off" -is this based on System.Xml.Linq, Version=3.5.0.0?

    As described in above posts, running dotNetFx35setup.exe from Microsoft does nothing- not even an exception.

    Downloaded the above link for Win64 didn't do anything either. Went into the archive and ran clwireg_x64.exe which succeeded.

    Running netfx35_x64.exe in the archive gets "Please run the setup" message.

    Tested ok with Malware bytes.

    Ran sfc/scannow per instruction, searched cbs/log for corrupt, the only "corrupt" file was winhlp32.exe I copied a while ago to get the help in an old 32bit program working. Are there other search strings for the log?

    Ran your fine "netfx_setupverifier.exe" (btw blogs.msdn.com/…/8999004.aspx. in the readme gets a 404)

    There were no problems.

    Do have "HKEY_LOCAL_MACHINESOFTWAREWow6432NodeMicrosoftNET Framework SetupNDPv3.5SP" set at 1

    Interestingly the version key there is "3.5.30729.5420"

    Downloading the update readiness tool (436 mb) now

    Attempted to load and debug the source snapshot release code (at sourceforge.net/…/tree)

    into VS10 with System.NotImplementedExceptions in the properties of settings.cs. The first automatic property is "TempPathFolder".

    It's just a property we haven't got to the calling routine yet! We get the same result whether the target Net framework is 3.5 or 4.0.

    Thanks for your interest!

  154. Hi Laurie Stearn – The .NET Framework 3.5.1 that comes with Windows 7 includes assemblies with version 3.5.0.0.  Because the .NET Framework 3.5.1 comes with Windows 7, you can't install it using netfx35_x64.exe, you have to use the Windows Features control panel (optionalfeatures.exe).

    SFC unfortunately does not replace missing files in the global assembly cache (GAC), which is where that application is trying to load System.Xml.Linq from.

    It might help to try to copy System.Xml.Linq from another Windows 7 computer to the location in c:windowsassembly on your computer in case it got corrupted somehow.  It might also help to install Windows 7 SP1 if you haven't yet.

    If none of the above help, you might need to repair/re-install Windows to fix this type of error.  It might also help to post a question on one of the Windows forums to see if someone there has any additional suggestions for you to try before you resort to re-installing Windows.

    Also, I tried the link in the setup verifier readme and it redirected correctly for me, so I'm not sure why you were getting a 404.  The user's guide can be found at blogs.msdn.com/…/8999004.aspx and I've updated the readme to use this new location.  The next time I publish an update to the verification tool, the updated readme will be included.

  155. Anonymous says:

    Thanks for the reply!

    The readme link didn't the "archive" bit in. Anyway, you have fixed it, thanks.

    The the update readiness tool was run, didn't do too much, no problem.

    Would deselecting and reselecting Net 3.5.1 in "Turn Windows Features On/Off" have the same effect as re-installing Windows on repairing Net 3.5.0?

    XML.Linq is in system.core.dll in three locations:

    winsxsx86_netfx35linq-system.core_31bf3856ad364e35_6.1.7601.17514_none_6161fc35ed136622

    winsxsamd64_netfx35linq-system.core_31bf3856ad364e35_6.1.7601.17514_none_bd8097b9a570d758

    winsxsmsil_system.core_b77a5c561934e089_6.1.7601.17514_none_9fdff949ac90febf

    All exactly the same size and version.

    Using GACadmin, scrolling down to System.xml.linq it's got a Public key token, but no version against it! Will attempt to copy a file over it, but can only D/L from internet. Wish me luck!

  156. Hi Laurie Stearn – Unfortunately, de-selecting and re-selecting the .NET Framework 3.5.1 isn't exactly the same as what happens during a Windows repair/re-install.  That being said, if you haven't tried it yet, I'd suggest that you try doing that to see if it helps.

    The exact assembly that is being looked for based on the error message you posted earlier should be in the folder C:WindowsassemblyGAC_MSILSystem.Xml.Linq3.5.0.0__b77a5c561934e089 on your computer.  Can you take a look and see if you have System.Xml.Linq.dll at that location?

  157. Anonymous says:

    Hi again, Aaron,

    Thanks for the reply:

    Turned it off and on- hah turning it off got an old comdialog message to restart the computer.

    Switched it back on, no change.

    And no, there isn't a GAC_MSIL subdirectory in C:Windowsassembly.

    However, there is in C:WindowsMicrosoft.NET

    C:WindowsMicrosoft.NETassemblyGAC_MSILSystem.Xml.Linqv4.0_4.0.0.0__b77a5c561934e089

    Yech- not the version of the file we want!

    Installed System.XML.Linq Extensions in VS10, and get a new bunch of errors:

    (There was a new dir "NexusClient-SystemXmlLinq" created by VS10 containing three files

    Formats.cs

    XAttributeExtensions.cs

    XElementExtensions.cs

    Building gets:

    Error 44 'string' does not contain a definition for 'IsNullOrWhiteSpace' NexusClient-SystemXmlLinqXAttributeExtensions.cs

    I replaced this with IsNullOrEmpty

    Error 71 'System.Version' does not contain a definition for 'Parse' NexusClient-SystemXmlLinqXElementExtensions.cs

    This is more problematic. Going nowhere fast here. 🙁

  158. Hi Laurie Stearn – That doesn't make any sense to me.  There isn't a GAC_MSIL directory at all?  If so, that means that all of the assemblies from the .NET Framework 2.0, 3.0 and 3.5 are missing.  If that is the case, you'll likely need to repair/re-install Windows 7 to restore all of those files.

  159. Anonymous says:

    Hi again Aaron,

    sorry for the confusion- the folder was hidden from view! The "Assembly Cache Viewer" had me fooled.

    Typing  "%windir%assemblyGAC_MSIL" in Windows/Run solved this.

    The version details of the xml.Linq were missing. Dunno how that happened.

    Copied the linq file over from the Windows Install disk.

    Hey presto, back in business.

    Another satisfied customer, -thanks for your leads! 🙂

  160. Anonymous says:

    Well It is not working for me.. Even I read all the links.. I am using Windows 7 Ultimate..

  161. Hi Armian Industry – Can you please provide more detail about the problem that you're seeing?  What exact errors do you see, and what exact steps did you try that are not working?

  162. Anonymous says:

    Heya, I've recently been having issues running a few programs, giving me a "blahblah.exe has stopped working" with this error:

    Description:

    Stopped working

    Problem signature:

    Problem Event Name: CLR20r3

    Problem Signature 01: ck2game.exe

    Problem Signature 02: 0.0.0.0

    Problem Signature 03: 4f338fd9

    Problem Signature 04: mscorlib

    Problem Signature 05: 2.0.0.0

    Problem Signature 06: 503f01b1

    Problem Signature 07: 1b2b

    Problem Signature 08: c

    Problem Signature 09: System.IO.FileLoadException

    OS Version: 6.1.7601.2.1.0.256.1

    Locale ID: 4105

    I'm running Windows 7 Ultimate 64bit

    I've searched the 11 pages of comments and the only CLR20r3 I found had a completely different Problem Signature 04 and 09.

    Steps I've taken, based on what I found when googling my problem:

    -Repaired 4.5.1 via Control Panel->Programs and Features. No issues repairing, but problem persists.

    -Ran the .NET Framework Repair Tool. No issues, but problem persists.

    -Uninstalled/Reinstalled .NET 4.5.1. No issues with installation, but problem persists.

    -Ran the .NET Framework Verification Tool, results:

    — 4.5.1, Product verification successful

    — 4.5, Product verification successful

    — 4 Full, Product verification successful

    — 4 Client, Product verification successful

    — 3.5 SP1: CLR20r3 error:

    Description:

     Stopped working

    Problem signature:

     Problem Event Name: CLR20r3

     Problem Signature 01: netfx20testapplication.exe

     Problem Signature 02: 1.0.0.0

     Problem Signature 03: 48ee8430

     Problem Signature 04: mscorlib

     Problem Signature 05: 2.0.0.0

     Problem Signature 06: 503ef855

     Problem Signature 07: 1b7e

     Problem Signature 08: 10

     Problem Signature 09: System.IO.FileLoadException

     OS Version: 6.1.7601.2.1.0.256.1

     Locale ID: 4105

    — 3.0 SP2: CLR20r3 error, identical to above

    — 2.0 SP2: CLR20r3 error, identical to above

    -Ran "sfc /scannow" command in cmd.exe under Administrator mode, no issues found, problem persists.

  163. Anonymous says:

    …continued

    -Ran "%windir%Microsoft.NETFrameworkv2.0.50727ngen.exe update" command in cmd.exe under Admin mode, results:

    Microsoft (R) CLR Native Image Generator – Version 2.0.50727.5420 Copyright (c) Microsoft Corporation. All rights reserved.

    Failed to load dependency stdole of assembly Microsoft.VisualBasic.Compatibility, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a because of the following error : The system cannot find the file specified. (Exception from HRESULT: 0x80070002)

    Failed to load dependency MSDATASRC of assembly Microsoft.VisualBasic.Compatibility.Data, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a because of the following error : The system cannot find the file specified. (Exception from HRESULT: 0x80070002)

    Failed to load dependency ADODB of assembly Microsoft.VisualBasic.Compatibility.Data, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a because of the following error : The system cannot find the file specified. (Exceptionfrom HRESULT: 0x80070002)

    Failed to load dependency Microsoft.StdFormat of assembly Microsoft.VisualBasic.Compatibility.Data, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a because of the following error : The system cannot find the file specified. (Exception from HRESULT: 0x80070002)

    All compilation targets are up to date.

    Not sure where to go from here. I've just been googling my problem and trying anything/everything short of reinstalling Windows.

  164. Hi Kelven – From the information you posted, it sounds like one or more files needed by the .NET Framework 2.0 are missing from your computer.  The .NET Framework 2.0 is included as an OS component on Windows 7, and it can't be repaired separately from the OS.  Here are the steps I normally recommend for this type of problem:

    1.  Install the latest Windows service pack if you haven't yet.
    2.  Try to run the System Update Readiness Tool from support.microsoft.com/…/947821.

    3.  Try to repair the files that are a part of your OS by using the steps listed at blogs.msdn.com/…/how-to-repair-the-net-framework-2-0-and-3-0-on-windows-vista.aspx.

    If none of the above help, you might need to repair/re-install Windows to fix this type of error.  It might also help to post a question on one of the Windows forums to see if someone there has any additional suggestions for you to try before you resort to re-installing Windows.

  165. Anonymous says:

    Hey Aaron, thanks for the quick reply.

    1. I have Win7 SP1, which I believe is the latest.
    2. Ran the System Update Readiness Tool. It had me install a single update, which didn't solve the issue.

    3. I have already attempted the "sfc /scannow" command, which returned no errors.

    Regarding repairing/re-installing Windows, I was hoping to avoid that since I no longer possess the Win7 DVD nor the product code. I have had a post up on the sevenforums.com site for over a week now with no luck.

    Would the steps detailed in this guide be of use? blogs.msdn.com/…/8904493.aspx

  166. Hi Kelven – You linked to the .NET Framework cleanup tool. That tool does not allow you to remove versions of the .NET Framework that are installed as a part of the OS, so that won't help in your situation because the .NET Framework 2.0 is installed as a part of the OS on Windows 7.

    If repairing Windows isn't an option, I think you will need to figure out what files are missing from your computer and then try to copy them from another Windows 7 computer. The log file from the .NET Framework setup verification tool should list any missing .NET Framework files. If you can upload your verification log file to a file server (such as http://onedrive.live.com) and post a link here, I'll take a look and see if I can help you come up with an exact list.

  167. Anonymous says:

    Hey Aaron, thanks again for the help

    I'll run the verification tool and check the logs for anything. If there's something I'm unsure of I'll upload the logs for you to take a look at.

    In regards to copying missing files from another Win7 computer, does it have to be from the exact same version of Win7? IE: I have Ultimate 64bit, so would I need to find someone else with Ultimate 64bit, or would any 64bit version (Home, Pro) suffice?

  168. Hi Kelven – You don't have to have the same edition of Windows because all editions have the same version of the .NET Framework.  You do need to have the same bitness (32-bit or 64-bit) and the same service pack level though.

  169. Anonymous says:

    Hey Aaron,

    Ok so I did what you said. As I stated in an earlier post I already tried the verification tool, and it crashes with the same CLR20r3 error when it attempts to verify 3.5, 2.0 and 1.0. So what I did was ran the verification tool on my friend's Win7 Ultimate 64bit system, used the log file to get a list of the relevant files, and copied ALL of them over to my system, replacing them all, which solved the problem. So everything seems to be working now! Not too sure if it was the smartest idea to do it that way, but at that point, if it didn't work, I was ready to just wipe the entire drive, and go out and buy Win8.

    Anyways, thanks a lot for the help! After over a week of trying to fix this, I remember why I stopped working in tech support 15 years ago.

  170. Hi Kelven – Sorry for the hassles here.  The verification tool should have done some file and registry validation prior to the CLR20r3 error and the log file should show exactly which files were missing from your computer.  A full copy of all of the .NET Framework files should be safe in this scenario too though.  I'm glad to hear that things are working again for you.

  171. Anonymous says:

    I am getting install errors saying that I need Framework 3.5 installed to run the install … but all versions thru 4.5 are installed.

    I ran the Framework Verification tool on every version from 2.0 thru 4.0 and it says they are all good.

    I also ran sfc and while it did show a few errors they were all either 'Themes' files or 'SXS' files – which it says it fixed.

    Now I find that I can not even open any of my Visual Studio 2008 projects because it says 'sorttbls.nlp' is not found.

    (I checked the Framework 2.0 directory and the file is there)

    This is a brand new pc I just got 2 weeks ago with a fresh copy of Windows 7. I have added multiple versions of Visual Studio and a few databases (Oracle, DB2 and SQL Server) plus a variety of developer tools and extensions, but nothing that wasn't on my old XP system – which worked fine.

    Any idea where I can look next since all the 'verification' tools seem to be saying everything is good.

    (All problems refer to Framework 2.0 thru 3.51. I have no problems working with my VS 2010 or 2012 projects)

  172. Hi Mike Dempsey – The .NET Framework 3.5 is included as a part of the OS on Windows 7.  It is on by default, but it can be disabled in the Windows Features control panel.  I'd suggest making sure that it is enabled there as a first step.

    In some cases, applications are not able to correctly detect that the .NET Framework 3.5 is installed when it is a part of the OS.  To see if that is the case, I typically recommend looking on the application manufacturer's web site to see if they have any patches or updates to address Windows 7 application compatibility issues.

    There are multiple locations where the .NET Framework expects to find sorttbls.nlp – in the .NET Framework directory and in the global assembly cache (c:windowsassembly).  I'm guessing that it is missing from the latter location on your computer.  If you look in the log from the verification tool and search for warnings, it will tell you if that file is missing.  Unfortunately, SFC does not restore files if they are missing from the global assembly cache, so if it is missing, you will probably need to copy it manually from another Windows 7 computer to restore it.

  173. Anonymous says:

    You are correct. It exists in both 32 and 64 bit versions of the Microsoft.NetFramework directories but I don't see any mention of it in the GAC. (I used the old Norton NT File Manager to check the actual GAC directories rather than the useless 'blended' directory that Explorer shows.)

    I can't simply copy a file to the GAC though.

    When I tried to use 'gacutil -i' I got the error message "Failure adding assembly to the cache:  The filename, directory name, or volume

    label syntax is incorrect."

    (Maybe because it is not a dll with a strong name?)

    So how do I get the file into the GAC. (Or is there a way to tell VS [and other apps] not to look there and just get it from the Framework directory instead.

  174. Hi Mike Dempsey – Gacutil can only be used to add .dll files to the GAC – it won't work for .nlp files.  What I've seen people do in the past is open an administrator cmd prompt and manually copy the files to the GAC folder locations.  Here is where that .nlp file appears on my 64-bit version of Windows:

    C:WindowsassemblyGAC_32mscorlib2.0.0.0__b77a5c561934e089

    C:WindowsassemblyGAC_64mscorlib2.0.0.0__b77a5c561934e089

  175. Anonymous says:

    OK, Thanks.

    I already realized that by using my old (1996 Norton NT) File Manager I could directly copy the missing files. [It allows me to do many things that the windows Explorer doesn't … even after 18 years!]

    I had not looked at the log from the verification tool since the message seemed to say everything was OK … I was expecting a specific messages if there were errors or warnings. When I checked the log I found that all 13 of the nlp files were missing from the GAC. It gave me their exact path so I simply copied them and now everything is working.

    Based on other comments on this thread I suspect it was the system restore I had to do after a Windows update screwed up my system that caused the original problem.

    Thanks for the help.

  176. Anonymous says:

    Hi,

    I'm using a windows 7, Can you still help?

    I have run a sfc /scannow and then typed in

    " findstr /c:"[SR]" %windir%LogsCBSCBS.log >"%userprofile%Desktopsfcdetails.txt" " Which created a .txt document to read the errors I got. What Should I do now?

    This is the error I get by the way:

    Bad Image

    "c:WindowsMicrosoft.NETFrameworkv2.0.50727diasymreader.dll"

  177. Hi Mike Dempsey – I'm glad to hear that you were able to solve this problem.  The verification tool only reports errors via the UI.  For warnings, it lists them in the log file but doesn't do any additional reporting.  The reason that it only reports warnings for missing files is that a missing file doesn't necessarily mean that the entire .NET Framework is broken.

  178. Hi Gerard – If the SFC command didn't replace the bad copy of diasymreader.dll, then you will likely need to find a copy of that file on your original installation disc or on another Windows 7 computer and copy it to the c:WindowsMicrosoft.NETFrameworkv2.0.50727 folder on your computer to fix this error.

  179. Anonymous says:

    Hi Aaron!  I was running a systems update a couple of weeks ago and recieved an error code: 646…afterward, when restarting the system, I received a "Required System Software Not Installed"!  The system not installed was, Microsoft .NET Framework Version 2.0.  It directed me to Microsoft free instaliation.  When I downloaded the 2.0 version, I received and "already installed" message.  I rebooted and again recieved the "not installed" message.  Now my sound is out, although I still have headphone sound.  It seems like I'm in a loop.  I tried your recommendation of "sfc/scannow" and received the message: Windows Resourse Protection did not find any integrity violations."  Now what do I do…and what is a 646 error code?  Also…I tried the uninstall and reinstall of the printer that was recommened in other sites….didn't work!

  180. Hi Scott – I'm sorry for the hassles you're running into here.  What exact version of Windows do you have on your PC?  It sounds like you may need to try to repair the .NET Framework, but the steps you'll need to use to do that depend on what version of Windows you're using.

  181. Anonymous says:

    I'm using Windows 7 Home Premium, Aaron.

  182. Hi Scott – Windows 7 includes the .NET Framework 2.0 as an OS component and it isn't possible to remove it.  Here are the steps I usually recommend that people try to use to repair the .NET Framework 2.0 OS component on Windows 7:

    1.  Install the latest Windows service pack if you haven't yet.
    2.  Try to run the System Update Readiness Tool from support.microsoft.com/…/947821.

    3.  Try to repair the files that are a part of your OS by using the steps listed at blogs.msdn.com/…/how-to-repair-the-net-framework-2-0-and-3-0-on-windows-vista.aspx.

    If none of the above help, you might need to repair/re-install Windows to fix this type of error.  It might also help to post a question on one of the Windows forums to see if someone there has any additional suggestions for you to try before you resort to re-installing Windows.

  183. Anonymous says:

    Hi Aaron, thanks a lot this blog really help to fix my computer problem.

  184. Anonymous says:

    Hi Aaron

    I've got quite a conundrum. I'm using 64 bit win7 and I need C++ 2012 (86x) installed, because I lack msvcp110.dll in system 32 according to some programs and games (I've tried downloading it separetely but to no avail).There is one problem though. Installing it screws up my .net framework 2 and in consequence .net 3&3.5 (I need those too)

    System recovery furtunately is able to restore net to its working state but it resets vc++. Installing vc++ 2012 (64x) doesn't do the trick as msvcp110.dll is still supposedly missing. I'm on edge here, its my third reinstall and I'm close to giving up.

    Also, about 2 os reinstalls ago, when I didn't know that vc++ is rendering net inoperable, I've tried most, if not all, suggestions included in your post and comments. I even bothered to copy all files from %windir%assembly and %windir%Microsoft.NET folders from a working pc,so repairing net after vc++ is a no go.

    Please excuse my rusty english.

  185. Hi Polish Simon – It should be possible to install and use the VC++ 2012 redistributable and the .NET Framework 2.0 and 3.5 on the same computer.  What are the exact issues that you see with the .NET Framework when you have both of those installed at the same time?

  186. Anonymous says:

    I turned windows turn on and activated Microsoft framework3.5.1 after sometime error occured as "all features cannot be installed succesfully"

    What i Need to do to work it properly any one help me

  187. Hi Rushi – Here are the steps that I suggest for this type of error:

    1.  Install the latest Windows service pack and updates if you haven't yet.
    2.  Try to run the System Update Readiness Tool from support.microsoft.com/…/947821.

    3.  Try to repair the files that are a part of your OS by using the steps listed at blogs.msdn.com/…/how-to-repair-the-net-framework-2-0-and-3-0-on-windows-vista.aspx.

    If none of the above help, you might need to repair/re-install Windows to fix this type of error.  It might also help to post a question on one of the Windows forums to see if someone there has any additional suggestions for you to try before you resort to re-installing Windows.

  188. Anonymous says:

    Hey Aaron, been fighting this battle for sometime now and hope you might be able to shed some light.

    Server 2012 / IIS 8

    I'm hosting developmental ASP .net apps and now the time comes to be able to host 4.5.1.  I've validated that both 4.5.1 and 4.5.2 are installed with:

    netfx_setupverifier.exe /q:a /c:"setupverifier2.exe /a" (.NET Framework 4.5.1 Product Verification Succeeded)

    have also run checks against each version with Success.  

    When I run

    DISM.exe /Online /Cleanup-image /Restorehealth no errors are found. Each time it reports it found and repaired component store corruption. 100% complete

    Also run the Framework Repair Tool and tried reinstalling 4.5.1 and keep getting "failed with 0x80070643 – Fatal error during installation."  

    I've tried installing from the WEb package and the Developer edition. Same errors, install fails.

    I do have Microsoft Visual C++ 2010 x64 Redistributable Package Version = 10.0.40219 install successfully.

  189. Hi Jimmi – The .NET Framework 4.5.2 is a full replacement for the .NET Framework 4.5.1 (as well as the .NET Framework 4 and 4.5).  If you have the .NET Framework 4.5.2 installed, you cannot re-install the .NET Framework 4.5.1, but you also don't need to because all of the functionality in 4.5.1 is included in 4.5.2.

    If you have some application that specifically requires 4.5.1 and doesn't work with 4.5.2, the only way you'll be able to re-install it is to uninstall 4.5.2 first.

  190. Anonymous says:

    Hey Aaron, – Ok yes I understand this but my 4.5.2 is behaving with the same results as mentioned. The applications will work with 4.5.2 we were just verifying and troubleshooting the installation of 4.5.1 as apps will only work under 4.5 currently.

    When we try to uninstall 4.5.2 or 4.5.1 it is not shown under the available Programs and Features and neither does it show up under Roles/Features/IIS and the IIS App Pool.

  191. Hi Jimmi – I'd suggest using the steps listed at blogs.msdn.com/…/487096.aspx to see if you can locate and manually uninstall any .NET Framework 4.5.1 and 4.5.2 components that might be present on your PC, then try again to re-install the .NET Framework 4.5.1 or 4.5.2.

    If the re-install still fails, please use the tool described at blogs.msdn.com/…/6458047.aspx to collect all of your setup log files, upload the file named %temp%vslogs.cab that this tool will create to a file server (such as http://onedrive.live.com), and then reply back here and provide a link that I can use to download your log files and take a closer look.

  192. Anonymous says:

    Hello all,

    I have the followi9ng error when i try to execute cdr creator application.

    I have installed .NET 2.0 and 4.5.2 and marked 3.5 to be part of Windows 7 Enterprise.

    How can be resolve the issue.

    See the end of this message for details on invoking

    just-in-time (JIT) debugging instead of this dialog box.

    ************** Exception Text **************

    System.NullReferenceException: Object reference not set to an instance of an object.

      at CDRCreator.frmLogin.btOK_Click(Object sender, EventArgs e)

      at System.Windows.Forms.Control.OnClick(EventArgs e)

      at System.Windows.Forms.Button.OnClick(EventArgs e)

      at System.Windows.Forms.Button.PerformClick()

      at System.Windows.Forms.Form.ProcessDialogKey(Keys keyData)

      at System.Windows.Forms.Control.ProcessDialogKey(Keys keyData)

      at System.Windows.Forms.Control.PreProcessMessage(Message& msg)

      at System.Windows.Forms.Control.PreProcessControlMessageInternal(Control target, Message& msg)

      at System.Windows.Forms.Application.ThreadContext.PreTranslateMessage(MSG& msg)

    ************** Loaded Assemblies **************

    mscorlib

       Assembly Version: 2.0.0.0

       Win32 Version: 2.0.50727.5483 (Win7SP1GDR.050727-5400)

       CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll


    CDRCreator

       Assembly Version: 2.0.0.0

       Win32 Version: 2.0.0.0

       CodeBase: file:///C:/Program%20Files%20(x86)/Accenture/CDRCreator/CDRCreator.exe


    System.Windows.Forms

       Assembly Version: 2.0.0.0

       Win32 Version: 2.0.50727.5483 (Win7SP1GDR.050727-5400)

       CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll


    System

       Assembly Version: 2.0.0.0

       Win32 Version: 2.0.50727.5485 (Win7SP1GDR.050727-5400)

       CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll


    System.Drawing

       Assembly Version: 2.0.0.0

       Win32 Version: 2.0.50727.5483 (Win7SP1GDR.050727-5400)

       CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll


    Oracle.DataAccess

       Assembly Version: 10.2.0.100

       Win32 Version: 10.2.0.100

       CodeBase: file:///C:/Program%20Files%20(x86)/Accenture/CDRCreator/Oracle.DataAccess.DLL


    System.Data

       Assembly Version: 2.0.0.0

       Win32 Version: 2.0.50727.5483 (Win7SP1GDR.050727-5400)

       CodeBase: file:///C:/Windows/assembly/GAC_32/System.Data/2.0.0.0__b77a5c561934e089/System.Data.dll


    System.Xml

       Assembly Version: 2.0.0.0

       Win32 Version: 2.0.50727.5483 (Win7SP1GDR.050727-5400)

       CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll


  193. Hi Koichev – This looks like a bug in the application that you're trying to use and not a problem with the .NET Framework itself.  I'd suggest searching on the web site for the manufacturer of the application to see if they have any known issues or patches that you can install to try to fix this issue.

  194. Anonymous says:

    Aaron, I am one of those end users and having trouble with a Roxio VHS USB data capture device.I am getting:

    ************** Exception Text **************

    System.AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt.

      at System.Windows.Forms.UnsafeNativeMethods.CallWindowProc(IntPtr wndProc, IntPtr hWnd, Int32 msg, IntPtr wParam, IntPtr lParam)

      at System.Windows.Forms.NativeWindow.DefWndProc(Message& m)

      at System.Windows.Forms.Control.DefWndProc(Message& m)

      at System.Windows.Forms.Control.WndProc(Message& m)

      at System.Windows.Forms.AxHost.WndProc(Message& m)

      at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)

      at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)

      at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


    I have the rest of the details in a text file that won't fit in this post. I ran sfc /scannow. The result:"Windows Resource Protection found corrupt files but was unable to fix some of them. Details are included in the CBS.Log. Again, I'm not sure how to get this file to you. Can I put these files on Dropbox or somewhere and EMail you the credentials to access them. To me it's more than looking for a needle in a haystack; I just don't know what haystack to look in. Thank you for any help you can provide

  195. Hi Chas Topkis – The error you describe is most commonly a problem with the application itself and not a problem with the .NET Framework.  I'd suggest that you search on the web site for the application's manufacturer to see if they have any known issues or patches that will address this issue.

  196. Anonymous says:

    Thank you. I have been working with Corel support. The agent has tried to be very helpful but needed to turn the issue over to the software engineers. They have not been very responsive. So you don't think the message indicating some corrupt files is a problem? Thanks again.

  197. Hi Chas Topkis – It is theoretically possible that this type of error could be caused by corrupt .NET Framework files, but in my past experience, that isn't very likely.  The exception looks more likely to be coming from the application itself.  There might be more details about this crash in the Application event log on your PC to help narrow it down further.

  198. Anonymous says:

    Thanks Aaron, I did run across a posting about DISM and I ran the Scanhealth and restorehealth options. I went back and reran SFC /Scannow and it said everything was now fine. I will start looking at the application event log per your suggestion. I do appreciate the assistance.

  199. Anonymous says:

    I am having trouble with .net framework v2.0.50727

    .

    whenever i try to open HD launchers its shows

    "Configuration parser error

    error parsing

    c:windowmicrosoft.netframeworkv2.0.50727configmachine.config

    parser returned error 0xC00CE556"

    .

    pls help me and my system is windows 7 ultimate.

  200. Hi Sidhu – Here are the steps that I would recommend that you try in this scenario:

    1.  Go to c:WindowsMicrosoft.NETFrameworkv2.0.50727CONFIG and rename machine.config to machine.config.backup

    2.  Make a copy of machine.config.default and rename it to machine.config

    3.  Reboot your PC

    Hopefully this will help resolve this error.

  201. Anonymous says:

    I did the following steps and stopped showing configuration error.But the programme doesn't work!!! plss help

  202. Hi Sidhu – Are you seeing any specific error messages?  Also, do you see problems only with these HD launcher applications or also for other .NET Framework applications?

    If the errors are specific to these HD launcher applications, then you may need to repair/reinstall the applications or search on the web site for the application manufacturer to see if they have any workarounds or patches.

    If the errors happen for all .NET Framework applications, then you may want to try the following steps to repair the version of the .NET Framework that is installed as a part of Windows 7:

    1.  Install the latest Windows service pack and updates if you haven't yet.

    2.  Try to run the System Update Readiness Tool from support.microsoft.com/…/947821.

    3.  Try to repair the files that are a part of your OS by using the steps listed at blogs.msdn.com/…/how-to-repair-the-net-framework-2-0-and-3-0-on-windows-vista.aspx.

  203. Anonymous says:

    Hey Aaron,

    I'm having awful trouble and I keep getting posted to your site through links.

    I have sony Movie Studio 13, but it wont run due to "The Microsoft.NET runtime could not be initialized"

    Looking up, it needs Microsoft.NET 4.0, I have 3.5.1 (Windows 7 Home Premium)

    I tried installing .Net 4.0 and it comes up with "FATAL ERROR"

    Windows Update fails on .NET 4 client profile for windows x64

    I've tried running sfc/scannow and it shows no errors.

    I've tried your check tool and shows no errors.

    I've tried stopping and re-starting the .NET to no joy.

    I wanted to uninstall and re-install but as you've said it's not possible.

    I do not want to do a full windows install!!! But a bit lost what to do next…. any help? Please?

  204. Hi Mark Lee – Can you please use the tool described at blogs.msdn.com/…/6458047.aspx to collect all of your .NET Framework 4 setup log files, upload the file named %temp%vslogs.cab that this tool will create to a file server (such as http://onedrive.live.com), and then reply back here and provide a link that I can use to download your log files and take a closer look?

  205. Anonymous says:

    Hey Aaron, thanks for the quick reply.

    Here is the link to my VSLOGS.CAB file: onedrive.live.com/redir

    Many Thanks

  206. Hi Mark Lee – This is the error that I see in your log file:

        MSI (s) (C8!4C) [20:18:13:012]: SECREPAIR: A general error running CryptAcquireContext

        …

        MSI (s) (C8!4C) [20:18:13:012]: SECREPAIR: Crypt Provider not initialized. Error:997

        MSI (s) (C8!4C) [20:18:13:012]: SECUREREPAIR: Failed to CreateContentHash of the file: 1035SetupResources.dll: for computing its hash. Error: 997

    It looks like you're hitting the issue described at blogs.msdn.com/…/error-997-overlapped-i-o-operation-is-in-progress-kb2918614-breaks-windows-installer-service.aspx.  Can you please try the workaround listed there and see if it helps in your scenario?

  207. Anonymous says:

    Hey Aaron, thanks for looking into this for me, I really appreciate it. Unfortunately it didn't work. I needed to get a video project done so I opted for a very late night with little sleep doing a fresh OS install to get it all working. A right royal pain in the butt!

  208. Anonymous says:

    Aaron,

    I've been fighting with a Windows 2008 R2 server for about a week now. Stupidly, I tried removing .NET v2 (and any of it's variants) manually and royally screwed my server (obviously). I want to know migrate the server to 2012, but I need to do a backup of IIS which requires WebDeploy which runs on the .NET framework. I can't get any .NET versions to install. I've tried the cleanup tool, I've tried SFC, and everything else I can find to fix it and nothing has helped. Can you take a look at my log files and see if you see anything that can at least make it so I can install .NET and get my IIS migrated?

    uflorida-my.sharepoint.com/…/guestaccess.aspx

    Thanks

  209. Hi Jaime Carreon – I downloaded your vslogs.cab, and the logs from .NET Framework 2.0 and 3.5 setup both show that setup is exiting without doing anything because you're running on a version of Windows where those versions of the .NET Framework are included as a part of the OS, and you're not allowed to run the redistributable setup programs in that situation.  The SFC command line listed at the top of this blog post might help restore these versions of the .NET Framework on your PC.  If that doesn't work, you might need to repair Windows to fully restore them.

    I don't see any logs for the .NET Framework 4 or higher in your vslogs.cab – did you try to install any of those?  If so, what exact error did you see?

  210. Anonymous says:

    Hello everyone especially to Mr. Aaron Stebner.

    I've been reading the comments and I think you're the guy that will help me to solve(hopefully) this problem of mine.

    A few days ago. I tried to play a game named Ghost recon phantoms, It's an online game from steam. It was working well before but suddenly when I tried running it again There's an error that shows up preventing it from launching. It says "Launcher has Stopped working" and here is the error.

    Description:

     Stopped working

    Problem signature:

     Problem Event Name: CLR20r3

     Problem Signature 01: launcher.exe

     Problem Signature 02: 1.36.8102.2

     Problem Signature 03: 55630bf0

     Problem Signature 04: PresentationCore

     Problem Signature 05: 3.0.0.0

     Problem Signature 06: 5541ab70

     Problem Signature 07: 5022

     Problem Signature 08: 0

     Problem Signature 09: System.TypeInitialization

     OS Version: 6.1.7601.2.1.0.256.1

     Locale ID: 1033

    I also tried to download the standalone launcher of the game which doesn't need steam but when I try to install it it has (almost) the same error I think.

    here:

    "the application Initialize properly. Common causes are missing .NET framework 3.5 SP1 or Internet Explorer.

    Details:

    1649073e-a445-4846-99c9-f6f1b2b163ab

    System.TypeInitializationException: The type Initializer for 'system.windows.media.fontfamily' threw an exception –> system.ArgumentOutOfRangeException: not a valid win32 filetime."

    It goes on and on with a list of i dont know what.

    I also installed a game called Arma 3 just to test if the error only appears on the programs/launchers of GhostReconPhantoms. Sadly, It also has an error but with a different one. I don't know if they are connected to the error GRP is having but here it is:

    Problem signature:

     Problem Event Name: APPCRASH

     Application Name: arma3.exe

     Application Version: 1.14.116.216

     Application Timestamp: 5329e82b

     Fault Module Name: KERNELBASE.dll

     Fault Module Version: 6.1.7601.18869

     Fault Module Timestamp: 556363bc

     Exception Code: c06d007e

     Exception Offset: 0000c42d

     OS Version: 6.1.7601.2.1.0.256.1

     Locale ID: 1033

     Additional Information 1: 0a9e

     Additional Information 2: 0a9e372d3b4ad19135b953a78882e789

     Additional Information 3: 0a9e

     Additional Information 4: 0a9e372d3b4ad19135b953a78882e789

    I have Windows 7 Ultimate 64bit service pack 1

    here is myvslog.cab: onedrive.live.com/redir

    I really wish you will be my hero.

    thanks in advance!

  211. Hi Clave – It sounds like there might be a bad font installed on your PC that is causing problems with the .NET Framework.  I found a forum post at social.msdn.microsoft.com/…/an-unhandled-exception-of-type-systemtypeinitializationexception-occurred-in-presentationcoredll and a bug report at connect.microsoft.com/…/late-datemodified-on-font-file-causes-most-wpf-applications-to-crash-with-fontfamily-exception that both sound like the same issue you're seeing.

    The forum post suggests going to your c:windowsfonts directory, sorting by date modified, removing the most recent font, and then trying your application again.  You may need to remove more than one font to get things working again.  Can you give this a try and see if this helps in your scenario?

  212. Anonymous says:

    OMG my guess was right. I saw the font error while reading the things below.

    Yeah I downloaded a font or 2 a few days. hmmm

    Thanks for the idea. I'll go check it! I'll update you as soon as I can on it.

    Thanks a lot!

  213. Anonymous says:

    Hey Aaron Stebner!

    It worked thanks a lot! you're my hero haha

  214. Anonymous says:

    Just a heads up for anyone who had problems with .NET framework after running ComboFix; I was also unable to open programs like Nexus Mod Manager and KeePass, getting errors like "A device attached to the system is not functioning; error code 31". After running the official Microsoft .NET framework repair tool and rebooting, however, NMM and KeePass open normally again. So to anyone that is having similar problems; before doing more of the tests that mybleepingcomputer tells you to do after having run ComboFix, simply try the repair tool for .NET framework and see if that works first.  

  215. Hi Gui – I think you're referring to the .NET Framework repair tool described at support.microsoft.com/…/2698555.  If so, that repair tool works great in some scenarios, but it only supports repairing the redistributable versions of the .NET Framework 2.0 SP2, 3.0 SP2. 3.5 SP1, 4, 4.5 and 4.5.1.  It does not repair versions of the .NET Framework that are installed as a part of Windows.  So your mileage may vary depending on what version of Windows you're running and what version(s) of the .NET Framework you need to try to repair.

  216. Clave says:

    HI Aaron Stebner!just wanna give you a big thanks for the past problem I had that you solved.

    I wanna ask you another question for another problem i have.

    it's the application error (0xc000007b)

    I bought a Corsair k95 RGB keyboard. The keyboard works fine but the software it has that I need to install for it's other stuffs like creating profile is not working or running.

    Everytime I run the software(Corsair Utility Engine) it shows the error (0xc000007b).

    I have a windows 7 64bit sp 1.

    Can you help me with this again??

    Thanks

  217. Hi Clave – The error code 0xc000007b means STATUS_INVALID_IMAGE_FORMAT.  That could mean that the file has gotten corrupted or something like that.  I'd suggest searching for an updated version of the file on the manufacturer's web site and see if you download and run that instead.

  218. Raul Piaggio says:

    Hi everyone! Please help.

    csc.exe for version v2.0.50727 seems to be broken on my Windows 10. I have some software that depends on it.

    When I run it, it just does nothing. It doesn't even open any file handles.

    I tried uninstalling .NET framework 3 (includes 2 and 1) and reinstalling, problem persists. After uninstalling, I even deleted some leftover files (CONFIG).

    What can I do?

  219. Hi Raul Piaggio – Are there any errors or warnings in the application event log when you see this behavior?  Also, what is the exact command line that you are using with csc.exe, and does this happen if you just run csc.exe /? to view help usage?

    The .NET Framework 2.0, 3.0 and 3.5 are OS components on Windows 10, but they're not enabled by default.  What I'd suggest trying to do to repair those versions of the .NET Framework on Windows 10 is to make sure that they are enabled in optionalfeatures.exe, then try the following:

    1.  Try to run the System Update Readiness Tool from support.microsoft.com/…/947821.

    2.  Try to repair the files that are a part of your OS by using the steps listed at blogs.msdn.com/…/how-to-repair-the-net-framework-2-0-and-3-0-on-windows-vista.aspx.

    If none of the above help, you might need to repair/re-install Windows to fix this type of error.  It might also help to post a question on the .NET Framework setup forum at social.msdn.microsoft.com/…/home to see if someone there has any additional suggestions for you to try before you resort to re-installing Windows.

  220. Morgan says:

    Hi Aaron,

    i did an sfc /scannow and this is what is said Microsoft Windows [Version 6.1.7601]

    Copyright (c) 2009 Microsoft Corporation.  All rights reserved.

    C:Usersuser> sfc /scannow

    Beginning system scan.  This process will take some time.

    Beginning verification phase of system scan.

    Verification 100% complete.

    Windows Resource Protection found corrupt files but was unable to fix some of th

    em.

    Details are included in the CBS.Log windirLogsCBSCBS.log. For example

    C:WindowsLogsCBSCBS.log

    C:Usersuser>

    what should i do now? I'm completely lost

    Thanks again

  221. Hi Morgan – There are links in the knowledge base article at support.microsoft.com/…/929833 that provide instructions for how to find issues in CBS.log and try to manually fix them.  I'd suggest trying those steps to see if they help in your scenario.

    Also, what is the exact error you were seeing on your PC that led you to try running SFC in the first place?

  222. Terry says:

    I accidentally deleted the .Net framework off my computer. The screen is black and i can’t do anything. All it has when i turn it on is a popup that says i need to download the .net framework. But i can’t because the screen is constantly black.

    1. Hi Terry – How did you delete the .NET Framework – did you run the uninstall program from the Programs and Features control panel? You might be able to boot into safe mode and revert to a previous system restore checkpoint to get out of this black screen state.