I have PostgreSQL 9.3 installed on the server. It worked just fine. I also had a webservice which connected to a database. That also worked like a charm. Later, I decided to install and use pgRouting. I followed the steps provided here.
After, I copied and pasted the bin, lib and share folders as well as two text files for pgRouting in the following path: C:\Program Files\PostgreSQL\9.3
When I open up pgAdmin III and explore my db, I received the following two errors:
ERROR: column "spclocation" does not exist
LINE1: SELECT ts.oid, spcname, spclocation, spcoptions, pg_get_user...
and
ERROR: could not load library "C:/Program Files/Boundless/OpenGeo/bin/../pgsql/lib/postgis-2.1.dll": %1 is not a valid Win32 application
and when I open my tables, no data exist in it. I am new to PostgreSQL, please help me out! Have I lost all of my data? Unfortunately I do not have a backup! :(
**** update on the progress of work:
So, What I have done so far is that I copied the data directory of PostgreSQL 9.3, un-installed PostgreSQL and all of its dependencies, restarted the server (I am using windows server 2013, 64 bit), and installed PostgreSQL from scratch. It went well, but at last for installing PostGIS it gave following error again:
ERROR: could not load library "C:/Program Files/Boundless/OpenGeo/bin/../pgsql/lib/postgis-2.1.dll": %1 is not a valid Win32 application
So I decided to uninstall OpenGeo Suite as well (from Boundless) and after that tried installing PostGIS again, this time it gave me the following errors:
psql: could not connect to server: Connection refused (0x0000274D/10061) Is the server running on host "localhost" (::1) and accepting TCP/IP connections on port 5432? could not connect to server: Connection refused (0x0000274D/10061) Is the server running on host "localhost" (127.0.0.1) and accepting TCP/IP connections on port 5432?