I have a similar problem to bug 2748379 as when I start the Regulator I get a splash screen then the application fails with the following error:
"Application has generated an exception that could not be handled.
Process id=0x1174 (4468) Thread id=0xd3c (3388)
Click OK to terminate the application.
Click CANCEL to debug the application."
When clicking cancel the Microsoft CLR Debugger tells me:
"An unhandled exception of type 'System.TypeInitializationException' occured in Regulator.exe
Additional information. The type initializer for 'Regulator.SDK.AppContext' threw an exception."
The debugging trace then shows the following with the error being at line 0000007e of "Regulator.GUI.MainForm..ctor":
00000000 push edi
00000001 push esi
00000002 push ebx
00000003 push ebp
00000004 mov esi,ecx
00000006 mov ebx,edx
00000008 mov dword ptr [esi+0000021Ch],0
00000012 mov dword ptr [esi+00000224h],0
0000001c mov ecx,0A58160h
00000021 call 78206C70
00000026 mov edi,eax
00000028 mov ecx,edi
0000002a call dword ptr ds:[00A5831Ch]
00000030 lea edx,[esi+00000270h]
00000036 call FFA22FC7
0000003b mov eax,dword ptr ds:[021D2010h]
00000040 lea edx,[esi+00000274h]
00000046 call FFA22EA8
0000004b mov dword ptr [esi+00000278h],0
00000055 mov ecx,esi
00000057 call dword ptr ds:[7B9E6558h]
0000005d lea edx,[esi+00000274h]
00000063 call FFA22F23
00000068 mov ecx,esi
0000006a call dword ptr ds:[00A56C50h]
00000070 mov ecx,esi
00000072 call dword ptr ds:[00A56C80h]
00000078 call dword ptr ds:[00A58534h]
0000007e mov edi,dword ptr [eax+0Ch] <-- This is where the exception is thrown.
00000000 push edi
00000001 push esi
00000002 push ebx
00000003 push ebp
00000004 mov esi,ecx
00000006 mov ebx,edx
00000008 mov dword ptr [esi+0000021Ch],0
00000012 mov dword ptr [esi+00000224h],0
0000001c mov ecx,0A58160h
00000021 call 78206C70
00000026 mov edi,eax
00000028 mov ecx,edi
0000002a call dword ptr ds:[00A5831Ch]
00000030 lea edx,[esi+00000270h]
00000036 call FFA22FC7
0000003b mov eax,dword ptr ds:[021D2010h]
00000040 lea edx,[esi+00000274h]
00000046 call FFA22EA8
0000004b mov dword ptr [esi+00000278h],0
00000055 mov ecx,esi
00000057 call dword ptr ds:[7B9E6558h]
0000005d lea edx,[esi+00000274h]
00000063 call FFA22F23
00000068 mov ecx,esi
0000006a call dword ptr ds:[00A56C50h]
00000070 mov ecx,esi
00000072 call dword ptr ds:[00A56C80h]
00000078 call dword ptr ds:[00A58534h]
0000007e mov edi,dword ptr [eax+0Ch]
00000081 mov ecx,0A58988h
00000086 call 78213037
0000008b push 0
0000008d mov ecx,edi
0000008f mov edx,eax
00000091 cmp dword ptr [ecx],ecx
00000093 call dword ptr ds:[00A58630h]
View and moderate all "bugs Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Bugs"
Same issue started happenig to me as soon as i installed vc# express 20110