laptop and a wrench

漏洞

Error while configuring EditorTask in a simple Web application .aspx page embedded in a Masterpage.

上次发布: August 25, 2014 ArcGIS Server (.NET)
漏洞 ID 编号 NIM041137
已提交January 2, 2009
上次修改时间June 5, 2024
适用范围ArcGIS Server (.NET)
找到的版本9.3
状态Will Not Be Addressed

附加信息

No Public Explanation

解决办法

Derek on 2\10\9 - Use VS2008 instead of VS2005. It is not reproducible with VS2008.--Configure the editor task first and then embed the aspx page within the masterpage. In other words instead of using the GUI to configure the editortask. Just use the html code for configuring editor task<cc1:EditorTask ID="EditorTask1" runat="server" BackColor="White" BorderColor="LightSteelBlue" BorderStyle="Outset" BorderWidth="1px" Font-Bold="True" Font-Names="Verdana" Font-Size="8pt" ForeColor="Black" TitleBarColor="WhiteSmoke" TitleBarHeight="20px" TitleBarSeparatorLine="False" Transparency="35" Width="200px" MapResource="Map1::MapResourceItem0" EditableLayers="0" VersionIDs="SDE.DEFAULT"> </cc1:EditorTask>I used the following simple default.aspx code to test.<%@ Page Language="VB" AutoEventWireup="false" MasterPageFile="~/MasterPage.master" CodeFile="Default.aspx.vb" Inherits="_Default" %><%@ Register Assembly="ESRI.ArcGIS.ADF.ArcGISServer.Editor, Version=9.3.1.1850, Culture=neutral, PublicKeyToken=8fc3cc631e44ad86" Namespace="ESRI.ArcGIS.ADF.ArcGISServer.Editor" TagPrefix="cc1" %><%@ Register Assembly="ESRI.ArcGIS.ADF.Web.UI.WebControls, Version=9.3.1.1850, Culture=neutral, PublicKeyToken=8fc3cc631e44ad86" Namespace="ESRI.ArcGIS.ADF.Web.UI.WebControls" TagPrefix="esri" %> <asp:Content ID="Content1" runat="server" ContentPlaceHolderID="ContentPlaceHolder1"> <esri:MapResourceManager ID="MapResourceManager1" runat="server"> <ResourceItems> <esri:MapResourceItem Definition="&lt;Definition DataSourceDefinition=&quot;localhost&quot; DataSourceType=&quot;ArcGIS Server Local&quot; Identity=&quot;To set, right-click project and 'Add ArcGIS Identity'&quot; ResourceDefinition=&quot;Layers@sdecities&quot; DataSourceShared=&quot;True&quot; /&gt;" DisplaySettings="visible=True:transparency=0:mime=True:imgFormat=PNG8:height=100:width=100:dpi=96:color=:transbg=False:displayInToc=True:dynamicTiling=" LayerDefinitions="" Name="MapResourceItem0" /> </ResourceItems> </esri:MapResourceManager> <esri:Map ID="Map1" runat="server" Height="300px" MapResourceManager="MapResourceManager1" Width="454px" style="left: 382px; top: 129px"> </esri:Map> &nbsp; <cc1:EditorTask ID="EditorTask1" runat="server" BackColor="White" BorderColor="LightSteelBlue" BorderStyle="Outset" BorderWidth="1px" Font-Bold="True" Font-Names="Verdana" Font-Size="8pt" ForeColor="Black" TitleBarColor="WhiteSmoke" TitleBarHeight="20px" TitleBarSeparatorLine="False" Transparency="35" Width="200px" MapResource="Map1::MapResourceItem0" EditableLayers="0" VersionIDs="SDE.DEFAULT"> </cc1:EditorTask> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp; </asp:Content>

重现步骤

漏洞 ID: NIM041137

软件:

  • ArcGIS Server (.NET)

当漏洞状态发生变化时获得通知

下载 Esri 支持应用程序

发现关于本主题的更多内容

获取来自 ArcGIS 专家的帮助

联系技术支持部门

下载 Esri 支持应用程序

转至下载选项