By Ben Smith 950543
#530968 Every time I log into Vatsim i'm getting the following error. It's OK when i start it, it's just after connecting to the network.

Any help appreciated. :D

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

************** Exception Text **************
System.BadImageFormatException: Could not load file or assembly 'Newtonsoft.Json, Version=11.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed' or one of its dependencies. This assembly is built by a runtime newer than the currently loaded runtime and cannot be loaded.
File name: 'Newtonsoft.Json, Version=11.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed'
at Metacraft.Vatsim.Vpilot.Aircrafts.AircraftConfigurationInfo.d()
at d7.l(String A_0)
at gu.b(Object A_0, NetworkDataReceivedEventArgs A_1)

WRN: Assembly binding logging is turned OFF.
To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.
Note: There is some performance penalty associated with assembly bind failure logging.
To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].



************** Loaded Assemblies **************
mscorlib
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.8937 (WinRelRS4.050727-8900)
CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
vPilot
Assembly Version: 2.2.0.0
Win32 Version: 2.2.0.0
CodeBase: file:///C:/Users/User/AppData/Local/vPilot/vPilot.exe
----------------------------------------
Ninject
Assembly Version: 3.2.0.0
Win32 Version: 3.2.2.0
CodeBase: file:///C:/Users/User/AppData/Local/vPilot/Ninject.DLL
----------------------------------------
System.Windows.Forms
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.8922 (WinRelRS4.050727-8900)
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.8939 (WinRelRS4.050727-8900)
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.8922 (WinRelRS4.050727-8900)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System.Xml
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.8922 (WinRelRS4.050727-8900)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
System.Core
Assembly Version: 3.5.0.0
Win32 Version: 3.5.30729.8931 built by: WinRelRS4
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Core/3.5.0.0__b77a5c561934e089/System.Core.dll
----------------------------------------
Ninject.Extensions.Factory
Assembly Version: 3.2.0.0
Win32 Version: 3.2.1.0
CodeBase: file:///C:/Users/User/AppData/Local/vPilot/Ninject.Extensions.Factory.DLL
----------------------------------------
Castle.Core
Assembly Version: 3.2.0.0
Win32 Version: 3.2.0.2259
CodeBase: file:///C:/Users/User/AppData/Local/vPilot/Castle.Core.DLL
----------------------------------------
bbv.Common.EventBroker
Assembly Version: 0.0.0.0
Win32 Version: 0.0.0.0
CodeBase: file:///C:/Users/User/AppData/Local/vPilot/bbv.Common.EventBroker.DLL
----------------------------------------
System.Configuration
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.8922 (WinRelRS4.050727-8900)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
DynamicProxyGenAssembly2
Assembly Version: 0.0.0.0
Win32 Version: 3.2.0.2259
CodeBase: file:///C:/Users/User/AppData/Local/vPilot/Castle.Core.dll
----------------------------------------
DynamicProxyGenAssembly2
Assembly Version: 0.0.0.0
Win32 Version: 3.2.0.2259
CodeBase: file:///C:/Users/User/AppData/Local/vPilot/Castle.Core.dll
----------------------------------------
Metacraft.Vatsim.Vpilot.Plugins
Assembly Version: 2.2.0.0
Win32 Version: 2.2.0.0
CodeBase: file:///C:/Users/User/AppData/Local/vPilot/Metacraft.Vatsim.Vpilot.Plugins.DLL
----------------------------------------
Anonymously Hosted DynamicMethods Assembly
Assembly Version: 0.0.0.0
Win32 Version: 2.0.50727.8937 (WinRelRS4.050727-8900)
CodeBase: file:///C:/WINDOWS/assembly/GAC_32/mscorlib/2.0.0.0__b77a5c561934e089/mscorlib.dll
----------------------------------------
protobuf-net
Assembly Version: 2.0.0.668
Win32 Version: 2.0.0.668
CodeBase: file:///C:/Users/User/AppData/Local/vPilot/protobuf-net.DLL
----------------------------------------
zqdr0fty
Assembly Version: 2.2.0.0
Win32 Version: 2.0.50727.8939 (WinRelRS4.050727-8900)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
Accessibility
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.8922 (WinRelRS4.050727-8900)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/Accessibility/2.0.0.0__b03f5f7f11d50a3a/Accessibility.dll
----------------------------------------
log4net
Assembly Version: 1.2.10.0
Win32 Version: 1.2.10.0
CodeBase: file:///C:/Users/User/AppData/Local/vPilot/log4net.DLL
----------------------------------------
System.Management
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.8922 (WinRelRS4.050727-8900)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Management/2.0.0.0__b03f5f7f11d50a3a/System.Management.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
----------------------------------------
SharpDX.DirectInput
Assembly Version: 2.6.3.0
Win32 Version: 2.6.3
CodeBase: file:///C:/Users/User/AppData/Local/vPilot/SharpDX.DirectInput.DLL
----------------------------------------
SharpDX
Assembly Version: 2.6.3.0
Win32 Version: 2.6.3
CodeBase: file:///C:/Users/User/AppData/Local/vPilot/SharpDX.DLL
----------------------------------------
System.Web.Services
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.8922 (WinRelRS4.050727-8900)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Web.Services/2.0.0.0__b03f5f7f11d50a3a/System.Web.Services.dll
----------------------------------------
g9wd4gyu
Assembly Version: 2.2.0.0
Win32 Version: 2.0.50727.8939 (WinRelRS4.050727-8900)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
6oecpfxw
Assembly Version: 2.2.0.0
Win32 Version: 2.0.50727.8939 (WinRelRS4.050727-8900)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
7vfe4kh9
Assembly Version: 2.2.0.0
Win32 Version: 2.0.50727.8939 (WinRelRS4.050727-8900)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
INIFileParser
Assembly Version: 2.2.2.0
Win32 Version: 2.2.2
CodeBase: file:///C:/Users/User/AppData/Local/vPilot/INIFileParser.DLL
----------------------------------------
msvcm80
Assembly Version: 8.0.50727.9445
Win32 Version: 8.00.50727.9445
CodeBase: file:///C:/WINDOWS/WinSxS/x86_microsoft.vc80.crt_1fc8b3b9a1e18e3b_8.0.50727.9445_none_d08c58b4442ba54f/msvcm80.dll
----------------------------------------
ohmju0iw
Assembly Version: 2.2.0.0
Win32 Version: 2.0.50727.8939 (WinRelRS4.050727-8900)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.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.
By Ross Carlson 887155
#530989 Working on this now ... I'm not sure why the build process is including the wrong version of the Newtonsoft.Json library. Hopefully I'll have a fix out soon.