我的主要问题是
<system.web>
<customErrors mode="RemoteOnly" defaultRedirect="Default.aspx"/>
</system.web>
当我添加此行时,会出现错误,说明
Server Error in '/' Application.
Runtime Error
Description: An exception occurred while processing your request.
Additionally, another exception occurred while executing the custom error
page for the first exception. The request has been terminated.
我猜问题出在defaultRedirect
,但我应该把它作为网站名称?