axjuan - 2007-4-6 0:21:00
Server Error in '/' Application.
发生错误: 网站根目录下没有正确的DNT.config文件 Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.Exception: 发生错误: 网站根目录下没有正确的DNT.config文件
Source Error:
| An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below. |
Stack Trace:
| [Exception: 发生错误: 网站根目录下没有正确的DNT.config文件] Discuz.Forum.Providers.BaseConfigProvider.GetRealBaseConfig() +1047 Discuz.Forum.Providers.BaseConfigProvider..cctor() +29[TypeInitializationException: The type initializer for 'Discuz.Forum.Providers.BaseConfigProvider' threw an exception.] Discuz.Forum.Providers.BaseConfigProvider.Instance() +0 Discuz.Forum.HttpModule.ReUrl_BeginRequest(Object sender, EventArgs e) +144 System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +92 System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +64 |
Version Information: Microsoft .NET Framework Version:2.0.50727.42; ASP.NET Version:2.0.50727.42
==============================
我分明把那文件放根目录了啊啊啊~~~~~~~~~~
雪人 - 2007-4-6 7:25:00
c:\windows\temp目录的权限设置的对吗?
是全新安装?
axjuan - 2007-4-6 13:17:00
雪人哥哥:'( :'( :'(
是.net 2.0 全新安装
不确定对c:\windows\temp目录的权限设置..
好象DNT如果检测到temp目录的权限设置不正确会提示的呀?没提示我temp目录的权限设置有问题,只是说网站根目录下没有正确的DNT.config文件..
雪人 - 2007-4-6 13:25:00
dnt.config的内容你修改过吗?或者是否你填写数据库帐号里有些非法字符比如小于号 大于号之类的,导致dnt.config的xml格式被破坏了?
axjuan - 2007-4-6 16:17:00
<?xml version="1.0"?>
<ArrayOfBaseConfigInfo xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<BaseConfigInfo>
<Dbconnectstring>data source=*.*.*.*,1433;User ID=a030516;pwd=*;Initial Catalog=a030516"; providerName="System.Data.SqlClient</Dbconnectstring>
<Tableprefix>winr_</Tableprefix>
<Forumpath>/bbs/</Forumpath>
<Founderuid>0</Founderuid>
</BaseConfigInfo>
</ArrayOfBaseConfigInfo>
这个是代码~麻烦雪人哥哥帮忙看下吧~:'(
axjuan - 2007-4-7 13:22:00
ding...............:'(
guke01 - 2007-4-7 13:47:00
雪人大哥,怎么帮他解决问题,不帮我解决啊???:(
axjuan - 2007-4-7 14:50:00
雪人大哥比较忙吧...偶也等了1天了...
axjuan - 2007-4-7 23:42:00
我顶~~~~~~~~~~~~~~~~~~~~~
axjuan - 2007-4-8 13:10:00
偶晕 雪人大哥也不帮偶了....:'(
axjuan - 2007-4-8 13:42:00
论坛曾经可以安装过...
axjuan - 2007-4-9 14:03:00
坚决顶~~~~~~~~~~~
wellknow - 2007-4-9 15:12:00
应该是安装时,对网站目录有没修改的权限.