Visual Studio launching problem. Need solution

Asked By 0 points N/A Posted on -


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.

Answered By 0 points N/A #123191

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,

  1. Microsoft .NET Framework (English) v1.0.3705
  2. Microsoft .NET Framework 1.1
  3. Microsoft .NET Framework 2.0 Service Pack 1
  4. Microsoft .NET Framework 3.0 Service Pack 1
  5. Microsoft .NET Framework 3.5
  6. Microsoft .NET Framework 4 Client Profile
  7. Microsoft .NET Framework 4 Extended

With these versions of Microsoft .NET, mscorlib.tlb is located in the following directories,

  1. C:WINDOWSMicrosoft.NETFrameworkv1.0.3705
  2. C:WINDOWSMicrosoft.NETFrameworkv1.1.4322
  3. C:WINDOWSMicrosoft.NETFrameworkv2.0.50727
  4. C:WINDOWSMicrosoft.NETFrameworkv4.0.30319

Try uninstalling your program first then run a disk check on drive C to see if there is an error in the file structure.

  1. Right-click on drive C and choose Properties.
  2. Click on Tools tab.
  3. Under Error checking, hit on Check Now button.
  4. 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,

Login/Register to Answer

Related Questions