Page 1 of 1

DBMonitor does not see my process

Posted: Wed 04 Mar 2009 19:49
by dsaracini
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

Posted: Thu 05 Mar 2009 10:02
by Shalex
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?

Posted: Thu 05 Mar 2009 18:55
by dsaracini
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!

Posted: Fri 06 Mar 2009 08:08
by Shalex
Thank you for the report. We have reproduced the problem. We will investigate this issue and notify you about the results as soon as possible.

Posted: Thu 19 Mar 2009 17:43
by dsaracini
May I have a status update? When will this be addressed?

Thank you.

Posted: Tue 07 Apr 2009 12:32
by Shalex
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.