I created a web project and it runs well in Visual studio. However, I got the following error after published it to azurewebsites. What can cause the issue?
For me worked adding the following section to web.config file:
web.config
... ... ... ...
This example stands for MVC 5.1. Hope it will help someone to resolve such issue.