PDA

View Full Version : Startup Error -> Microsoft .NET Framework -> HM 1.06.01d



w0ng
07-20-2008, 12:28 PM
Receiving Unhandled Exception when starting up HM

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.SEHException: External component has thrown an exception.
at Microsoft.Win32.NativeMethods.ShellExecuteEx(Shell ExecuteInfo info)
at System.Diagnostics.ShellExecuteHelper.ShellExecute OnSTAThread()
at System.Diagnostics.Process.StartWithShellExecuteEx (ProcessStartInfo startInfo)
at System.Diagnostics.Process.Start()
at System.Diagnostics.Process.Start(ProcessStartInfo startInfo)
at System.Diagnostics.Process.Start(String fileName)
at HoldemManager.ଫ.Ꮘ(Object ՗, EventArgs ՘)
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.42 (RTM.050727-4200)
CodeBase: file:///C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
HoldemManager
Assembly Version: 1.6.0.0
Win32 Version: 1.6.0.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.42 (RTM.050727-4200)
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.42 (RTM.050727-4200)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
DevComponents.DotNetBar2
Assembly Version: 7.3.0.1
Win32 Version: 7.3.0.1
CodeBase: file:///C:/Program%20Files/RVG%20Software/Holdem%20Manager/DevComponents.DotNetBar2.DLL
----------------------------------------
System.Windows.Forms
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
HMClass
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///C:/Program%20Files/RVG%20Software/Holdem%20Manager/HMClass.DLL
----------------------------------------
System.Xml
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
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.42 (RTM.050727-4200)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/Accessibility/2.0.0.0__b03f5f7f11d50a3a/Accessibility.dll
----------------------------------------
DeployLX.Licensing.v3
Assembly Version: 3.1.2000.0
Win32 Version: 3.1.2000.19165
CodeBase: file:///C:/Program%20Files/RVG%20Software/Holdem%20Manager/DeployLX.Licensing.v3.DLL
----------------------------------------
System.Configuration
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
System.Web
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase: file:///C:/WINDOWS/assembly/GAC_32/System.Web/2.0.0.0__b03f5f7f11d50a3a/System.Web.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.

PC Specs:

Lenovo T61
C2D 2.0GHz
2 GB RAM
Windows XP Pro SP2


Attempted Troubleshooting:

Disabled firewall
Uninstalled Microsoft .NET 2.0 Framework -> Reinstalled via: http://www.microsoft.com/downloads/details.aspx?familyid=0856eacb-4362-4b0d-8edd-aab15c5e04f5&displaylang=en
Uninstalled HM 1.05.07 -> Reinstalled via: http://www.rvgsoftware.com/hm/holdemmanager.zip
Updated to HM 1.06.01d via: http://www.rvgsoftware.com/hm/hmtestupdate.exe
Setup PostgreSQL via: http://www.holdemmanager.net/PostgreSQL_Install_Help.html
Restarted PC
Ensured PostgreSQL Database Server 8.2 is enabled via services.msc
Ran Microsoft .NET 2.0 Framework "Repair" via Add or Remove Programs
Restarted PC


See attached screenshot.

Please assist me in this issue or direct me as to any further info required.

morny
07-20-2008, 07:31 PM
Thanks for the detailed information, ill pass this on to Roy to have a look at

EvilSky
07-21-2008, 06:21 AM
I have the same issue, when starting and when trying to auto import hands.

w0ng
07-21-2008, 08:30 AM
After googling, many developers noted the fix was to comment out the method call:

Application.EnableVisualStyles ();

Since this problem hasn't been mentioned before, the problem might be on my end, as the end user. I am using a patched uxtheme.dll that allows for 3rd party visual styles in Windows XP (same would apply for anyone using StyleXP software).

UX Theme Patcher 4.0 is what I used. It backs up uxtheme.dll to uxtheme.backup and puts the patched uxtheme.dll in its place

So further troubleshooting:

services.msc -> disabled Themes services
Restored original uxtheme.dll
Restarted PC -> same error in HM
services.msc -> re-enabled Themes service -> same error in HM


Another thing to note is that I'm on corporate imaged pc.
Some services are not enabled as we have replacement software e.g. Background Intelligent Transfer Service is disabled because we use Altiris Deployment Solution to push out all Microsoft software updates, Security Center is disabled as we run our own software firewall and antivirus.
However, we do have developers in .NET 2.0 framework (VB and C# that I know of). I haven't encountered any problems with company software and the appearance is streamlined with custom visual styles.
I also have full access and control of the laptop and am running as an administrator.

EvilSky
07-21-2008, 12:26 PM
I just reinstalled and went to windows update and downloaded the latest .net frame and it seemed to work fine. Then I closed it and when I reopen I get the same error, anyway I click continue and it follows thru to the hud and is working again so I don't know what it can be since it seems to be pretty random as to when it happens.

Btw so far Im running the trial mode and using WIN XP SP3 and my db are postgres which I imported from PT.

EvilSky
07-21-2008, 02:42 PM
Sorry to hijack, but to add to this I also cant seem to auto import hands or get the hud to work, don't know if its related or not.
The other options are working well as far as I see.

w0ng
07-21-2008, 02:51 PM
I didn't have .NET Framework 2.0 SP1
Trying that now

Edit: same error after installation + reboot

Rvg72
07-21-2008, 08:25 PM
Hi Wong, never encountered this before. I suspect it has something to do with the somewhat locked down version of your pc. That EnableVisualStyles is needed in the startup code.

Are you or do you have the option to run holdemmanager.exe with administration rights?

Roy

w0ng
07-23-2008, 02:30 PM
Yes. I have full admin rights to the pc i'm running. I'm guessing the problem is that I'm not running the latest Windows XP updates, but am unsure which I require and cannot (not allowed to) download SP3 or use Automatic Windows Update

w0ng
07-23-2008, 04:46 PM
Windows XP SP3 is in pilot phase. I'm one of the testers.
Installing now. Will update after installation

Edit: Grr same error. I give up on this pc lol. I'll just install it on my home pc