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.

Unhandled exception when choosing PTT


Zack Ellett 1422054
 Share

Recommended Posts

Zack Ellett 1422054
Posted
Posted

I just factory reset my computer a few days ago, and I installed vERAM and am now getting an unhandled exception when trying to choose my PTT button [Mod - Happy Thoughts]ignment. I originally put my vERAM installation on a thumb drive and then moved it over, and I thought that is what might of caused it. But, I uninstalled vERAM and deleted both folders and reinstalled, and I am still getting the error.

 

hmAEcbU.png

 

Entire error:

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

************** Exception Text **************
SharpDX.SharpDXException: HRESULT: [0x8007001E], Module: [SharpDX.DirectInput], ApiCode: [DIERR_INPUTLOST/InputLost], Message: The system cannot read from the specified device.

  at SharpDX.Result.CheckError()
  at SharpDX.DirectInput.Device.GetDeviceState(Int32 arg0, IntPtr arg1)
  at SharpDX.DirectInput.CustomDevice`3.GetCurrentState(T& data)
  at SharpDX.DirectInput.CustomDevice`3.GetCurrentState()
  at gl.e()
  at gl.p(Object A_0, EventArgs A_1)
  at System.Windows.Forms.Control.OnClick(EventArgs e)
  at System.Windows.Forms.Button.OnClick(EventArgs e)
  at System.Windows.Forms.ButtonBase.OnKeyUp(KeyEventArgs kevent)
  at System.Windows.Forms.Control.ProcessKeyEventArgs(Message& m)
  at System.Windows.Forms.Control.ProcessKeyMessage(Message& m)
  at System.Windows.Forms.Control.WmKeyChar(Message& m)
  at System.Windows.Forms.Control.WndProc(Message& m)
  at System.Windows.Forms.ButtonBase.WndProc(Message& m)
  at System.Windows.Forms.Button.WndProc(Message& m)
  at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
  at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
  at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


************** Loaded [Mod - Happy Thoughts]emblies **************
mscorlib
   [Mod - Happy Thoughts]embly Version: 2.0.0.0
   Win32 Version: 2.0.50727.9040 (WinRelRS5.050727-9000)
   CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
vERAM
   [Mod - Happy Thoughts]embly Version: 1.0.5901.33343
   Win32 Version: 1.0.5901.33343
   CodeBase: file:///C:/Users/zacke/AppData/Local/vERAM/vERAM.exe
----------------------------------------
Ninject
   [Mod - Happy Thoughts]embly Version: 3.2.0.0
   Win32 Version: 3.2.2.0
   CodeBase: file:///C:/Users/zacke/AppData/Local/vERAM/Ninject.DLL
----------------------------------------
System.Windows.Forms
   [Mod - Happy Thoughts]embly Version: 2.0.0.0
   Win32 Version: 2.0.50727.9038 (WinRelRS5.050727-9000)
   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.9040 (WinRelRS5.050727-9000)
   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.9031 (WinRelRS5.050727-9000)
   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.9034 built by: WinRelRS5
   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:///C:/Users/zacke/AppData/Local/vERAM/Ninject.Extensions.Factory.DLL
----------------------------------------
Castle.Core
   [Mod - Happy Thoughts]embly Version: 3.2.0.0
   Win32 Version: 3.2.2.2273
   CodeBase: file:///C:/Users/zacke/AppData/Local/vERAM/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/zacke/AppData/Local/vERAM/bbv.Common.EventBroker.DLL
----------------------------------------
System.Configuration
   [Mod - Happy Thoughts]embly Version: 2.0.0.0
   Win32 Version: 2.0.50727.9031 (WinRelRS5.050727-9000)
   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.9031 (WinRelRS5.050727-9000)
   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.2.2273
   CodeBase: file:///C:/Users/zacke/AppData/Local/vERAM/Castle.Core.dll
----------------------------------------
DynamicProxyGen[Mod - Happy Thoughts]embly2
   [Mod - Happy Thoughts]embly Version: 0.0.0.0
   Win32 Version: 3.2.2.2273
   CodeBase: file:///C:/Users/zacke/AppData/Local/vERAM/Castle.Core.dll
----------------------------------------
Anonymously Hosted DynamicMethods [Mod - Happy Thoughts]embly
   [Mod - Happy Thoughts]embly Version: 0.0.0.0
   Win32 Version: 2.0.50727.9040 (WinRelRS5.050727-9000)
   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.640
   Win32 Version: 2.0.0.640
   CodeBase: file:///C:/Users/zacke/AppData/Local/vERAM/protobuf-net.DLL
----------------------------------------
krxkh9ne
   [Mod - Happy Thoughts]embly Version: 1.0.5901.33343
   Win32 Version: 2.0.50727.9040 (WinRelRS5.050727-9000)
   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.9031 (WinRelRS5.050727-9000)
   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:///C:/Users/zacke/AppData/Local/vERAM/log4net.DLL
----------------------------------------
SharpDX.DirectInput
   [Mod - Happy Thoughts]embly Version: 2.6.3.0
   Win32 Version: 2.6.3
   CodeBase: file:///C:/Users/zacke/AppData/Local/vERAM/SharpDX.DirectInput.DLL
----------------------------------------
SharpDX
   [Mod - Happy Thoughts]embly Version: 2.6.3.0
   Win32 Version: 2.6.3
   CodeBase: file:///C:/Users/zacke/AppData/Local/vERAM/SharpDX.DLL
----------------------------------------
jofc3g8t
   [Mod - Happy Thoughts]embly Version: 1.0.5901.33343
   Win32 Version: 2.0.50727.9040 (WinRelRS5.050727-9000)
   CodeBase: file:///C:/Windows/[Mod - Happy Thoughts]embly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
exu8wjmd
   [Mod - Happy Thoughts]embly Version: 1.0.5901.33343
   Win32 Version: 2.0.50727.9040 (WinRelRS5.050727-9000)
   CodeBase: file:///C:/Windows/[Mod - Happy Thoughts]embly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
Microsoft.DirectX.AudioVideoPlayback
   [Mod - Happy Thoughts]embly Version: 1.0.2902.0
   Win32 Version: 5.04.00.2904
   CodeBase: file:///C:/Windows/[Mod - Happy Thoughts]embly/GAC/Microsoft.DirectX.AudioVideoPlayback/1.0.2902.0__31bf3856ad364e35/Microsoft.DirectX.AudioVideoPlayback.dll
----------------------------------------
Microsoft.DirectX
   [Mod - Happy Thoughts]embly Version: 1.0.2902.0
   Win32 Version: 5.04.00.2904
   CodeBase: file:///C:/Windows/[Mod - Happy Thoughts]embly/GAC/Microsoft.DirectX/1.0.2902.0__31bf3856ad364e35/Microsoft.DirectX.dll
----------------------------------------
System.Management
   [Mod - Happy Thoughts]embly Version: 2.0.0.0
   Win32 Version: 2.0.50727.9031 (WinRelRS5.050727-9000)
   CodeBase: file:///C:/Windows/[Mod - Happy Thoughts]embly/GAC_MSIL/System.Management/2.0.0.0__b03f5f7f11d50a3a/System.Management.dll
----------------------------------------
p_mnxu3y
   [Mod - Happy Thoughts]embly Version: 1.0.5901.33343
   Win32 Version: 2.0.50727.9040 (WinRelRS5.050727-9000)
   CodeBase: file:///C:/Windows/[Mod - Happy Thoughts]embly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
pcutqeec
   [Mod - Happy Thoughts]embly Version: 1.0.5901.33343
   Win32 Version: 2.0.50727.9040 (WinRelRS5.050727-9000)
   CodeBase: file:///C:/Windows/[Mod - Happy Thoughts]embly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
Tao.Platform.Windows
   [Mod - Happy Thoughts]embly Version: 1.0.0.5
   Win32 Version: 1.0.0.5
   CodeBase: file:///C:/Users/zacke/AppData/Local/vERAM/Tao.Platform.Windows.DLL
----------------------------------------
Tao.OpenGl
   [Mod - Happy Thoughts]embly Version: 2.1.0.12
   Win32 Version: 2.1.0.12
   CodeBase: file:///C:/Users/zacke/AppData/Local/vERAM/Tao.OpenGl.DLL
----------------------------------------
System.Web.Services
   [Mod - Happy Thoughts]embly Version: 2.0.0.0
   Win32 Version: 2.0.50727.9031 (WinRelRS5.050727-9000)
   CodeBase: file:///C:/Windows/[Mod - Happy Thoughts]embly/GAC_MSIL/System.Web.Services/2.0.0.0__b03f5f7f11d50a3a/System.Web.Services.dll
----------------------------------------
r2fep4tr
   [Mod - Happy Thoughts]embly Version: 1.0.5901.33343
   Win32 Version: 2.0.50727.9040 (WinRelRS5.050727-9000)
   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:

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

Zack Ellett

VATUSA - ZLC Mentor

C1 - Controller

22.png

Link to comment
Share on other sites

Ross Carlson
Posted
Posted

Looks like you have a device that vERAM is unable to read to check the state of the buttons. I would try removing one device at a time until you figure out which one it is.

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

Senior Controller, Boston Virtual ARTCC

Link to comment
Share on other sites

Zack Ellett 1422054
Posted
Posted

It looks like it was my USB foot pedal that I use for controlling, but I have never had problems with it before. I had to go into the config file and manually set the PTT to the F21 key, which is what I binded the foot pedal to, and it seems to be working fine.

Zack Ellett

VATUSA - ZLC Mentor

C1 - Controller

22.png

Link to comment
Share on other sites

 Share