IIS Configuration :: AJAX CascadingDropDown DropDownList - Method Error 500 When Hosted In Server
Dec 21, 2013
Regarding this example: [URL] .... it works locally, within VS 2012.
But when I publish to a local or remote webserver, it doesn't show an error, but the dropdown lists are populated with this line: [Method Error: 500].
View 1 Replies
Similar Messages:
Jul 8, 2010
I currently facing a cascading drop down list problem. When I develop my website at local pc, everything work just fine. However I deploy it to server, I get Method Error 500.
View 4 Replies
Jun 13, 2010
I have the method 500 error problem, I have tried to do a simple reproduction of the problem still the same, if I run the webservice [URL] it returns the values needed ok (5) in xml format, but the dropdown always return error 500 inside, here are the codes (Using VS2008, NF3.5, Windows 7), I have the whole day trying to solve this but I just can't:
[Code]....
[Code]....
[Code]....
[Code]....
'WEBCONFIG
[Code]....
View 4 Replies
Dec 26, 2010
I downlaoded the sample code accompanying the "Cascading Drop Down Control to Access a Database" AJAX Toolkit video, and added the datasets from the sample code to my application running in VS2008 and AJAX 3.5. I think the sample code is in a prior version of AJAX.
When I ran my project I used to get Method Error 500 and after 2 days of searching the web could not get a solution. Finally by chance I recreated the datasets fresh in my app using the wizard as shown in the video and the error dissapeared and the cascading drop down worked beautifully.
View 1 Replies
May 7, 2015
I have 3 table in database
1-state
Id state
1 USA
2 UK
2-City
Id name state
1 Canada USA
2 London UK
3-Region
Id regionname cityid
1 01 Canada
2 02 London
and I have 3 DropDownList that refer below thread [URL] ...
I use cascadingdropdown for these 3 dropdownlist below are codes:
AND
[WebMethod]
public CascadingDropDownNameValue[] GetCountries(string knownCategoryValues)
{
string query = "SELECT state FROM stateTest";
List countries = GetData(query);
return countries.ToArray();
}
[Code] ....
1-DDLstate
2-DDLcity
3-DDLregion
at first I should select Item from DDLsate then DDlcity and at the end I should select Item from DDLregion
above code work correctly for ddlstate and ddlcity but it doesn't work for ddlregion...
I mean when I select Item from ddlcity in ddlregion shows:[Metod error500]
View 1 Replies
Jun 17, 2010
I use the CascadingDropDown to fill several DropDownList in my web to manage different application access rights
I use the Ajax CascadingDropDown component for that.
My problem is that, depending on the application, the selections criterias of the values in my database will be different.
I would like to know if there is a way to get or to identify the name or the ID of the dropdownlist which execute the CascadingDropdown class in the .asmx part (in the "public CascadingDropDownNameValue[] GetApplication1(...)" class ) ??
The name of the DropDownList give me the code of the application manage use to select my data in my SQL query
I don't want to write several query for each dropdownlist like :
public CascadingDropDownNameValue[] GetApplication1(...), public CascadingDropDownNameValue[] GetApplication2(...) etc ...
as they will be create automatically at the loading of the page.
View 6 Replies
Sep 24, 2013
I would like to populate Cascading DropDownList From SQL Server.
I prepare my project the same way as in this article: [URL] ....
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" %>
....
<asp:ToolkitScriptManager ID="ToolkitScriptManager1" runat="server">
</asp:ToolkitScriptManager>
[Code].....
----Services.asmx
using System;
using System.Web;
using System.Web.Services;
using System.Data;
using System.Data.SqlClient;
using System.Configuration;
[Code] ....
What else Can I check ??
View 1 Replies
Mar 16, 2010
I have asp.net content page with an update panel, asp.net controls with ajax extenders and it has asp.net button with event click. everything is working ok exept one case. I have 3 DropDownList with CascadingDropDown extenders. when I click the button without selecting anything from DropDownLists then click on the button the event click will work OK but if I select anything my page will respond when I click on the button.I already I added triggers for click button.is there anything I should check to fix this problem???
View 7 Replies
Nov 2, 2010
I have have 2 DropDownList controls with CascadingDropDown
I need set data to the first dropdownlist on server side if i do this, and when i get page on client side, the first DropDownList without data that i set on server side
//client
<asp:DropDownList ID="ddlAjaxManufacturer" runat="server">
</asp:DropDownList>
<ajaxToolkit:CascadingDropDown ID="CascadingDropDownManufacturer" runat="server"
TargetControlID="ddlAjaxManufacturer" Category="Make" PromptText="....." ServicePath="../../Ajax.asmx"
ServiceMethod="GetMakes" />
<asp:DropDownList BackColor="white" ID="ddlAjaxModel" runat="server">
</asp:DropDownList>
<ajaxToolkit:CascadingDropDown ID="CascadingDropDownModel" runat="server" TargetControlID="ddlAjaxModel"
ParentControlID="ddlAjaxManufacturer" PromptText="....." ServiceMethod="GetModelsForMake"
ServicePath="../../Ajax.asmx" Category="Model" />
//server
ddlAjaxManufacturer.Items.Add(new ListItem("...", "", true));
ddlAjaxManufacturer.Items.Add(new ListItem("11", "ford", true));
ddlAjaxManufacturer.Items.Add(new ListItem("22", "bmw", true));
View 1 Replies
Feb 25, 2010
I have DropDownList with CascadingDropDown extender.
If I want to retrieve data from the database for update to what I should assign the data...... to the dropdownlist or to CascadingDropDown extender and to what properties exactly I should use?
View 5 Replies
May 7, 2015
I used below code to set default value for DDL
state.Items[1].Selected = true;
now I use cascading for DDL how I can same thing for cascading?
<cc1:CascadingDropDown ID="CDLdistrict" TargetControlID="DDLDO" PromptText="All"
PromptValue="" ServicePath="../ServiceCS.asmx" ServiceMethod="GetDistrict" runat="server"
Category="District" ParentControlID="DDLzoneO" />
View 1 Replies
May 19, 2010
I have big problem with the CascadingDropDown. I have 60 CDD with one "Child". So on the page are 60 Parents and 60 Childs. When i use FF3.5 everything works fine when he is the only Browser which is connected to IIS
When i use FF3.0 i get Methode ERROR 403 and 500
When i use IE6 i get Methode ERROR 12030 or 403 or 500
When i use Google Chrome no ERROR no content in the List!?
When i use IE8 sometime it works sometime not!?
This errors are not shown on every DropDownList (but on most of them!) I played with the "<jsonSerialization maxJsonLength="50000000" />" in the Web.config which seams to make it work a little bit better.
What can i do to get the CDD working?
I think it is a timing problem. The CDD are not filled in the order i placed them on the page. Local it works better then remote.
Can you help me?
This is my WebService:
[Code]...
View 12 Replies
Aug 19, 2010
I am trying to populate 3 dropdown lists with using CascadingDropDown. DDLs shows make, model and color respectively. The last DDL is having AutoPostBack = true and I am trying to display the values from dropdown in one label control. I am pulling data from a webservice to populate DDLs. I am not getting any error while compiling but when I run the code it shows Error 500. I am not sure where I am going wrong. I am following the tutorial video of 'How Do I' -
[URL]
I am using C# and .Net framework 2.0. Web Service code looks like this
[Code]....
And Web Page Default.aspx looks like this -
[Code]....
I don't understand where i am getting wrong.
[WebService(Namespace = "[URL]/")]
View 6 Replies
Jul 19, 2010
[Code]....
I double checked that my hosting account is running asp.net 2.0-3.5.
View 2 Replies
Jan 31, 2011
I followed the CascadingDropdownlist tutorial: [URL] The 3 CascadingDropdown im using are working fine. But when i click on the SEARCH button it return the following error:
Invalid postback or callback argument. Event validation is enabled using <pages enableEventValidation="true"/> in configuration or <%@ Page EnableEventValidation="true" %> in a page. For security purposes, this feature verifies that arguments to postback or callback events originate from the server control that originally rendered them. If the data is valid and expected, use the ClientScriptManager.RegisterForEventValidation method in order to register the postback or callback data for validation. at System.Web.UI.ClientScriptManager.ValidateEvent(String uniqueId, String argument) at system.Web.UI.Control.ValidateEvent(String uniqueID, String eventArgument)
at System.Web.UI.WebControls.DropDownList.LoadPostData(String postDataKey, NameValueCollection postCollection)
at System.Web.UI.WebControls.DropDownList.System.Web.UI.IPostBackDataHandler.LoadPostData(String postDataKey, NameValueCollection postCollection)
at System.Web.UI.Page.ProcessPostData(NameValueCollection postData, Boolean fBeforeLoad)
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
Then i found this: [URL ]And now i canīt register the ASSEMBLY on the top of the MASTER PAGE.
View 4 Replies
May 8, 2010
I have an ASP.Net Ajax application that has been built on .net 2.0. My company recently installed a brand new server which has .net 3.5 installed. Is it possible for me to host my application on this server without the .net 2.0 ?
View 1 Replies
Dec 27, 2010
I am facing strange problem. I have a database connection string in web.config. I am not able to read web.config file. Its perfectly working in our server and my system also. After hosted in outside server, i am not able to read web.config file at all. What could be the problem.
View 18 Replies
Jul 8, 2013
My asp.net site has very good performance on local ips on all the systems. But it 5 time slow down on live ip.
1. What could be the issue:
Server is not capable? I have checked the ping and it response time is 153 ms for each require on live ip but on local ip it gives < 1 ms response time.
2. I have not compile the solution just copy and paste on the iis and create virtual directory?
View 1 Replies
Nov 8, 2010
Locally I have the cascading dropdown which loads countries in a cascading dropdown working.
But as soon as I place the code on the hosting server, Firebug shows me an:
500 Internal Server Error - [URL]
The cascading dropdown just shows "[Method error 500]"
REMEMBER: IT WORKS ON MY LOCAL SERVER!!!
local configuration:
Windows 7
IIS7.5
ASP.NET4
server configuration:
Windows Server 2008
IIS7.5
ASP.NET4
So it almost MUST be something on my hosting server! :s I dont know what to configure though...
[code]....
View 5 Replies
Mar 23, 2010
I'am with problem in CascadingDropList, I develop in my pc and work perfectly, but when put on server show error method 500?
View 2 Replies
Oct 19, 2010
I have a strange problem that I am trying to find a solution to or even only know why does this happen. I built a website using ASP.NET, when I run the website locally it looks very normal (I am speaking Style and CSS wise) on all the browsers (including IE8). And when I deploy this website to the test server which has Windows Server 2003 and IIS 6, the applications looks normal too on all the browsers except IE8. I did not try other versions of IE but I have a requirement to have this website working on IE8. Some tweaking on the CSS solves some of the problems but I do not want to go through each and every tiny detail and rework my whole CSS. There are even some problem which cannot be resolved.I have no clue why is this happening. It should be something either with the OS or the application server because those are the only differences between my machine and the server. On my machine I have Windows 7 Enterprise and I was test the website on the ASP.NET development server.
View 3 Replies
May 7, 2015
i have created RDLC Report and tested on my system its working well but its not working when i am uploading these files on server i-e on my domain. My Code:-
.ASPX
<form id="form1" runat="server">
<div>
<asp:ScriptManager ID="ScriptManager1" runat="server">
</asp:ScriptManager>
</div>
<rsweb:ReportViewer ID="ReportViewer1" runat="server" Font-Names="Verdana" Font-Size="8pt" WaitMessageFont-Names="Verdana" WaitMessageFont-Size="14pt" Width="956px">
<LocalReport ReportPath="~/Admin_AR315_Report.rdlc">
[CODE]...
View 1 Replies
Dec 24, 2010
how to redirect multiple domain name on the one website that is hosted on IIS server???
View 2 Replies
Jun 25, 2013
I have tried with your pice of code(Published date : sep 16, 2012) to send multiple attachments in asp.net. On my local machine it is working perfectly. When I host my application on server, mail contains attachment(Single or multiple both) is not sending. Attachment and remove files for attachments are working properly but attachment mail is not sending on server.
View 1 Replies
May 7, 2015
Why I can't login after I deployed in IIS?
[URL] .....
View 1 Replies