NIM036189 - Remove code that restricts dynamic map generation for ArcGIS Online services
解决办法
If add the resourceItem using code, do not use Map1.PrimaryMapResource = "SanFrancisco"Try the following code instead: Dim localMapFunctionality As ESRI.ArcGIS.ADF.Web.DataSources.ArcGISServer.MapFunctionality localMapFunctionality = Map1.GetFunctionality(0) Map1.Extent = ESRI.ArcGIS.ADF.Web.DataSources.ArcGISServer.Converter.ToAdfEnvelope(localMapFunctionality.MapDescription.MapArea.Extent) Map1.Extent = Map1.Extent.Expand(25)