RemoteOnly error mode causes error

P

Paul Davies

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
 
B

Brock Allen

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,007
Latest member
obedient dusk

Latest Threads

Top