Quote:
Originally Posted by Fisken_
Im using Win10
Only using windows defender/firewall.
When i try to open pgadmin it says that MSVCP120.dll file is lost.
I am not familiar with that file/error but if you google it you can see it appears to be a common error and you might be able to download that file to fix the error.
Beyond that all I can suggest is to try and reinstall postgresql to reconnect the existing database or a complete postgresql reinstall:
The secondary logon service is a standard windows service which is available on every windows computer and is required to install PostgreSQL. In some versions it is not started automatically and it will just give an error when trying to connect to PostgreSQL. You need to verify it is turned on via control panel > administrative tools > services > secondary logon > right-click > start AND right-click > properties and choose startup type: automatic so it will be started automatically next time your PC reboots.
Please see
this FAQ to alleviate any security bottlenecks.
A) If you continue to have problems you can try to reinstall the same version of postgresql and reconnect your database:
Make sure windows is fully updated until 'No New Important Updates are Found' (this may require multiple restarts and multiple 'check for updates'), including Internet Explorer (even if you use a different web browser).
Please note that reinstalling PostgreSQL will mean losing all your old data. If you have access to HM2 and your database was not corrupt then please
follow these instructions for backing up your database as a precaution in case you cannot reconnect after reinstalling PostgreSQL.
If you cannot access the database in HM2 then you can backup your database using
this method but if your database was corrupt then the best solution is to reimport all your hands from C:/HM2archive folder or if your pokersite supports it you can request all your hands and summaries and reimport them as restoring a corrupt database will just restore all the problems you had.
Once you have backed up your previous database(s) then follow the instructions below to uninstall and reinstall PostgreSQL using the same database.
1) Uninstall PostgreSQL from the Windows Control Panel.
2) Run the command - start > programs > accessories > command prompt > right-click > run as administrator and type the following and then press enter:
Code:
net user postgres /delete
3) You should get a successfully completed response if done correctly. If you get a permission type error you likely didnt run it as administrator as explained above.
4) Reboot your PC
5) Install the
same version of PostgreSQL as your previous database using
these instructions.
B) If none of that helps you will have to reinstall postgresql from scratch:
1) Uninstall PostgreSQL from the Windows Control Panel.
2) Delete the \PostgreSQL\X.x\data folder that is left behind.
3) Delete the sub-folder(s) in c:\users\username\appdata\roaming\HoldemManager\Da tabase (XP - c:\documents and settings\username\application data\HoldemManager\Database).
4) run the command - start > programs > accessories > command prompt > right-click > run as administrator
net user postgres /delete
After you click 'Enter' for the code above also do that same for this code:
sc delete postgresql-8.4
and click 'Enter' again.
5) Restart your PC
6) Install PostgreSQL 9.0 or 9.2 from
PostgreSQL.org
7) Once installed you should disable the postgresql logging as
instructed here.
C) If there is still an issue, we need to know the error - it is in the temp folder - bitrockinstaller.txt file. If you can't see it,
turn off the windows option that is hiding that directory.
We will also want to see a set of the evtx/hm2logs files I asked for in the post above.
Fozzy71
Customer Support