G
Guest
I have an ASP.NET web service that is written in C#. The service is not called using a browser, instead it is called by another thick client C# application.
If my web service throws an exception, the exception is caught by the thick client in C# as expected. The exception text gets displayed in a message box. All this works just fine. However, the problem I am having is that if IIS throws its own excecption that has nothing to do with my service, then the error comes back as HTML. I understand that this would be fine if the service was being called from a browser, but, as I said, the client is another application.
How can I tell IIS to not send these messages back as HTML ?
Jerry J
If my web service throws an exception, the exception is caught by the thick client in C# as expected. The exception text gets displayed in a message box. All this works just fine. However, the problem I am having is that if IIS throws its own excecption that has nothing to do with my service, then the error comes back as HTML. I understand that this would be fine if the service was being called from a browser, but, as I said, the client is another application.
How can I tell IIS to not send these messages back as HTML ?
Jerry J