我正在使用MVC 3. 。 我编辑了我的网页。 Config
<configuration xmlns:xdt="http://schemas.microsoft.com/XML-Document-Transform">
<system.web>
<compilation xdt:Transform="RemoveAttributes(debug)" />
<customErrors defaultRedirect="GenericError.htm"
mode="RemoteOnly" xdt:Transform="Replace">
<error statusCode="500" redirect="InternalError.htm"/>
</customErrors>
</system.web>
</configuration>
现在,当我遇到一段错误时,我仍然看到:
Server Error in / Application.
Compilation Error
Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately.
完成与我的SOURCE CODE的联系:-
请注意,在我执政时,我已安排“释放”,我用CTRL F5管理。