如何调整web.config以发布在VS2013中开发的Web应用程序?这是web.config文件

时间:2014-10-13 12:44:35

标签: vb.net

我的主要问题是

<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,但我应该把它作为网站名称?

0 个答案:

没有答案
相关问题