当前位置: 代码迷 >> ASP.NET >> ftp上传的网站浏览异常Server Error in '/' Application
  详细解决方案

ftp上传的网站浏览异常Server Error in '/' Application

热度:7699   发布时间:2013-02-25 00:00:00.0
ftp上传的网站浏览错误Server Error in '/' Application
Server Error in '/' Application.
--------------------------------------------------------------------------------

Runtime Error 
Description: An application error occurred on the server. The current custom error settings for this application prevent the details of the application error from being viewed remotely (for security reasons). It could, however, be viewed by browsers running on the local server machine. 

Details: To enable the details of this specific error message to be viewable on remote machines, please create a <customErrors> tag within a "web.config" configuration file located in the root directory of the current web application. This <customErrors> tag should then have its "mode" attribute set to "Off".


<!-- Web.Config Configuration File -->

<configuration>
  <system.web>
  <customErrors mode="Off"/>
  </system.web>
</configuration>
 

Notes: The current error page you are seeing can be replaced by a custom error page by modifying the "defaultRedirect" attribute of the application's <customErrors> configuration tag to point to a custom error page URL.


<!-- Web.Config Configuration File -->

<configuration>
  <system.web>
  <customErrors mode="RemoteOnly" defaultRedirect="mycustompage.htm"/>
  </system.web>
</configuration>
 



------解决方案--------------------------------------------------------
你贴出这个错误!!!!


没法解决的
------解决方案--------------------------------------------------------
web.config配置错误
http://topic.csdn.net/u/20070813/15/b89a4ea0-6302-48c0-82da-14c4bb116b97
------解决方案--------------------------------------------------------
探讨

如何才能解决

------解决方案--------------------------------------------------------
你先让它显示出具体的错误信息
你现在的错误信息是通用的,看不出问题的。
一般是数据库连接不正确,asp.net版本不正确导致
  相关解决方案