Lỗi http error 403.14 forbidden asp net năm 2024

SYMPTOMS

When navigating to the web mail client the following error is returned in the browser:

HTTP Error 403.14 - Forbidden

The Web server is configured to not list the contents of this directory.

Detailed Error Information

Module DirectoryListingModule

Notification ExecuteRequestHandler

Handler StaticFile

Error Code 0x00000000

CAUSE

The ASP.NET and CGI role services are not installed.

RESOLUTION

Windows server 2012

  • Open Windows "Server Manager"
  • Under "Dashboard" click on "Add roles and features"
  • click "Server Roles" and then expand: Web Server (IIS) > Web Server (Installed) > Application Development (Installed)
  • Select "ASP.NET 3.5", "ASP.NET 4.5" and "CGI"
  • Click "Next" to install
  • Once completed restart IIS and test web mail.

Windows server 2008

  • Open Windows "Server Manager"
  • Click on the "Roles" Node.
  • In the "Roles" window scroll down to "Role services".
  • Click on "Add roles Services"
  • Expand Web Server (Installed) > Application Development (Installed)
  • Select "ASP.NET" and "CGI".
  • Click "Next" to Install.
  • Once completed restart IIS and test web mail.

Product:MailEnable (All Versions) Category:Environment Article:ME020633 Module:WebMail Keywords:403.14,403,forbidden,web,mail Class:TRB: Troubleshooting (Configuration or Environment) Revised:Wednesday, May 4, 2016 Author: Publisher:MailEnable

Hãy nâng cấp lên Microsoft Edge để tận dụng các tính năng mới nhất, bản cập nhật bảo mật và hỗ trợ kỹ thuật.

HTTP Error 403.14 - Forbidden when you open an IIS webpage

  • Bài viết
  • 01/25/2022

Trong bài viết này

This article helps you resolve the "HTTP Error 403.14 - Forbidden - The web server is configured to not list the contents of this directory" error that occurs when you open an Internet Information Services (IIS) webpage.

Original product version: Internet Information Services 7.0 and later versions Original KB number: 942062

Note

  • The target audience for this article is website administrators and web developers.
  • This article only applies to traditional ASP.Net Form applications.

Symptoms

When you visit a website hosted on IIS 7.0 or a later version, you receive an error message that resembles the following:

Server Error in Application "application name" HTTP Error 403.14 - Forbidden HRESULT: 0x00000000 Description of HRESULT : The Web server is configured to not list the contents of this directory.

Resolution for users

If you're a user, you should contact the website administrators to notify them that this error has occurred for this web address.

Resolution for site administrators

This problem occurs because the website doesn't have the Directory Browsing feature enabled. Also, the default document isn't configured. To resolve this problem, use one of the following methods:

Method 1: Enable the Directory Browsing feature in IIS (recommended)

To resolve this problem, follow these steps:

  1. Start IIS Manager. To do it, select Start, select Run, type inetmgr.exe, and then select OK.
  2. In IIS Manager, expand server name, expand Web sites, and then select the website that you want to change.
  3. In the Features view, double-click Directory Browsing.
  4. In the Actions pane, select Enable.

Method 2: Add a default document

To resolve this problem, follow these steps:

  1. Start IIS Manager. To do it, select Start, select Run, type inetmgr.exe, and then select OK.
  2. In IIS Manager, expand server name, expand Web sites, and then select the website that you want to change.
  3. In the Features view, double-click Default Document.
  4. In the Actions pane, select Enable.
  5. In the File Name box, type the name of the default document, and then select OK.

Method 3: Enable the Directory Browsing feature in IIS Express

Note

This method is for the web developers who experience this issue when they use IIS Express.

Open a Command Prompt window, and navigate to the IIS Express folder on your computer. For example, type the following command at the command prompt, and then press Enter: