问题
I get this message:
"The page cannot be displayed because an internal server error has occurred."
my web.config
<customErrors mode="Off"/>
my Web.Debug.config/Web.Release.config
<customErrors mode="Off" xdt:Transform="Replace"/>
<compilation xdt:Transform="RemoveAttributes(debug)" />
回答1:
this solve the problem
<system.webServer>
<httpErrors errorMode="Detailed" />
<asp scriptErrorSentToBrowser="true"/>
</system.webServer>
来源:https://stackoverflow.com/questions/43521260/when-i-set-customerrors-mode-off-in-azure-i-do-not-get-the-error-information