Reputation: 3
I am getting this error after deploying the code on the server or local IIS, but in debug mode everything is working fine. The message is clear that it is not able to find index.cshtml
file but everything is in its place.
Application error:
Project files:
Assembly information:
Upvotes: 0
Views: 571
Reputation: 330
You should check whether ~/Views/Home/Index.cshtml
is available in your deployed application and also is in the correct directory, not your development location as you said it works in debug mode.
Upvotes: 1