今天项目需要安装一个论坛,同学们都说Discuz最好,功能最强!而且还免费,所以就搞了一个来用用!
同学们都用的是php版的我要用.net的
于是下了一个.net版的Discuz!NT
在安装的时候把这个网站设为虚拟目录的情况下会出现一些错误,
网上找了好长时间终于找到了解决办法!
就是把DNT.config文件中
<?xml version="1.0"?>
<BaseConfigInfo xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<Dbconnectstring>Data Source=LIIODFATBNRHRWD/PHKER;User ID=sa;Password=sa;Initial Catalog=Discuz;Pooling=true</Dbconnectstring>
<Tableprefix>dnt_</Tableprefix>
<Forumpath>/</Forumpath>
<Dbtype>SqlServer</Dbtype>
<Founderuid>1</Founderuid>
</BaseConfigInfo>
修改如下一段即可!
<Forumpath>/bbs/</Forumpath>