Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

Error message when you start SQL Server Management Studio on a computer that is running Microsoft Dynamics GP 9.0 "The file C:\WINDOWS\Microsoft.NET\Framework\\mscorlib.tlb could not be loaded."


Symptoms

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.

↑ Back to the top


Cause

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.

↑ Back to the top


Resolution

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.

↑ Back to the top


Keywords: kbtshoot, kberrmsg, kbmbspartner, kbmbsmigrate, kbprb, kb

↑ Back to the top

Article Info
Article ID : 919349
Revision : 4
Created on : 3/30/2017
Published on : 3/30/2017
Exists online : False
Views : 79