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.

closed vPilot Unhandled Exception on Startup - Possible Audio?


Francis Leppar
 Share

Recommended Posts

Francis Leppar
Posted
Posted

Hey everyone!

Just reinstalled vPilot looking to get out in the community again and resume some flying; however, I am getting an unhandled exception error on launch.  I'm assuming by the details this is related to my audio settings on the computer (not the privacy settings).  I currently use the WaveLink software which has a bunch of virtual outputs and rerouting of the audio, and I am thinking that is the culprit; however, I'm not sure what to do from here.  Attached is the exception text in hopes it helps someone out.

Quote

System.Runtime.InteropServices.COMException (0x800401F3): Invalid class string (Exception from HRESULT: 0x800401F3 (CO_E_CLASSSTRING))
   at NAudio.CoreAudioApi.Interfaces.IPropertyStore.GetAt(Int32 property, PropertyKey& key)
   at NAudio.CoreAudioApi.PropertyStore.Contains(PropertyKey key)
   at NAudio.CoreAudioApi.MMDevice.get_FriendlyName()
   at GeoVR.Client.ClientAudioUtilities.<>c__DisplayClass10_0.<MapWasapiOutputDevice>b__0(MMDevice x)
   at System.Linq.Enumerable.Any[TSource](IEnumerable`1 source, Func`2 predicate)
   at GeoVR.Client.ClientAudioUtilities.MapWasapiOutputDevice(String outputDevice)
   at GeoVR.Client.Output.Start(String outputDevice, ISampleProvider sampleProvider)
   at GeoVR.Client.UserClient.Start(String inputAudioDevice, String outputAudioDevice, List`1 transceiverIDs)
   at e8.h()
   at e8.a(Object A_0, eu A_1)

Appreciate whomever for taking their time here!

Link to comment
Share on other sites

Francis Leppar
Posted
Posted (edited)

Few things I did on my own from some other research that has not resolved the issue:

  • Uninstalled VoiceMod
  • Uninstalled nVidia Broadcast
  • Have NOT tried uninstalling WaveLink (that would be a real pain)
  • Ensured the microphone is allowed by outside apps
  • Uninstalled vPilot and reinstalled in admin mode, with an empty config
  • Ensured I am running the program in admin mode.

EDIT: I have a buddy who also uses WaveLink.  He was able to install vPilot without an issue.  This thread was moved here due to the error being with AFV and not vPilot itself.

Here is the full error message:

Quote

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

************** Exception Text **************
System.Runtime.InteropServices.COMException (0x800401F3): Invalid class string (Exception from HRESULT: 0x800401F3 (CO_E_CLASSSTRING))
   at NAudio.CoreAudioApi.Interfaces.IPropertyStore.GetAt(Int32 property, PropertyKey& key)
   at NAudio.CoreAudioApi.PropertyStore.Contains(PropertyKey key)
   at NAudio.CoreAudioApi.MMDevice.get_FriendlyName()
   at GeoVR.Client.ClientAudioUtilities.<>c__DisplayClass10_0.<MapWasapiOutputDevice>b__0(MMDevice x)
   at System.Linq.Enumerable.Any[TSource](IEnumerable`1 source, Func`2 predicate)
   at GeoVR.Client.ClientAudioUtilities.MapWasapiOutputDevice(String outputDevice)
   at GeoVR.Client.Output.Start(String outputDevice, ISampleProvider sampleProvider)
   at GeoVR.Client.UserClient.Start(String inputAudioDevice, String outputAudioDevice, List`1 transceiverIDs)
   at e8.h()
   at e8.a(Object A_0, eu A_1)


************** Loaded Assemblies **************
mscorlib
    Assembly Version: 4.0.0.0
    Win32 Version: 4.8.4341.0 built by: NET48REL1LAST_C
    CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/mscorlib.dll
----------------------------------------
vPilot
    Assembly Version: 2.8.1.0
    Win32 Version: 2.8.1.0
    CodeBase: file:///C:/VATSIM/vPilot/vPilot.exe
----------------------------------------
System.Windows.Forms
    Assembly Version: 4.0.0.0
    Win32 Version: 4.8.4341.0 built by: NET48REL1LAST_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.8.4300.0 built by: NET48REL1LAST_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.8.4084.0 built by: NET48REL1
    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:/VATSIM/vPilot/Ninject.DLL
----------------------------------------
System.Core
    Assembly Version: 4.0.0.0
    Win32 Version: 4.8.4341.0 built by: NET48REL1LAST_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.8.4084.0 built by: NET48REL1
    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:/VATSIM/vPilot/Ninject.Extensions.Factory.DLL
----------------------------------------
Castle.Core
    Assembly Version: 3.2.0.0
    Win32 Version: 3.2.0.2259
    CodeBase: file:///C:/VATSIM/vPilot/Castle.Core.DLL
----------------------------------------
bbv.Common.EventBroker
    Assembly Version: 0.0.0.0
    Win32 Version: 0.0.0.0
    CodeBase: file:///C:/VATSIM/vPilot/bbv.Common.EventBroker.DLL
----------------------------------------
System.Configuration
    Assembly Version: 4.0.0.0
    Win32 Version: 4.8.4190.0 built by: NET48REL1LAST_B
    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:/VATSIM/vPilot/Castle.Core.dll
----------------------------------------
DynamicProxyGenAssembly2
    Assembly Version: 0.0.0.0
    Win32 Version: 3.2.0.2259
    CodeBase: file:///C:/VATSIM/vPilot/Castle.Core.dll
----------------------------------------
RossCarlson.Vatsim.Vpilot.Plugins
    Assembly Version: 2.8.1.0
    Win32 Version: 2.8.1.0
    CodeBase: file:///C:/VATSIM/vPilot/RossCarlson.Vatsim.Vpilot.Plugins.DLL
----------------------------------------
Anonymously Hosted DynamicMethods Assembly
    Assembly Version: 0.0.0.0
    Win32 Version: 4.8.4341.0 built by: NET48REL1LAST_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:/VATSIM/vPilot/protobuf-net.DLL
----------------------------------------
Microsoft.GeneratedCode
    Assembly Version: 1.0.0.0
    Win32 Version: 4.8.4084.0 built by: NET48REL1
    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.8.4084.0 built by: NET48REL1
    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:/VATSIM/vPilot/log4net.DLL
----------------------------------------
System.Management
    Assembly Version: 4.0.0.0
    Win32 Version: 4.8.4084.0 built by: NET48REL1
    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:/VATSIM/vPilot/SharpDX.DirectInput.DLL
----------------------------------------
SharpDX
    Assembly Version: 2.6.3.0
    Win32 Version: 2.6.3
    CodeBase: file:///C:/VATSIM/vPilot/SharpDX.DLL
----------------------------------------
GeoVR.Shared
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///C:/VATSIM/vPilot/GeoVR.Shared.DLL
----------------------------------------
netstandard
    Assembly Version: 2.0.0.0
    Win32 Version: 4.8.4084.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.1.0.0
    Win32 Version: 1.1.0.0
    CodeBase: file:///C:/VATSIM/vPilot/GeoVR.Client.DLL
----------------------------------------
GeoVR.Connection
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///C:/VATSIM/vPilot/GeoVR.Connection.DLL
----------------------------------------
NLog
    Assembly Version: 4.0.0.0
    Win32 Version: 1.1.0.0
    CodeBase: file:///C:/VATSIM/vPilot/GeoVR.Client.dll
----------------------------------------
Concentus
    Assembly Version: 1.1.6.0
    Win32 Version: 1.1.0.0
    CodeBase: file:///C:/VATSIM/vPilot/GeoVR.Client.dll
----------------------------------------
System.Runtime
    Assembly Version: 4.0.0.0
    Win32 Version: 4.8.4084.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.8.4084.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.Net.Http
    Assembly Version: 4.0.0.0
    Win32 Version: 4.8.4084.0 built by: NET48REL1
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Net.Http/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Net.Http.dll
----------------------------------------
Newtonsoft.Json
    Assembly Version: 12.0.0.0
    Win32 Version: 12.0.1.22727
    CodeBase: file:///C:/VATSIM/vPilot/Newtonsoft.Json.DLL
----------------------------------------
Microsoft.CSharp
    Assembly Version: 4.0.0.0
    Win32 Version: 4.8.4084.0
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/Microsoft.CSharp/v4.0_4.0.0.0__b03f5f7f11d50a3a/Microsoft.CSharp.dll
----------------------------------------
System.Net.Http.Formatting
    Assembly Version: 5.2.7.0
    Win32 Version: 5.2.61128.0
    CodeBase: file:///C:/VATSIM/vPilot/System.Net.Http.Formatting.DLL
----------------------------------------
System.Runtime.Serialization
    Assembly Version: 4.0.0.0
    Win32 Version: 4.8.4250.0 built by: NET48REL1LAST_C
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Runtime.Serialization/v4.0_4.0.0.0__b77a5c561934e089/System.Runtime.Serialization.dll
----------------------------------------
SMDiagnostics
    Assembly Version: 4.0.0.0
    Win32 Version: 4.8.4250.0 built by: NET48REL1LAST_C
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/SMDiagnostics/v4.0_4.0.0.0__b77a5c561934e089/SMDiagnostics.dll
----------------------------------------
System.Numerics
    Assembly Version: 4.0.0.0
    Win32 Version: 4.8.4084.0 built by: NET48REL1
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Numerics/v4.0_4.0.0.0__b77a5c561934e089/System.Numerics.dll
----------------------------------------
System.Data
    Assembly Version: 4.0.0.0
    Win32 Version: 4.8.4270.0 built by: NET48REL1LAST_C
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_32/System.Data/v4.0_4.0.0.0__b77a5c561934e089/System.Data.dll
----------------------------------------
NAudio
    Assembly Version: 1.9.0.0
    Win32 Version: 1.1.0.0
    CodeBase: file:///C:/VATSIM/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.

 

Edited by Francis Leppar
Updating Information
Link to comment
Share on other sites

Francis Leppar
Posted
Posted

After exhausting my options with everything else, I went ahead and uninstalled WaveLink.  I then uninstalled vPilot.  After the reinstall, vPilot loaded right up.  I then reinstalled WaveLink and it also appeared to work with vPilot.  Going to be a pain reconfiguring all the apps and remapping them all; however, everything appears to be in working order now w/ Elgato WaveLink being the culprit here preventing the AFV audio to sync up correctly.

Tested everything in sim and was 5/5.  Marking closed.

Link to comment
Share on other sites

 Share