Cascadingdropdown 500 Error
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 cascadingdropdown webmethod error 500 Us Learn more about Stack Overflow the company Business Learn more about hiring
Ajaxtoolkit Cascadingdropdown Method Error 500
developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join
Ajaxcontroltoolkit Cascadingdropdown
the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up Method Error 500 up vote
Method Error 403 Cascadingdropdown
1 down vote favorite I have a webservice for ajax cascading dropdownextender. Which is working fine. But suddenly it raised a exception. MethodError 500. What is this exception. Can any one resolve this exception. Please post a possible solution. Its an urgent requirement. asp.net vb.net web-services asp.net-ajax share|improve this question asked Jan 6 '12 at 11:26 JayOnDotNet 339516 A 500 normally just means that there was an exception in the server side code, which wasn't handled. You'll need to trace/log through the webservice to see what is failing. –Jon Egerton Jan 6 '12 at 11:29 add a comment| 4 Answers 4 active oldest votes up vote 2 down vote accepted A 500 normally just means that there was an exception in the server side code, which wasn't handled. You'll need to trace/log through the webservice to see what is failing. You're almost certainly looking for a .Net code error. share|improve this answer answered Jan 6 '12 at 11:34 Jon Egerton 22.7k85191 add a comment| up vote 3 down vote 500 errors are internal server errors. The web service most likely had an unhandled exception thrown somewhere, causing IIS to return this error. You need to look in your event logs to see what the actual exception was. These are exceptions thrown by ASP.NET and can be any sort of exception. share|improve this answer edited Jan 6 '12 at 11:33 answered Jan 6 '12 at 11:28 Oded♦ 340k54592785 hey I could not find any logs in eventmanager regarding this 500 exception. Is there any specific name to this
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... C# questions Linux questions ASP.NET questions SQL questions VB.NET questions discussionsforums All Message Boards... Application Lifecycle> Running a Business Sales / Marketing Collaboration / Beta Testing Work Issues Design http://stackoverflow.com/questions/8757127/method-error-500 and Architecture ASP.NET JavaScript C / C++ / MFC> ATL / WTL / STL Managed 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 / http://www.codeproject.com/Questions/678945/getting-web-method-error-in-my-ajax-cascading 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 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 method error 500 in my ajax cascading dropdown list Rate this: Please Sign up or sign in to vote. See more: C# ASP.NET my code in .aspx
asp.net 2.0 /3.5,AJAX,SQL Server Articles,examples of .net technologies Home Asp.Net Ajax Gridview JavaScript SQL JQuery OOPS Concepts MVC Interview Questions Trace Mobile Contact Method error 500/12031 in ajax cascadingdropdown extender | AJAX CascadingDropDown - Method Error 500 By: Suresh Dasari Dec 12, 2011 Categories: Errors , General Introduction: Here I will explain how to solve the problem "Method error 500/12031 in ajax cascadingdropdown extender" using asp.net. Description: In previous post I explained clearly about Ajax cascading dropdownlist sample. Generally during implementation of cascading dropdonlist we will see our dropdowns shows error like "Method error 500 or Method Error 12031". This error is occurred because of missing following line of code in WebService. [System.Web.Script.Services.ScriptService()] After add above line of code to our web service page code would be like this [WebService(Namespace = "http://tempuri.org/")][WebServiceBinding(ConformsTo = WsiProfiles.BasicProfile1_1)][System.Web.Script.Services.ScriptService()]// To allow this Web Service to be called from script, using ASP.NET AJAX, uncomment the following line. // [System.Web.Script.Services.ScriptService]public class CascadingDropdown : System.Web.Services.WebService{ After add above line of code try to run application it will work for you. Still if you're getting same error try to add ValidateRequest="false" in @Page line of web page like <%@ Page ...... ValidateRequest ="false" %> Happy Coding……… If you enjoyed this post, please support the blog below. It's FREE! Get the latest Asp.net, C#.net, VB.NET, jQuery, Plugins & Code Snippets for FREE by subscribing to our Facebook, Twitter, RSS feed, or by email. Subscribe by RSS Subscribe by Email 9 comments : hemalisachdev said... Hi, I have writen same with all the mention things u say, bt still its gigving error Method Error 500 February 29, 2012 at 9:30 PM hiren said... Still i m getting this error plz give some solution July 9, 2012 at 8:21 AM Anonymous said... tomra tal