Failed to execute xxx server method (asp.net ajax)

I have a website project that is working fine. However, each time, certain specific ajax pages (which make calls to the web service) throw a "server method xxx failed". I have ELMAH installed but don’t see anything from stacktrace or anything else. The worst part is that I cannot reproduce the error locally. I just get an email notification from ELMAH. Does anyone know how I can fix this problem?

Edit: after 1 year, I still have the same problem.

+3
source share
3 answers

This description is too inadequate. My assumptions:

  • EnablePageMethods ="true" ScriptManager?
  • , ( , , ), -, anync ?
  • ?
  • URL?
+1

, , application/json. , - -, .

0

The same thing happened with ASP.NET, remove the property runat="server"and execute successfully

-1
source

Source: https://habr.com/ru/post/1743408/


All Articles