jeudi 31 décembre 2015

asp.net opc web trend controls are not showing

opc web trend (asp.net) controls are not displayed and showing Cross marks when configured with IIS7. Working fine in visual studio but when i publish this with IIS, it just shows cross marks. Below is the code.

    <%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="WebApplication7._Default" %>

<%@ Register assembly="OPCWebTrends" namespace="OPCWebTrends" tagprefix="cc1" %>
<%@ Register assembly="OPCWebControls" namespace="OPCWebControls" tagprefix="cc2" %>
<%@ Register assembly="Dart.PowerWEB.LiveControls" namespace="Dart.PowerWEB.LiveControls" tagprefix="cc3" %>

<!DOCTYPE html>

<html xmlns="http://ift.tt/lH0Osb">
<head runat="server">
    <meta http-equiv="X-UA-Compatible" content="IE=edge"/>
    <script type="text/javascript" src="Scripts/jquery-1.7.1.js"></script>  
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
    <div style="z-index: 1; left: 10px; top: 15px; position: relative; height: 616px; width: 1298px; background-color: #FFCC99">

        <br />
        <br />
        <div style="border-style: outset; border-width: inherit; border-color: #0000FF; height: 435px">

             <cc1:OPCWebTrend ID="OPCWebTrend2" runat="server" Height="379px" Width="490px" />
        <cc2:OPCWebRefresh ID="OPCWebRefresh1" runat="server">
        </cc2:OPCWebRefresh>

        </div>
        <br />
        <br />

        <br />

    </div>
    </form>
</body>
</html>




Aucun commentaire:

Enregistrer un commentaire