简体   繁体   中英

how to fix asp core mvc deployment on iis

Well, I have an asp.net core (v2.1) mvc project, and i tried to deploy it on iis, when i launch my website, i can see my home page, so when i try to route to another page, an error display on my screen "An error occurred while processing your request."

Error

i see some solution and i tried it, like add ASPCORE_ENVIRONMENT to my web.config or give permission to folders.

please help!! and thank you

Open IIS Manager and click on Application Pools. Make sure the Application Pool your MVC app is running under is set to .NET CLR version is 4 and the pipeline mode is Integrated.

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