In ASP.NET 3.5 I had this javascript on a page (default.aspx):
function getMoreNewsItems() { $.ajax({ type: \"POST\", url: \"default.aspx
Fixed,
Change
url: "default.aspx/LoadNewsItems",
To
url: '<%= ResolveUrl("default.aspx/LoadNewsItems") %>',
It has to do with the URL Routing.