PostgreSQL Service Starts Then Immediately Stops
Problem
When attempting to start the PostgreSQL service in Windows you get the following error message:
Your system contains a file called 'c:\program'. If this file exists, the PostgreSQL service will not start if installed under 'c:\program files'. Either remove this file, or install PostgreSQL in a different location.
Explanation
When using PostgreSQL with the Loftware Web Access (LWA) application you may run into an issue where the PostgreSQL service will not start. One of the reasons this can occur is when there is a file located in the root of your installed drive for PostgreSQL called "Program".
Solution
To resolve this error, delete or rename the file called "program". This will then allow the PostgreSQL service to start normally.
Article Number
2017136
Versions
PostgreSQL Version 8.x
Environment
Windows 2003 Server R2