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.

ASA Unhandled Exception - Printing Briefing

Featured Replies

Using Vista 64 UltimateDual-Core 32004 GB RamATI Radeon 1650X w/512 KBASA Build B431Whenever I attempt to print the briefing or navlog only, an "unhandled exception" error fires - "Handle 0 is not valid"Details follow:See the end of this message for details on invoking just-in-time (JIT) debugging instead of this dialog box.************** Exception Text **************System.ArgumentException: Handle 0 is not valid. at System.Drawing.Printing.PrinterSettings.SetHdevmode(IntPtr hdevmode) at System.Windows.Forms.PrintDialog.UpdatePrinterSettings(IntPtr hDevMode, IntPtr hDevNames, Int16 copies, Int32 flags, PrinterSettings settings, PageSettings pageSettings) at System.Windows.Forms.PrintDialog.ShowPrintDialog(IntPtr hwndOwner, WndProc hookProcPtr, PRINTDLG data) at System.Windows.Forms.PrintDialog.RunDialog(IntPtr hwndOwner) at System.Windows.Forms.CommonDialog.ShowDialog(IWin32Window owner) at System.Windows.Forms.CommonDialog.ShowDialog() at ASA.Briefing_Control.btn_Print_Click(Object sender, EventArgs e) at System.Windows.Forms.Control.OnClick(EventArgs e) at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks) at System.Windows.Forms.Control.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.4016 (NetFxQFE.050727-4000) CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll----------------------------------------ASA_Exec Assembly Version: 11.0.0.431 Win32 Version: 11.0.0.431 CodeBase: file:///C:/Program%20Files%20(x86)/HiFi/ASA/ASA_Exec.exe----------------------------------------Microsoft.VisualBasic Assembly Version: 8.0.0.0 Win32 Version: 8.0.50727.4016 (NetFxQFE.050727-4000) CodeBase: file:///C:/Windows/assembly/GAC_MSIL/Microsoft.VisualBasic/8.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualBasic.dll----------------------------------------System.Windows.Forms Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.4016 (NetFxQFE.050727-4000) 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.4016 (NetFxQFE.050727-4000) 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.4016 (NetFxQFE.050727-4000) CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll----------------------------------------System.Runtime.Remoting Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.4016 (NetFxQFE.050727-4000) CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Runtime.Remoting/2.0.0.0__b77a5c561934e089/System.Runtime.Remoting.dll----------------------------------------System.Configuration Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.4016 (NetFxQFE.050727-4000) 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.4016 (NetFxQFE.050727-4000) CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll----------------------------------------ASA Assembly Version: 11.0.0.431 Win32 Version: 11.0.0.431 CodeBase: file:///C:/Program%20Files%20(x86)/HiFi/ASA/ASA.DLL----------------------------------------HiFiUtil Assembly Version: 1.0.0.25 Win32 Version: 1.0.0.25 CodeBase: file:///C:/Program%20Files%20(x86)/HiFi/ASA/HiFiUtil.DLL----------------------------------------HiFiLic Assembly Version: 1.0.0.26 Win32 Version: 1.0.0.26 CodeBase: file:///C:/Program%20Files%20(x86)/HiFi/ASA/HiFiLic.DLL----------------------------------------Interop.Scripting Assembly Version: 1.0.0.0 Win32 Version: 1.0.0.0 CodeBase: file:///C:/Program%20Files%20(x86)/HiFi/ASA/Interop.Scripting.DLL----------------------------------------WorldData Assembly Version: 1.0.0.12 Win32 Version: 1.0.0.12 CodeBase: file:///C:/Program%20Files%20(x86)/HiFi/ASA/WorldData.DLL----------------------------------------HiFiSimControls Assembly Version: 1.1.0.1 Win32 Version: 1.1.0.1 CodeBase: file:///C:/Program%20Files%20(x86)/HiFi/ASA/HiFiSimControls.DLL----------------------------------------HiFiSimInterface Assembly Version: 1.0.0.35 Win32 Version: 1.0.0.35 CodeBase: file:///C:/Program%20Files%20(x86)/HiFi/ASA/HiFiSimInterface.DLL----------------------------------------AvMath Assembly Version: 1.0.0.28 Win32 Version: 1.0.0.28 CodeBase: file:///C:/Program%20Files%20(x86)/HiFi/ASA/AvMath.DLL----------------------------------------Accessibility Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.4016 (NetFxQFE.050727-4000) CodeBase: file:///C:/Windows/assembly/GAC_MSIL/Accessibility/2.0.0.0__b03f5f7f11d50a3a/Accessibility.dll----------------------------------------User_FlightPlan Assembly Version: 1.0.0.19 Win32 Version: 1.0.0.19 CodeBase: file:///C:/Program%20Files%20(x86)/HiFi/ASA/User_FlightPlan.DLL----------------------------------------HiFiFSUIPC Assembly Version: 1.0.0.25 Win32 Version: 1.0.0.25 CodeBase: file:///C:/Program%20Files%20(x86)/HiFi/ASA/HiFiFSUIPC.DLL----------------------------------------HiFiSimConnect1 Assembly Version: 1.0.1.26 Win32 Version: 1.0.1.26 CodeBase: file:///C:/Program%20Files%20(x86)/HiFi/ASA/HiFiSimConnect1.DLL----------------------------------------HiFiSimConnect2 Assembly Version: 1.0.2.26 Win32 Version: 1.0.2.26 CodeBase: file:///C:/Program%20Files%20(x86)/HiFi/ASA/HiFiSimConnect2.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.4016 Win32 Version: 8.00.50727.4016 CodeBase: file:///C:/Windows/WinSxS/x86_microsoft.vc80.crt_1fc8b3b9a1e18e3b_8.0.50727.4016_none_d0893820442e7fe4/msvcm80.dll----------------------------------------System.Management Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.4016 (NetFxQFE.050727-4000) CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Management/2.0.0.0__b03f5f7f11d50a3a/System.Management.dll----------------------------------------Microsoft.mshtml Assembly Version: 7.0.3300.0 Win32 Version: 7.0.3300.0 CodeBase: file:///C:/Windows/assembly/GAC/Microsoft.mshtml/7.0.3300.0__b03f5f7f11d50a3a/Microsoft.mshtml.dll----------------------------------------System.Data Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.4016 (NetFxQFE.050727-4000) 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.-------MS dropped a "NET runtime update" this morning - hope this didn't have anything to do with it.Cheers,Brian

This may not apply to your situation but in FS2004 if you are not using IE as your browser (using Mozilla or Opera etc.) several printing functions will not work.After making IE your default browser things print as they should.Might be worth checking.

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.