How to use
See How to use ArcGIS samples for help on compiling, setting up the debugger, and running the sample. If the sample has associated data, you will find that the sample's zip file includes a "data" folder alongside the language folders. However, you will need to update the sample to point to the location of the data once you have extracted all the files.
How to use
- Start Visual Studio, open the solution file, and compile the program.
- Run isconfig from the command line environment. To run this utility, both the client and ArcGIS Server need to have access to the data source. See the Additional information section below.
- This sample only populates commonly used properties in this configuration, you may need to alter some of them based on your service requirements.
- Caching and REST metadata/thumbnail/iteminfo are not handled in this sample. Caching can be created after service creating through caching geoprocessing tools, and REST metadata/thumbnail/iteminfo can be created by making calls to ArcGIS Server admin endpoint.
Additional information
- Usage 1: isconfig -o publish -h <host_admin_url> -u <adminuser> -p <adminpassword> -d <datapath> -n <serviceName>
- Usage 2: isconfig -o <delete|start|stop> -h <host_admin_url> -u <adminuser> -p <adminpassword> -n <serviceName>
- Usage 3: isconfig -o <list> -h <host_admin_url> -u <adminuser> -p <adminpassword>
- Example 1: isconfig -o publish -h http://host:6080/arcgis/admin -d \\myserver\data\test.gdb\mdtest -n mdtest -u adminuser -p adminpassword
- Example 2: isconfig -o stop -h http://host:6080/arcgis/admin -n mdtest -u adminuser -p adminpassword
- Example 3: isconfig -o list -h http://host:6080/arcgis/admin -u adminuser -p adminpassword
ISConfig.cs | Source code for configuring an image service. |
ISConfig.vb | Source code for configuring an image service. |
Download the files for all languages
Development licensing | Deployment licensing |
---|---|
ArcGIS for Desktop Advanced | ArcGIS for Desktop Advanced |
ArcGIS for Desktop Standard | ArcGIS for Desktop Standard |
ArcGIS for Desktop Basic | ArcGIS for Desktop Basic |
Engine Developer Kit | Engine |