Home Home    Forum    Blog    Feed your aggregator (RSS 2.0)

The Johnnynine Weblog - ASP.NET AJAX Web Service OnError(): There was an error processing the request.
A weblog by Johnny Hughes
 
 Tuesday, November 11, 2008

When calling a web service using ASP.NET AJAX, if an error occurs the error information may exclude any error details and just provide the following:

Stack Trace: <empty>
Error: There was an error processing the request.
Status Code: 500
Exception Type: <empty>
Timed Out: false

This occurs when the web.config file customErrors element's mode attribute is set to "On" or "RemoteOnly" and you are not on the server.

 

To get the full detailed error information, ensure the mode attribute is set to "On", or "RemoteOnly" if accessing from a remote machine.

Tuesday, November 11, 2008 4:48:09 PM (US Mountain Standard Time, UTC-07:00)  #    Comments [0]    | 
Name
E-mail
(will show your gravatar icon)
Home page

Comment (HTML not allowed)  

Enter the code shown (prevents robots):

Copyright © 2010 Johnny Hughes. All rights reserved.
DasBlog 'Portal' theme by Johnny Hughes.