DB Monitor with Doamin Services

Discussion of open issues, suggestions and bugs regarding ADO.NET provider for Oracle
Post Reply
mamidrx
Posts: 1
Joined: Wed 04 Apr 2012 14:22

DB Monitor with Doamin Services

Post by 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 };
        }
    </script>

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

Thanks in advance,
Ravi

Shalex
Devart Team
Posts: 8088
Joined: Thu 14 Aug 2008 12:44

Post by 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 ... nitor.html.

Post Reply