2003-03-20

Disable the stack trace in SoapException

Simon asks: "... on your travels through SoapException, did you spot a way to turn off the stack trace ?"

I did sort of by accident. When I was debugging my cfNET app from the emulator the stack trace would appear. But when I ran it on my PDA it wouldn't appear. I did some searching and found this article (scroll to the last question).

So basically it's enabled/disabled by the customErrors element in your web.config file:


<configuration>
<system.web>
<customErrors mode="On"/>
</system.web>
</configuration>

0 Comments:

Post a Comment

<< Home