Incompatible with AirHauler 2

Locked
alex.fluglotse
Posts: 10
Joined: Sat Dec 21, 2019 11:41 pm
Incompatible with AirHauler 2

Post by alex.fluglotse » Sun Dec 22, 2019 12:00 pm

Hey everybody,

I've just purchased this amazing bird and I have to say it is pretty like that what I have waited for :)

Unfortunately there is only one problem. Trying to import this Aircraft to the AirHauler2 Aircraft Database, I get the following error:

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

************** Exception Text **************
System.InvalidCastException: Conversion from string " 200 ;" to type 'Single' is not valid. ---> System.FormatException: Input string was not in a correct format.
at Microsoft.VisualBasic.CompilerServices.Conversions.ParseDouble(String Value, NumberFormatInfo NumberFormat)
at Microsoft.VisualBasic.CompilerServices.Conversions.ToSingle(String Value, NumberFormatInfo NumberFormat)
--- End of inner exception stack trace ---
at Microsoft.VisualBasic.CompilerServices.Conversions.ToSingle(String Value, NumberFormatInfo NumberFormat)
at Microsoft.VisualBasic.CompilerServices.Conversions.ToSingle(String Value)
at AirHauler2.Module_Aircraft_Import_Parsing.parse_aircraft(String myFilename)
at AirHauler2.frmAircraftImportChooser.SimpleButton2_Click(Object sender, EventArgs e)
at System.Windows.Forms.Control.OnClick(EventArgs e)
at DevExpress.XtraEditors.BaseButton.OnClick(EventArgs e)
at DevExpress.XtraEditors.BaseButton.OnMouseUp(MouseEventArgs e)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at DevExpress.Utils.Controls.ControlBase.WndProc(Message& m)
at DevExpress.XtraEditors.BaseControl.WndProc(Message& msg)
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: 4.0.0.0
Win32 Version: 4.8.4075.0 built by: NET48REL1LAST
CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/mscorlib.dll
----------------------------------------
AirHauler2
Assembly Version: 1.0.0.8
Win32 Version: 1.0.0.8
CodeBase: file:///C:/Games/Airhauler2/AirHauler%202/AirHauler2.exe
----------------------------------------
Microsoft.VisualBasic
Assembly Version: 10.0.0.0
Win32 Version: 14.8.3752.0 built by: NET48REL1
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/Microsoft.VisualBasic/v4.0_10.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualBasic.dll
----------------------------------------
System.Windows.Forms
Assembly Version: 4.0.0.0
Win32 Version: 4.8.4042.0 built by: NET48REL1LAST_C
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System
Assembly Version: 4.0.0.0
Win32 Version: 4.8.4001.0 built by: NET48REL1LAST_C
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
Assembly Version: 4.0.0.0
Win32 Version: 4.8.3752.0 built by: NET48REL1
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System.Configuration
Assembly Version: 4.0.0.0
Win32 Version: 4.8.3752.0 built by: NET48REL1
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
System.Core
Assembly Version: 4.0.0.0
Win32 Version: 4.8.4075.0 built by: NET48REL1LAST
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll
----------------------------------------
System.Xml
Assembly Version: 4.0.0.0
Win32 Version: 4.8.3752.0 built by: NET48REL1
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
Accessibility
Assembly Version: 4.0.0.0
Win32 Version: 4.8.3752.0 built by: NET48REL1
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/Accessibility/v4.0_4.0.0.0__b03f5f7f11d50a3a/Accessibility.dll
----------------------------------------
System.Runtime.Remoting
Assembly Version: 4.0.0.0
Win32 Version: 4.8.3752.0 built by: NET48REL1
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Runtime.Remoting/v4.0_4.0.0.0__b77a5c561934e089/System.Runtime.Remoting.dll
----------------------------------------
DevExpress.XtraBars.v16.2
Assembly Version: 16.2.12.0
Win32 Version: 16.2.12.0
CodeBase: file:///C:/Games/Airhauler2/AirHauler%202/DevExpress.XtraBars.v16.2.DLL
----------------------------------------
DevExpress.Utils.v16.2
Assembly Version: 16.2.12.0
Win32 Version: 16.2.12.0
CodeBase: file:///C:/Games/Airhauler2/AirHauler%202/DevExpress.Utils.v16.2.DLL
----------------------------------------
DevExpress.XtraEditors.v16.2
Assembly Version: 16.2.12.0
Win32 Version: 16.2.12.0
CodeBase: file:///C:/Games/Airhauler2/AirHauler%202/DevExpress.XtraEditors.v16.2.DLL
----------------------------------------
DevExpress.Data.v16.2
Assembly Version: 16.2.12.0
Win32 Version: 16.2.12.0
CodeBase: file:///C:/Games/Airhauler2/AirHauler%202/DevExpress.Data.v16.2.DLL
----------------------------------------
System.ComponentModel.DataAnnotations
Assembly Version: 4.0.0.0
Win32 Version: 4.8.3752.0
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.ComponentModel.DataAnnotations/v4.0_4.0.0.0__31bf3856ad364e35/System.ComponentModel.DataAnnotations.dll
----------------------------------------
System.Data.Linq
Assembly Version: 4.0.0.0
Win32 Version: 4.8.3752.0
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Data.Linq/v4.0_4.0.0.0__b77a5c561934e089/System.Data.Linq.dll
----------------------------------------
DevExpress.XtraCharts.v16.2
Assembly Version: 16.2.12.0
Win32 Version: 16.2.12.0
CodeBase: file:///C:/Games/Airhauler2/AirHauler%202/DevExpress.XtraCharts.v16.2.DLL
----------------------------------------
DevExpress.Charts.v16.2.Core
Assembly Version: 16.2.12.0
Win32 Version: 16.2.12.0
CodeBase: file:///C:/Games/Airhauler2/AirHauler%202/DevExpress.Charts.v16.2.Core.DLL
----------------------------------------
DevExpress.XtraCharts.v16.2.UI
Assembly Version: 16.2.12.0
Win32 Version: 16.2.12.0
CodeBase: file:///C:/Games/Airhauler2/AirHauler%202/DevExpress.XtraCharts.v16.2.UI.DLL
----------------------------------------
DevExpress.Printing.v16.2.Core
Assembly Version: 16.2.12.0
Win32 Version: 16.2.12.0
CodeBase: file:///C:/Games/Airhauler2/AirHauler%202/DevExpress.Printing.v16.2.Core.DLL
----------------------------------------
DevExpress.XtraGrid.v16.2
Assembly Version: 16.2.12.0
Win32 Version: 16.2.12.0
CodeBase: file:///C:/Games/Airhauler2/AirHauler%202/DevExpress.XtraGrid.v16.2.DLL
----------------------------------------
DevExpress.XtraCharts.v16.2.Wizard
Assembly Version: 16.2.12.0
Win32 Version: 16.2.12.0
CodeBase: file:///C:/Games/Airhauler2/AirHauler%202/DevExpress.XtraCharts.v16.2.Wizard.DLL
----------------------------------------
System.Data
Assembly Version: 4.0.0.0
Win32 Version: 4.8.3752.0 built by: NET48REL1
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_32/System.Data/v4.0_4.0.0.0__b77a5c561934e089/System.Data.dll
----------------------------------------
DevExpress.Sparkline.v16.2.Core
Assembly Version: 16.2.12.0
Win32 Version: 16.2.12.0
CodeBase: file:///C:/Games/Airhauler2/AirHauler%202/DevExpress.Sparkline.v16.2.Core.DLL
----------------------------------------
System.Data.DataSetExtensions
Assembly Version: 4.0.0.0
Win32 Version: 4.8.3752.0 built by: NET48REL1
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Data.DataSetExtensions/v4.0_4.0.0.0__b77a5c561934e089/System.Data.DataSetExtensions.dll
----------------------------------------
System.Numerics
Assembly Version: 4.0.0.0
Win32 Version: 4.8.3752.0 built by: NET48REL1
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Numerics/v4.0_4.0.0.0__b77a5c561934e089/System.Numerics.dll
----------------------------------------
GMap.NET.WindowsForms
Assembly Version: 1.9.2.0
Win32 Version: 1.9.2.0
CodeBase: file:///C:/Games/Airhauler2/AirHauler%202/GMap.NET.WindowsForms.DLL
----------------------------------------
GMap.NET.Core
Assembly Version: 1.9.2.0
Win32 Version: 1.9.2.0
CodeBase: file:///C:/Games/Airhauler2/AirHauler%202/GMap.NET.Core.DLL
----------------------------------------
System.Data.SQLite
Assembly Version: 1.0.98.0
Win32 Version: 1.0.98.0
CodeBase: file:///C:/Users/alexf/AppData/Local/GMap.NET/DllCache/SQLite_v101_NET4_x86/System.Data.SQLite.DLL
----------------------------------------
System.Transactions
Assembly Version: 4.0.0.0
Win32 Version: 4.8.3752.0 built by: NET48REL1
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_32/System.Transactions/v4.0_4.0.0.0__b77a5c561934e089/System.Transactions.dll
----------------------------------------
DevExpress.XtraNavBar.v16.2
Assembly Version: 16.2.12.0
Win32 Version: 16.2.12.0
CodeBase: file:///C:/Games/Airhauler2/AirHauler%202/DevExpress.XtraNavBar.v16.2.DLL
----------------------------------------
DevExpress.XtraTreeList.v16.2
Assembly Version: 16.2.12.0
Win32 Version: 16.2.12.0
CodeBase: file:///C:/Games/Airhauler2/AirHauler%202/DevExpress.XtraTreeList.v16.2.DLL
----------------------------------------
DevExpress.BonusSkins.v16.2
Assembly Version: 16.2.12.0
Win32 Version: 16.2.12.0
CodeBase: file:///C:/Games/Airhauler2/AirHauler%202/DevExpress.BonusSkins.v16.2.DLL
----------------------------------------
Devart.Data.SQLite
Assembly Version: 5.11.1307.0
Win32 Version: 5.11.1307.0
CodeBase: file:///C:/Games/Airhauler2/AirHauler%202/Devart.Data.SQLite.DLL
----------------------------------------
Devart.Data
Assembly Version: 5.0.2099.0
Win32 Version: 5.0.2099.0
CodeBase: file:///C:/Games/Airhauler2/AirHauler%202/Devart.Data.DLL
----------------------------------------
DevExpress.XtraLayout.v16.2
Assembly Version: 16.2.12.0
Win32 Version: 16.2.12.0
CodeBase: file:///C:/Games/Airhauler2/AirHauler%202/DevExpress.XtraLayout.v16.2.DLL
----------------------------------------
System.EnterpriseServices
Assembly Version: 4.0.0.0
Win32 Version: 4.8.3752.0 built by: NET48REL1
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_32/System.EnterpriseServices/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.EnterpriseServices.dll
----------------------------------------
WindowsBase
Assembly Version: 4.0.0.0
Win32 Version: 4.8.4075.0 built by: NET48REL1LAST
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/WindowsBase/v4.0_4.0.0.0__31bf3856ad364e35/WindowsBase.dll
----------------------------------------
DevExpress.Mvvm.v16.2
Assembly Version: 16.2.12.0
Win32 Version: 16.2.12.0
CodeBase: file:///C:/Games/Airhauler2/AirHauler%202/DevExpress.Mvvm.v16.2.DLL
----------------------------------------
Anonymously Hosted DynamicMethods Assembly
Assembly Version: 0.0.0.0
Win32 Version: 4.8.4075.0 built by: NET48REL1LAST
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_32/mscorlib/v4.0_4.0.0.0__b77a5c561934e089/mscorlib.dll
----------------------------------------
UIAutomationClient
Assembly Version: 4.0.0.0
Win32 Version: 4.8.4075.0 built by: NET48REL1LAST
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/UIAutomationClient/v4.0_4.0.0.0__31bf3856ad364e35/UIAutomationClient.dll
----------------------------------------
UIAutomationTypes
Assembly Version: 4.0.0.0
Win32 Version: 4.8.4075.0 built by: NET48REL1LAST
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/UIAutomationTypes/v4.0_4.0.0.0__31bf3856ad364e35/UIAutomationTypes.dll
----------------------------------------
System.Web
Assembly Version: 4.0.0.0
Win32 Version: 4.8.4075.0 built by: NET48REL1LAST
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_32/System.Web/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Web.dll
----------------------------------------
Ionic.Zip
Assembly Version: 1.9.1.8
Win32 Version: 1.9.1.8
CodeBase: file:///C:/Games/Airhauler2/AirHauler%202/Ionic.Zip.DLL
----------------------------------------
Microsoft.GeneratedCode
Assembly Version: 1.0.0.0
Win32 Version: 4.8.3752.0 built by: NET48REL1
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.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.

It is only with the KingAir other aircraft are working fine. Maybe one of you know what's wrong.

Greetings,

Alex

jarek
Posts: 120
Joined: Tue May 22, 2018 5:04 pm
Re: Incompatible with AirHauler 2

Post by jarek » Sun Dec 22, 2019 1:11 pm

Could you check your aircraft.cfg - there should be section named [reference speeds]

[Reference Speeds]
cruise_speed = 200 ;//Knots True (KTAS)

Try to replace ;// with // in this section so it will become:

[Reference Speeds]
cruise_speed = 200 //Knots True (KTAS)

See if it helps (while ; is still a valid comment symbol)

alex.fluglotse
Posts: 10
Joined: Sat Dec 21, 2019 11:41 pm
Re: Incompatible with AirHauler 2

Post by alex.fluglotse » Sun Dec 22, 2019 4:49 pm

Hi Jarek,

thx for your quick response. Sadly this doesn't workout. I get still the same Error.
Maybe I have to change the other entries as well?!

Greetings,

Alex

jarek
Posts: 120
Joined: Tue May 22, 2018 5:04 pm
Re: Incompatible with AirHauler 2

Post by jarek » Sun Dec 22, 2019 5:11 pm

Is the error message the same? (still complains about "200 ;"? Please make backup of your aircraft.cfg file (to be on the safe side) and try to replace all entries in this section first, then maybe in entire file.

Error It's the first line in the exception text, I think 200 only exists in the [reference speeds].

************** Exception Text **************
System.InvalidCastException: Conversion from string " 200 ;" <------------------

alex.fluglotse
Posts: 10
Joined: Sat Dec 21, 2019 11:41 pm
Re: Incompatible with AirHauler 2

Post by alex.fluglotse » Sun Dec 22, 2019 9:30 pm

Yep still the same. I will check it out after my holidays-no FS-Setup available there, unfortunately.

However thanks for your help :)

mgaston551
Posts: 3
Joined: Sun Dec 22, 2019 2:52 am
Re: Incompatible with AirHauler 2

Post by mgaston551 » Tue Dec 24, 2019 4:24 am

I am also having this issue. I hope someone can figure it out.

snow_dog
Posts: 1
Joined: Sun Dec 22, 2019 4:44 am
Re: Incompatible with AirHauler 2

Post by snow_dog » Tue Dec 24, 2019 4:49 am

Hi guys I also had this issue but have seemed to fixed it by removing all of the semicolon symbols (;) from the aircraft.cfg. For some reason AirHauler was rejecting the syntax. Obviously keep a backup of the original cfg file but for me this has rectified the issue for now.

Will

mgaston551
Posts: 3
Joined: Sun Dec 22, 2019 2:52 am
Re: Incompatible with AirHauler 2

Post by mgaston551 » Tue Dec 24, 2019 10:57 pm

snow_dog wrote:
Tue Dec 24, 2019 4:49 am
Hi guys I also had this issue but have seemed to fixed it by removing all of the semicolon symbols (;) from the aircraft.cfg. For some reason AirHauler was rejecting the syntax. Obviously keep a backup of the original cfg file but for me this has rectified the issue for now.

Will
Thanks Ill give that a go.


Locked

Return to “K.A.350 Support Forum”