laptop and a wrench

Error

Adding a MapTip control to a Web ADF application created from Server manager breaks the application.

Última publicación: August 25, 2014 ArcGIS Server (.NET)
Número de ID del error NIM065871
EnviadoMarch 9, 2011
Última modificaciónJune 5, 2024
Relacionado conArcGIS Server (.NET)
Versión encontrada10.0
Lenguaje del programaC#
EstadoKnown Limit

Información adicional

10.1 was the last release of the .NET WebADF technology. Client APIs (JavaScript/Flex/Silverlight) are recommended for web application development.

Solución alternativa

Create the application in Visual Studio with the Visual Studio template, not the Manager template.1. Start Visual Studio.2. Click File > New > Web site.3. Under installed templates, make sure Visual C# is selected.4. Also in the New Web Site Dialog near the top center, set the left dropdown to the .NET Framework 3.5.5. In the list of templates, click Web Mapping Application.6. Click OK to create the application. (This uses the same or a similar template that the Server Manager does, so there may be some time savings.)7. When the project opens, click on the default.aspx and go to Design view.8. In design view, go the MapResourceManager1 and add a resource.9. Set the Type to an internet.10. For the Data Source use this URL: <a href="http://sampleserver1.arcgisonline.com/arcgis/services" target="_blank">http://sampleserver1.arcgisonline.com/arcgis/services</a>.11. For the Resource use: Layers@Specialty/ESRI_StatesCitiesRivers_USA.12. Click OK as needed.Next add a MapTips control: 1. In the Toolbox, under ArcGIS Web Controls, find MapTips.2. Instead of dragging the MapTips onto the page, in the Toolbox, double-click the MapTips control and it is automatically added to the page.3. Click the Format menu > Set Position > Absolute.4. Press and hold the "Down Arrow" key on the keyboard.5. Watch the MapTip box move downward; keep moving it until it is below the TOC control and even below the TaskManager control.6. Now the MapTips control is not near any other controls.7. Set the MapTips Layer property to ESRI_StatesCitiesRivers_USA.8. Set the MapTips Map property to Map1.9. Run the application10. The states are now visible; hover over one, click, and see the maptip.

Pasos para reproducir

ID del error: NIM065871

Software:

  • ArcGIS Server (.NET)

Recibir notificaciones cuando cambie el estado de un error

Descargar la aplicación de soporte de Esri

Descubrir más sobre este tema

Obtener ayuda de expertos en ArcGIS

Contactar con el soporte técnico

Descargar la aplicación de soporte de Esri

Ir a opciones de descarga