Jump to content

You're browsing the 2004-2023 VATSIM Forums archive. All content is preserved in a read-only fashion.
For the latest forum posts, please visit https://forum.vatsim.net.

Need to find something? Use the Google search below.

Unable to cast object of type....


Lerimer Santana 1023698
 Share

Recommended Posts

Lerimer Santana 1023698
Posted
Posted

See the end of this message for details on invoking

just-in-time (JIT) debugging instead of this dialog box.

 

************** Exception Text **************

System.InvalidCastException: Unable to cast object of type 'System.String[]' to type 'System.String'.

at es.g()

at es.a()

at eh.a()

at d1.b(Object A_0, VpilotEventArgs A_1)

 

 

************** Loaded [Mod - Happy Thoughts]emblies **************

mscorlib

[Mod - Happy Thoughts]embly Version: 2.0.0.0

Win32 Version: 2.0.50727.8825 (WinRelRS3.050727-8800)

CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll

----------------------------------------

vPilot

[Mod - Happy Thoughts]embly Version: 2.1.7.0

Win32 Version: 2.1.7.0

CodeBase: file:///D:/vPilot/vPilot.exe

----------------------------------------

Ninject

[Mod - Happy Thoughts]embly Version: 3.2.0.0

Win32 Version: 3.2.2.0

CodeBase: file:///D:/vPilot/Ninject.DLL

----------------------------------------

System.Windows.Forms

[Mod - Happy Thoughts]embly Version: 2.0.0.0

Win32 Version: 2.0.50727.8825 (WinRelRS3.050727-8800)

CodeBase: file:///C:/Windows/[Mod - Happy Thoughts]embly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll

----------------------------------------

System

[Mod - Happy Thoughts]embly Version: 2.0.0.0

Win32 Version: 2.0.50727.8825 (WinRelRS3.050727-8800)

CodeBase: file:///C:/Windows/[Mod - Happy Thoughts]embly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll

----------------------------------------

System.Drawing

[Mod - Happy Thoughts]embly Version: 2.0.0.0

Win32 Version: 2.0.50727.8825 (WinRelRS3.050727-8800)

CodeBase: file:///C:/Windows/[Mod - Happy Thoughts]embly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll

----------------------------------------

System.Core

[Mod - Happy Thoughts]embly Version: 3.5.0.0

Win32 Version: 3.5.30729.8833 built by: WinRelRS3

CodeBase: file:///C:/Windows/[Mod - Happy Thoughts]embly/GAC_MSIL/System.Core/3.5.0.0__b77a5c561934e089/System.Core.dll

----------------------------------------

Ninject.Extensions.Factory

[Mod - Happy Thoughts]embly Version: 3.2.0.0

Win32 Version: 3.2.1.0

CodeBase: file:///D:/vPilot/Ninject.Extensions.Factory.DLL

----------------------------------------

Castle.Core

[Mod - Happy Thoughts]embly Version: 3.2.0.0

Win32 Version: 3.2.0.2259

CodeBase: file:///D:/vPilot/Castle.Core.DLL

----------------------------------------

bbv.Common.EventBroker

[Mod - Happy Thoughts]embly Version: 0.0.0.0

Win32 Version: 0.0.0.0

CodeBase: file:///D:/vPilot/bbv.Common.EventBroker.DLL

----------------------------------------

System.Configuration

[Mod - Happy Thoughts]embly Version: 2.0.0.0

Win32 Version: 2.0.50727.8825 (WinRelRS3.050727-8800)

CodeBase: file:///C:/Windows/[Mod - Happy Thoughts]embly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll

----------------------------------------

System.Xml

[Mod - Happy Thoughts]embly Version: 2.0.0.0

Win32 Version: 2.0.50727.8825 (WinRelRS3.050727-8800)

CodeBase: file:///C:/Windows/[Mod - Happy Thoughts]embly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll

----------------------------------------

DynamicProxyGen[Mod - Happy Thoughts]embly2

[Mod - Happy Thoughts]embly Version: 0.0.0.0

Win32 Version: 3.2.0.2259

CodeBase: file:///D:/vPilot/Castle.Core.dll

----------------------------------------

DynamicProxyGen[Mod - Happy Thoughts]embly2

[Mod - Happy Thoughts]embly Version: 0.0.0.0

Win32 Version: 3.2.0.2259

CodeBase: file:///D:/vPilot/Castle.Core.dll

----------------------------------------

Metacraft.Vatsim.Vpilot.Plugins

[Mod - Happy Thoughts]embly Version: 2.0.1.0

Win32 Version: 2.0.1.0

CodeBase: file:///D:/vPilot/Metacraft.Vatsim.Vpilot.Plugins.DLL

----------------------------------------

Anonymously Hosted DynamicMethods [Mod - Happy Thoughts]embly

[Mod - Happy Thoughts]embly Version: 0.0.0.0

Win32 Version: 2.0.50727.8825 (WinRelRS3.050727-8800)

CodeBase: file:///C:/Windows/[Mod - Happy Thoughts]embly/GAC_32/mscorlib/2.0.0.0__b77a5c561934e089/mscorlib.dll

----------------------------------------

protobuf-net

[Mod - Happy Thoughts]embly Version: 2.0.0.668

Win32 Version: 2.0.0.668

CodeBase: file:///D:/vPilot/protobuf-net.DLL

----------------------------------------

cpeobvhc

[Mod - Happy Thoughts]embly Version: 2.1.7.0

Win32 Version: 2.0.50727.8825 (WinRelRS3.050727-8800)

CodeBase: file:///C:/Windows/[Mod - Happy Thoughts]embly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll

----------------------------------------

Accessibility

[Mod - Happy Thoughts]embly Version: 2.0.0.0

Win32 Version: 2.0.50727.8825 (WinRelRS3.050727-8800)

CodeBase: file:///C:/Windows/[Mod - Happy Thoughts]embly/GAC_MSIL/Accessibility/2.0.0.0__b03f5f7f11d50a3a/Accessibility.dll

----------------------------------------

log4net

[Mod - Happy Thoughts]embly Version: 1.2.10.0

Win32 Version: 1.2.10.0

CodeBase: file:///D:/vPilot/log4net.DLL

----------------------------------------

System.Management

[Mod - Happy Thoughts]embly Version: 2.0.0.0

Win32 Version: 2.0.50727.8825 (WinRelRS3.050727-8800)

CodeBase: file:///C:/Windows/[Mod - Happy Thoughts]embly/GAC_MSIL/System.Management/2.0.0.0__b03f5f7f11d50a3a/System.Management.dll

----------------------------------------

SharpDX.DirectInput

[Mod - Happy Thoughts]embly Version: 2.6.3.0

Win32 Version: 2.6.3

CodeBase: file:///D:/vPilot/SharpDX.DirectInput.DLL

----------------------------------------

SharpDX

[Mod - Happy Thoughts]embly Version: 2.6.3.0

Win32 Version: 2.6.3

CodeBase: file:///D:/vPilot/SharpDX.DLL

----------------------------------------

Microsoft.FlightSimulator.SimConnect

[Mod - Happy Thoughts]embly Version: 10.0.61259.0

Win32 Version: 10.0.61637.0 (FSX-Xpack.20070926-1421)

CodeBase: file:///C:/Windows/[Mod - Happy Thoughts]embly/GAC_32/Microsoft.FlightSimulator.SimConnect/10.0.61259.0__31bf3856ad364e35/Microsoft.FlightSimulator.SimConnect.dll

----------------------------------------

System.Web.Services

[Mod - Happy Thoughts]embly Version: 2.0.0.0

Win32 Version: 2.0.50727.8825 (WinRelRS3.050727-8800)

CodeBase: file:///C:/Windows/[Mod - Happy Thoughts]embly/GAC_MSIL/System.Web.Services/2.0.0.0__b03f5f7f11d50a3a/System.Web.Services.dll

----------------------------------------

5p7thotu

[Mod - Happy Thoughts]embly Version: 2.1.7.0

Win32 Version: 2.0.50727.8825 (WinRelRS3.050727-8800)

CodeBase: file:///C:/Windows/[Mod - Happy Thoughts]embly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll

----------------------------------------

6bbu0siy

[Mod - Happy Thoughts]embly Version: 2.1.7.0

Win32 Version: 2.0.50727.8825 (WinRelRS3.050727-8800)

CodeBase: file:///C:/Windows/[Mod - Happy Thoughts]embly/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:

 

 

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.

Link to comment
Share on other sites

Ross Carlson
Posted
Posted

You need to supply some details about this error ... when it occurs, etc.

Developer: vPilot, VRC, vSTARS, vERAM, VAT-Spy

Senior Controller, Boston Virtual ARTCC

Link to comment
Share on other sites

Lerimer Santana 1023698
Posted
Posted

It’s a fresh install of windows and p3d V4. It worked for about a week. Yesterday I went to connect and got that error. Only add on I have is captainsim 757 and activesky. I’m running it as admin.

Link to comment
Share on other sites

Lerimer Santana 1023698
Posted
Posted

It happens every time I run the program. I’ve rebooted, I’ve rolled back my pc to a previous state and nothing.

Link to comment
Share on other sites

Ross Carlson
Posted
Posted

You said it happens when you go to connect, but you also said it happens when you run the program. Can you tell me exactly when it happens?

Developer: vPilot, VRC, vSTARS, vERAM, VAT-Spy

Senior Controller, Boston Virtual ARTCC

Link to comment
Share on other sites

Lerimer Santana 1023698
Posted
Posted (edited)

When I doble click the program it opens up, it tries to connect and then this pops up. If I click on continue nothing happens. It won’t connect to the sim, and settings tab won’t work either.

Edited by Guest
Link to comment
Share on other sites

Lerimer Santana 1023698
Posted
Posted

The connect buttton does not work. When the app opens and tries to search for the sim, is when the errors occurs.

Link to comment
Share on other sites

Ross Carlson
Posted
Posted

Are you familiar with the Registry Editor? I need to see what this node looks like:

 

HKEY_LOCAL_MACHINE\SOFTWARE\Lockheed Martin\Prepar3D v4

Developer: vPilot, VRC, vSTARS, vERAM, VAT-Spy

Senior Controller, Boston Virtual ARTCC

Link to comment
Share on other sites

Lerimer Santana 1023698
Posted
Posted

I will verify when I get home.

Link to comment
Share on other sites

Lerimer Santana 1023698
Posted
Posted

I just fixed it! I was messing with registry in order to install some scenery's from p3d v3 into v4. I created a p3d folder under WOW643Node and aimed it at where my p3d v4 is installed. That is what caused the error. I deleted the entry and all is well!!

Link to comment
Share on other sites

 Share