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.

Error Message


Carl DuFault
 Share

Recommended Posts

Carl DuFault
Posted
Posted

I had to start everything from scratch as I had to clean my computer. I've installed Vpilot back but get an error message: Unhandled exception. Unable to obtain public key for Strong name key pair. Please advise..

Link to comment
Share on other sites

Ross Carlson
Posted
Posted

Hrm ... that's a new one. Are you running vPilot as an administrator?

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

Senior Controller, Boston Virtual ARTCC

Link to comment
Share on other sites

  • 2 weeks later...
Robert Grant
Posted
Posted

Hi Ross. I just got this as well. Been OK up till today.

Yes I am running as ADMIN. Trying to use in host mode with voice and a remote on a client machine. Even when I try to run on the server I get the error.

Regards

Rob

P1/P2/P3 /C3/ VATAME1 (retired)

812419

Link to comment
Share on other sites

Ross Carlson
Posted
Posted

Both of you please check if there is a GlobalExceptions.txt file in your vPilot.exe folder. If so, you'll see that a chunk of information is written to that file each time an unhandled exception occurs. Please post the LAST chunk here, showing this error with any details.

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

Senior Controller, Boston Virtual ARTCC

Link to comment
Share on other sites

Robert Grant
Posted
Posted

Hi Ross. Attached is the GE file from the Host. There was no log on the remote machine.

I ran vPilot on the server again in local mode and it worked but not in the host/remote config.

 

Here is the last chunk of text in the file

 

DateStamp: 27/11/2017 9:35:54 PM

Details: System.ArgumentException: Unable to obtain public key for StrongNameKeyPair.

at System.Reflection.StrongNameKeyPair.nGetPublicKey(Boolean exported, Byte[] array, String container)

at System.Reflection.StrongNameKeyPair.get_PublicKey()

at System.AppDomain.InternalDefineDynamic[Mod - Happy Thoughts]embly([Mod - Happy Thoughts]emblyName name, [Mod - Happy Thoughts]emblyBuilderAccess access, String dir, Evidence evidence, PermissionSet requiredPermissions, PermissionSet optionalPermissions, PermissionSet refusedPermissions, StackCrawlMark& stackMark, IEnumerable`1 unsafe[Mod - Happy Thoughts]emblyAttributes)

at System.AppDomain.DefineDynamic[Mod - Happy Thoughts]embly([Mod - Happy Thoughts]emblyName name, [Mod - Happy Thoughts]emblyBuilderAccess access)

at Castle.DynamicProxy.ModuleScope.CreateModule(Boolean signStrongName)

at Castle.DynamicProxy.ModuleScope.ObtainDynamicModuleWithStrongName()

at Castle.DynamicProxy.ModuleScope.ObtainDynamicModule(Boolean isStrongNamed)

at Castle.DynamicProxy.ModuleScope.DefineType(Boolean inSignedModulePreferably, String name, TypeAttributes flags)

at Castle.DynamicProxy.Generators.Emitters.Cl[Mod - Happy Thoughts]Emitter.CreateTypeBuilder(ModuleScope modulescope, String name, Type baseType, IEnumerable`1 interfaces, TypeAttributes flags, Boolean forceUnsigned)

at Castle.DynamicProxy.Generators.Emitters.Cl[Mod - Happy Thoughts]Emitter..ctor(ModuleScope modulescope, String name, Type baseType, IEnumerable`1 interfaces, TypeAttributes flags, Boolean forceUnsigned)

at Castle.DynamicProxy.Generators.InvocationTypeGenerator.GetEmitter(Cl[Mod - Happy Thoughts]Emitter cl[Mod - Happy Thoughts], Type[] interfaces, INamingScope namingScope, MethodInfo methodInfo)

at Castle.DynamicProxy.Generators.InvocationTypeGenerator.Generate(Cl[Mod - Happy Thoughts]Emitter cl[Mod - Happy Thoughts], ProxyGenerationOptions options, INamingScope namingScope)

at Castle.DynamicProxy.Contributors.InterfaceProxyWithoutTargetContributor.GetInvocationType(MetaMethod method, Cl[Mod - Happy Thoughts]Emitter emitter, ProxyGenerationOptions options)

at Castle.DynamicProxy.Contributors.InterfaceProxyWithoutTargetContributor.GetMethodGenerator(MetaMethod method, Cl[Mod - Happy Thoughts]Emitter cl[Mod - Happy Thoughts], ProxyGenerationOptions options, OverrideMethodDelegate overrideMethod)

at Castle.DynamicProxy.Contributors.CompositeTypeContributor.ImplementMethod(MetaMethod method, Cl[Mod - Happy Thoughts]Emitter cl[Mod - Happy Thoughts], ProxyGenerationOptions options, OverrideMethodDelegate overrideMethod)

at Castle.DynamicProxy.Contributors.CompositeTypeContributor.Generate(Cl[Mod - Happy Thoughts]Emitter cl[Mod - Happy Thoughts], ProxyGenerationOptions options)

at Castle.DynamicProxy.Generators.InterfaceProxyWithoutTargetGenerator.GenerateType(String typeName, Type proxyTargetType, Type[] interfaces, INamingScope namingScope)

at Castle.DynamicProxy.Generators.InterfaceProxyWithTargetGenerator.<>c__DisplayCl[Mod - Happy Thoughts]1.b__0(String n, INamingScope s)

at Castle.DynamicProxy.Generators.BaseProxyGenerator.ObtainProxyType(CacheKey cacheKey, Func`3 factory)

at Castle.DynamicProxy.Generators.InterfaceProxyWithTargetGenerator.GenerateCode(Type proxyTargetType, Type[] interfaces, ProxyGenerationOptions options)

at Castle.DynamicProxy.DefaultProxyBuilder.CreateInterfaceProxyTypeWithoutTarget(Type interfaceToProxy, Type[] additionalInterfacesToProxy, ProxyGenerationOptions options)

at Ninject.Extensions.Factory.BindToExtensions.ToFactory[TInterface](IBindingToSyntax`1 syntax, Func`2 instanceProvider, Type factoryType)

at Ninject.Extensions.Factory.BindToExtensions.ToFactory[TInterface](IBindingToSyntax`1 syntax)

at gm.a()

at Ninject.Modules.NinjectModule.OnLoad(IKernel kernel)

at Ninject.KernelBase.Load(IEnumerable`1 m)

at Ninject.KernelBase..ctor(IComponentContainer components, INinjectSettings settings, INinjectModule[] modules)

at Ninject.KernelBase..ctor(INinjectModule[] modules)

at Ninject.StandardKernel..ctor(INinjectModule[] modules)

at bx.a(String[] A_0)

============================================================

Regards

Rob

P1/P2/P3 /C3/ VATAME1 (retired)

812419

Link to comment
Share on other sites

Ross Carlson
Posted
Posted

I'm afraid that info didn't help ... everything I've found online suggests that this error is related to file permissions, so if you're running as an admin, you should be all set, but obviously that's not the case.

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

Senior Controller, Boston Virtual ARTCC

Link to comment
Share on other sites

Robert Grant
Posted
Posted

Thanks Ross. I will check the permissions but always run as admin etc.

Only issue I can think of is a Windows 10 update a couple of days ago. I noticed just this morning the setting in my system had changed. Ill check and advise.

Regards

Rob

P1/P2/P3 /C3/ VATAME1 (retired)

812419

Link to comment
Share on other sites

Robert Grant
Posted
Posted

Ross.

Problem solved!

Put it down to my stupidity.

When I reinstalled vPilot I forgot to add Run as Administrator to the shortcut.

DOH!

Regards

Rob

P1/P2/P3 /C3/ VATAME1 (retired)

812419

Link to comment
Share on other sites

  • 2 years later...
Christopher Taylor 1437529
Posted
Posted

I just got a Ninject.Extensions.Factory.BindToExtensions exception and I ran vPilot as administrator and it is not working. I reset my computer about four days ago and this specific problem did not happen but no matter what plane I was in I could not hear then I reset my computer last night thinking it would fix the problem and then the Ninject.Extensions.Factory.BindToExtensions thing started happening. Uninstalling and reinstalling did not fix the problem either. If anyone can help that would be greatly appreciated.

Link to comment
Share on other sites

Ross Carlson
Posted
Posted

What is the full text of the exception details?

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

Senior Controller, Boston Virtual ARTCC

Link to comment
Share on other sites

Christopher Taylor 1437529
Posted
Posted

Okay I just booted up vPilot and now I have an "Already Allocated calling waveInOpen" error and heres the text in the details box with that error:

 

See the end of this message for details on invoking

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

 

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

NAudio.MmException: AlreadyAllocated calling waveInOpen

at NAudio.Wave.WaveInEvent.OpenWaveInDevice()

at NAudio.Wave.WaveInEvent.StartRecording()

at GeoVR.Client.Input.Start(String inputDevice)

at GeoVR.Client.UserClient.Start(String inputAudioDevice, String outputAudioDevice, List`1 transceiverIDs)

at fo.h()

at fo.a(Object A_0, fa A_1)

 

 

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

mscorlib

[Mod - Happy Thoughts]embly Version: 4.0.0.0

Win32 Version: 4.7.3468.0 built by: NET472REL1LAST_C

CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/mscorlib.dll

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

vPilot

[Mod - Happy Thoughts]embly Version: 2.4.0.0

Win32 Version: 2.4.0.0

CodeBase: file:///C:/Users/garga/AppData/Local/vPilot/vPilot.exe

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

System.Windows.Forms

[Mod - Happy Thoughts]embly Version: 4.0.0.0

Win32 Version: 4.7.3324.0 built by: NET472REL1LAST_C

CodeBase: file:///C:/WINDOWS/Microsoft.Net/[Mod - Happy Thoughts]embly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll

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

System

[Mod - Happy Thoughts]embly Version: 4.0.0.0

Win32 Version: 4.7.3451.0 built by: NET472REL1LAST_C

CodeBase: file:///C:/WINDOWS/Microsoft.Net/[Mod - Happy Thoughts]embly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll

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

System.Drawing

[Mod - Happy Thoughts]embly Version: 4.0.0.0

Win32 Version: 4.7.3190.0 built by: NET472REL1LAST_C

CodeBase: file:///C:/WINDOWS/Microsoft.Net/[Mod - Happy Thoughts]embly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll

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

Ninject

[Mod - Happy Thoughts]embly Version: 3.2.0.0

Win32 Version: 3.2.2.0

CodeBase: file:///C:/Users/garga/AppData/Local/vPilot/Ninject.DLL

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

System.Core

[Mod - Happy Thoughts]embly Version: 4.0.0.0

Win32 Version: 4.7.3490.0 built by: NET472REL1LAST_C

CodeBase: file:///C:/WINDOWS/Microsoft.Net/[Mod - Happy Thoughts]embly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll

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

System.Xml

[Mod - Happy Thoughts]embly Version: 4.0.0.0

Win32 Version: 4.7.3190.0 built by: NET472REL1LAST_C

CodeBase: file:///C:/WINDOWS/Microsoft.Net/[Mod - Happy Thoughts]embly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll

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

Ninject.Extensions.Factory

[Mod - Happy Thoughts]embly Version: 3.2.0.0

Win32 Version: 3.2.1.0

CodeBase: file:///C:/Users/garga/AppData/Local/vPilot/Ninject.Extensions.Factory.DLL

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

Castle.Core

[Mod - Happy Thoughts]embly Version: 3.2.0.0

Win32 Version: 3.2.0.2259

CodeBase: file:///C:/Users/garga/AppData/Local/vPilot/Castle.Core.DLL

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

bbv.Common.EventBroker

[Mod - Happy Thoughts]embly Version: 0.0.0.0

Win32 Version: 0.0.0.0

CodeBase: file:///C:/Users/garga/AppData/Local/vPilot/bbv.Common.EventBroker.DLL

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

System.Configuration

[Mod - Happy Thoughts]embly Version: 4.0.0.0

Win32 Version: 4.7.3324.0 built by: NET472REL1LAST_C

CodeBase: file:///C:/WINDOWS/Microsoft.Net/[Mod - Happy Thoughts]embly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll

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

DynamicProxyGen[Mod - Happy Thoughts]embly2

[Mod - Happy Thoughts]embly Version: 0.0.0.0

Win32 Version: 3.2.0.2259

CodeBase: file:///C:/Users/garga/AppData/Local/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:///C:/Users/garga/AppData/Local/vPilot/Castle.Core.dll

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

Metacraft.Vatsim.Vpilot.Plugins

[Mod - Happy Thoughts]embly Version: 2.4.0.0

Win32 Version: 2.4.0.0

CodeBase: file:///C:/Users/garga/AppData/Local/vPilot/Metacraft.Vatsim.Vpilot.Plugins.DLL

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

Anonymously Hosted DynamicMethods [Mod - Happy Thoughts]embly

[Mod - Happy Thoughts]embly Version: 0.0.0.0

Win32 Version: 4.7.3468.0 built by: NET472REL1LAST_C

CodeBase: file:///C:/WINDOWS/Microsoft.Net/[Mod - Happy Thoughts]embly/GAC_32/mscorlib/v4.0_4.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:///C:/Users/garga/AppData/Local/vPilot/protobuf-net.DLL

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

Microsoft.GeneratedCode

[Mod - Happy Thoughts]embly Version: 1.0.0.0

Win32 Version: 4.7.3190.0 built by: NET472REL1LAST_C

CodeBase: file:///C:/WINDOWS/Microsoft.Net/[Mod - Happy Thoughts]embly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll

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

Accessibility

[Mod - Happy Thoughts]embly Version: 4.0.0.0

Win32 Version: 4.7.3190.0 built by: NET472REL1LAST_C

CodeBase: file:///C:/WINDOWS/Microsoft.Net/[Mod - Happy Thoughts]embly/GAC_MSIL/Accessibility/v4.0_4.0.0.0__b03f5f7f11d50a3a/Accessibility.dll

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

log4net

[Mod - Happy Thoughts]embly Version: 1.2.10.0

Win32 Version: 1.2.10.0

CodeBase: file:///C:/Users/garga/AppData/Local/vPilot/log4net.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.Management

[Mod - Happy Thoughts]embly Version: 4.0.0.0

Win32 Version: 4.7.3190.0 built by: NET472REL1LAST_C

CodeBase: file:///C:/WINDOWS/Microsoft.Net/[Mod - Happy Thoughts]embly/GAC_MSIL/System.Management/v4.0_4.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:///C:/Users/garga/AppData/Local/vPilot/SharpDX.DirectInput.DLL

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

SharpDX

[Mod - Happy Thoughts]embly Version: 2.6.3.0

Win32 Version: 2.6.3

CodeBase: file:///C:/Users/garga/AppData/Local/vPilot/SharpDX.DLL

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

GeoVR.Shared

[Mod - Happy Thoughts]embly Version: 1.0.0.0

Win32 Version: 1.0.0.0

CodeBase: file:///C:/Users/garga/AppData/Local/vPilot/GeoVR.Shared.DLL

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

netstandard

[Mod - Happy Thoughts]embly Version: 2.0.0.0

Win32 Version: 4.7.3190.0

CodeBase: file:///C:/WINDOWS/Microsoft.Net/[Mod - Happy Thoughts]embly/GAC_MSIL/netstandard/v4.0_2.0.0.0__cc7b13ffcd2ddd51/netstandard.dll

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

GeoVR.Client

[Mod - Happy Thoughts]embly Version: 1.0.0.0

Win32 Version: 1.0.0.0

CodeBase: file:///C:/Users/garga/AppData/Local/vPilot/GeoVR.Client.DLL

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

NLog

[Mod - Happy Thoughts]embly Version: 4.0.0.0

Win32 Version: 1.0.0.0

CodeBase: file:///C:/Users/garga/AppData/Local/vPilot/GeoVR.Client.dll

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

GeoVR.Connection

[Mod - Happy Thoughts]embly Version: 1.0.0.0

Win32 Version: 1.0.0.0

CodeBase: file:///C:/Users/garga/AppData/Local/vPilot/GeoVR.Connection.DLL

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

Concentus

[Mod - Happy Thoughts]embly Version: 1.1.6.0

Win32 Version: 1.0.0.0

CodeBase: file:///C:/Users/garga/AppData/Local/vPilot/GeoVR.Client.dll

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

System.Runtime

[Mod - Happy Thoughts]embly Version: 4.0.0.0

Win32 Version: 4.7.3190.0

CodeBase: file:///C:/WINDOWS/Microsoft.Net/[Mod - Happy Thoughts]embly/GAC_MSIL/System.Runtime/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Runtime.dll

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

System.Runtime.Extensions

[Mod - Happy Thoughts]embly Version: 4.0.0.0

Win32 Version: 4.7.3190.0

CodeBase: file:///C:/WINDOWS/Microsoft.Net/[Mod - Happy Thoughts]embly/GAC_MSIL/System.Runtime.Extensions/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Runtime.Extensions.dll

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

System.Web.Services

[Mod - Happy Thoughts]embly Version: 4.0.0.0

Win32 Version: 4.7.3190.0 built by: NET472REL1LAST_C

CodeBase: file:///C:/WINDOWS/Microsoft.Net/[Mod - Happy Thoughts]embly/GAC_MSIL/System.Web.Services/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Web.Services.dll

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

Microsoft.GeneratedCode

[Mod - Happy Thoughts]embly Version: 1.0.0.0

Win32 Version: 4.7.3190.0 built by: NET472REL1LAST_C

CodeBase: file:///C:/WINDOWS/Microsoft.Net/[Mod - Happy Thoughts]embly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll

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

NAudio

[Mod - Happy Thoughts]embly Version: 1.9.0.0

Win32 Version: 1.0.0.0

CodeBase: file:///C:/Users/garga/AppData/Local/vPilot/GeoVR.Client.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.

 

 

And that's all I have, I hope this is useful in finding a way to fix this problem because I certainly don't want to downgrade back to FSX multiplayer.

Link to comment
Share on other sites

Robert Shearman Jr
Posted
Posted

The "WaveInOpen" one is almost always a matter of going into your Windows sound settings, looking for Microphone Privacy Settings, and making sure vPilot is allowed access to your microphone.

Cheers,
-R.

fvJfs7z.png

Link to comment
Share on other sites

Christopher Taylor 1437529
Posted
Posted

I'm guessing it would be a problem when vPilot is not showing up? I feel like I royally messed something up.

Link to comment
Share on other sites

Christopher Taylor 1437529
Posted
Posted

Alright, one more uninstall and reinstall and it hasn't given me an error yet, fingers crossed it stays fixed

Link to comment
Share on other sites

 Share