HOW TO
Compiling takes a long time the first time when using ArcGIS Server Manager or the ArcIMS Web Manager if you have created ASP.Net web application.
Microsoft .NET Framework provides a command line tool to precompile ASP.Net applications to avoid the initial wait time.
Instructions provided describe how to use the tool with respect to web applications created using the Web Manager.
There are two options to precompile:
The following procedure is for the first case since when using the manager the applications are typically deployed in the web server.
cd "C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727"
aspnet_compiler -v /USABaseMap
Note: There are several useful switches that can be specified. See the links in the Related Information section below for further reference. The above example precompiles for a web application called 'USABaseMap' which is created using ArcGIS Server Manager at the IIS Webserver root directory, typically located at 'c:\inetpub\wwwroot'.
Get help from ArcGIS experts
Download the Esri Support App