DB Monitor with Doamin Services

DB Monitor with Doamin Services

Postby mamidrx » Wed 04 Apr 2012 14:29

I created a Domain Service and want to attach DBMonitor, so in my aspx page I initialized the db monitor,, Is this the right way to attach the monitor ? I do not see any output in the db monitor..

In my web.config I had the following
Code: Select all
<identity impersonate="true" userName="username" password="paswd" />

In my aspx page I attached the db monitor as follows
Code: Select all
<script language="CS" runat="server">
        void Page_Load(object sender, System.EventArgs e) {
            Devart.Data.Oracle.OracleMonitor mon = new Devart.Data.Oracle.OracleMonitor { IsActive = true };

Is this the right way to attach dbmonitor to Domain Services ?

Thanks in advance,
Posts: 1
Joined: Wed 04 Apr 2012 14:22

Postby Shalex » Thu 05 Apr 2012 09:11

Please declare the OracleMonitor variable globally (not withing the Page_Load method): http://www.devart.com/forums/viewtopic.php?t=15461.

General and remote monitoring settings are described at http://www.devart.com/dotconnect/oracle/docs/?DbMonitor.html.
Devart Team
Posts: 7949
Joined: Thu 14 Aug 2008 12:44

Return to dotConnect for Oracle