Click here to Skip to main content
15,887,477 members
Please Sign up or sign in to vote.
5.00/5 (1 vote)
See more:
Hi,

I'm having trouble with my Windows 7 (ultimate) installation. It seems that some of the files are (and get) corrupted. The biggest headache right now is System.Windows.Forms.dll which is corrupted in GAC. I'm asking for advice how to fix the windows installation so that the installed programs would still be operational after the fix.

Done so far:

  • ran sfc /scannow several times without positive effect. From CBS.log:
    Could not reproject corrupted file [ml:520{260},l:98{49}]"\??\C:\Windows\Microsoft.NET\Framework\v2.0.50727"\[l:48{24}]"System.Windows.Forms.dll"; source file in store is also corrupted
  • The same message is reported for some other files also
  • Tried to re-install (actually upgrade) the windows, in-place, from a desktop session: The installer worked for some time but ended with an error saying that the installation didn't succeed and the previous installation will be restored
  • Tried the same when booting the machine and then selecting repair option, installation runs to 19% and then error again, without any explanation
  • I have ran chkdsk when booting the os several times. No physical errors found.


Symptoms:

  • Obviously no program using Forms works
  • Event log isn't working. Gives a message:
    MMC could not create the snap-in. The snap-in might not have been installed correctly. CLSID FX: {bo5566ad-...}

    Perhaps related to another corruption.
    • If the computer goes to sleep, the next time I shut it down and clean boot it, it always runs chkdsk. Don't know, but it feels like the actual reason for the corruptions could be related to the computer going to sleep, since chkdsk isn't forced unless the computer has gone to sleep previously.


Appreciate any thoughts,

mika

Update, based on good replies from Mark Nischalke:
Trying to re-install framework 3.5 or previous doesn't succeed. Some of the installers won't event start and some say that I already have the framework with the OS. Repair installation of framework 4 most likely replaces some of the files but since the problem lies in version 2 file(s), no positive effect.

The only option that I'm aware of is to install a fresh Windows 7 (possibly after formatting the hard drive), but since I have quite a lot programs installed in the machine I'm still trying to avoid this for awhile.

As before, all suggestions are very welcome.

Resolution:
Finally had to bite the bullet. Even though the check disk passed on the original drive, I bought a new hdd and installed a fresh Windows on it. Since no repair option worked out this felt more like a physical problem.
Posted
Updated 10-Aug-11 9:21am
v3

1 solution

Have you reinstalled the appropriate .NET Framework(s) ?
 
Share this answer
 
Comments
Wendelius 5-Aug-11 15:20pm    
Good point, forgot to mention that. I tried re-installing framework 4, no effect. I also tried installing 3.5 but that didn't even start. If I remember correctly the error was that 3.5 is already included in Windows 7...
[no name] 5-Aug-11 15:40pm    
The file shows a v2.0.xxx. Tried that yet? Otherwise its time to reinstall the OS. You should be able to do a repair installation.
Wendelius 5-Aug-11 16:12pm    
Yep, I haven't tried installing framework 2 since 3.5 should include it. However, I'll give it a try.

About re-installing the OS, any suggestions how to do it in-place so that I wouldn't have to re-install all the programs etc? As said the repair installation when booting from Windows 7 dvd didn't work out.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900