Discuz!NT

注册

 

QQ登录

只需一步,快速开始

发新话题 回复该主题

[安装] 紧急求救升级出现故障 [复制链接]

1#
我是从2.5升级到2.6,前面都很正常。只是到了最后进入首页就出现这样了,如下:
  1. Server Error in '/' Application.
  2. --------------------------------------------------------------------------------

  3. Runtime Error
  4. 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.

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


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


  7. 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 configuration tag to point to a custom error page URL.


  8. <!-- Web.Config Configuration File -->
复制代码
最后编辑摄氏零度寂寞 最后编辑于 2009-03-26 04:11:24
分享 转发
TOP
2#

检查你的web.config文件是否正常,所在位置是否是合法的。
TOP
3#

我根本就不知道哪里有错。而且我根本也没有去修改这个文件。
web.config的源码如下:
  1. <?xml version="1.0" encoding="utf-8" ?>

  2. <COMPILATION
  3. defaultLanguage="c#"
  4. debug="false"
  5. />

  6. <TRACE
  7. enabled="false"
  8. requestLimit="10"
  9. pageOutput="false"
  10. traceMode="SortByTime"
  11. localOnly="true"
  12. />

  13. <!-- 以下为Discuz!NT相关的一些系统设置, 如果有疑问, 请访问 [url]http://nt.discuz.net/config[/url] 获得更详细的说明
  14.     -->
  15. <!--  注意:此节设置错误信息的显示

  16.           "On" 始终显示自定义(友好的)信息。
  17.           "Off" 始终显示详细的 ASP.NET 错误信息。
  18.           "RemoteOnly" 只对不在本地 Web 服务器上运行的
  19.     -->
  20. <CUSTOMERRORS
  21. mode="RemoteOnly"
  22. />

  23. <!--  注意:此节设置全球化,Discuz!NT由此支持多语言。
  24.     -->
  25. <GLOBALIZATION
  26. requestEncoding="utf-8"
  27. responseEncoding="utf-8"
  28. fileEncoding="utf-8"
  29. />

  30. <!--  注意:此节设置是否使用ASP.net表单安全验证,Discuz!NT使用自己的验证。
  31.     -->
  32. <PAGES
  33. validateRequest="false"
  34. enableViewStateMac="false"
  35. />

  36. <!--  注意:此节设置由Discuz!NT接管http请求。不会干涉对非Discuz!NT论坛路径下的请求。
  37.     -->
复制代码

TOP
4#

还是一样,没有用啊。到底怎么去修复啊?大家提个意见啊
TOP
发新话题 回复该主题
站长