C# Cascadingdropdown Method Error 500
Contents |
here for a quick overview cascadingdropdown webmethod error 500 of the site Help Center Detailed answers to any
Ajaxtoolkit Cascadingdropdown Method Error 500
questions you might have Meta Discuss the workings and policies of this site
Method Error 403 Cascadingdropdown
About Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Stack Overflow
Ajaxcontroltoolkit Cascadingdropdown
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:
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 and Architecture ASP.NET JavaScript C / C++ / MFC> ATL / WTL / STL Managed C++/CLI C# http://stackoverflow.com/questions/16439120/ajax-cascading-dropdown-with-method-error-500 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 CodeProject Stuff communitylounge Who's http://www.codeproject.com/Questions/201182/Method-Error-on-cascading-dropdownlist 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) { dsScoolTableAdapters.school_detailTableAdapter school_detailAdapter = new dsScoolTableAdapters.school_detailTableAdapter(); dsScool.school_detailDataTable schools = school_detailAdapter.GetSchoolName(); List the same aspx page add in <%@ Page .... EnableEventValidation="false" ...%>3. If yet you get error - try ValidateRequest="false" in the tag <%@ Page ...%>Good luck :-) Posted by Gever at 09:55 Email ThisBlogThis!Share to TwitterShare to http://gaaton.blogspot.com/2007/07/solution-to-method-error-500-in.html FacebookShare to Pinterest Labels: AJAX, ASP.NET 7 comments: Anonymous said... tks your comments resolves http://www.aspforums.net/Threads/414927/ASPNet-AJAX-CascadingDropDown-DropDownList---Method-Error-500/ my problem.Muchas gracias 7/28/2008 8:46 PM Anonymous said... Thank you very much for posting this solution for web servicesThanks,Navneet 9/22/2008 1:54 PM Anonymous said... Moi aussi,la solution :1. In WebService add attribute [System.Web.Script.Services.ScriptService()] to class.m'a sauvé.Thank you,Laurent. 11/03/2008 4:29 PM Anonymous said... After a LONG search, this solved the issue. Thanks! 2/26/2009 5:26 AM method error Anonymous said... thanks expert 10/14/2009 9:28 AM Anonymous said... Thanks friend it solved my problem. thanks again. 10/03/2011 1:53 PM Anonymous said... Thank You very much,it realy helps me to solve my problem. 1/13/2013 4:43 PM Post a Comment Newer Post Older Post Home Subscribe to: Post Comments (Atom) Search Loading... Labels Add-ins (11) AJAX (13) ASP.NET (41) C# (81) Entity Framework (2) Excel (1) Framework 4.0 (2) method error 500 Humor (2) IIS (1) IOC (1) JavaScript (3) LINQ (8) Log4net (1) Programming (41) SQL (16) Tools (30) Useful (31) Utilities (6) Visual Studio 2012 (2) WCF (4) Web (15) Windows Service (2) Links C# extension DiskOnKey .Net Adventures Design Patterns in C# ISerializable סדנת היכרות עם עולם היין Popular Posts BIOS error signals During inclusion of a computer the sound signal is always audible, but sometimes it is more, than a lonely signal. You what is it? Ask, and ... Convert ASCII to Unicode in C# private string Convert(int asciiCode) { Encoding ascii = Encoding.UTF32; char c = (char)asciiCode; Byte[] b = ascii.GetBy... Convert UTF-8 to Unicode private static string Utf8ToUnicode( string utf8) { return Encoding.Unicode.GetString( Encoding.Convert( Encoding.U... Solution to Method error 500 in CascadingDropDown 1. In WebService add attribute [System.Web.Script.Services.ScriptService()] to class. 2. If you use another asp controls in the same aspx pa... How to add ComboBox to PropertyGrid Create new class which inherit StringCoverter, and 3 methods: internal class List2PropertyConverter : StringConverter { public... Maximum URL length in HTTP request. Previously, there were limitations on the maximum length of URL - 256 characters. But now, in HTTP 1.1 length of URL is 2,083 characters. L... Fu Link About Contact Report About Us Contact Us Ask Question How to add code to your Question or Reply. How to add image or screenshot to the Editor Home ASP.Net ASP.Net AJAX ASP.Net AJAX CascadingDropDown DropDownList - Method Error 500 ASP.Net AJAX CascadingDropDown DropDownList - Method Error 500 Answered Active Solved Ask Question Last Replyon Sep 24, 2013 04:39 AM By Mudassar 3824Views 1Replies 1Answers rzbierski Questioner Joined: Sep 24, 2013 02:54 AM Location: gorzow, Poland Asked: 2 Answered: 0 Answer Ratio: 0 out of 10 Question Reply Posted on Sep 24, 2013 04:38 AM rzbierski Questioner hello, I would like to populate Cascading DropDownList From SQL Server. I prepare my project the same way as in this article: http://www.aspsnippets.com/Articles/AJAX-Cascading-DropDown-Example-in-ASPNet.aspx but all the time I have "Method error 500" I read many articles how to solve this issue but without success. Below there are my codes: ----SQL DB has two tables: 1.tblUAP (UAP (PK), Start_Date,End_Date) 2.tblGAP(idGAP (PK),GAP,UAP(FK to tblUAP)) ---project1.aspx <%@ Page Language="C#" EnableEventValidation="false" AutoEventWireup="true" CodeBehind="Project1.aspx.cs" Inherits="TEST.Project1" %> <%@ Register assembly="AjaxControlToolkit" namespace="AjaxControlToolkit" tagprefix="asp" %> ....