Solved

Catch and handle server error in AJAX

Posted on 2011-09-27
1
192 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

Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
System.Security 2 27
daypilot scheduler 3 26
Reference issues in Visual Studio 3 29
Creating a route in asp.net webforms 2 25
Performance in games development is paramount: every microsecond counts to be able to do everything in less than 33ms (aiming at 16ms). C# foreach statement is one of the worst performance killers, and here I explain why.
This article aims to explain the working of CircularLogArchiver. This tool was designed to solve the buildup of log file in cases where systems do not support circular logging or where circular logging is not enabled
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

776 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