Thread: Error when installing pgAdmin on Windows 7 x64

Error when installing pgAdmin on Windows 7 x64

From
Mashuka
Date:
While executing<br /><pre><code>pgAgent INSTALL pgAgent -u postgres -p postgres hostaddr=127.0.0.1 dbname=mydb
user=postgrespassword=mypassword</code></pre>I'm recieving a Windows error message "The application failed to
initializeproperly (0xc000007b). Click Ok to terminate the application."<br /><br /> I've found out that it's more or
lesscommon problem for Windoxs 7 x64, sometimes it is solved by reinstalling .NET Framework or DirectX or whatever. But
I'mnot sure that pgAgent uses .NET Framework or DirectX. So, if anyone knows if it is possible to start pgAgent on
Windows7 without getting this nasty error, I'll be grateful.<br /><br /> Thanks in advance. <br /><hr align="left"
width="300"/> View this message in context: <a
href="http://postgresql.1045698.n5.nabble.com/Error-when-installing-pgAdmin-on-Windows-7-x64-tp3309403p3309403.html">Error
wheninstalling pgAdmin on Windows 7 x64</a><br /> Sent from the <a
href="http://postgresql.1045698.n5.nabble.com/PostgreSQL-pgadmin-support-f2191615.html">PostgreSQL- pgadmin support
mailinglist archive</a> at Nabble.com.<br /> 

Re: Error when installing pgAdmin on Windows 7 x64

From
Jan De Ryck
Date:
Mashuka <mashuka <at> gmx.com> writes:

> 
> 
> While executingpgAgent INSTALL pgAgent -u postgres -p postgres
hostaddr=127.0.0.1 dbname=mydb user=postgres password=mypasswordI'm recieving a
Windows error message "The application failed to initialize properly
(0xc000007b). Click Ok to terminate the application."
> I've found out that it's more or less common problem for Windoxs 7 x64,
sometimes it is solved by reinstalling .NET Framework or DirectX or whatever.
But I'm not sure that pgAgent uses .NET Framework or DirectX. So, if anyone
knows if it is possible to start pgAgent on Windows 7 without getting this nasty
error, I'll be grateful.
> 
> Thanks in advance.
> 
> View this message in context: Error when installing pgAdmin on Windows 7 x64
> Sent from the PostgreSQL - pgadmin support mailing list archive at Nabble.com.
> 


I had the same problem when trying to install the pgagent executable with the
pgadmin that comes with postgres. After I installed a separate copy of pgadmin
from www.pgadmin.org, and moved pgagent.exe and pgaevent.dll to the new pgadmin3
directory, I could install the pgagent service correctly and start it without
error message.

My postgres is the 64 bit precompiled one. maybe the pgadmin that comes with it
is 64 bit also and it causes a problem?