PDA

View Full Version : Trouble starting HEM



kevinboo
10-25-2010, 07:30 PM
My problem im having is when I start up HEM a message pops up saying "Unhandled exception has occured in your application. If you click continue, the application will ignore this error and attempt to continue. If you click quit, the application will close immediately" "The type initializer for Scanner.Form 1' threw an exception.See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.


************** Exception Text **************
System.TypeInitializationException: The type initializer for 'Scanner.Form1' threw an exception. ---> System.TypeInitializationException: The type initializer for 'Scanner.Global' threw an exception. ---> System.UnauthorizedAccessException: Access to the path 'C:\Program Files\RVG Software\Holdem Manager\FishFinder.txt' is denied.
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options)
at System.IO.StreamWriter.CreateFile(String path, Boolean append)
at System.IO.StreamWriter..ctor(String path, Boolean append, Encoding encoding, Int32 bufferSize)
at System.IO.StreamWriter..ctor(String path, Boolean append, Encoding encoding)
at System.IO.File.WriteAllText(String path, String contents, Encoding encoding)
at Scanner.Log.ClearLog()
at Scanner.Log..ctor(String name)
at Scanner.Global..cctor()
--- End of inner exception stack trace ---
at Scanner.Form1..cctor()
--- End of inner exception stack trace ---
at Scanner.Form1.get_Instance()
at HoldemManager.frmMainNew.i()
at HoldemManager.frmMainNew..ctor(frmLoading LoadingForm)
at HoldemManager.frmLoading.a(Object A_0, EventArgs A_1)
at System.Windows.Forms.Timer.OnTick(EventArgs e)
at System.Windows.Forms.Timer.TimerNativeWindow.WndPr oc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


************** Loaded Assemblies **************
mscorlib
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3615 (GDR.050727-3600)
CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
HoldemManager
Assembly Version: 1.9.1.0
Win32 Version: 1.9.1.0
CodeBase: file:///C:/Program%20Files/RVG%20Software/Holdem%20Manager/HoldemManager.exe
----------------------------------------
System.Drawing
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3614 (GDR.050727-3600)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Windows.Forms
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
DevComponents.DotNetBar2
Assembly Version: 7.9.9.3
Win32 Version: 7.9.9.3
CodeBase: file:///C:/Program%20Files/RVG%20Software/Holdem%20Manager/DevComponents.DotNetBar2.DLL
----------------------------------------
System.Xml
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3074 (QFE.050727-3000)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
Accessibility
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/Accessibility/2.0.0.0__b03f5f7f11d50a3a/Accessibility.dll
----------------------------------------
DeployLX.Licensing.v3
Assembly Version: 3.2.2000.0
Win32 Version: 3.2.2000.3751
CodeBase: file:///C:/Program%20Files/RVG%20Software/Holdem%20Manager/DeployLX.Licensing.v3.DLL
----------------------------------------
System.Web
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3618 (GDR.050727-3600)
CodeBase: file:///C:/Windows/assembly/GAC_32/System.Web/2.0.0.0__b03f5f7f11d50a3a/System.Web.dll
----------------------------------------
System.Configuration
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
LeakBuster2.5
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///C:/Program%20Files/RVG%20Software/Holdem%20Manager/LeakBuster2.5.DLL
----------------------------------------
HEMGUI
Assembly Version: 1.0.9.71
Win32 Version: 1.0.9.71
CodeBase: file:///C:/Program%20Files/RVG%20Software/Holdem%20Manager/HEMGUI.DLL
----------------------------------------
KeyGenerateClassLibrary
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///C:/Program%20Files/RVG%20Software/Holdem%20Manager/KeyGenerateClassLibrary.DLL
----------------------------------------
GlassButton
Assembly Version: 1.3.2.29932
Win32 Version: 1.3.2.29932
CodeBase: file:///C:/Program%20Files/RVG%20Software/Holdem%20Manager/GlassButton.DLL
----------------------------------------
EnhancedWebBrowser
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///C:/Program%20Files/RVG%20Software/Holdem%20Manager/EnhancedWebBrowser.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.

fozzy71
10-25-2010, 08:22 PM
FAQ - Hold'em Manager Poker Tracking Software :: Unhandled Exception - Scanner.Form1 threw an exception (http://faq.holdemmanager.com/questions/370/Unhandled+Exception+-+Scanner.Form1+threw+an+exception)

kevinboo
10-25-2010, 09:08 PM
Im not seeing a capability tab ?

morny
10-26-2010, 12:40 AM
Are you running XP, Vista, Windows 7? Its the compatibility TAB your looking for

kevinboo
10-26-2010, 09:16 AM
Sorry but still not able to fix problem here. Im no good at this troubleshooting thing.

fozzy71
10-26-2010, 11:57 AM
The easiest way is to disable UAC and Reboot - Disable User Account Control (UAC) the Easy Way on Win 7 or Vista - How-To Geek (http://www.howtogeek.com/howto/windows-vista/disable-user-account-control-uac-the-easy-way-on-windows-vista/)

or

Give HoldemManager Administrator rights -

1) Go to C:\Program Files\RVG Software\Holdem Manager (Program Files (x86) if you have the 64bit version)
2) Right-click the HoldemManager.exe and choose "Properties".
3) Go to the Compatibility Tab and select "Run this program as an Administrator".
4) Do the same for HMHud.exe and DBControlPanel.exe

kevinboo
10-26-2010, 06:57 PM
Thank you that worked, that allowed me to start HEM but now when I start the auto import, the HUD does not show up and it does not import. The table manager pops up with the correct table im at, but thats all. I will also need to import past hands played since my HEM has been down for a while. Thank you for all the help!

morny
10-26-2010, 08:07 PM
Please see this FAQ FAQ - Hold'em Manager Poker Tracking Software :: My HUD Doesn&#039;t Work (http://faq.holdemmanager.com/questions/48/My+HUD+Doesn't+Work) and answer any questions that apply to you so we can narrow down what the issue is

The more answers you give us the quicker we can narrow down the problem and find a solution

loustic
10-27-2010, 12:09 AM
One time, my hud did not work, and the only thing I had to do was to launch it manually by double clicking file HMHud.exe. It should pop up table manager, and the stats should also appear if you're playing on a room that you've set up hand history location in the auto import folders, and of course make sure your poker room is actually saving the hand histories at that location.

After, I never had problems with my hud again, it launches by itself.