N/APosted on - 09/11/2011
I have installed Microsoft Visual Studio a few days back on my laptop. My operating system is Windows XP. I have used this smoothly for the last few days, but from yesterday I have encountered a problem while I am trying to launch Visual Studio with an error message:
Microsoft Visual Studio
The file C: WINDOWSMicrosoft.NETFramework\mscorlib.tlb could not be loaded. An attempt to repair this condition
failed because the file could not be found.
Please reinstall the program.
Need some help from anyone to resolve this problem.
Visual Studio launching problem. Need solution
I think here your program Microsoft Visual Studio is conflicting on the right location of the .NET component's mscorlib.tlb file. The file mscorlib.tlb is not located in the path C:WINDOWSMicrosoft.NETFramework and instead in another directory depending on its version. If you have many versions of Microsoft .NET installed on your computer, you will also have many mscorlib.tlb files.
Like for example, I have different versions of Microsoft .NET installed in my computer. I have a,
Microsoft .NET Framework (English) v1.0.3705
Microsoft .NET Framework 1.1
Microsoft .NET Framework 2.0 Service Pack 1
Microsoft .NET Framework 3.0 Service Pack 1
Microsoft .NET Framework 3.5
Microsoft .NET Framework 4 Client Profile
Microsoft .NET Framework 4 Extended
With these versions of Microsoft .NET, mscorlib.tlb is located in the following directories,
Try uninstalling your program first then run a disk check on drive C to see if there is an error in the file structure.
Right-click on drive C and choose Properties.
Click on Tools tab.
Under Error checking, hit on Check Now button.
Choose Automatically fix file system errors then hit the Start button. Wait for the disk check to finish.
After the disk check, install again Microsoft Visual Studio. I know this time it will have a fresh start with fresh configurations. If, on the other hand, the reinstallation didn’t fix the problem, do an experiment and locate manually the mscorlib.tlb file in the directories I mentioned above and copy it on the location specified in the error message, "C:WINDOWSMicrosoft.NETFramework".
For more information about Microsoft .NET Framework updates,