Method Error 500 In Cascading Dropdown
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 Us Learn more about Stack Overflow the company Business Learn more about hiring cascadingdropdown webmethod error 500 developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask
Ajaxtoolkit Cascadingdropdown Method Error 500
Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 6.2 million programmers, just like you, helping each other. Join method error 403 cascadingdropdown them; it only takes a minute: Sign up Method Error 500 up vote 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 337516 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.8k85191 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♦ 342k54595787 hey I could not find any logs in eventmanager regarding this 500 exception. Is there any specific name to this exception –JayOnDotNet Jan 6 '12 at 11:32 @JayaPrakashRokkam - You need to look for any exception that ASP.NET threw. –Oded♦ Jan 6 '12 at 11:32 Its working now. I didnt do anything.. –JayOnDotNet Jan 6 '12 at 11:51 add a comment| up vote 1 down vote Are you using a database query for your cascadingdropdown? If you are then check the results of your SQL statement. Most likely your query returns or has a null
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/8757127/method-error-500 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 Re: http://forums.asp.net/t/1113659.aspx?+Method+error+500+with+CascadingDropDown "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 by
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 All http://www.aspforums.net/Threads/414927/ASPNet-AJAX-CascadingDropDown-DropDownList---Method-Error-500/ Questions... Linux questions C# questions ASP.NET questions SQL questions fabric 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 method error 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 Research Library method error 500 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) { dsScoolTableAdapters.school_detailTableAdapter school_detailAdapter = new dsScoolTableAdapters.s
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 3856Views 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" %> ....