Hello,
I'm try to use the DBMonitor app. I have downloaded and installed DBMonitor 2.14 and it is running.
I have an application with a pgSQLConnection object and a pgSQLMonitor object "dropped" on the main form. On the form, I have set "IsActive" to true. DBMonitor finds "devenv.exe", but when I run the application (either inside of VS debugger or outside the debugger), it does not find it. I have added code on form load to ensure that pgSQLMonitor.IsActive = true
Environment:
Dev: VS2008 standard
OS: Vista 64bit
DBMonitor does not see my process
We have checked the 4.0.22 version of dotConnect for PostgreSQL with DBMonitor 2.14 in the test environment that is similar to yours. DBMonitor works fine for the design time and run time when using dotConnect for PostgreSQL. Try uninstall/install DBMonitor, create a new project and check its workability in it. Does this problem persist in this case? Is it design time issue only or run time has the same problem?
Hello,
I have done as you asked and still no luck. Steps I performed:
* Uninstalled dbMonitor 2.14 (it seemed to be successful)
* Re-installed dbMonitor 2.14
* I ran dbMonitor - it runs successfully
* Create a new, WinForm-based application
* dropped 5 controls on the main form (pgSqlMonitor, pgSqlConnection, pgSqlCommand, a button, a devexpress xtragrid)
* I set the property "IsActive" to true (devenv.exe immediately shows up in DBMonitor)
* On the button click event, I add code to make sure the "IsActive" property is true and ExecuteReader()
* I run the application. NO new process shows up in DBMonitor. I click the button, and the query runs successfully and I populate data in the grid. Nothing shows in DBMonitor.
Please let me know what else I can do to help you debug this issue.
Thank you for your help!
I have done as you asked and still no luck. Steps I performed:
* Uninstalled dbMonitor 2.14 (it seemed to be successful)
* Re-installed dbMonitor 2.14
* I ran dbMonitor - it runs successfully
* Create a new, WinForm-based application
* dropped 5 controls on the main form (pgSqlMonitor, pgSqlConnection, pgSqlCommand, a button, a devexpress xtragrid)
* I set the property "IsActive" to true (devenv.exe immediately shows up in DBMonitor)
* On the button click event, I add code to make sure the "IsActive" property is true and ExecuteReader()
* I run the application. NO new process shows up in DBMonitor. I click the button, and the query runs successfully and I populate data in the grid. Nothing shows in DBMonitor.
Please let me know what else I can do to help you debug this issue.
Thank you for your help!
We cannot fix this problem at the moment. DBMonitor is a 32-bit application. And a 64-bit application cannot use 32-bit in-proc COM-object DBMonitor. As a workaround for test purposes, we recommend you to set in the Build properties of your project the x86 platform target. This allows to see the queries to the database of your application with DBMonitor.