Advertisement

05.13.2008 at 08:33PM PDT, ID: 23400207 | Points: 500
[x]
Attachment Details

How to supress "The server method XXXX failed with the following error" in AJAX + Web Services calls (via JavaScript)?

Asked by shizox in Programming for ASP.NET

Tags: asp.net

hey guys, i am using AJAX + Web Services in ASP.NET on the client side to get some data off the server and when i loose internet connection on when something happens i get this error stating that the server method failed. this error is a standard alert() popup generated by ScriptManager or something because my scripts arent producing them for sure.

now i tried wrapping the webservice call in my JavaScript with Try/Catch but it doesnt seem to work and the error still pops up.

any help is appreciated, i am sure i am missing someting stupid here :)Start Free Trial
[+][-]05.15.2008 at 12:19AM PDT, ID: 21571228

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]05.15.2008 at 05:33AM PDT, ID: 21572763

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]05.15.2008 at 05:35AM PDT, ID: 21572786

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]05.19.2008 at 03:44PM PDT, ID: 21602236

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]06.23.2008 at 05:17PM PDT, ID: 21851535

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628