you don't say the technology you are using, but use the browsers debug tools to see the url and server response. probably missing the part of the path.
WebMethod not being hit
Qamar, Mo
106
Reputation points
WebMethod works fine if project is run in local Visual Studio but the same WebMethod will not be hit if project is deployed on local IIS.
What do I need to do to get it to work on localhost and/or a web server?
Developer technologies ASP.NET Other
3,597 questions
3 answers
Sort by: Most helpful
-
Bruce (SqlWork.com) 77,686 Reputation points Volunteer Moderator
2022-03-30T20:29:38.257+00:00 -
Qamar, Mo 106 Reputation points
2022-04-01T15:15:42.987+00:00 It has been fixed.
I was making 2 ajax calls to web method; removed one and adjusted the first call. -
Qamar, Mo 106 Reputation points
2022-04-01T16:07:11.16+00:00 This issue has been resolved but I don't see an option to mark it as answered.