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
新聞熱點
疑難解答
圖片精選