简体   繁体   中英

Unable to run the ASP.NET Core Web API project in IIS Express

I have created a new ASP.NET Core Web API project using Visual Studio 2019 and without making any changes, run the project under IIS Express. Just nothing happened and when I stop the solution it gives me the below error. whereas it runs fine when I choose to run under the same solution name. (running fine in ASP.NET core runtime)

Error: iisexpress.exe' has exited with code -1

It will be a great help if someone can explain. Thanks in advance

Install IIS with all the below features checked as it is required for VS studio 2019 and.Net framework 4.6 and above. IIS hostable web core has allowed running the core application on IIS

在此处输入图像描述

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