Thanks jame for you replay.
I did what you sugested. but the problem is the same.
I don't know if i explain well my problem ,but the web service work just fine if the data i read from my database if less that 800 items.
i got a category that have at less 23.000 item and my dropdown show the 500 error if i choice this category.
I put into my web service this statement and work fine
cmd.Parameters.AddWithValue("?mkey", countyId);
using (MySqlDataReader dr = cmd.ExecuteReader()){while (dr.Read())
{
str = (
string)dr["SubDiv"];
values.Add(
new CascadingDropDownNameValue((string)dr["Subdiv"],(string)dr["Subdiv"]));if (dr.count > 500) return values;
}
}
return values;