Skip to content
View in the app

A better way to browse. Learn more.

The AVSIM Community

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

MS .NET Framework - Unhandled Exveption

Featured Replies

Ever since I installed REX for FSX (no regrets in spite of this post!) I have had an .NET error message when I quit FSX. I cannot interpret the error message, which I copy below, in spite of lots of Googling. Does anyone know how to stop this, or point me to any useful threads elsewhere, a propos of FSX with NET. I have the FSX SDK installed BTW (Acceleration version, from the DVDs). SimConnect.dll is in the folder C:Windowswinsxs - three instances in 3 separate folders (not in FSX folders). Is that how it should be??Thanks for any leads - this really is not my 'sphere of competence', to say the least!! :-)Martin----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------See the end of this message for details on invokingjust-in-time (JIT) debugging instead of this dialog box.************** Exception Text **************System.Runtime.InteropServices.COMException (0xC00000B0): Exception from HRESULT: 0xC00000B0 at System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal(Int32 errorCode, IntPtr errorInfo) at Microsoft.FlightSimulator.SimConnect.SimConnect.UnsubscribeFromSystemEvent(Enum EventID) at rexwxengine2.controls.ucLoadAircraftLocation.closeConnection() at rexwxengine2.controls.ucLoadAircraftLocation.simconnect_OnRecvQuit(SimConnect sender, SIMCONNECT_RECV data) at Microsoft.FlightSimulator.SimConnect.SimConnect.raise_OnRecvQuit(SimConnect value0, SIMCONNECT_RECV value1) at Microsoft.FlightSimulator.SimConnect.SimConnect.OnReceiveMessage(SIMCONNECT_RECV pData, UInt32 cbData) at Microsoft.FlightSimulator.SimConnect.CSignalProcDelegateMarshaler.CallSignalProc(SIMCONNECT_RECV* pData, UInt32 cbData, Void* pContext) at SimConnect_CallDispatch(Void* , IntPtr , Void* ) at Microsoft.FlightSimulator.SimConnect.SimConnect.ReceiveDispatch(SignalProcDelegate pfcnSignal) at Microsoft.FlightSimulator.SimConnect.SimConnect.ReceiveMessage() at rexwxengine2.controls.ucLoadAircraftLocation.DefWndProc(Message& m) at System.Windows.Forms.Control.WndProc(Message& m) at System.Windows.Forms.ScrollableControl.WndProc(Message& m) at System.Windows.Forms.ContainerControl.WndProc(Message& m) at System.Windows.Forms.UserControl.WndProc(Message& m) at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m) at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m) at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)************** Loaded Assemblies **************mscorlib Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.4963 (win7RTMGDR.050727-4900) CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll----------------------------------------rexwxengine2 Assembly Version: 2.5.2010.38549 Win32 Version: 2.5.2010.1027 CodeBase: file:///X:/FSX/REX/rexwxengine2.exe----------------------------------------System.Windows.Forms Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.4961 (win7RTMGDR.050727-4900) CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll----------------------------------------System Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.4962 (win7RTMGDR.050727-4900) CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll----------------------------------------System.Drawing Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900) CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll----------------------------------------Microsoft.FlightSimulator.SimConnect Assembly Version: 10.0.61259.0 Win32 Version: 10.0.61637.0 (FSX-Xpack.20070926-1421) CodeBase: file:///C:/Windows/assembly/GAC_32/Microsoft.FlightSimulator.SimConnect/10.0.61259.0__31bf3856ad364e35/Microsoft.FlightSimulator.SimConnect.dll----------------------------------------msvcm80 Assembly Version: 8.0.50727.6195 Win32 Version: 8.00.50727.6195 CodeBase: file:///C:/Windows/WinSxS/x86_microsoft.vc80.crt_1fc8b3b9a1e18e3b_8.0.50727.6195_none_d09154e044272b9a/msvcm80.dll----------------------------------------System.Configuration Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900) CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll----------------------------------------System.Xml Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900) CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll----------------------------------------System.Data Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900) CodeBase: file:///C:/Windows/assembly/GAC_32/System.Data/2.0.0.0__b77a5c561934e089/System.Data.dll----------------------------------------************** JIT Debugging **************To enable just-in-time (JIT) debugging, the .config file for thisapplication or computer (machine.config) must have thejitDebugging value set in the system.windows.forms section.The application must also be compiled with debuggingenabled.For example:<configuration> <system.windows.forms jitDebugging="true" /></configuration>When JIT debugging is enabled, any unhandled exceptionwill be sent to the JIT debugger registered on the computerrather than be handled by this dialog box.

Edited by martinlest2

Martin Stebbing, EGLF (UK)

What version of Windows is installed? It's showing .net 2 which is pretty old and .net 4 is the latest. Dotnet 4 is backwards compatible so make sure it is installed as some addons require later versions of dotnet than dotnet 2 to run. Run Windows update and make sure you have the latest update to dotnet 4 as there have been many critical high priority updates to this application. Make sure you have the Microsoft Visuals C++ Redistributables from 2005 to 2010 installed as fsx is an old program. MSV's are NOT backward compatible and are required by many fsx/acceleration and addons. Hope this helps.Best regards,Jim

Unhandeled exceptions are programming errors. For some reason this exception is not caught in REX2. Exactly what causes the exception is not immediately obvious without seeing the source code. It should be fixed by the REX2 developers

Johan Pettersen

  • Author

Thanks. My specs are in my signature at the bottom (Win7 x64).When I run System Information, it shows I have the following installed:Microsoft .NET Framework NGEN v2.0.50727_X64 clr_optimization_v2.0.50727_64 Stopped Disabled Own Process c:windowsmicrosoft.netframework64v2.0.50727mscorsvw.exe Ignore LocalSystem 0Microsoft .NET Framework NGEN v2.0.50727_X86 clr_optimization_v2.0.50727_32 Stopped Disabled Own Process c:windowsmicrosoft.netframeworkv2.0.50727mscorsvw.exe Ignore LocalSystem 0Microsoft .NET Framework NGEN v4.0.30319_X64 clr_optimization_v4.0.30319_64 Stopped Auto Own Process c:windowsmicrosoft.netframework64v4.0.30319mscorsvw.exe Ignore LocalSystem 0Microsoft .NET Framework NGEN v4.0.30319_X86 clr_optimization_v4.0.30319_32 Stopped Auto Own Process c:windowsmicrosoft.netframeworkv4.0.30319mscorsvw.exe Ignore LocalSystem 0In the C:Windows/Microsoft.NET folder there are subfolders:v2.0.50727 (73.0 MB)v3.0 (11.8 MB)v3.5 (6.64 MB)v4.0.30319 (379 MB)As far as I can see, I do have the necessary installations..Martin

Martin Stebbing, EGLF (UK)

  • Author

Found this too... don't know what might be relevant to my case:http://www.realenvironmentxtreme.com/forums/index.php?/topic/682-hresult-error-messages-with-rex-weather-engine/page__hl__framework__fromsearch__1M.

Martin Stebbing, EGLF (UK)

  • Commercial Member

@martinlest2 - This is an error you do not have to worry about. Just do not close FSX before REX.We have extensively tested this for REX Essential and this error no longer exists. The main reason for this error was because the way the REX 2 weather engine was written. REX Essential's weather engine is completely new, so this issue has been removed.

Reed Stough
Managing Partner
REX SIMULATIONS 

website:  www.rexsimulations.com
supportwww.rexaxis.com

  • Author

Hmmm.. not getting the error message now. Maybe one of the steps I took on the 'HResult' page worked after a reboot?? Will post back if I get the error and cannot see why.Thanks,M.

Edited by martinlest2

Martin Stebbing, EGLF (UK)

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.