Custom error message on SOE startup

2094
1
02-05-2013 08:39 AM
RobWaller
New Contributor III
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

Thanks
Tags (2)
0 Kudos
1 Reply
nicogis
MVP Frequent Contributor
As an SOE developer, you can extend this property page and/or write a property page for use on the Service Editor dialog box in ArcGIS for Desktop so you can visualize your message. Remember that costruct event start also on recycle service...
0 Kudos