Error message when you install SQL Server 2005 or SQL Server 2008: "The file C:\Windows\Microsoft.NET\Framework\[version_number]\mscorlib.tlb could not be loaded"
Problem:
The file C:\Windows\Microsoft.NET\Framework\version_number\mscorlib.tlb could not be loaded. An attempt to repair this condition failed because the file could not be found. Please reinstall this program.
For SQL Server 2005
To work around this problem, you must manually specify the correct path of the Mscorlib.tlb file in the registry. To do this, follow these steps:- Click Start, click Run, type regedit, and then click OK.
- Locate the following registry subkey:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SQL Server\90\Tools\Shell\TlbAutoRepair\mscorlib.tlb
Notes
- If you install SQL Server 2005 on 64-bit operating systems, locate the following registry subkey:
HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Microsoft SQL Server\90\Tools\Shell\TlbAutoRepair\mscorlib.tlb
- If you install SQL Server 2005 Express Edition with Advanced Services, locate the following registry subkey:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SQL Server\90\Tools\ShellSEM\TlbAutoRepair\mscorlib.tlb
- If you install SQL Server 2005 on 64-bit operating systems, locate the following registry subkey:
- In the right pane, double-click the registry entry TlbPath. The Edit String dialog box appears.
- In the Value data box, replace %CLRVERSION% with the following value:
v2.0.50727
Note The value v2.0.50727 indicates the version of the .NET Framework that the original release version of SQL Server 2005 uses.
- Click OK, and then exit Registry Editor.
For SQL Server 2008
To work around this problem, you must manually specify the correct path of the Mscorlib.tlb file in the registry. To do this, follow these steps:- Click Start, click Run, type regedit, and then click OK.
- Locate the following registry subkey:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SQL Server\100\Tools\Shell\TlbAutoRepair\mscorlib.tlb Notes
If you install the 32-bit version of SQL Server 2008 on 64-bit operating systems, locate the following registry subkey:
HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Microsoft SQL Server\100\Tools\Shell\TlbAutoRepair\mscorlib.tlb
If you install SQL Server 2008 Express Edition with Advanced Services, locate the following registry subkey:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SQL Server\100\Tools\ShellSEM\TlbAutoRepair\mscorlib.tlb
- In the right pane, double-click TlbPath.
- In the Value data box, replace %CLRVERSION% with the following value:
v2.0.50727
Note The value v2.0.50727 indicates the version of the .NET Framework that the original release version of SQL Server 2008 uses.
- Click OK, and then exit Registry Editor.
More Info:
http://support.microsoft.com/kb/918685/en-us
Comentarios