WebRequest ignore Internal Server Error?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • BaKo
    New Member
    • Sep 2007
    • 11

    WebRequest ignore Internal Server Error?

    Hey. In my c# app i have a webrequest that goes to a URL that contains an error. However instead of displaying the contents of the page it only returns the 500 Internal Server Error exception. Is there a way to ignore the exception and get the data on the page anyway? Thanks alot!
  • Plater
    Recognized Expert Expert
    • Apr 2007
    • 7872

    #2
    If a 500 server error is returned, there shouldn't BE any page data, other then perhaps a more detailed description saying that the server errored or a stack trace or something.

    Comment

    Working...