My ASP.Net Web service have a httprequest execution timeout as 110 seconds (default value). I want a custom exception to be thrown to my client app if the processing time crosses 110 seconds. How and where to handle this?
My ASP.Net Web service have a httprequest execution timeout as 110 seconds (default value).
Share
Got a workaround, not a good solution though.
I could get the exception info in Application_Error event in Global.ASAX by using
Server.GetLastError();
I didn’t succeed in sending custom exception. I will ask my client side dev to check for HTML content before trying to parse as SOAP xml.