Web Service App: Exception in Application_Start returns "yellow screen" instead of SoapException

C

Chris

Hey guys,

I'm pulling my hair. I have a bunch of web services, some IHttpModules
and some SoapExtensions that get loaded through the web.config. When
there is an exception in one of those modules or extensions during a
web request ASP.Net should send a nice SoapException in XML format
back to the web service client.

The problem is, it doesn't. Rather it sends bunch of "yellow page"
HTML, the same kind of error page with stack trace etc. you get to see
in regular web apps.

Of course I can catch these exceptions. However, I still need to send
a well-formed SoapException message to the web service client. So far
I couldn't find a way to accomplish that. Does anybody have an idea
what I need to do? Hook into some event? Write a trap-all extension or
module?

Thanks, Christoph
 

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,997
Messages
2,570,240
Members
46,830
Latest member
HeleneMull

Latest Threads

Top