dbMonitor does not record in run time
dbMonitor does not record in run time
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?
Re: dbMonitor does not record in run time
Event logging in dbMonitor is performed by sending packets via the TCP protocol. It is possible that the packets are blocked by antivirus software or a firewall.
Re: dbMonitor does not record in run time
Maybe, but it works in design time ... but in runtime it fails
Re: dbMonitor does not record in run time
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.
Re: dbMonitor does not record in run time
It is possible that this is the problem. Thank you very much