socket error 10061

socket error 10061

Postby 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!
robertoicardi
 
Posts: 27
Joined: Wed 28 Jan 2009 11:29

Postby 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.
AndreyZ
 

Postby 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..
robertoicardi
 
Posts: 27
Joined: Wed 28 Jan 2009 11:29


Return to dbExpress driver for PostgreSQL