How to Get Error Details of an ASP.NET 5 app deployed on Azure Websites?

后端 未结 10 1910
执笔经年
执笔经年 2020-12-05 02:23

I have an ASP.NET 5 solution with a website and several project libraries. I\'m using MVC 6 and Entity Framework 7. Locally the app is working fine and until today it was wo

10条回答
  •  再見小時候
    2020-12-05 02:34

    I've experienced the exact same error with a web app running dnx-clr-win-x64.1.0.0-rc1-update1. I did the deployment directly from Visual Studio 2015 Enterprise Update 1. I found that the site was working whenever I did the first deployment on a newly created web app. Starting with the second deployment (even when deploying the exact same content), I started to see Internal Server Error 500. That brought me to the following solution:

    Enabling "Remove additional files at destination" in the publishing wizard of Visual Studio fixed it for me.

提交回复
热议问题