Solved

Catch and handle server error in AJAX

Posted on 2011-09-27
1
189 Views
Last Modified: 2012-05-12
When using ASP.NET AJAX and making a server call sometimes a server method will throw an exception. In IE you can see the results of this error (if debugging is enabled) as follows:

 AJAX Error

This is fine for debugging purposes but in a production environment I'd like to be able to handle it more gracefully. Is there a way to catch this error in the AJAX callback somehow?
0
Comment
Question by:Russ Suter
1 Comment
 
LVL 82

Accepted Solution

by:
leakim971 earned 500 total points
ID: 36711493
0

Featured Post

Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

Join & Write a Comment

International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
Real-time is more about the business, not the technology. In day-to-day life, to make real-time decisions like buying or investing, business needs the latest information(e.g. Gold Rate/Stock Rate). Unlike traditional days, you need not wait for a fe…
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…

746 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now