socket error 10061

Discussion of open issues, suggestions and bugs regarding usage of dbExpress drivers for PostgreSQL in Delphi and C++Builder
Post Reply
robertoicardi
Posts: 27
Joined: Wed 28 Jan 2009 11:29

socket error 10061

Post by robertoicardi » Wed 28 Dec 2011 17:21

Hello,

error in subject is what I see at every db operation. This error is visible only while debugging (directly launching the application the error is probably
trapped inside driver and not seen outside). Honestly today is the first time
I see this error...
Rather annoying, I ended up telling Delphi to ignore that exception class...
But I'd like to know where does come from...

My environment: Delphi 2006 and Postgres 8.3 last release of driver.

Thanks!

AndreyZ

Post by AndreyZ » Thu 29 Dec 2011 07:32

Hello,

If TSQLMonitor.Active is True and there is no DBMonitor running, the 'Socket error 10061' error is generated. You will see this error only if you run your application from IDE. You will not see this error when you run the executable file of your application. To solve the problem, you should set the TSQLMonitor.Active property to False.

robertoicardi
Posts: 27
Joined: Wed 28 Jan 2009 11:29

Post by robertoicardi » Thu 29 Dec 2011 13:59

Thanks for the answer.. There's a sqlmonitor in my app, in fact, but I think it was inactive. I'll take a look..

Post Reply