3
votes

I have a Windows Form written in C++\CLI. When I try to open the form in Visual Studio(by saying 'View Designer') then I observe that Visual Studio crashes.

Following is the Windows Applications Logs -

.NET Runtime version 2.0.50727.4963 - Fatal Execution Engine Error (768FB727) (800703e9)

Note :

  1. My project is built to use .NET Framework 2.0
  2. OS - Windows Server 2008 x64
  3. I have tried reinstalling VS2005 and .NET Framework 2.0 without any success
1
Though I am able to successfully compile and run the application - Himanshu
Do you have any custom controls that have design time code in them? Or maybe some third party controls? - linkerro
I do have custom controls and third party controls in my form... But I do not face any such issues while opening the form (in Design View) in another system having the same OS. - Himanshu
Stack trace then, see what's the deepest place where the error happens. - linkerro
Do I really need to Stack trace as the same form opens up well on other machine ? If so, how to do it ? Note: .NET Runtime version on this machine is 2.0.50727.4927 which is different from the one on which it fails. (Failing machine has .NET Runtime 2.0.52727.4963) - Himanshu

1 Answers

2
votes

@linkerro - You were right, the problem was actually in some third party user controls that my form was loading at design time.

I used Assembly Binding Log Viewer (fuslogvw.exe) to find out what were the bind failures.