Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 511603
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T07:14:01+00:00 2026-05-13T07:14:01+00:00

I am running into a problem trying to use AJAX and jQuery with ASP.NET

  • 0

I am running into a problem trying to use AJAX and jQuery with ASP.NET MVC on IIS 6.0. I receive a 403.1 error when I attempt to invoke an action via jQuery. Is there anything I must add to the web.config in order to support this?

Client Code

<script src="../../Scripts/MicrosoftAjax.js" type="text/javascript"></script>
<script src="../../Scripts/MicrosoftMvcAjax.js" type="text/javascript"></script>

<script src="../../Scripts/jquery-1.3.2.js" type="text/javascript"></script>

<script type="text/javascript">
    function deleteRecord(recordId) {
        // Perform delete
        $.ajax(
        {
            type: "DELETE",
            url: "/Financial.mvc/DeleteSibling/" + recordId,
            data: "{}",
            success: function(result) {
                window.location.reload();
            },
            error: function(req, status, error) {
                alert("Unable to delete record.");
            }
        });
    }


</script>

<a onclick="deleteRecord(<%= sibling.Id %>)" href="JavaScript:void(0)">Delete</a>

Server Code

[AcceptVerbs(HttpVerbs.Delete)]
public virtual ActionResult DeleteSibling(int id)
{
    var sibling = this.siblingRepository.Retrieve(id);
    if (sibling != null)
    {
        this.siblingRepository.Delete(sibling);
        this.siblingRepository.SubmitChanges();
    }

    return RedirectToAction(this.Actions.Siblings);
}

Error

You have attempted to execute a CGI, ISAPI, or other executable program from a directory that does not allow programs to be executed.

HTTP Error 403.1 – Forbidden: Execute access is denied.
Internet Information Services (IIS)


Update

Darin correctly pointend out that it helps if you add the DELETE verb to .mvc extension, however I an now running into the following issue:

[HttpException (0x80004005): Path ‘DELETE’ is forbidden.] System.Web.HttpMethodNotAllowedHandler.ProcessRequest(HttpContext context) +80 System.Web.CallHandlerExecutionStep.System.Web.HttpApplication+IExecutionStep.Execute() +179 System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)

Status: 405 – Method not allowed

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-13T07:14:01+00:00Added an answer on May 13, 2026 at 7:14 am

    When you register the .mvc extension with aspnet_isapi.dll in IIS you need to enable the DELETE verb:

    alt text http://support.citrix.com/article/html/images/CTX104183-1.gif

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Trying to use JSPX and running into a strange problem. Text inside jsp:text is
I'm troubleshooting a Mapper problem and I'm running into an issue trying to use
I'm running into a problem trying to anchor a textbox to a form on
I am trying out moq and I'm running into a problem with the following
I'm trying to work through the problems on projecteuler.net but I keep running into
Running into a problem where on certain servers we get an error that the
Been running into this problem lately... When debugging an app in VS.Net 2005, breakpoints
I'm trying to use the dialog widget from JQueryUI and am running into a
I am running into a problem and I trying to solve it in the
I am currently running into a problem where an element is coming back from

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.