Hello,
I have an old project with UniDAC under Delphi 2007. When I start my program from the delphi ide with F9, I get a socket error 10061 when the program connect to the database. I get this error from UniDAC version 4.0.2 or higher. The UniDAC Version was installed without .NET Components.
In the version 4.0.1 I don't have this problem.
When I use my program without the delphi ide, than I get no socket error.
That is the error message :
---------------------------
Debugger Exception Notification
---------------------------
Project CodeOrakel.exe raised exception class SocketException with message 'Socket error 10061'.
---------------------------
Break Continue Help
---------------------------
The error is a big problem to debug my errors in my program.
[Firebird] Socket Error 10061 when the program starts from Delphi IDE
-
AndreyZ
Re: [Firebird] Socket Error 10061 when the program starts from Delphi IDE
Hello,
Such behavoiur is correct. If there is no dbMonitor running or the port is incorrect, the "Socket Error 10061" error is raised. 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 TUniSQLMonitor.Active property to False, or set the TUniSQLMonitor.Option.moDBMonitor property to False.
Such behavoiur is correct. If there is no dbMonitor running or the port is incorrect, the "Socket Error 10061" error is raised. 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 TUniSQLMonitor.Active property to False, or set the TUniSQLMonitor.Option.moDBMonitor property to False.
Re: [Firebird] Socket Error 10061 when the program starts from Delphi IDE
Ok, thanks for the fast reply. The solution works fine for me.
-
AndreyZ
Re: [Firebird] Socket Error 10061 when the program starts from Delphi IDE
Feel free to contact us if you have any other questions about UniDAC.