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 7588913
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T20:02:46+00:00 2026-05-30T20:02:46+00:00

I am receiving an error that states: The HTTP verb POST used to access

  • 0

I am receiving an error that states: “The HTTP verb POST used to access path ‘[my path]’ is not allowed.”.

The error is being caused by the fact that I am implementing an HTML form element that uses the POST method and does not explicitly define an .aspx page in its ACTION parameter.

For example:

<form action="" method="post">
  <input type="submit" />
</form>

The HTML above is on a file at “/foo/default.aspx”.

Now, if the user points the URL to the root directory “foo” without specifying the aspx file (i.e. “http://localhost/foo&#8221;) and then submits the form, the error “The HTTP verb POST used to access path ‘/foo’ is not allowed.” will be thrown.

However, if the user goes to “http://localhost/foo/default.aspx&#8221; and then submits the form, all goes well (even if the ACTION parameter is left empty).

Note: If I explicitly add the name of the .aspx (default.aspx) page to the ACTION parameter, no errors are thrown. So the example below works fine regardless if the user defines the name of the file in the URL or not.

<form action="default.aspx" method="post">
  <input type="submit" />
</form>

I was curious as to why the error was being thrown, so I read a Microsoft KB that states

This problem occurs because a client
makes an HTTP request by sending the
POST method to a static HTML page.
Static HTML pages do not support the
POST method.

I suppose the core of the explanation makes sense, however in my case, my form is not being sent to a static html page – it’s being sent to the same page that the html form lives on (default.aspx)… this is implicit to an ACTION param that is left empty.

Is it possible to configure IIS (or otherwise) that will allow us to do form POSTing and keep the ACTION param empty?

  • 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-30T20:02:47+00:00Added an answer on May 30, 2026 at 8:02 pm

    It’s been a year since initially experienced this error and thought I should add to this post that I am no longer receiving the error.

    I don’t know what fixed the problem, but my guess is that the error has gone away due to some Windows Update that has been implemented on my dev machine within the year.

    One thing I noticed in the IIS 7 settings is that the “ISAPI.DLL” (in the “Handler Mappings” section) is disabled. I can’t figure out how to “enable” it in order to try to reproduce the problem to show that the ISAPI.DLL is causing (or related) to the problem.

    Anyway, the I am unable to reproduce this error that occurs when I leave the “action” attribute blank in an HTML Form tag. So, my guess is that there is an IIS and/or .NET Framework update that implicitly or explicitly fixes the error mentioned in the OP.

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

Sidebar

Related Questions

The error I'm receiving is listed here . That's my HibernateUtil.java package com.rosejapan; import
I am not sure what the problem is but I keep receiving this error
I'd love help diagnosing the source of a duplicate symbol error that I'm receiving
I am receiving the following error: System.InvalidOperationException was unhandled Message=The type 'Judge' is not
I am currently receiving this error: Validation of viewstate MAC failed. If this application
I'm receiving this error in my Linq statement --- Cannot implicitly convert type 'System.Collections.Generic.IEnumerable'
I am receiving this error. I have no clue as to why it would
In my program, I have been receiving an error when I use a command-line
I'm receiving suddenly this error on a Win2003 Server Web Application: Microsoft VBScript runtime
I am receiving the following error in PHP Notice undefined offset 1: in C:\wamp\www\includes\imdbgrabber.php

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.