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:
tks your comments resolves my problem.
Muchas gracias
Thank you very much for posting this solution for web services
Thanks,
Navneet
Moi aussi,
la solution :
1. In WebService add attribute [System.Web.Script.Services.ScriptService()] to class.
m'a sauvé.
Thank you,
Laurent.
After a LONG search, this solved the issue. Thanks!
thanks expert
Thanks friend it solved my problem. thanks again.
Thank You very much,it realy helps me to solve my problem.
Post a Comment