Unix Technical Forum

ODBC connection problem

This is a discussion on ODBC connection problem within the pgsql Admins forums, part of the PostgreSQL category; --> Hi. I have got a problem with connection to my Postgres DB. I have Win2003 server with Postgres 8.1.4 ...


Go Back   Unix Technical Forum > Database Server Software > PostgreSQL > pgsql Admins

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-10-2008, 06:26 AM
Erik Ferencz
 
Posts: n/a
Default ODBC connection problem

Hi.
I have got a problem with connection to my Postgres DB.

I have Win2003 server with Postgres 8.1.4 instalation.
Let's call this server server2003

I wrote an application in C#.This application is connecting to my Postgre DB on server2003.
When I start this application on my local computer,everithing is fine,it connect to DB.(the .exe file is stored on local computer)
When I start this application on server2003 computer,everithing is fine,it connect to DB.(the .exe file is stored on server2003 computer)
But,when I store this application on server2003 and trying to run this application from my local computer (via File Shareing(SMB)) I can't connect to PostgreDB.
I heve temporally stoped firewall,but it does not helped.

Could anyone help me please. I will be gratful.

Thank you

Erik Ferencz
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 04-10-2008, 06:26 AM
Aaron Bono
 
Posts: n/a
Default Re: ODBC connection problem

On 7/24/06, Erik Ferencz <ErikFerencz@seznam.cz> wrote:
>
> Hi.
> I have got a problem with connection to my Postgres DB.
>
> I have Win2003 server with Postgres 8.1.4 instalation.
> Let's call this server server2003
>
> I wrote an application in C#.This application is connecting to my Postgre
> DB on server2003.
> When I start this application on my local computer,everithing is fine,it
> connect to DB.(the .exe file is stored on local computer)
> When I start this application on server2003 computer,everithing is fine,it
> connect to DB.(the .exe file is stored on server2003 computer)
> But,when I store this application on server2003 and trying to run this
> application from my local computer (via File Shareing(SMB)) I can't connect
> to PostgreDB.
> I heve temporally stoped firewall,but it does not helped.
>
> Could anyone help me please. I will be gratful.
>



Sounds more like a network or application configuration issue than a
PostgreSQL issue.

What error message are you getting when it fails to connect? Did you add
any debugging to the application? What does your connection string look
like in each of the 3 above situations?

================================================== ================
Aaron Bono
Aranya Software Technologies, Inc.
http://www.aranya.com
================================================== ================

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 12:57 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com