Setting the primary map resource to local datasource causes 'Data Not Available' error to be displayed for ArcGIS Server Internet resource.
上次发布: August 25, 2014No Product Found
漏洞 ID 编号
NIM011508
已提交
September 7, 2007
上次修改时间
March 19, 2025
适用范围
No Product Found
找到的版本
9.2
编程语言
VB.Net
修正版本
N/A
状态
Fixed
此漏洞已得到修复。 有关详细信息,请参阅“版本修复”和“其他信息”(如果适用)。
附加信息
documented
解决办法
Set up http://services.arcgisonline.com/v92, I3_Imagery_Prime_World_2D as the primary map resource. As now the initial extent of the map will be the extent of the internet service, add the following lines of code to show the map at the local data’s extent initially.Protected Sub Page_PreRenderComplete(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.PreRenderComplete Dim mf As ESRI.ArcGIS.ADF.Web.DataSources.ArcGISServer.MapFunctionality = Map1.GetFunctionality(0) Map1.Extent = ESRI.ArcGIS.ADF.Web.DataSources.ArcGISServer.Converter.ToAdfEnvelope(mf.MapDescription.MapArea.Extent) End Sub