Reputation: 22840
Create a new ASP.NET 5 (MVC 6) app and deploy to Azure. You get the HTTP 500 exception. If you create a web.config file in the wwwroot folder with the following markup:
<configuration>
<system.web>
<customErrors mode="Off"/>
</system.web>
</configuration>
You get the the exception in the title.
Upvotes: 0
Views: 2712
Reputation: 115
When you publish in Visual studio 2015 RC, in the publish web "setting": you should choose "dnx-clr-win-x64.1.0.0-beta4", not dnx-clr-win-x86.1.0.0-beta4.
Upvotes: 1
Reputation: 22840
One way to get this error is to deploy a 64 bit version (either Core or x86) to a free or shared web app. If you create the azure web app in the publish dialog, VS creates a free web app (which doesn't support 64 bit).
Upvotes: 1