laptop and a wrench

Bogue

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

Dernière publication: August 25, 2014 ArcGIS Server (.NET)
Numéro d’ID de bogue NIM041137
EnvoiJanuary 2, 2009
Dernière modificationJune 5, 2024
S’applique àArcGIS Server (.NET)
Version trouvée9.3
StatutWill Not Be Addressed

Informations supplémentaires

No Public Explanation

Solution de contournement

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>

Étapes pour reproduire

ID de bogue: NIM041137

Logiciel:

  • ArcGIS Server (.NET)

Recevoir une notification lorsque le statut d’un bogue change

Télécharger l’application Esri Support

En savoir plus sur ce sujet

Obtenir de l’aide auprès des experts ArcGIS

Contacter le support technique

Télécharger l’application Esri Support

Accéder aux options de téléchargement