简体   繁体   中英

ASP.NET Core deployed on IIS gives error: HTTP Error 403.14 - Forbidden

I've gone through several posts online related to this error but most of these posts are related to classic ASP.NET, and a few that are related to ASP.NET core did not help either.

I created an ASP.NET Core app on VS2017 exactly following this official ASP.NET tutorial . Deployed the app on the IIS on same local machine ( Win 7.0 64bit ) using this official ASP.NET tutorial . But when I browse the app in IIS I get the following error :

HTTP Error 403.14 - Forbidden. The Web server is configured to not list the contents of this directory.

NOTE : The app runs fine inside VS2017 and the IIS in question is on the same machine as on VS2017 . I've verified the path is correct. All the requirements for IIS deployment mentioned in the above tutorial are satisfied.

I would suggest verifying that your IIS is pointed to the correct folder.

Pointing it to an incorrect folder could explain what you are seeing.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM