ASP.NET Web Method that accepts a List is failing with “Web Service method name is not valid.”

后端 未结 10 784
感动是毒
感动是毒 2020-12-10 07:25

I want to create a web method that accepts a List of custom objects (passed in via jQuery/JSON).

When I run the website locally everything seems to work. jQuery an

10条回答
  •  自闭症患者
    2020-12-10 07:51

    Whenever I get these kinds of errors (working on local but not on server) I fire up IIS admin tool (or whatever you are using) and check that everything is EXACTLY the same. If not make them the same then change 1 little thing at a time.

    Depending on your role/organisation you might not have access to the server in this way but often these errors come down to the weirdest random checkbox on a tab you never look at.

    It is a long shot but can't help to try.

提交回复
热议问题