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.

ERRO: Not possible to convert an object of type 'System.String[]'


Bruno Tomasello
 Share

Recommended Posts

Bruno Tomasello
Posted
Posted

Hello, I have a problem the first time I install vPilot ...
I have already installed several visual c ++, net framework 4.8.
I saw in another topic almost the same problem, in his case it was a record that he changed. In my case, I didn't do anything on record, at least manual. xPilot works perfectly, only vPilot does not.

Erro:

 

Consulte o final desta mensagem para obter detalhes sobre como chamar a 
depuração just-in-time (JIT) em vez desta caixa de diálogo.

************** Texto de Exceção **************
System.InvalidCastException: Não é possível converter um objeto do tipo 'System.String[]' no tipo 'System.String'.
   em eg.g()
   em eg.a()
   em d5.b()
   em dp.b(Object A_0, VpilotEventArgs A_1)


************** Assemblies Carregados **************
mscorlib
    Versão do Assembly: 4.0.0.0
    Versão do Win32: 4.8.4300.0 built by: NET48REL1LAST_C
    Base de Código: file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/mscorlib.dll
----------------------------------------
vPilot
    Versão do Assembly: 2.8.1.0
    Versão do Win32: 2.8.1.0
    Base de Código: file:///C:/Users/User/AppData/Local/vPilot/vPilot.exe
----------------------------------------
System.Windows.Forms
    Versão do Assembly: 4.0.0.0
    Versão do Win32: 4.8.4270.0 built by: NET48REL1LAST_C
    Base de Código: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System
    Versão do Assembly: 4.0.0.0
    Versão do Win32: 4.8.4300.0 built by: NET48REL1LAST_C
    Base de Código: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
    Versão do Assembly: 4.0.0.0
    Versão do Win32: 4.8.4084.0 built by: NET48REL1
    Base de Código: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
Ninject
    Versão do Assembly: 3.2.0.0
    Versão do Win32: 3.2.2.0
    Base de Código: file:///C:/Users/User/AppData/Local/vPilot/Ninject.DLL
----------------------------------------
System.Core
    Versão do Assembly: 4.0.0.0
    Versão do Win32: 4.8.4320.0 built by: NET48REL1LAST_C
    Base de Código: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll
----------------------------------------
System.Xml
    Versão do Assembly: 4.0.0.0
    Versão do Win32: 4.8.4084.0 built by: NET48REL1
    Base de Código: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
System.Configuration
    Versão do Assembly: 4.0.0.0
    Versão do Win32: 4.8.4190.0 built by: NET48REL1LAST_B
    Base de Código: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
Ninject.Extensions.Factory
    Versão do Assembly: 3.2.0.0
    Versão do Win32: 3.2.1.0
    Base de Código: file:///C:/Users/User/AppData/Local/vPilot/Ninject.Extensions.Factory.DLL
----------------------------------------
Castle.Core
    Versão do Assembly: 3.2.0.0
    Versão do Win32: 3.2.0.2259
    Base de Código: file:///C:/Users/User/AppData/Local/vPilot/Castle.Core.DLL
----------------------------------------
bbv.Common.EventBroker
    Versão do Assembly: 0.0.0.0
    Versão do Win32: 0.0.0.0
    Base de Código: file:///C:/Users/User/AppData/Local/vPilot/bbv.Common.EventBroker.DLL
----------------------------------------
DynamicProxyGenAssembly2
    Versão do Assembly: 0.0.0.0
    Versão do Win32: 3.2.0.2259
    Base de Código: file:///C:/Users/User/AppData/Local/vPilot/Castle.Core.dll
----------------------------------------
DynamicProxyGenAssembly2
    Versão do Assembly: 0.0.0.0
    Versão do Win32: 3.2.0.2259
    Base de Código: file:///C:/Users/User/AppData/Local/vPilot/Castle.Core.dll
----------------------------------------
RossCarlson.Vatsim.Vpilot.Plugins
    Versão do Assembly: 2.8.1.0
    Versão do Win32: 2.8.1.0
    Base de Código: file:///C:/Users/User/AppData/Local/vPilot/RossCarlson.Vatsim.Vpilot.Plugins.DLL
----------------------------------------
Anonymously Hosted DynamicMethods Assembly
    Versão do Assembly: 0.0.0.0
    Versão do Win32: 4.8.4300.0 built by: NET48REL1LAST_C
    Base de Código: file:///C:/Windows/Microsoft.Net/assembly/GAC_32/mscorlib/v4.0_4.0.0.0__b77a5c561934e089/mscorlib.dll
----------------------------------------
protobuf-net
    Versão do Assembly: 2.0.0.668
    Versão do Win32: 2.0.0.668
    Base de Código: file:///C:/Users/User/AppData/Local/vPilot/protobuf-net.DLL
----------------------------------------
Microsoft.GeneratedCode
    Versão do Assembly: 1.0.0.0
    Versão do Win32: 4.8.4084.0 built by: NET48REL1
    Base de Código: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
Accessibility
    Versão do Assembly: 4.0.0.0
    Versão do Win32: 4.8.4084.0 built by: NET48REL1
    Base de Código: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/Accessibility/v4.0_4.0.0.0__b03f5f7f11d50a3a/Accessibility.dll
----------------------------------------
log4net
    Versão do Assembly: 1.2.10.0
    Versão do Win32: 1.2.10.0
    Base de Código: file:///C:/Users/User/AppData/Local/vPilot/log4net.DLL
----------------------------------------
System.Management
    Versão do Assembly: 4.0.0.0
    Versão do Win32: 4.8.4084.0 built by: NET48REL1
    Base de Código: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Management/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Management.dll
----------------------------------------
SharpDX.DirectInput
    Versão do Assembly: 2.6.3.0
    Versão do Win32: 2.6.3
    Base de Código: file:///C:/Users/User/AppData/Local/vPilot/SharpDX.DirectInput.DLL
----------------------------------------
SharpDX
    Versão do Assembly: 2.6.3.0
    Versão do Win32: 2.6.3
    Base de Código: file:///C:/Users/User/AppData/Local/vPilot/SharpDX.DLL
----------------------------------------
GeoVR.Shared
    Versão do Assembly: 1.0.0.0
    Versão do Win32: 1.0.0.0
    Base de Código: file:///C:/Users/User/AppData/Local/vPilot/GeoVR.Shared.DLL
----------------------------------------
netstandard
    Versão do Assembly: 2.0.0.0
    Versão do Win32: 4.8.4084.0
    Base de Código: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/netstandard/v4.0_2.0.0.0__cc7b13ffcd2ddd51/netstandard.dll
----------------------------------------
GeoVR.Client
    Versão do Assembly: 1.1.0.0
    Versão do Win32: 1.1.0.0
    Base de Código: file:///C:/Users/User/AppData/Local/vPilot/GeoVR.Client.DLL
----------------------------------------
GeoVR.Connection
    Versão do Assembly: 1.0.0.0
    Versão do Win32: 1.0.0.0
    Base de Código: file:///C:/Users/User/AppData/Local/vPilot/GeoVR.Connection.DLL
----------------------------------------
NLog
    Versão do Assembly: 4.0.0.0
    Versão do Win32: 1.1.0.0
    Base de Código: file:///C:/Users/User/AppData/Local/vPilot/GeoVR.Client.dll
----------------------------------------
Concentus
    Versão do Assembly: 1.1.6.0
    Versão do Win32: 1.1.0.0
    Base de Código: file:///C:/Users/User/AppData/Local/vPilot/GeoVR.Client.dll
----------------------------------------
System.Runtime
    Versão do Assembly: 4.0.0.0
    Versão do Win32: 4.8.4084.0
    Base de Código: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Runtime/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Runtime.dll
----------------------------------------
System.Runtime.Extensions
    Versão do Assembly: 4.0.0.0
    Versão do Win32: 4.8.4084.0
    Base de Código: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Runtime.Extensions/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Runtime.Extensions.dll
----------------------------------------
System.Net.Http
    Versão do Assembly: 4.0.0.0
    Versão do Win32: 4.8.4084.0 built by: NET48REL1
    Base de Código: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Net.Http/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Net.Http.dll
----------------------------------------
Newtonsoft.Json
    Versão do Assembly: 12.0.0.0
    Versão do Win32: 12.0.1.22727
    Base de Código: file:///C:/Users/User/AppData/Local/vPilot/Newtonsoft.Json.DLL
----------------------------------------
Microsoft.CSharp
    Versão do Assembly: 4.0.0.0
    Versão do Win32: 4.8.4084.0
    Base de Código: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/Microsoft.CSharp/v4.0_4.0.0.0__b03f5f7f11d50a3a/Microsoft.CSharp.dll
----------------------------------------
System.Net.Http.Formatting
    Versão do Assembly: 5.2.7.0
    Versão do Win32: 5.2.61128.0
    Base de Código: file:///C:/Users/User/AppData/Local/vPilot/System.Net.Http.Formatting.DLL
----------------------------------------
System.Runtime.Serialization
    Versão do Assembly: 4.0.0.0
    Versão do Win32: 4.8.4250.0 built by: NET48REL1LAST_C
    Base de Código: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Runtime.Serialization/v4.0_4.0.0.0__b77a5c561934e089/System.Runtime.Serialization.dll
----------------------------------------
SMDiagnostics
    Versão do Assembly: 4.0.0.0
    Versão do Win32: 4.8.4250.0 built by: NET48REL1LAST_C
    Base de Código: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/SMDiagnostics/v4.0_4.0.0.0__b77a5c561934e089/SMDiagnostics.dll
----------------------------------------
System.Numerics
    Versão do Assembly: 4.0.0.0
    Versão do Win32: 4.8.4084.0 built by: NET48REL1
    Base de Código: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Numerics/v4.0_4.0.0.0__b77a5c561934e089/System.Numerics.dll
----------------------------------------
System.Data
    Versão do Assembly: 4.0.0.0
    Versão do Win32: 4.8.4270.0 built by: NET48REL1LAST_C
    Base de Código: file:///C:/Windows/Microsoft.Net/assembly/GAC_32/System.Data/v4.0_4.0.0.0__b77a5c561934e089/System.Data.dll
----------------------------------------
NAudio
    Versão do Assembly: 1.9.0.0
    Versão do Win32: 1.1.0.0
    Base de Código: file:///C:/Users/User/AppData/Local/vPilot/GeoVR.Client.dll
----------------------------------------
System.Dynamic
    Versão do Assembly: 4.0.0.0
    Versão do Win32: 4.8.4084.0
    Base de Código: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Dynamic/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Dynamic.dll
----------------------------------------
Microsoft.CSharp.resources
    Versão do Assembly: 4.0.0.0
    Versão do Win32: 4.8.4084.0
    Base de Código: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/Microsoft.CSharp.resources/v4.0_4.0.0.0_pt-BR_b03f5f7f11d50a3a/Microsoft.CSharp.resources.dll
----------------------------------------
mscorlib.resources
    Versão do Assembly: 4.0.0.0
    Versão do Win32: 4.8.4084.0 built by: NET48REL1
    Base de Código: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/mscorlib.resources/v4.0_4.0.0.0_pt-BR_b77a5c561934e089/mscorlib.resources.dll
----------------------------------------
Microsoft.GeneratedCode
    Versão do Assembly: 1.0.0.0
    Versão do Win32: 4.8.4084.0 built by: NET48REL1
    Base de Código: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
System.Windows.Forms.resources
    Versão do Assembly: 4.0.0.0
    Versão do Win32: 4.8.4084.0 built by: NET48REL1
    Base de Código: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms.resources/v4.0_4.0.0.0_pt-BR_b77a5c561934e089/System.Windows.Forms.resources.dll
----------------------------------------

************** Depuração JIT **************
Para habilitar a depuração just-in-time (JIT), o arquivo .config deste
aplicativo ou computador (machine.config) deve ter o valor
jitDebugging definido na seção system.windows.forms.
O aplicativo também deve ser compilado com a depuração
habilitada.

Por exemplo:

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

Quando a depuração JIT está habilitada, qualquer exceção sem tratamento
será enviada ao depurador JIT registrado no computador,
em vez de ser tratada nesta caixa de diálogo.


 

 

HEEELLPP

Link to comment
Share on other sites

Ross Carlson
Posted
Posted

This error seems to suggest that you have duplicate registry keys for the install path for your simulator. What simulator are you using?

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

Senior Controller, Boston Virtual ARTCC

Link to comment
Share on other sites

Bruno Tomasello
Posted
Posted (edited)
11 hours ago, Ross Carlson said:

Este erro parece sugerir que você possui chaves de registro duplicadas para o caminho de instalação do seu simulador. Qual simulador você está usando?

I already had P3D, and now I use the MSFS2020. I have a version of P3D that I installed to test you want me to uninstall? I will use vPilot on the MSFS2020

Actually I had the P3D.V4 uninstalled, I tried to install the vPilot to use on the MSFS2020 I couldn't. Now a week ago I installed P3DV5 to test.

But what I really want is the MSFS2020, otherwise I can uninstall everything I want

Edited by Bruno Tomasello
Link to comment
Share on other sites

Ross Carlson
Posted
Posted

I'm not sure, but if you don't use P3D, I would try uninstalling it.

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

Senior Controller, Boston Virtual ARTCC

Link to comment
Share on other sites

Bruno Tomasello
Posted
Posted
1 minute ago, Ross Carlson said:

I'm not sure, but if you don't use P3D, I would try uninstalling it.

I'm uninstalling, does it leave "traces" in the logs that I need to delete?

Link to comment
Share on other sites

Bruno Tomasello
Posted
Posted (edited)

I uninstalled it and it didn't work, I found a Prepar registry folder, I deleted the "registry folder".
Would the MSFS2020 have a registry that I need to see? Where it is?

Edited by Bruno Tomasello
Link to comment
Share on other sites

Bruno Tomasello
Posted
Posted

I LOVE YOU!!!!!
MUCH
MUCH
I LOVE YOU!!!!!

I did it, I deleted ALL the records I found with "prepar3d", as I will not use it no problem. Now it opened !!!

Now I'm going to see if I can get it to run with MSFS2020, but it's already another situation!

Link to comment
Share on other sites

 Share