本帖最后由 my19901006 于 2010-12-21 16:24:10 编辑

解决方案 »

  1.   

    程序里是不是有static变量?
    检查一下,最好不要用 有可能使这个问题
      

  2.   

    可能是数据库问题,我换了一个数据库,现在发现连那个安装页面都不在了  bbs/install/index.aspx不见了
      

  3.   

    discuz整合好了,其实就是那么点事。分还是要给你们的
      

  4.   

    我把步骤列出来,以后怕有人遇到
        1.dnt.config绝对于是要放在网站根目录 ,如果你的discuz是放在项目的子目录,比如放在项目里的bbs文件夹里,则需要把要把Dnt.config的<Forumpath>节点修改为<Forumpath>/bbs/</Forumpath> 
    <?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=ip地址;User ID=sa;Password=***;Initial Catalog=数据库名;Pooling=true</Dbconnectstring> 
      <Tableprefix>dnt_</Tableprefix> 
      <Forumpath>/bbs/</Forumpath> 
      <Dbtype>SqlServer</Dbtype> 
      <Founderuid>1</Founderuid> 
      </BaseConfigInfo> 
      2.discuz的bin文件要复制到网站根目录的bin文件里面 
        3.web.config整合方法 
      在更目录的web.config<httpModules>节点中增加 
      <add type="Discuz.Forum.HttpModule, Discuz.Forum" name="HttpModule" /> 
      类似: 
      <httpModules> 
      <add type="Discuz.Forum.HttpModule, Discuz.Forum" name="HttpModule" /> 
      </httpModules> 
        
        4.最好也把discuz!nt的config文件 和 cache文件都考到根目录再补充一点,在安装discuz nt数据库的时候,它要自动往数据库里的表dnt_usergroups、
    dnt_userfields 、 dnt_users添加内容,如果表里没内容的话,浏览就会报错。就是这个问题把我搞爆炸了。还好,解决了。