DBMonitor does not see my process

Discussion of open issues, suggestions and bugs regarding ADO.NET provider for PostgreSQL
Post Reply
dsaracini
Posts: 17
Joined: Wed 04 Mar 2009 07:50

DBMonitor does not see my process

Post by dsaracini » Wed 04 Mar 2009 19:49

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

Shalex
Site Admin
Posts: 9543
Joined: Thu 14 Aug 2008 12:44

Post by Shalex » Thu 05 Mar 2009 10:02

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?

dsaracini
Posts: 17
Joined: Wed 04 Mar 2009 07:50

Post by dsaracini » Thu 05 Mar 2009 18:55

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!

Shalex
Site Admin
Posts: 9543
Joined: Thu 14 Aug 2008 12:44

Post by Shalex » Fri 06 Mar 2009 08:08

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.

dsaracini
Posts: 17
Joined: Wed 04 Mar 2009 07:50

Post by dsaracini » Thu 19 Mar 2009 17:43

May I have a status update? When will this be addressed?

Thank you.

Shalex
Site Admin
Posts: 9543
Joined: Thu 14 Aug 2008 12:44

Post by Shalex » Tue 07 Apr 2009 12:32

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.

Post Reply