Share via

Deployment

Saurav Modi [MCA - 2024] 0 Reputation points
2025-04-01T03:57:07.0733333+00:00

"Hello, sir. I am deploying my application on a local IIS server. My project is built using ASP.NET Core version 8 MVC. However, when I try to deploy and browse it, I encounter an error, but the error only occurs on IIS."

Community Center | Not monitored
0 comments No comments

1 answer

Sort by: Most helpful
  1. Taz 9,366 Reputation points MVP Volunteer Moderator
    2025-04-01T06:36:44.7333333+00:00

    Hello,

    Make sure the ASP.NET Core Hosting Bundle is installed on the server. Set the IIS App Pool to No Managed Code and ensure the IIS App Pool identity has proper permissions to access the app files. Check Event Viewer and enable stdout logs for detailed error information. Verify the web.config file is correctly set up and points to the app path. Ensure you're deploying the published app and not the source code.

    If the issue persists, please share the specific error message.

    ✨ Please Upvote and Accept the Answer if it helps! ✨

    Thanks & Regards, Tasadduq Burney

    (Microsoft MVP & MCT)

    (Azure 15x)

    Was this answer helpful?

    0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.