ArcGIS Desktop

  • ArcGIS Pro
  • ArcMap

  • My Profile
  • Help
  • Sign Out
ArcGIS Desktop

ArcGIS Online

The mapping platform for your organization

ArcGIS Desktop

A complete professional GIS

ArcGIS Enterprise

GIS in your enterprise

ArcGIS Developers

Tools to build location-aware apps

ArcGIS Solutions

Free template maps and apps for your industry

ArcGIS Marketplace

Get apps and data for your organization

  • Documentation
  • Support
Esri
  • Sign In
user
  • My Profile
  • Sign Out

ArcMap

  • Home
  • Get Started
  • Map
  • Analyze
  • Manage Data
  • Tools
  • Extensions

00175: <value> exceeds operating system limit

  • Solutions
  • More information

The size of the path used to publish this GIS resource exceeds the operating system limit.

This path includes the path to the staging folder, the name of the server connection, and the name of the GIS resource within the service definition (.sd) being published. For example, if you are publishing a map service, this path would include the name of the map service definition (.msd) contained in the service definition.

Learn more about service definitions

The <value> parameter refers to the GIS resource and whether the path in question is the staging path or the input directory path on the ArcGIS Server.

Solutions

If your path exceeds the limit, you can do the following to reduce the number of characters used for this path.

  • Register data sources with the ArcGIS Server if you publish to an ArcGIS Server to which you can register data sources. If you are publishing to ArcGIS Online, you will not be able to register data sources.

    Register your data with ArcGIS Server using ArcGIS Desktop

  • Change the location of the staging folder to a location closer to the root directory, C:\temp, for example.

    Change the default service definition staging folder in ArcGIS Desktop

  • Change the server connection name so that it uses fewer characters. To rename the service connection, right-click the service connection in the Catalog window and choose Rename from the menu.

    Learn more about connecting to GIS servers

  • Shorten the name of the GIS resource used for publishing.

    For example, if you are publishing a map service, you can shorten the name of the map document (.mxd) which, in turn, will shorten the name of the map service definition (.msd) within the service definition that is actually used in the publishing process.

  • Shorten the service name.
  • Change the physical path of the ArcGIS Server system directory so that it uses fewer characters. You will need administrative access to the server to do this.

    Learn more about editing a server directory in ArcGIS Desktop.

More information

When you publish a service using ArcGIS Desktop, a service definition file is created and temporarily stored in a staging folder locally on disk. The default staging location is a temporary folder in your Windows user profile. For example, on Windows, this location is C:\Users\<user name>\AppData\Local\ESRI\Desktop10.7\Staging. The staging directory contains separate folders for each server connection. If you have saved a service definition of a draft using a specific connection to a GIS server, you will find the service definition or draft under the server connection folder.

In addition, the service definition is stored on the ArcGIS Server and decompressed during publishing. The default storage location on the server is \arcgisserver\directories\arcgissystem\arcgisinput\<service name>.<service type>\extracted.

The Windows file system has limits to the number of characters that a path can accommodate. ArcGIS warns you when the combination of the path to the staging folder and the server connection exceeds the size supported by the operating system. The same is true for the input directories on the ArcGIS Server. If the directory structure for service resources on the server exceeds operating system limits, the service cannot publish successfully.

ArcGIS Desktop

  • Home
  • Documentation
  • Support

ArcGIS

  • ArcGIS Online
  • ArcGIS Desktop
  • ArcGIS Enterprise
  • ArcGIS
  • ArcGIS Developer
  • ArcGIS Solutions
  • ArcGIS Marketplace

About Esri

  • About Us
  • Careers
  • Esri Blog
  • User Conference
  • Developer Summit
Esri
Tell us what you think.
Copyright © 2021 Esri. | Privacy | Legal