Message There Was An Error Processing The Request. Stacktrace Exceptiontype
Contents |
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn
There Was An Error Processing The Request Ajax Jquery
more about Stack Overflow the company Business Learn more about hiring developers or posting there was an error processing the request in web service ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack
There Was An Error Processing The Request Uber
Overflow is a community of 6.2 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up Handling errors raised by jQuery Ajax method up vote 1 down error processing ajax request vote favorite I have a page in which I am using a jQuery ajax method to call a simple Webservice which will get some data from the database and bind it to some controls in the page. The ajax method is called on the onchange event of select (here the HTTP request is POST). Following is the jQuery ajax method function CallAjax(url, jsonData, SucessFunction, FailurFunction) { $.ajax({ type: webmethod there was an error processing the request "POST", url: url, data: jsonData, contentType: "application/json; charset=utf-8", dataType: "json", success: SucessFunction, error: function(){ alert('error occured'); } }); } The URL for above method is somepage.aspx/getDataFromDatabse where getDataFromDatabse is the webservice method. Our testers are testing the page using burp suite. When they are directly tying to access the url(www.example.com/somepage.aspx/getDataFromDatabse) in the browser, the HTTP method shown in burp suite is GET and an error is raised and the user is getting redirected to the appropriate page. But when they are directly accessing the above URL and intercepting the request in burp suite and changing GET request to POST request the following error message is displayed directly in the browser: {"Message":"There was an error processing the request.","StackTrace":"","ExceptionType":""} The "error" in the above ajax function is not getting executed and the alert box is not shown and we are able to handle the error. How to handle such an error and redirect the user to a custom page? c# asp.net web-services jquery burp share|improve this question edited Apr 18 '13 at 14:39 marc_s 454k938701032 asked Apr 18 '13 at 14:33 seadrag0n 369420 add a comment| 1 Answer 1 active oldest votes up vote 1 down vote accepted It would appear that the response from y
Tips/Tricks Top Articles Beginner Articles Technical Blogs Posting/Update Guidelines Article Help Forum Article Competition Submit an article or tip Post your Blog quick answersQ&A Ask a
Question View Unanswered Questions View All Questions... Linux questions C# questions invalid json primitive ASP.NET questions SQL questions fabric questions discussionsforums All Message Boards... Application Lifecycle> Running a Business Sales / Marketing Collaboration / Beta Testing Work Issues Design and Architecture ASP.NET JavaScript C / C++ / MFC> ATL / WTL / STL Managed C++/CLI C# Free Tools Objective-C and Swift Database http://stackoverflow.com/questions/16085834/handling-errors-raised-by-jquery-ajax-method Hardware & Devices> System Admin Hosting and Servers Java .NET Framework Android iOS Mobile SharePoint Silverlight / WPF Visual Basic Web Development Site Bugs / Suggestions Spam and Abuse Watch features Competitions News The Insider Newsletter The Daily Build Newsletter Newsletter archive Surveys Product Showcase Research Library CodeProject Stuff communitylounge Who's Who Most Valuable Professionals The Lounge The Insider http://www.codeproject.com/Questions/692474/I-am-getting-this-alert-Message-There-was-an-error News The Weird & The Wonderful The Soapbox Press Releases Non-English Language > General Indian Topics General Chinese Topics help What is 'CodeProject'? General FAQ Ask a Question Bugs and Suggestions Article Help Forum Site Map Advertise with us About our Advertising Employment Opportunities About Us Ask a Question All Questions All Unanswered FAQ I am getting this alert {"Message":"There was an error processing the request.","StackTrace":"","ExceptionType":""} Rate this: Please Sign up or sign in to vote. See more: ASP.NET WCF Ajax jQuery WebService What will be chances of getting an alert {"Message":"There was an error processing the request.","StackTrace":"","ExceptionType":""} i am working with Jquery ajax to call web service. Posted 4-Dec-13 20:56pm Amol Jadhao5.1K Add a Solution Comments Tadit Dash 5-Dec-13 3:12am Please post the codes for reference. CHill60 5-Dec-13 7:31am Chances obviously quite high ... see comment from Tadit Dash - we can't help you unless we see the code Member 11351130 11-May-16 5:02am Thanks Amol..It helps me lot to find exact error 1 solution Rate this: Please Sig
your clipboard. Copied to clipboard Flag this post as spam? This post will be reported to the moderators as potential spam to be looked at Yes No Giorgos Grispos 145 posts 179 karma points Nov 07, 2010 https://our.umbraco.org/projects/website-utilities/rvcontactform-multilingual-ajax-contact-form/bug-reports-and-questions/14312-Error-processing-the-request @ 11:13 0 Error processing the request Bug Reports and Questions Hello, Thanks for the great utility, I've downloaded and modified the project to meet my requirements. The thing is that I am getting the error below, you can trace the error with ff and firebug, have a look on the url below http://zeroin.gr.stereotropism-hosting.com/ {"Message":"There was an error processing the request.","StackTrace":"","ExceptionType":""} Any ideas how to debug the error, I am quite new to error processing .net - Umbarco 4.5.2- .net 4- windows server 2008- iis 7.5 Thanks! Giorgos Copy Link Giorgos Grispos 145 posts 179 karma points Nov 07, 2010 @ 12:09 0 I turned off the custom erros to see what the error is. I am getting this {"Message":"error sending mail","StackTrace":" at RVContactForm.RVContactFormMailer.SendContactForm(MailerRequest req)","ExceptionType":"System.Net.Mail.SmtpException"} Any ideas? Giorgos Copy Link Richard 12 posts 32 karma points Nov 07, 2010 @ 20:45 0 Hi Yes thanks for this great package there was an - it looks like a really great form - if I can get it to send a message. I have the same setup as above - i.e. Umbraco 4.5.2, Windows server 2008, net 4. The error I am getting is: "error sending form we are sorry but we have some problem to deliver your message. please try again soon." - but I can't troubleshoot futher than that." (I did modify the form ID in the RVContactForm.js file because of the form inside a form problem when using a master template) I have checked the SMTP settings and I can telnet to the mailserver with the smtp address and port - so I know the connectivity is there. Copy Link Eran 292 posts 430 karma points Nov 08, 2010 @ 11:53 0 hello, do you have working SMTP configuration? (in you web config) example for gmail: