Click here to Skip to main content
15,949,741 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
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

 
Share this answer
 
Comments
Espen Harlinn 9-Feb-12 8:35am    
5'ed!
Make sure you have access to this database server (with your credentials).
You can always check the format of your connection string here[^].
 
Share this answer
 
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, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900