Page 1 of 1

DB Monitor with Doamin Services

Posted: Wed 04 Apr 2012 14:29
by mamidrx
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 };
        }
    </script>

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

Thanks in advance,
Ravi

Posted: Thu 05 Apr 2012 09:11
by Shalex
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 ... nitor.html.