Groups | Blog | Home
all groups > dotnet sdk > january 2006 >

dotnet sdk : CLR Debugger startup error


stevenkobes NO[at]SPAM hotmail.com
1/14/2006 9:04:25 AM
I recently installed the .NET SDK 2.0. When I run the Microsoft CLR
Debugger, it says:

"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."

Has anyone seen this before? Looks like mscorlib.tlb exists, but the
CLR Debugger is missing the "v2.0.50727" part of the path. What could
cause this to happen?

--Steve
sharnish NO[at]SPAM att.net
2/12/2006 11:51:50 AM
For what it's worth, I get the message when starting SQL Server 2005. I had been using .Net 2.0 exclusively but needed 1.1 to run another program. After installing the 1.1 Framework (but not the SDK) the message appeared. Haven't figured out yet how to fix it. This doesn't address your question, but may help identify the cause.
---
Kunkel
3/9/2006 8:47:01 AM
I fixed this problem by recreating the envirionment variable CLRVERSION and gave it the value "v2.0.50727" the error message no longer appears.
---
heavycrag NO[at]SPAM gmail.com
4/4/2006 6:17:22 AM
Thank you for this information. This fixed my problem! By the way, you
can find out the latest CLRVERSION that you have by going to
C:\windows\Microsoft.NET\Framework

Also check out the registry key

HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\DbgClr\8.0\TlbAutoRepair\mscorlib.tlb

Thanks!
ericb
11/19/2007 9:42:11 AM
It appears that this also happens when using .NET 3.0. The same environment variable mentioned above seems to fix it. I had to add it to the list of system variables.

From http://www.developmentnow.com/g/25_2006_1_0_0_661959/CLR-Debugger-startup-error.htm

Posted via DevelopmentNow.com Groups
AddThis Social Bookmark Button