I am using ASP.NET MVC in my web application. It uses AJAX (MicrosoftAjax.js, MicrosoftMvcAjax.js, jquery-1.3.1.min.js) to make a call from the view to the Delete action using this code:
<%= Ajax.ActionLink("Delete", "Delete", new { id=item.id }, new AjaxOptions { Confirm = "Are you sure you want to delete the record?", HttpMethod = "Delete", UpdateTargetId = "divAttributeList" }) %>
In the controller, I use this code to process the view request:
[AcceptVerbs(HttpVerbs.Delete)]
public ActionResult Delete(int id)
{
_service.DeleteAttribute(id);
return PartialView("List", _service.ListAttributes());
}
It works fine when I run it on the ASP.NET development server, but when I try to run the application on IIS7 (Windows Vista or Windows Server 2008), I get an error

If I click Continue, the browser will show me the following message
Resource is not found.
Thank you for your help.
source
share