1、首先安装好动易.NET版本的网站
2、把Discuz!NT2.5 文件放在 bbs 文件夹下
3、把Discuz!NT2.5下的DNT.config 、bin目录 、aspnet_client目录 放到根目录(如果是Discuz!NT2.6版,还需把upgrade目录放在根目录)
4、修改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=(local);User ID=sa;Password=123;Initial Catalog=dnt26test;Pooling=true</Dbconnectstring>
<Tableprefix>dnt_</Tableprefix>
<Forumpath>/bbs/</Forumpath>
<Dbtype>SqlServer</Dbtype>
<Founderuid>1</Founderuid>
</BaseConfigInfo>
5、修改根目录web.config(SF配置文件)
在
<location path="." inheritInChildApplicati>
<system.web>
………省略
<!--添加、移除或清除应用程序中的 HTTP 模块。-->
<httpModules>
<remove name="WindowsAuthentication" />
<remove name="PassportAuthentication" />
<remove name="RoleManager" />
<remove name="FileAuthorization" />
<remove name="AnonymousIdentification" />
<remove name="Profile" />
<add type="Discuz.Forum.HttpModule, Discuz.Forum" name="HttpModule" />
<add name="UrlRewriteModule" type="UrlRewritingNet.Web.UrlRewriteModule, UrlRewritingNet.UrlRewriter" />
………省略
</system.web>
</location>
6、修改bbs目录下的web.config
<pages
styleSheetTheme=""
validateRequest="false"
enableEventValidation="false"
enableViewStateMac="false"
viewStateEncryption Mode ="Never"
>
<tagMapping>
<remove tagType="System.Web.UI.WebControls.Label" />
<remove tagType="System.Web.UI.WebControls.Literal" />
<remove tagType="System.Web.UI.WebControls.HyperLink" />
</tagMapping>
</pages>
此时安装论坛即可
http://网址/bbs/install/index.aspx
论坛地址:http://bbs.powereasy.net/dispbbs.asp?boardid=73&id=417647&page=0&star=1
新闻热点
疑难解答
图片精选