AnsweredAssumed Answered

Hiding Server or folder name in Web Map Service Error Message

Question asked by thiru123 on Jun 23, 2019
Latest reply on Jun 26, 2019 by thiru123

Hi,

 

We have published a web map from 10.41 ArcGIS Server (Oracle) for public use. When the service fails to load, users get an error message that shows the entire path to the Map Service Definition file is presented to  the user.

 

Is there a way we can hide the file path in full or partial?

 

This is the service

Layer: Protected plants trigger map (ID: 201) 

and below is the error message with filepath highlighted:

 

 

dojo.js:310 [esri.layers.MapImageLayer] #load() Failed to load layer (title: 'Vegetation management', id: 'vma') e {name: "request:server", message: "Error handling service request :0x80070057 -  Can … inaccessible to Server. in 'esriCarto.MapServer'", details: {…}}details: {url: "https://gisservices.information.qld.gov.au/arcgis/rest/services/Biota/VegetationManagement/MapServer", requestOptions: {…}, getHeader: ƒ, httpStatus: 500, subCode: undefined, …}message: "Error handling service request :0x80070057 -  Can not open file F:\FAKESERVER-fs\arcgisserver1\directories\arcgissystem\arcgisinput\Biota/VegetationManagement.MapServer\extracted\v101\VegetationManagement.updated.msd.The system cannot find the file specified.
Probable cause: The file is inaccessible to Server. in 'esriCarto.MapServer'"name: "request:server"__proto__: f

Thanks in advance.

Regards, Thiru

Outcomes