.NET Seriously Broken

  • Thread starter Thread starter eBob.com
  • Start date Start date
E

eBob.com

I have a disastrous .NET problem after trying to install some fixes
yesterday.

Now everything I try to do in VS.Net results in a problem. Previous built
..exe's fail. Programs which used to build without errors now get errors.
In some cases I can't even open the form designer - I get "resource loopup
failed - infinite recursion detected. Resource name:
TypeInitialization_Type".

When I try to reinstall .NET and VS.Net I get five error like this: "An
exception 'System.Type.InitializationException' has occurred in
MSI5F6/7/8/9/A".

My searches have not turned up anything which sounds like my problem but one
of the hits I got recommended trying caspol -all -reset. But when I try
that I get:

C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322>caspol -all -reset

Unhandled Exception: System.TypeInitializationException: [Resource lookup
failed
- infinite recursion detected. Resource name:
TypeInitialization_Type] ---> Sy
stem.NullReferenceException: [Resource lookup failed - infinite recursion
detect
ed. Resource name: Arg_NullReferenceException]
at System.Globalization.CompareInfo.GetCompareInfo(Int32 culture)
at System.Globalization.CultureInfo.get_CompareInfo()
at System.Resources.ResourceReader.StripVersionField(String typeName)
at System.Resources.ResourceReader.InitSafeToDeserializeArray()
at System.Resources.ResourceReader.ReadResources()
at System.Resources.ResourceReader..ctor(Stream stream, Hashtable table)
at System.Resources.RuntimeResourceSet..ctor(Stream stream)
at System.Resources.ResourceManager.CreateResourceSet(Stream store)
at System.Resources.ResourceManager.InternalGetResourceSet(CultureInfo
cultur
e, Boolean createIfNotExists, Boolean tryParents)
at System.Resources.ResourceManager.GetString(String name, CultureInfo
cultur
e)
at System.Environment.GetResourceString(String key)
at System.NullReferenceException..ctor()
at System.Object.GetHashCode()
at System.Collections.Hashtable.GetHash(Object key)
at System.Collections.Hashtable.get_Item(Object key)
at
System.Globalization.GlobalizationAssembly.GetGlobalizationAssembly(Assemb
ly assembly)
at System.Globalization.GlobalizationAssembly..cctor()
[Resource lookup failed - infinite recursion detected. Resource name:
Except
ion_EndOfInnerExceptionStack]

I am stumped and depressed and do not know what to try next. I hope someone
here can help.

Thanks, Bob
 
eBob.com said:
I have a disastrous .NET problem after trying to install some fixes
yesterday.

Now everything I try to do in VS.Net results in a problem. Previous built
.exe's fail. Programs which used to build without errors now get errors.
In some cases I can't even open the form designer - I get "resource loopup
failed - infinite recursion detected. Resource name:
TypeInitialization_Type".

When I try to reinstall .NET and VS.Net I get five error like this: "An
exception 'System.Type.InitializationException' has occurred in
MSI5F6/7/8/9/A".

My searches have not turned up anything which sounds like my problem but
one of the hits I got recommended trying caspol -all -reset. But when I
try that I get:

C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322>caspol -all -reset

Unhandled Exception: System.TypeInitializationException: [Resource lookup
failed
- infinite recursion detected. Resource name:
TypeInitialization_Type] ---> Sy
stem.NullReferenceException: [Resource lookup failed - infinite recursion
detect
ed. Resource name: Arg_NullReferenceException]
at System.Globalization.CompareInfo.GetCompareInfo(Int32 culture)
at System.Globalization.CultureInfo.get_CompareInfo()
at System.Resources.ResourceReader.StripVersionField(String typeName)
at System.Resources.ResourceReader.InitSafeToDeserializeArray()
at System.Resources.ResourceReader.ReadResources()
at System.Resources.ResourceReader..ctor(Stream stream, Hashtable table)
at System.Resources.RuntimeResourceSet..ctor(Stream stream)
at System.Resources.ResourceManager.CreateResourceSet(Stream store)
at System.Resources.ResourceManager.InternalGetResourceSet(CultureInfo
cultur
e, Boolean createIfNotExists, Boolean tryParents)
at System.Resources.ResourceManager.GetString(String name, CultureInfo
cultur
e)
at System.Environment.GetResourceString(String key)
at System.NullReferenceException..ctor()
at System.Object.GetHashCode()
at System.Collections.Hashtable.GetHash(Object key)
at System.Collections.Hashtable.get_Item(Object key)
at
System.Globalization.GlobalizationAssembly.GetGlobalizationAssembly(Assemb
ly assembly)
at System.Globalization.GlobalizationAssembly..cctor()
[Resource lookup failed - infinite recursion detected. Resource name:
Except
ion_EndOfInnerExceptionStack]

I am stumped and depressed and do not know what to try next. I hope
someone here can help.

Thanks, Bob

Can you be a bit more specific? What "fixes" did you install that broke your
..NET Framework 1.1?
You mention that you've tried to reinstall. Did you try completely removing
the framework and Visual Studio, then reinstalling?

This link may be useful to you:

http://support.microsoft.com/kb/824642

When following the manual removal steps, complete all steps, even if you get
failure indications.
 
PvdG42 said:
eBob.com said:
I have a disastrous .NET problem after trying to install some fixes
yesterday.

Now everything I try to do in VS.Net results in a problem. Previous
built .exe's fail. Programs which used to build without errors now get
errors. In some cases I can't even open the form designer - I get
"resource loopup failed - infinite recursion detected. Resource name:
TypeInitialization_Type".

When I try to reinstall .NET and VS.Net I get five error like this: "An
exception 'System.Type.InitializationException' has occurred in
MSI5F6/7/8/9/A".

My searches have not turned up anything which sounds like my problem but
one of the hits I got recommended trying caspol -all -reset. But when I
try that I get:

C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322>caspol -all -reset

Unhandled Exception: System.TypeInitializationException: [Resource lookup
failed
- infinite recursion detected. Resource name:
TypeInitialization_Type] ---> Sy
stem.NullReferenceException: [Resource lookup failed - infinite recursion
detect
ed. Resource name: Arg_NullReferenceException]
at System.Globalization.CompareInfo.GetCompareInfo(Int32 culture)
at System.Globalization.CultureInfo.get_CompareInfo()
at System.Resources.ResourceReader.StripVersionField(String typeName)
at System.Resources.ResourceReader.InitSafeToDeserializeArray()
at System.Resources.ResourceReader.ReadResources()
at System.Resources.ResourceReader..ctor(Stream stream, Hashtable
table)
at System.Resources.RuntimeResourceSet..ctor(Stream stream)
at System.Resources.ResourceManager.CreateResourceSet(Stream store)
at System.Resources.ResourceManager.InternalGetResourceSet(CultureInfo
cultur
e, Boolean createIfNotExists, Boolean tryParents)
at System.Resources.ResourceManager.GetString(String name, CultureInfo
cultur
e)
at System.Environment.GetResourceString(String key)
at System.NullReferenceException..ctor()
at System.Object.GetHashCode()
at System.Collections.Hashtable.GetHash(Object key)
at System.Collections.Hashtable.get_Item(Object key)
at
System.Globalization.GlobalizationAssembly.GetGlobalizationAssembly(Assemb
ly assembly)
at System.Globalization.GlobalizationAssembly..cctor()
[Resource lookup failed - infinite recursion detected. Resource name:
Except
ion_EndOfInnerExceptionStack]

I am stumped and depressed and do not know what to try next. I hope
someone here can help.

Thanks, Bob

Can you be a bit more specific? What "fixes" did you install that broke
your .NET Framework 1.1?
You mention that you've tried to reinstall. Did you try completely
removing the framework and Visual Studio, then reinstalling?

This link may be useful to you:

http://support.microsoft.com/kb/824642

When following the manual removal steps, complete all steps, even if you
get failure indications.

Thanks. I followed your suggestion and it worked. But I also told
ZoneAlarm that IIS could do whatever it wanted to do. In my earlier
attempts to resolve the problems, using a repair dialog, I was failing to
make the connection between ZoneAlarm asking if IIS could do something and
the fact that I was running an install/repair process. I've made that
mistake before.

Thanks again, Bob
 
Back
Top