tags:

views:

59

answers:

2

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 your ScriptManager 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
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
A: 

Not sure if you found an answer, but I had this same error, only with pagemethods. However, this article helped me find this solution.

D0cNet