When you start Microsoft SQL Server Management Studio on a computer that is running Microsoft Dynamics GP 9.0, you receive the following error message:

The file C:\WINDOWS\Microsoft.NET\Framework\\mscorlib.tlb could not be loaded. An attempt to repair this condition failed because the file could not be found.

Please reinstall this program.

When you click OK, SQL Server Management Studio successfully starts.

This problem occurs if the following conditions are true:

  • You are running an x64 version of Microsoft SQL Server 2005.

  • Microsoft Dynamics GP 9.0 is installed after SQL Server 2005 is installed.


This problem occurs because the Microsoft Dynamics GP 9.0 Setup program installs the Microsoft .NET Framework 1.1. However, SQL Server 2005 requires the .NET Framework 2.0. The installation of the .NET Framework 1.1 after SQL Server 2005 x64 Enterprise Edition is installed or after SQL Server 2005 x64 Standard Edition is installed affects the .NET Framework 2.0 (x64). Additionally, this installation of the .NET Framework 1.1 affects the association between the .NET Framework 2.0 (x64) and SQL Server Management Studio.


To resolve this issue, repair the Microsoft .NET Framework 2.0 (x64). To do this, follow these steps:

  1. On the computer that is running SQL Server 2005, click Start, point to Control Panel, and then click Add or Remove Programs.

  2. In the Currently installed programs list, click Microsoft .NET Framework 2.0 (x64).

  3. Click Change/Remove, click Repair, and then click Next.

    Note The repair operation may take longer than expected to finish.

  4. When the repair process has successfully finished, click Finish, and then restart the computer.

Need more help?

Expand your skills
Explore Training
Get new features first
Join Microsoft Insiders

Was this information helpful?

What affected your experience?

Thank you for your feedback!