0

opc web 趋势 (asp.net) 控件在使用 IIS7 配置时不显示并显示十字标记。在 Visual Studio 中工作正常,但是当我使用 IIS 发布它时,它只显示十字标记。下面是代码。

    <%@ 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://www.w3.org/1999/xhtml">
<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>
4

0 回答 0