Page 1 of 1

Socket error 10061

Posted: Tue 13 Dec 2011 20:09
by luis_augusto
I am getting a "socket error 10061" related to a TCRVioCP.connect event.
This error is been raised inside the Memds unit.
What could this be and how to avoid it?

Posted: Wed 14 Dec 2011 09:43
by AndreyZ
Hello,

This error can be caused by the TUniSQLMonitor component. If there is no dbMonitor running or the port is incorrect, the "Socket Error 10061" error is raised. Please note that you will see the 'Socket error 10061' 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 TUniSQLMonitor.Active property to False, or set the TUniSQLMonitor.Option.moDBMonitor property to False.