Hi I have just created an application with VS2003 targeting .Net framework 1.1.
I just can't run/launch this application as it fails to start .. following is the error I get:
When I select "No" for debugging it throws the following exception in the console.
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.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.Globalization.CultureInfo..ctor(Int32 culture, Boolean useUserOverr ide) at System.Globalization.CultureInfo..ctor(Int32 culture) at System.Globalization.CultureInfo..cctor() [Resource lookup failed - infinite recursion detected. Resource name: Except ion_EndOfInnerExceptionStack] at System.Globalization.CultureInfo.get_UserDefaultUICulture() at System.Threading.Thread.get_CurrentUICulture()
Same application if I build with VS 2005 or any other version it works fine.
I have tried to reinstall VS2003 and the Microsoft .NET version 1.1 but it does not help. If I rename the folder C:\Windows\Microsoft.NET\Framework\v1.1.4322 Then the program runs fine(apparently it falls back to higher version of .Net Runtime).
I am not able to figure out what changed in the system to trigger this and how to fix this issue. Things were working fine till a few weeks ago. This is Win7 64 bit machine.
