<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>

    <meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
  </head>
  <body text="#000000" bgcolor="#ffffff">
    Hi List<br>
    <br>
    I have a (relatively) simple webpage that enables me to display some
    basic data from my TED5000 energy monitor, as well as switch a fan
    on and off in my offer utilizing an XBee network.&nbsp; I'm sure
    everything worked just fine for months and now suddenly the project
    will not compile.<br>
    <br>
    The Default.aspx webpage includes a Dundas GaugeContainer component
    instantiated as:<br>
    <br>
    &lt;DGWC:GaugeContainer ID="GaugeContainer1"
    runat="server"&gt;...&lt;/DGWC:GaugeContainer&gt;<br>
    <br>
    The Dundas Gauge assembly is referenced correctly:<br>
    <br>
    &lt;%@ Register Assembly="DundasWebGauge"
    Namespace="Dundas.Gauges.WebControl" TagPrefix="DGWC" %&gt;<br>
    <br>
    The CodeFile (Default.aspx.py) contains some simple functions, but
    the one that throws an error is part of the Page_Load function:<br>
    <br>
    def Page_Load(sender,e):<br>
    &nbsp;&nbsp;&nbsp; if not IsPostBack:<br>
    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; gauge = GaugeContainer1<br>
    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; gauge.Callback += GaugeContainer1_Callback<br>
    <br>
    The third line (gauge = GaugeContainer1) results in the following
    parse error:<br>
    <br>
    <b>Parser Error Message: </b>cannot access protected member
    GaugeContainer1 without a python subclass of default_aspx<br>
    <br>
    Any ideas what is causing this error?<br>
    <br>
    Many thanks in advance for any assistance you can offer.<br>
    <br>
    Kind regards, Kurt<br>
    <br>
    <br>
    <br>
  </body>
</html>