Click here to Skip to main content
14,661,016 members
Rate this:
Please Sign up or sign in to vote.
See more:
hello sir,
i want to connect my asp.net application wirth postgresql.in that while connecting on local server it is working fine but for remote server creating problem so help me for that ihave writen this code for connection string


server=192.168.1.13;database=fastbi;user id=postgres;password=atul
Posted
Comments
atul tr 10-Feb-12 0:40am
   
getting this error while connecting FATAL: 28000: no pg_hba.conf entry for host "192.168.1.7", user "postgres", database "postgres", SSL off,so how can i solve this problem

Rate this:
Please Sign up or sign in to vote.

Solution 1

   
Comments
Espen Harlinn 9-Feb-12 8:35am
   
5'ed!
Rate this:
Please Sign up or sign in to vote.

Solution 2

Make sure you have access to this database server (with your credentials).
You can always check the format of your connection string here[^].
   
Comments
Espen Harlinn 9-Feb-12 8:35am
   
5'ed!
Abhinav S 9-Feb-12 12:06pm
   
Thank you Espen.
thatraja 9-Feb-12 9:58am
   
5!
Abhinav S 9-Feb-12 12:06pm
   
Thank you thatraja.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)




CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100