Article ID: | 33528 |
---|---|
Bug Id: | N/A |
Software: | ArcGIS Server 9.2 |
Platforms: | Windows 2000, XP, 2003Server |
Description
Cause
Before proceeding, ensure that the problem is related to the virtual directory by following the instructions provided below:
1. Stop the map service through ArcCatalog or ArcGIS Server Manager.
2. Modify the output directory for the map service to 'none'.

3. Start the map service and check the preview. Now the map service is using MIME output only. An illustration (in ArcCatalog) is provided below.
-show me-
|
If the steps above result in a successful map image preview, then it is confirmed that the problem is associated with the virtual directories. After this diagnosis, please revert the settings back to the original settings (MIME + URL) and follow the solution below.
// C:\arcgisserver\arcgisoutput 默认的安装目录也需要利用iis通过虚拟目录的方式发布出去,并且可以通过http://localhost/arcgisoutput访问,这样客户端才能正确访问map service added by zhangjun at 2001-1-5
//arcgiscache 存放的是切片,arcgisoutput存放的是map service的图片,arcgisjobs存放的是什么?
//对ArcGIS Server - Map Service Properties中的Parameters和Catching Tab有了更深一步的了解
Solution or Workaround
- Ensure that IIS has the associated virtual directories setup and functioning properly.
- Launch the IIS console: Start > Run > Type: inetmgr
- In the left panel, Expand the 'Deafult Web Site' node. Right-click on the arcgisoutput directory and select Properties.
- From the Virtual Directory tab, ensure the dialog box looks like the screen shot below.
-show me-
- Ensure the following three requirements are met:
1. Read access is required.
2. Enable directory browsing as a test.
3. If the output directory is on a network share, confirm the connection uses a valid user account and password.Once directory browsing is enabled, using an internet browser, verify that the folder can be accessed: http://localhost/arcgisoutput.
This shows a directory listing of the output virtual directory; however, it is possible that no files are listed since the ArcGIS Server continuously cleans the output directory.
- Ensure that the IUSR_<machine_name> has access to the output directory, since ArcCatalog makes use of this account. The IUSR_<machine_name> account can be explicity added to the arcgisoutput directory.
- Navigate to c:\arcgisserver\arcgisoutput folder.
- Right-click and select Properties.
- Navigate to the Security tab and click Add.
- Click Advanced.
- Ensure the location has been set to the local machine and click 'Find Now'.
- Scroll down and select the IUSR_<machine_name> and select Ok.
- Click Ok twice to grant permissions. - Ensure ArcCatalog has the appropriate directories associated with the virtual directories in IIS from the Server Properties menu in ArcCatalog.
- In ArcCatalog, right-click on the ArcGIS Server Admin (managed) connection and select 'Server Properties'.
- Select the Directories tab.
- Verify that the entry looks correct for the arcgisoutput directory. An example is provided below.
-show me-
-If the entry is incorrect, press the edit button and correct the entry.
- Verify that an image is being generated under C:\arcgisserver\arcgisoutput folder, when trying to preview the service in ArcCatalog.
If no image is created, verify that the ArcGISSOC user has access to the directories. Instructions are provided below:
- Navigate to c:\arcgisserver\arcgisoutput folder.
- Right-click and select Properties.
- Navigate to the Security tab.
- Verify that the ArcGISSOC account is listed.
- If the account is missing, add it in the same way the IUSR_<machine_name> account was added in step/bullet 3.
- Click Ok twice to grant permissions.
Related Information
Created: 8/13/2007
Last Modified: 10/23/2009