MVC: The incoming request does not match any route.

All IIS8 servers support MVC out of the box as the MVC script mapping is in the web.config, but to use this you must be using the integrated pipeline mode.

In WebsitePanel go to websites and select the website in question. Next, click on the extensions tab and change the dropdown box for ASP.NET to 4.0 Integrated Pipeline.  This will allow IIS8 to use the script mappings defined in your web.config.

If you see the following  Security Exception

Description: The application attempted to perform an operation not allowed by the security policy.  To grant this application the required permission please contact your system administrator or change the application's trust level in the configuration file.

Exception Details: System.Security.SecurityException: Request for the permission of type 'System.Security.Permissions.ReflectionPermission, mscorlib, Version=, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed.

Then you will need to update the trust level for your website. You can do so by reviewing this KB article:

Add Feedback