Groups | Blog | Home
all groups > visual studio .net setup > january 2006 >

visual studio .net setup : VS 2005 Installation Hangs/locks


Jack
1/22/2006 9:47:41 AM
I am trying to install VS 2005 and everytime it attempts to install the .NET
Framework 2.0 it locks up my machine. I have tried to install the framework
alone (after downloading from the MS website) and it locks up my machine (I
need to power down to restart) at the same point every time. The last thing
I see on my screen is
"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\ngen.exe install
"System.Drawing.Design, Version=2.0.0.0, Culture=neutral,
PublicKeyToken=b03f5f7f11d50a3a" /NoDependencies /nologo;81920"

If I look at the log the last entry is:
01/22/06 09:27:31 DDSet_Status: Running Command Line:
C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\ngen.exe install
"System.Drawing.Design, Version=2.0.0.0, Culture=neutral,
PublicKeyToken=b03f5f7f11d50a3a" /NoDependencies /nologo
01/22/06 09:27:31 DDSet_Status: LANGID: 1033
Installing assembly System.Drawing.Design, Version=2.0.0.0, Culture=neutral,
PublicKeyToken=b03f5f7f11d50a3a
Compiling 3 assemblies:
Compiling assembly mscorlib, Version=2.0.0.0, Culture=neutral,
PublicKeyToken=b77a5c561934e089 ...
Error compiling mscorlib, Version=2.0.0.0, Culture=neutral,
PublicKeyToken=b77a5c561934e089: Internal CLR error. (Exception from
HRESULT: 0x80131506)
Failed to generate native code for dependent image mscorlib,
Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 because of
the following error: Internal CLR error. (Exception from HRESULT:
0x80131506)

I have tried every thing I can find to get this to install, any ideas?

Jack

Jack
1/23/2006 7:24:49 AM
When I run "ngen /delete mscorlib.dll" I get:
C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727>ngen /delete mscorlib.dll
Microsoft (R) CLR Native Image Generator - Version 2.0.50727.42
Copyright (C) Microsoft Corporation 1998-2002. All rights reserved.
Error: The specified assembly is not installed.

The mscorlib files that exist are:
09/23/2005 07:28 AM 4,308,992 mscorlib.dll
09/23/2005 07:28 AM 524,288 mscorlib.tlb

And, if I run the command install command manually I get the following:

C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727>ngen.exe install
"System.Drawing.Design, Version=2.0.0.0, Culture=neutral,
PublicKeyToken=b03f5f7f11d50a3a" /NoDependencies /nologo
Installing assembly System.Drawing.Design, Version=2.0.0.0, Culture=neutral,
PublicKeyToken=b03f5f7f11d50a3a
Compiling 3 assemblies:
Compiling assembly mscorlib, Version=2.0.0.0, Culture=neutral,
PublicKeyToken=b77a5c561934e089 ...
Error compiling mscorlib, Version=2.0.0.0, Culture=neutral,
PublicKeyToken=b77a5c561934e089: Unspecified error (Exception from HRESULT:
0x80004005 (E_FAIL))
Failed to generate native code for dependent image mscorlib,
Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 because of
the following error: Unspecified error (Exception from HRESULT: 0x80004005
(E_FAIL))
Compiling assembly System, Version=2.0.0.0, Culture=neutral,
PublicKeyToken=b77a5c561934e089 ...
Error compiling System, Version=2.0.0.0, Culture=neutral,
PublicKeyToken=b77a5c561934e089: Internal CLR error. (Exception from
HRESULT: 0x80131506)
Failed to generate native code for dependent image System, Version=2.0.0.0,
Culture=neutral, PublicKeyToken=b77a5c561934e089 because of the following
error: Internal CLR error. (Exception from HRESULT: 0x80131506)
Compiling assembly System.Drawing.Design, Version=2.0.0.0,
Culture=neutral,PublicKeyToken=b03f5f7f11d50a3a ...
System.Drawing.Design, Version=2.0.0.0, Culture=neutral,
PublicKeyToken=b03f5f7f11d50a3a
Unspecified error (Exception from HRESULT: 0x80004005 (E_FAIL))


Jack

[quoted text, click to view]

wjzhang NO[at]SPAM online.microsoft.com (
1/23/2006 9:37:37 AM
Hi Jack,

According to the installation log, looks like the problem is on ngen
mscorlib.

I just wonder if you have ever installed any previous beta version on this
machine? If so, probably it's not uninstalled properly. Please go to
Add/Remove Programs to verify if a pre version exists. If so, please
uninstall it.

Another way is you can manually run:

ngen /delete mscorlib.dll

in C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\ directory to delete the
native image of mscorlib if any corrupt data already exists.

By the way, have you tested to standalone install the framework 2.0 before
run VS2005 setup?

Microsoft .NET Framework Version 2.0 Redistributable Package (x86)
http://www.microsoft.com/downloads/details.aspx?FamilyID=0856eacb-4362-4b0d-
8edd-aab15c5e04f5&DisplayLang=en

Thanks.

Best regards,

WenJun Zhang
Microsoft Online Partner Support

This posting is provided "AS IS" with no warranties, and confers no rights.
wjzhang NO[at]SPAM online.microsoft.com (
1/24/2006 7:03:05 AM
Hi Jack,

Please make sure .net fx 2.0 is uninstalled in Add/Remove programs. Then
please open a command line:

cd to C:\WINDOWS\assembly\NativeImages_v2.0.50727_32\ directory.

If mscorlib\<token> directory still exists, please manually delete it.
After that, you can reinstall Framework 2.0 to test.

Thanks.

Best regards,

WenJun Zhang
Microsoft Online Partner Support

This posting is provided "AS IS" with no warranties, and confers no rights.
Jack
2/2/2006 3:21:49 PM
Okay, I installed/uninstalled but no luck.

Then Windows began to become unstable and ended up swapping processors, I
took out an Anthlon 64 3000+ and replaced it with a Sempron 2800 and VS
installed.

Jack


[quoted text, click to view]

AddThis Social Bookmark Button