Custom error message on SOE startup

Discussion created by robesridude2 on Feb 5, 2013
Latest reply on Feb 6, 2013 by
I have an SOE with properties set, one of the properties is a file the SOE needs to operate and loads when the SOE is constructed. If this file is missing I get a system error when the service that uses the SOE is started in Manager and it shows the .NET error details on the Manager page.

This is to be expected, but what I want is to catch this exception and send my own message to the ArcGIS Manager to give the user a customized message.

In all samples I see all the errors are being captured by ServerLogger and sent to the log files, I want to change what is seen in the Manager window when error occurs. Is this possible?

Using AGS Server 10.1/.NET