News:

Thou shalt confirm thine airspeed on final, lest the earth rise up and smite thee. (pre-landing checklist, v1)

Main Menu

Exception plotting airspace: System.Runtime.InteropServices.COMException

Started by BASys, November 28, 2009, 09:39:24 PM

Previous topic - Next topic

BASys

Hi Folks

Tim -
Don't know if you've come across this one.

Got this error in the log ,
I've included a couple of prior & post events
so you get an idea where/when it's occuring.

18:38:43  Finished writing Airports.
18:38:43 Database load complete.
18:43:49 Exception plotting airspace: System.Runtime.InteropServices.COMException (0x80020101): Exception from HRESULT: 0x80020101
   at MS.Win32.UnsafeNativeMethods.IDispatch.Invoke(Int32 dispIdMember, Guid& riid, Int32 lcid, Int32 dwFlags, tagDISPPARAMS pDispParams, Object[] pVarResult, tagEXCEPINFO pExcepInfo, IntPtr[] pArgErr)
   at System.Windows.Controls.WebBrowser.InvokeScript(String scriptName, Object[] args)
   at Plan_G.MapHandler.PlotAirspace(Double north, Double south, Double east, Double west)
   at Plan_G.MapHandler.PlotOverlayElements(Double north, Double south, Double east, Double west, Double centreLat, Double centreLng, Single zoom)
18:43:50 Error plotting map elements: Exception from HRESULT: 0x80020101
18:46:33 Exception plotting airspace: System.Runtime.InteropServices.COMException (0x80020101): Exception from HRESULT: 0x80020101
   at MS.Win32.UnsafeNativeMethods.IDispatch.Invoke(Int32 dispIdMember, Guid& riid, Int32 lcid, Int32 dwFlags, tagDISPPARAMS pDispParams, Object[] pVarResult, tagEXCEPINFO pExcepInfo, IntPtr[] pArgErr)
   at System.Windows.Controls.WebBrowser.InvokeScript(String scriptName, Object[] args)
   at Plan_G.MapHandler.PlotAirspace(Double north, Double south, Double east, Double west)
   at Plan_G.MapHandler.PlotOverlayElements(Double north, Double south, Double east, Double west, Double centreLat, Double centreLng, Single zoom)
18:46:34 Error plotting map elements: Exception from HRESULT: 0x80020101
18:47:24 PlanG constructor
18:47:24 executableFolder: C:\Program Files\Microsoft Games\Tools\Plan-G

Any tips on what I should be looking for ?

I've possibly got one tweaked airspace file,
which I'll dig out and take a look at.

HTH
ATB
Paul

tim arnot

Hmm. That's failing somewhere in the google script code. Here's a new script file that's (a) better error trapped and (b) might throw a bit more light on which airspace is causing the problem. Just unzip and copy over the top of the existing google.html file. Let me know the result.

Tim. @TimArnot

BASys

Hi Folks

Tim -
No errors are being logged now.

Tried rebuilding the database.
Still no errors.

Side Issue - L/U airspace boundaries
I'm not seeing these at any zoom level.
Is there anywhere I should relocate to, to see these ?

HTH
ATB
Paul