Monday, July 16, 2007

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 page add in <%@ Page .... EnableEventValidation="false" ...%>

3. If yet you get error - try ValidateRequest="false" in the tag <%@ Page ...%>

Good luck :-)

7 comments:

Anonymous said...

tks your comments resolves my problem.

Muchas gracias

Anonymous said...

Thank you very much for posting this solution for web services

Thanks,

Navneet

Anonymous said...

Moi aussi,
la solution :
1. In WebService add attribute [System.Web.Script.Services.ScriptService()] to class.

m'a sauvé.

Thank you,

Laurent.

Anonymous said...

After a LONG search, this solved the issue. Thanks!

Anonymous said...

thanks expert

Anonymous said...

Thanks friend it solved my problem. thanks again.

Anonymous said...

Thank You very much,it realy helps me to solve my problem.