00128: Layer's data source uses a direct connection to a SQL server and you are publishing to ArcGIS for Server (Linux)

Your layer uses a direct connection to an SQL server database. This is not supported when publishing to ArcGIS for Server (Linux).

Solution

Your layer will need to reference the appropriate data in the SQL server database by using an ArcSDE application server connection.

  1. Use the Create ArcSDE Connection File geoprocessing tool to create the ArcSDE application server connection.
  2. You will then need to reset the data source path for your layer to use the ArcSDE application server connection you just created. You can do this using the Set Data Source button on the Source tab of the Layer Properties dialog box. To change the data source used by multiple layers in an ArcMap document at once, use the Set Data Source command in ArcCatalog. You access this command by browsing to the folder in ArcCatalog where your map document is located and right-clicking the map document.

More information

Making a direct connection means you connect directly from the client to the geodatabase without any intermediate service. That also means the ArcSDE libraries and drivers installed with the connecting client application are used and most of the processing takes place on the client machine. ArcGIS for Server (Linux) does not support layers that use a direct connection to SQL server.

Learn more about database connections in ArcGIS for Desktop.

12/18/2014