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