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."

Not Monitored
Not Monitored
Tag not monitored by Microsoft.
43,290 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Tasadduq Burney 8,946 Reputation points MVP
    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)

    0 comments No comments

Your answer

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