Method Error 500 Cascadingdropdown In Asp.net
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 6.2 million programmers, just like you, helping each other. Join 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 value in it. share|improve this ans
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 http://stackoverflow.com/questions/8757127/method-error-500 87 Points 697 Posts ASPInsidersMVP "Method error 500" with CascadingDropDown May 22, 2007 03:45 PM|j_gaylord|LINK I 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 http://forums.asp.net/t/1113659.aspx?+Method+error+500+with+CascadingDropDown 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: "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.Collec
Link About Contact Report About Us Contact Us Ask Question How http://www.aspforums.net/Threads/414927/ASPNet-AJAX-CascadingDropDown-DropDownList---Method-Error-500/ 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 https://social.microsoft.com/Forums/en-US/500467f2-20ae-419c-9a58-3654351f54c9/ajax-cascadingdropdown-not-returning-any-results-?forum=Offtopic AJAX CascadingDropDown DropDownList - Method Error 500 ASP.Net AJAX CascadingDropDown DropDownList - Method Error 500 Answered Active Solved Ask Question Last Replyon method error Sep 24, 2013 04:39 AM By Mudassar 3862Views 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 method error 500 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" %> .... (Nederlands)Polska (Polski)România (Română)Singapore (English)Türkiye (Türkçe)Россия (Русский)ישראל (עברית)المملكة العربية السعودية (العربية)ไทย (ไทย)대한민국 (한국어)中华人民共和国 (中文)台灣 (中文)日本 (日本語)香港特別行政區 (中文) Microsoft Home Ask a question Quick access Forums home Browse forums users FAQ Search related threads Remove From My Forums Asked by: AJAX CascadingDropdown not returning any results - Using Forums > Off-Topic Posts (Do Not Post Here) Question 0 Sign in to vote I have two dropdown controls in a web form and I would like for the results of the second to be dependent upon the value chosen in the first, hence CascadingDropDown AJAX control. When the page loads I click the first dropdown and get a [Method Error 500]. I have looked at every forum and article I can find and nothing suggested seems to resolve my problem. I can't even get data into the first dropdown, much less a cascading effect. If I attempt to debug and go directly to the ASMX in my browser the GetClients method returns all clients if I enter blank values for both knownCategoryValues and category. If I attempt to debug and go directly to the ASMX in my browser the GetFileTypesForClient method returnsan XML stringArrayOfCascadingDropDownNameValuewith no child nodes. The AJAX controls are registered in web.config. When I debug the ASMX methodCascadingDropDownNameValue the kv variable contains no items so I have commented it out and figured that I would play with that later. It does throw the ArgumentException. Please have a look and see if you can find any stupid mistakes I may have made. Thanks! EnterTransaction.aspx