Asp.net Method Error 500
Contents |
here for a quick overview of the cascadingdropdown webmethod error 500 site Help Center Detailed answers to any questions you ajaxtoolkit cascadingdropdown method error 500 might have Meta Discuss the workings and policies of this site About Us Learn method error 403 cascadingdropdown more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation
Ajaxcontroltoolkit Cascadingdropdown
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 500 on IE10 up vote 0 down vote favorite I'm http://stackoverflow.com/questions/16439120/ajax-cascading-dropdown-with-method-error-500 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 Post your http://www.codeproject.com/Questions/201182/Method-Error-on-cascading-dropdownlist Blog quick answersQ&A Ask a Question View Unanswered Questions View https://dognet.wordpress.com/2006/12/18/aspnet-ajax-cascading-dropdowns-method-error-500/ 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 and Architecture ASP.NET JavaScript C / C++ / MFC> ATL / WTL / method error 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 Newsletter Newsletter archive Surveys Product Showcase method error 500 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.Services.ScriptService] public class ReceiptService : System.Web.Services.WebService { public ReceiptService () { //Uncomment the following line if using designed components //InitializeComponent(); } [WebMethod] public CascadingDropDownNameValue[] GetSchoolName(string knownCategoryValues, string category) { dsScoolTableAdapte
problem I was having, like many others, was this: I was trying to implement two cascading dropdown lists using ASP.NET AJAX (following this AJAX video - scroll down to #3 How Do I: Use the ASP.NET AJAX CascadingDropDown Control Extender?) . Everything worked except the second dropdown wouldn't be filled with values but with error code: Method error 500. Following the hints in the post help me nail it down. It seems the beta releases of ASP.NET AJAX have been extremely buggy. Many of the posts I found were from this beta period, which creates nightmares when you're trying to find a solution to your problem. Great feeling when you finally nails it! Like the video I used an XML file as data store. This is a very simple and fast implementation for small applications. If you want to use a database instead there are some sites that give some guidelines but unfortunely no one gives the whole story. This and this are the best places to start. Also this one contains lots of good info but i was having problems following along in his discussions. Like this:Like Loading... December 18, 2006 - Posted by leifw | AJAX 5 Comments » dhdfdjc Comment by rere | November 22, 2008 | Reply Hi, I am doing project in ASP.net using C#. I am instructed not to use auto-post back. I need that if anyone select and particular “system” from the dropdown then the “failure” of that system will appear in next dropdown. It should be the noted that both are coming from database with tables ‘system_types’ and ‘failure_types’. I have tried following AJAX code but it generates error. I have applied following cascading property. For DropDownList1 For DropDownList2 After that I have made a class with name “DropDown” and written following code: using System; using System.Data; using System.Configuration; using System.Web; using System.Web.Security; using System.Web.UI; using System.Web.UI.WebControls; using System.Web.UI.WebControls.WebParts; using System.Web.UI.HtmlControls; using System.Web.Services; using System.Web.Services.Protocols; using System.Collections; using System.Collections.Generic; using System.Collections.Specialized; using AjaxControlToolkit; using System.Data.SqlClient; public class dropdown : System.Web.Services.WebService { [WebMethod] public CascadingDropDownNameValue[] getsystem(String knownCategoryValues, String category) { System.Data.SqlClient.SqlConne