Javascript There Was An Error Processing The Request
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 more about Stack Overflow
There Was An Error Processing The Request Ajax Jquery
the company Business Learn more about hiring developers or posting ads with us Stack Overflow there was an error processing the request in web service Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of there was an error processing the request uber 4.7 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up jquery Ajax responsetext “There was an error processing the request” up vote 4 down vote favorite I am
Message There Was An Error Processing The Request. Stacktrace Exceptiontype Json
getting this error "There was an error processing the request" in the UAT environment. In my local, the code seems to be working fine. This line Utility.WriteLogEvent("TestService", strMessage); is writing directly to db. Either way if this line fails or not, I should still be able to recieve a message coming from the server since it is properly handled. But since I don't receive any response from the server, that means my webmethod
There Was An Error Processing The Request C#
is not reachable. Given that the code below works, is there anything that I need to set in the web.config to make this work? Or anywhere I can start inspecting on the IIS that could give me some clues? Thanks. $('#lnkTest').click(function () { alert('Click event is firing!'); $.ajax({ type: "POST", url: "/_layouts/ServiceForm.aspx/TestService", data: "{}", dataType: "json", contentType: "application/json; charset=utf-8", success: function (response) { if (response.d && response.d.length > 0) { alert(response.d); } }, error: function (xhr, err) { alert('responseText:' + xhr.responseText); } }); }); Here is my c# web method [WebMethod] public static string TestService() { string strMessage = string.Empty; try { strMessage = "The service is running."; Utility.WriteLogEvent("TestService", strMessage); } catch (Exception ex) { strMessage = "TestService fail."; } return strMessage; } c# jquery ajax share|improve this question edited Aug 1 '14 at 5:53 asked Jul 25 '14 at 4:25 Carls Jr. 2,44752750 Make Respective change in your url scheme? it might become problematic. Check in your exception on which particular location it is trying to access and it is not getting the webmethod location ? second problem might be that check calling of method in browser(use Firebug) and you will get better idea which exact location it is trying to access. –Ashok Rathod Jul 25 '14 at 4:54
ASP.NET Community Standup Forums Help Home/ASP.NET Forums/General ASP.NET/ASP.NET AJAX + Ajax Control Toolkit/Starnge error: There was an error processing the request. Starnge error: There was an error processing the request. RSS 4 replies Last post Feb 05, 2010 07:54 there was an error processing the request webmethod AM by rafael.marques ‹ Previous Thread|Next Thread › Print Share Twitter Facebook Email Shortcuts Active
Error Processing Ajax Request
Threads Unanswered Threads Unresolved Threads Support Options Advanced Search Related Links GuidanceVideos Reply woltersw None 0 Points 1 Post Starnge error: There was there was an error processing the request json an error processing the request. Jan 15, 2007 06:22 AM|woltersw|LINK Hi, I have this strange error: a webmethod gets some data from its businesslayer. When there is no data to get, the result is simply null. We http://stackoverflow.com/questions/24948044/jquery-ajax-responsetext-there-was-an-error-processing-the-request check for this null and the user get some info. This works fine on the development machine, but NOT on the testserver..... On the test server I keep getting this exeception: "There was an error processing the request.", but i can't find out what's wrong. I cannot debug on the testserver.... Any ideas? Greetings, Roland Reply Luis Abreu Contributor 2850 Points 5363 Posts MVP Re: Starnge error: There was an error processing the http://forums.asp.net/t/1063463.aspx?Starnge+error+There+was+an+error+processing+the+request+ request. Jan 15, 2007 10:41 AM|Luis Abreu|LINK hello. have you used fiddler to see what's wrong with the data you're receiving from the server? it might help you get more info about the error... -- Regards, Luis Abreu email: labreu_at_gmail.com EN blog:http://luisabreu.wordpress.com Reply Barnaby None 0 Points 20 Posts Re: Starnge error: There was an error processing the request. Jan 25, 2007 05:57 AM|Barnaby|LINK Did you find a solution to this? I am having a similar problem whereby exceptions seem to be lost when running in web.config debug=false mode. No matter what exception is thrown from a web-service call, in the client-side call failed method all I get is a message "There was an error processing the request." and the exception type is empty. Reply Barnaby None 0 Points 20 Posts Re: Starnge error: There was an error processing the request. Jan 25, 2007 09:50 AM|Barnaby|LINK Eureka! OK,my problem was caused by the fact that on the production server (where debug=false) I also had
Tips/Tricks Top Articles Beginner Articles Technical Blogs Posting/Update Guidelines Article Help Forum Article Competition Submit an article or tip Post your http://www.codeproject.com/Questions/692474/I-am-getting-this-alert-Message-There-was-an-error Blog quick answersQ&A Ask a Question View Unanswered Questions View All Questions... C# questions Linux questions 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 error processing C++/CLI C# Free Tools Objective-C and Swift Database 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 there was an CodeProject Stuff communitylounge Who's Who Most Valuable Professionals The Lounge The Insider 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