Cascadingdropdown Error 500
here for a quick overview of the site Help Center Detailed answers to any questions cascadingdropdown webmethod error 500 you might have Meta Discuss the workings and policies of ajaxtoolkit cascadingdropdown method error 500 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 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:
ASP.NET Community Standup Forums Help Home/ASP.NET Forums/General ASP.NET/ASP.NET AJAX + Ajax Control Toolkit/"Method error 500" with CascadingDropDown "Method error 500" with CascadingDropDown [Answered]RSS 34 replies Last post Dec 18, 2013 04:31 AM by psycofran ‹ Previous Thread|Next Thread › Print Share Twitter Facebook Email Shortcuts Active Threads Unanswered Threads Unresolved Threads Support Options Advanced Search Related Links GuidanceVideos Reply j_gaylord Member 87 Points 697 Posts ASPInsidersMVP "Method error 500" with CascadingDropDown May 22, 2007 03:45 PM|j_gaylord|LINK I http://stackoverflow.com/questions/19891733/ajax-cascading-dropdown-list-method-error-500-on-ie10 have a web service that I'm binding to the CascadingDropDown. The service runs perfectly fine. However, I'm receiving a "Method error 500." Again, I'm sure I'm missing something small like a reference or something, but I can't seem to find it. Jason N. Gaylord ASPInsider and Microsoft MVP http://jasongaylord.com Reply MajJaz42 Member 40 Points 12 Posts http://forums.asp.net/t/1113659.aspx?+Method+error+500+with+CascadingDropDown Re: "Method error 500" with CascadingDropDown May 22, 2007 06:47 PM|MajJaz42|LINK I have the same issue; I can successfully test out the web service by opening the file from the webserver and all the data appears to be ok, but the dropdown returns a 500 error when it renders on the page. Anyone? Reply j_gaylord Member 87 Points 697 Posts ASPInsidersMVP Re: "Method error 500" with CascadingDropDown May 23, 2007 11:21 AM|j_gaylord|LINK Still no answer... Jason N. Gaylord ASPInsider and Microsoft MVP http://jasongaylord.com Reply j_gaylord Member 87 Points 697 Posts ASPInsidersMVP Re: "Method error 500" with CascadingDropDown May 23, 2007 01:32 PM|j_gaylord|LINK Here is my sample web service: using AjaxControlToolkit; using Arch.Data; using System; using System.Collections.Generic; using System.Collections.Specialized; using System.Data; using System.Web; using System.Web.Services; using System.Web.Services.Protocols; using UnitedOneResources.Objects; [WebService(Namespace = "http://tempuri.org/")] [WebServiceBinding(ConformsTo = WsiProfiles.BasicProfile1_1)] public class test : System.Web.Services.WebService { public test() { } [System.Web.Services.WebMethod] [System.Web.Script.Services.ScriptMethod] public CascadingDropDownNameValue[] GetDropDownStates(string knownCategoryValues, string Category) { DataSet ds = Dal.ExecuteSQL("select State as StateID, State_Name as StateName from t_State order
Tips/Tricks Top Articles Beginner Articles Technical Blogs Posting/Update Guidelines Article Help Forum Article Competition Submit an http://www.codeproject.com/Questions/201182/Method-Error-on-cascading-dropdownlist 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 http://www.aspdotnet-suresh.com/2011/12/method-error-50012031-in-ajax.html questions VB.NET questions discussionsforums All Message Boards... Application Lifecycle> Running a Business Sales / Marketing Collaboration / Beta Testing Work Issues Design and Architecture ASP.NET error 500 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 / Suggestions Spam and Abuse Watch method error 500 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 on cascading dropdownlist Rate this: Please Sign up or sign in to vote. See more: ASP.NET This is my web service which i used to retrieve data from database (I used data set for it).It runs on IIS properly but when I upload it on web server it gives method error 500. [WebService(Namespace = "http://tempuri.org/")] [WebServiceBinding(ConformsTo = WsiProfiles.BasicProfile1_1)] [System.Web.Script.Serv
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 AM Anonymous said... thank i soo much.. with ur help i solved my problem in just 2min March 7, 2013 at 12:22 PM prashant tyagi said... sir i m geeting error method 500 plz sir so solved it this issue nad another thing whre is the page load code means that default.cs page code and where we add cascading .asmx ? June 26, 2013 at 9:53 PM Anonymous said... These are not the solution for this error. June 27, 2013 at 12:36 PM Anonymous said... one reason for this method ispublic class DropdownWebService : System.Web.Se