RE: how to view web service exception details
"Shawn Wildermuth" <[email protected]>
| Newsgroups | gmane.comp.windows.off-topic |
|---|---|
| Message-ID | <[email protected]> |
If you mean the full exception inside of Silverlight, yes that's an issue because be default you're using the browser's HTTP (stack, if you're not out of the browser). That stack specifically turns all non-200's into 404's to protect servers from accidently leaking out error information that could have security information in it (ok, maybe not on purpose.maybe its just old code, not sure). Two options are: - Change to the Client Stack (Silverlight SDK has lots of details on how to do this). - Always return successes but include in the return payload the exceptional information. Thanks, Shawn Wildermuth <http://wildermuth.com/> http://wildermuth.com From: [email protected] [mailto:[email protected]] On Behalf Of Steve Richter Sent: Sunday, January 24, 2010 1:46 PM To: [email protected] Subject: [OT] how to view web service exception details Is there a visual studio way to view the exception details returned by a WCF web service when "<serviceDebug includeExceptionDetailInFaults="true" />" is used in the web.config of the project of the web service? Fiddler is showing me what I need to see. Is all of that exception detail info captured in a variable somewhere in the client code? All I see in the exception thrown by the client code is "not found".