PDA

View Full Version : The following error occurred when trying to open the database:



Reason
10-28-2009, 10:56 PM
Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host.

I have a firewall but I've designated HEM as a trusted application. However, it doesn't appear to be running as an administrator. I googled "Windows Vista administrator account" and tried to follow the instructions but when I right-clicked Computer and click "Manage" there is no "Local user accounts" or whatever, even after I right-click everything and look in all the menus.

I went into my postgre folder and opened an Excel document and looked for the correct port number and database name. I found the port number and it was one digit off, so I changed it. I'm not sure if that should be changed back to what it was or not. The server name wasn't in the Excel document so I just left that. I know that the password is correct. I recently changed the folder that I save my hand histories to, but the folder in Full Tilt matches the folder in HEM.

Edit: Okay, I just started HEM and got the postgres panel, and hit "connect", and connected to the default HEM database. HEM starts fine, but when I click on the Cash Games tab I get the following error: "Error: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host."

Edit 2: Just saw that a new beta is available, so I am currently on beta 42. Now when I start HEM I don't get the postgres tab, but I still get the above error when I click on the Cash Games tab. If it matters, after I click "OK" an identical error message comes up, and then after I click "OK" again everything appears normal. I'm still having problems with the HUD starting with Auto Import though.

fozzy71
10-29-2009, 12:50 AM
Under Vista and Windows 7 make sure UAC is disabled http://www.holdemmanager.net/faq/afmmain.aspx?faqid=73 or else you must set \holdem manager\dbcontrolpanel.exe, holdemmanager.exe and hmhud.exe are started as administrator. Run the windows explorer and navigate to your Holdemmanager installation directory. Right click the executables and select "Run as admin" from the compatibility tab. Windows 7 you MUST set all the executables to always run as admin.


First try to delete the \postgresql\8.x\data\postmaster.pid file, if you see it, and reboot.

If no help, try this:

Start > Programs > PostgreSQL > 8.x > Stop Service

Start > Programs > PostgreSQL > 8.x > Start Service

Add exceptions to the windows firewall, even if it is off. If you have a 3rd party firewall, uninstall it completely before installing HM/SQL - http://www.holdemmanager.net/faq/afmviewfaq.aspx?faqid=171

Please try following all of these FAQs, step by step:

1) http://www.holdemmanager.net/faq/afmviewfaq.aspx?faqid=34
2) http://www.holdemmanager.net/forum/showthread.php?t=8261

If that doesn't help you will probably have to reinstall PostgreSQL completely and reimport your hands.

richbrown
01-14-2013, 03:56 PM
Hi im getting the same problem as this.

Seems to have happened at same time I got a virus. I also updated anti-virus software so i deleted this software now.

I followed the FAQ here and uninstalled postgre 8.4 reinstalled it but its still got the same issues.

I could see when postgres was running it was using 50% resources but it don't know why because HEM wasnt running.

netsrak
01-15-2013, 06:44 AM
You probably need to configure your anti-virus software: http://faq.holdemmanager.com/questions/339/Software+Security+Problems+%28Firewall%29