Error message when you visit a Web site that is hosted on IIS 7.0: "HTTP Error 404.6 – VERB_DENIED"

Symptoms

When you visit a Web site that is hosted on Internet Information Services (IIS) 7.0, you receive an error message that resembles the following:
Server Error in Application "application name"
--------------------------------------------------------------------------------
HTTP Error 404.6 – VERB_DENIED
HRESULT: 0
Description of HRESULT
# The operation completed successfully.

Cause

This problem occurs because no verbs are added to the <verbs> section in the applicationHost.config file. Additionally, the allowUnlisted property of the <verbs> section is set to false. This setting denies all the requests that add verbs that are listed in the <handlers> section. The <handlers> section is under the <system.webServer> node in the applicationHost.config file.

Resolution

To resolve this problem, follow these steps:
  1. In a text editor, open the ApplicationHost.config file.

    The ApplicationHost.config file is in the following folder:
    %SystemRoot%\system32\inetsrv\config
  2. Locate the <verbs allowUnlisted="false" /> tag.
  3. Change this tag to <verbs allowUnlisted="true" />.

    Note If you do not want to allow all the unlisted verbs for security reasons, you can explicitly add these verbs. For example, you can replace the <verbs allowUnlisted="false" /> tag with the following code:
    <verbs  allowUnlisted="false">
    <add verb="GET" allowed="true" />
    </verbs>
Proprietà

ID articolo: 942046 - Ultima revisione: 28 set 2007 - Revisione: 1

Feedback