• Which the release of FS2020 we see an explosition of activity on the forun and of course we are very happy to see this. But having all questions about FS2020 in one forum becomes a bit messy. So therefore we would like to ask you all to use the following guidelines when posting your questions:

    • Tag FS2020 specific questions with the MSFS2020 tag.
    • Questions about making 3D assets can be posted in the 3D asset design forum. Either post them in the subforum of the modelling tool you use or in the general forum if they are general.
    • Questions about aircraft design can be posted in the Aircraft design forum
    • Questions about airport design can be posted in the FS2020 airport design forum. Once airport development tools have been updated for FS2020 you can post tool speciifc questions in the subforums of those tools as well of course.
    • Questions about terrain design can be posted in the FS2020 terrain design forum.
    • Questions about SimConnect can be posted in the SimConnect forum.

    Any other question that is not specific to an aspect of development or tool can be posted in the General chat forum.

    By following these guidelines we make sure that the forums remain easy to read for everybody and also that the right people can find your post to answer it.

FSXA Unhandled Exception Error

JonPatch

Resource contributor
Messages
443
Country
ca-britishcolumbia
When I install ADE 1.6 on my new Windows 8.1 machine, I get the following unhandled exception error when I try to run the program. If I right-click on the executable and Run as Administrator the program works, but this is clunky. Solution?

See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.ComponentModel.Win32Exception: Access is denied
at AMS.Profile.Ini.SetValue(String section, String entry, Object value)
at ScruffyDuck.AirportDesignEditor.Program.targetVersionTargetVersion(FSVersion targetVersion)
at ScruffyDuck.AirportDesignEditor.Helpers.SetTargetVersion.OkClick(Object sender, EventArgs e)
at System.Windows.Forms.Control.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ButtonBase.WndProc(Message& m)
at System.Windows.Forms.Button.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.8009 (FX35W81RTMGDR.050727-8000)
CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
Airport Design Editor
Assembly Version: 1.61.5286.20171
Win32 Version: 1.61.5286.20171
CodeBase: file:///C:/Program%20Files%20(x86)/FS%20Design%20Tools/Airport%20Design%20Editor%20160/Airport%20Design%20Editor.exe
----------------------------------------
TracerX-Logger
Assembly Version: 5.0.1011.7135
Win32 Version: 5.0.1011.7135
CodeBase: file:///C:/Program%20Files%20(x86)/FS%20Design%20Tools/Airport%20Design%20Editor%20160/TracerX-Logger.DLL
----------------------------------------
jmSDELib
Assembly Version: 4.62.5286.20170
Win32 Version: 4.62.5286.20170
CodeBase: file:///C:/Program%20Files%20(x86)/FS%20Design%20Tools/Airport%20Design%20Editor%20160/jmSDELib.DLL
----------------------------------------
LidorSystems.IntegralUI.Lists.TreeView
Assembly Version: 3.1.0.0
Win32 Version: 3.2.0.0
CodeBase: file:///C:/Program%20Files%20(x86)/FS%20Design%20Tools/Airport%20Design%20Editor%20160/LidorSystems.IntegralUI.Lists.TreeView.DLL
----------------------------------------
LidorSystems.IntegralUI.Lists
Assembly Version: 3.1.0.0
Win32 Version: 3.2.0.0
CodeBase: file:///C:/Program%20Files%20(x86)/FS%20Design%20Tools/Airport%20Design%20Editor%20160/LidorSystems.IntegralUI.Lists.DLL
----------------------------------------
LidorSystems.IntegralUI
Assembly Version: 3.1.0.0
Win32 Version: 3.2.0.0
CodeBase: file:///C:/Program%20Files%20(x86)/FS%20Design%20Tools/Airport%20Design%20Editor%20160/LidorSystems.IntegralUI.DLL
----------------------------------------
System.Windows.Forms
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.8008 (FX35W81RTMGDR.050727-8000)
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.7905 (win9rel.050727-7900)
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.8007 (FX35W81RTMGDR.050727-8000)
CodeBase: file:///C:/windows/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
AMS.Profile
Assembly Version: 2.0.2685.14972
Win32 Version: 2.0.2685.14972
CodeBase: file:///C:/Program%20Files%20(x86)/FS%20Design%20Tools/Airport%20Design%20Editor%20160/AMS.Profile.DLL
----------------------------------------
System.Xml
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.8009 (FX35W81RTMGDR.050727-8000)
CodeBase: file:///C:/windows/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
Campari.Software.Core
Assembly Version: 2.0.4259.16385
Win32 Version: 2.0.4259.16385
CodeBase: file:///C:/Program%20Files%20(x86)/FS%20Design%20Tools/Airport%20Design%20Editor%20160/Campari.Software.Core.DLL
----------------------------------------
jmCommonLib
Assembly Version: 1.12.5286.20169
Win32 Version: 1.12.5286.20169
CodeBase: file:///C:/Program%20Files%20(x86)/FS%20Design%20Tools/Airport%20Design%20Editor%20160/jmCommonLib.DLL
----------------------------------------
SystemWrapper
Assembly Version: 0.5.0.0
Win32 Version: 0.5.2.0
CodeBase: file:///C:/Program%20Files%20(x86)/FS%20Design%20Tools/Airport%20Design%20Editor%20160/SystemWrapper.DLL
----------------------------------------
UMD.HCIL.Piccolo
Assembly Version: 1.50.14.0
Win32 Version: 1.50.14
CodeBase: file:///C:/Program%20Files%20(x86)/FS%20Design%20Tools/Airport%20Design%20Editor%20160/UMD.HCIL.Piccolo.DLL
----------------------------------------
PropertyBagLib
Assembly Version: 1.0.5194.31786
Win32 Version: 1.0
CodeBase: file:///C:/Program%20Files%20(x86)/FS%20Design%20Tools/Airport%20Design%20Editor%20160/PropertyBagLib.DLL
----------------------------------------
ComponentFactory.Krypton.Toolkit
Assembly Version: 4.3.2.0
Win32 Version: 4.3.2.0
CodeBase: file:///C:/Program%20Files%20(x86)/FS%20Design%20Tools/Airport%20Design%20Editor%20160/ComponentFactory.Krypton.Toolkit.DLL
----------------------------------------
System.Core
Assembly Version: 3.5.0.0
Win32 Version: 3.5.30729.7903 built by: Win9Rel
CodeBase: file:///C:/windows/assembly/GAC_MSIL/System.Core/3.5.0.0__b77a5c561934e089/System.Core.dll
----------------------------------------

************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.

For example:

<configuration>
<system.windows.forms jitDebugging="true" />
</configuration>

When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.
 
Jon Patch
you could simplify this by right clicking on the 'fsx.exe' file, select properties and set it to "Run as Administrator". Then you won't have to do it any more.
 
I did this, raymk, to the ADE beta RC file, and then redid the shortcuts, problem solved, thanks!
 
Back
Top