Error while configuring EditorTask in a simple Web application .aspx page embedded in a Masterpage.
Last Published: August 25, 2014ArcGIS Server (.NET)
Bug ID Number
NIM041137
Submitted
January 2, 2009
Last Modified
June 5, 2024
Applies to
ArcGIS Server (.NET)
Version found
9.3
Status
Will Not Be Addressed
The development team has considered the issue or request and concluded it will not be addressed. The issue's Additional Information section may contain further explanation.
Additional Information
No Public Explanation
Workaround
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="<Definition DataSourceDefinition="localhost" DataSourceType="ArcGIS Server Local" Identity="To set, right-click project and 'Add ArcGIS Identity'" ResourceDefinition="Layers@sdecities" DataSourceShared="True" />" 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> <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> </asp:Content>