Groups | Blog | Home
all groups > asp.net webservices > march 2005 >

asp.net webservices : RemoteOnly error mode causes error


Brock Allen
3/29/2005 9:33:16 AM
I'd suggest adding a Application_Error event handler to global.asax and log
all exceptions that happen in your application. That way you can go back
after the fact and diagnose these sorts of oddities.

-Brock
DevelopMentor
http://staff.develop.com/ballen



[quoted text, click to view]


Paul Davies
3/29/2005 3:56:08 PM
Hi all,

We have a web service that has been running fine and with no issues. As far
as I am aware no changes have been made to the boxes they sit on (W2k), but
starting about a week ago we get a very odd error occasionally.

The service errors and shows the standard error screen when the error mode
in the web.config is set to "remoteOnly". I switched this to "Off" to be
able to view the error and the service worked, I switched back to RemoteOnly
and the service continued to work.

This has happened a few times up until today when it now refuses to work at
all with the error mode set to RemoteOnly, but as soon as it is set to Off
it works again.

Can anyone shed any light on why this may be happenning or where I can look
to find out?

Cheers

Paul

AddThis Social Bookmark Button