I have a website project, that is working fine. However every once a while certain ajax pages (that make calls to a webservice) throw a "the server method xxx failed". I have ELMAH installed, however do not see any stacktrace or anything. The worst is that I can not reproduce the error locally. I just get an email notification from ELMAH. Does anybody know how I can fix this issue?
A:
It's too insufficient description. My assumptions:
- Did you add
EnablePageMethods ="true"
to yourScriptManager
control? - If yes, did the control (if it is; e.g. button) which call the web service method perform an anync postback instead of full one?
- Does the signature of server method and a call from the client-side match?
- Are you using URL rewriting?
Alex
2010-04-30 10:17:07
No, I did not add EnablePageMethods. I am using a webservice. Yes, the signature and call do match. As said this happens every once a while. No, I am not using any url rewriting.
vikasde
2010-04-30 17:43:38