Discussion of open issues, suggestions and bugs regarding usage of dbExpress drivers for SQL Server in Delphi and C++Builder
5 posts • Page 1 of 1
I am testing on delphi 10 Seatle, sdac 8.0.1 and dbmonitor 3.0.4. I used a TMSConnection, a TMSquery and a TMSSQLMonitor. I put a simple query and at design time I activated the TMSConnection and the TMSQuery, the dbMonitor registers perfectly. In run time the dbMonitor does not register any event. Any suggestions?
The difference is that in design-time the connection to dbMonitor is executed using IDE, and in real-time the connection is executed from the compiled exe-file of the project. Antivirus software or a firewall can treat the IDE as a trusted program, but a new file as non-trustware and restrict the access. Please try disabling antivirus software or a firewall and test the work of dbMonitor in real-time. Also, you can try specifying the port in dbMonitor settings (dbMonitor - Tools - Options - Port number for client connections), for example 6100. And for the TMSSQLMonitor component, set the Port property to 6100, and for the Host parameter, specify the to localhost value.