By Carl DuFault 1365442
#519371 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..
By Robert Grant 812419
#519799 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.
By Ross Carlson 887155
#519808 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.
By Robert Grant 812419
#519814 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.InternalDefineDynamicAssembly(AssemblyName name, AssemblyBuilderAccess access, String dir, Evidence evidence, PermissionSet requiredPermissions, PermissionSet optionalPermissions, PermissionSet refusedPermissions, StackCrawlMark& stackMark, IEnumerable`1 unsafeAssemblyAttributes)
at System.AppDomain.DefineDynamicAssembly(AssemblyName name, AssemblyBuilderAccess 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.ClassEmitter.CreateTypeBuilder(ModuleScope modulescope, String name, Type baseType, IEnumerable`1 interfaces, TypeAttributes flags, Boolean forceUnsigned)
at Castle.DynamicProxy.Generators.Emitters.ClassEmitter..ctor(ModuleScope modulescope, String name, Type baseType, IEnumerable`1 interfaces, TypeAttributes flags, Boolean forceUnsigned)
at Castle.DynamicProxy.Generators.InvocationTypeGenerator.GetEmitter(ClassEmitter class, Type[] interfaces, INamingScope namingScope, MethodInfo methodInfo)
at Castle.DynamicProxy.Generators.InvocationTypeGenerator.Generate(ClassEmitter class, ProxyGenerationOptions options, INamingScope namingScope)
at Castle.DynamicProxy.Contributors.InterfaceProxyWithoutTargetContributor.GetInvocationType(MetaMethod method, ClassEmitter emitter, ProxyGenerationOptions options)
at Castle.DynamicProxy.Contributors.InterfaceProxyWithoutTargetContributor.GetMethodGenerator(MetaMethod method, ClassEmitter class, ProxyGenerationOptions options, OverrideMethodDelegate overrideMethod)
at Castle.DynamicProxy.Contributors.CompositeTypeContributor.ImplementMethod(MetaMethod method, ClassEmitter class, ProxyGenerationOptions options, OverrideMethodDelegate overrideMethod)
at Castle.DynamicProxy.Contributors.CompositeTypeContributor.Generate(ClassEmitter class, ProxyGenerationOptions options)
at Castle.DynamicProxy.Generators.InterfaceProxyWithoutTargetGenerator.GenerateType(String typeName, Type proxyTargetType, Type[] interfaces, INamingScope namingScope)
at Castle.DynamicProxy.Generators.InterfaceProxyWithTargetGenerator.<>c__DisplayClass1.<GenerateCode>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)
============================================================
By Ross Carlson 887155
#519822 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.
By Robert Grant 812419
#519823 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.
By Robert Grant 812419
#519829 Ross.
Problem solved!
Put it down to my stupidity.
When I reinstalled vPilot I forgot to add Run as Administrator to the shortcut.
DOH! :mrgreen:
By Christopher Taylor 1437529
#541205 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.
By Christopher Taylor 1437529
#541229 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 Assemblies **************
mscorlib
Assembly 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
Assembly Version: 2.4.0.0
Win32 Version: 2.4.0.0
CodeBase: file:///C:/Users/garga/AppData/Local/vPilot/vPilot.exe
----------------------------------------
System.Windows.Forms
Assembly Version: 4.0.0.0
Win32 Version: 4.7.3324.0 built by: NET472REL1LAST_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.7.3451.0 built by: NET472REL1LAST_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.7.3190.0 built by: NET472REL1LAST_C
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
Ninject
Assembly Version: 3.2.0.0
Win32 Version: 3.2.2.0
CodeBase: file:///C:/Users/garga/AppData/Local/vPilot/Ninject.DLL
----------------------------------------
System.Core
Assembly Version: 4.0.0.0
Win32 Version: 4.7.3490.0 built by: NET472REL1LAST_C
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.7.3190.0 built by: NET472REL1LAST_C
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
Ninject.Extensions.Factory
Assembly 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
Assembly 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
Assembly 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
Assembly Version: 4.0.0.0
Win32 Version: 4.7.3324.0 built by: NET472REL1LAST_C
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
DynamicProxyGenAssembly2
Assembly Version: 0.0.0.0
Win32 Version: 3.2.0.2259
CodeBase: file:///C:/Users/garga/AppData/Local/vPilot/Castle.Core.dll
----------------------------------------
DynamicProxyGenAssembly2
Assembly 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
Assembly 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 Assembly
Assembly Version: 0.0.0.0
Win32 Version: 4.7.3468.0 built by: NET472REL1LAST_C
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_32/mscorlib/v4.0_4.0.0.0__b77a5c561934e089/mscorlib.dll
----------------------------------------
protobuf-net
Assembly Version: 2.0.0.668
Win32 Version: 2.0.0.668
CodeBase: file:///C:/Users/garga/AppData/Local/vPilot/protobuf-net.DLL
----------------------------------------
Microsoft.GeneratedCode
Assembly Version: 1.0.0.0
Win32 Version: 4.7.3190.0 built by: NET472REL1LAST_C
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.7.3190.0 built by: NET472REL1LAST_C
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/Accessibility/v4.0_4.0.0.0__b03f5f7f11d50a3a/Accessibility.dll
----------------------------------------
log4net
Assembly Version: 1.2.10.0
Win32 Version: 1.2.10.0
CodeBase: file:///C:/Users/garga/AppData/Local/vPilot/log4net.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
----------------------------------------
System.Management
Assembly Version: 4.0.0.0
Win32 Version: 4.7.3190.0 built by: NET472REL1LAST_C
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Management/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Management.dll
----------------------------------------
SharpDX.DirectInput
Assembly Version: 2.6.3.0
Win32 Version: 2.6.3
CodeBase: file:///C:/Users/garga/AppData/Local/vPilot/SharpDX.DirectInput.DLL
----------------------------------------
SharpDX
Assembly Version: 2.6.3.0
Win32 Version: 2.6.3
CodeBase: file:///C:/Users/garga/AppData/Local/vPilot/SharpDX.DLL
----------------------------------------
GeoVR.Shared
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///C:/Users/garga/AppData/Local/vPilot/GeoVR.Shared.DLL
----------------------------------------
netstandard
Assembly Version: 2.0.0.0
Win32 Version: 4.7.3190.0
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/netstandard/v4.0_2.0.0.0__cc7b13ffcd2ddd51/netstandard.dll
----------------------------------------
GeoVR.Client
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///C:/Users/garga/AppData/Local/vPilot/GeoVR.Client.DLL
----------------------------------------
NLog
Assembly Version: 4.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///C:/Users/garga/AppData/Local/vPilot/GeoVR.Client.dll
----------------------------------------
GeoVR.Connection
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///C:/Users/garga/AppData/Local/vPilot/GeoVR.Connection.DLL
----------------------------------------
Concentus
Assembly Version: 1.1.6.0
Win32 Version: 1.0.0.0
CodeBase: file:///C:/Users/garga/AppData/Local/vPilot/GeoVR.Client.dll
----------------------------------------
System.Runtime
Assembly Version: 4.0.0.0
Win32 Version: 4.7.3190.0
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Runtime/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Runtime.dll
----------------------------------------
System.Runtime.Extensions
Assembly Version: 4.0.0.0
Win32 Version: 4.7.3190.0
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Runtime.Extensions/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Runtime.Extensions.dll
----------------------------------------
System.Web.Services
Assembly Version: 4.0.0.0
Win32 Version: 4.7.3190.0 built by: NET472REL1LAST_C
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Web.Services/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Web.Services.dll
----------------------------------------
Microsoft.GeneratedCode
Assembly Version: 1.0.0.0
Win32 Version: 4.7.3190.0 built by: NET472REL1LAST_C
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
NAudio
Assembly 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:

<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.


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.