Asp.net Ajax Method Error 500
here for a quick overview of the site Help Center Detailed answers to any cascadingdropdown webmethod error 500 questions you might have Meta Discuss the workings and policies ajaxtoolkit cascadingdropdown method error 500 of this site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join 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 AJAX Cascading Dropdown with Method Error 500 up vote 0 down vote favorite 1 I've have a c# cascadingdropdown which works perfectly in debug locally and in debug mode on the live server, but I get [Method Error 500] in both drop downs when I view the page live through a browser. If I click the first drop down [Method Error 500] that then populates the second dropdown with [Method Error 500]. Here's the ASPX code: 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 the company Business Learn more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join 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 ajax cascading dropdown list method error http://stackoverflow.com/questions/16439120/ajax-cascading-dropdown-with-method-error-500 500 on IE10 up vote 0 down vote favorite I'm developing an application in asp.net which needs cascading dropdown lists to be filled by calling asmx methods. The code works fine on Google Chrome and Mozilla FireFox but throws Method Error 500 on IE10.. Is there any IE setting I'm missing?? Here is the code: Tips/Tricks Top Articles Beginner Articles Technical Blogs Posting/Update Guidelines Article Help Forum Article Competition Submit an article or tip http://www.codeproject.com/Questions/678945/getting-web-method-error-in-my-ajax-cascading 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 http://www.aspdotnet-suresh.com/2011/12/method-error-50012031-in-ajax.html Message Boards... Application Lifecycle> Running a Business Sales / Marketing Collaboration / Beta Testing Work Issues Design and Architecture ASP.NET JavaScript C / C++ / MFC> method error 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 / Suggestions Spam and Abuse Watch features Competitions News The Insider Newsletter The Daily Build method error 500 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 tale baal chero November 28, 2012 at 5:50