简体   繁体   中英

IIS application pool error while debugging asp.net core 3 web api

I have created a web API project by choosing default options (weather forecast) using VS 2019 targeting .net core 3.1. I want to host the application in IIS with development support. I am following this link to host the service in IIS.

However, I get the following error when I hit 'run' selecting IIS profile and debug mode:

在此处输入图像描述

error:

: 在此处输入图像描述

Debug properties screenshot:

在此处输入图像描述

IIS AppPool:

在此处输入图像描述

IIS website list: 在此处输入图像描述

event viewer:

在此处输入图像描述

I was finally able to figure out the issue, my app pool was being created automatically with a random password, once I updated that it was all good. As this app pool was running under my username.

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