Discuz!NT官方社区

首页 » Discuz!NT交流与讨论 » 安装使用 » Discuz!NT 2.5 正式版问题解决方法总结
戏水 - 2008-6-30 10:52:00
接到用户反馈 Discuz!NT 2.5 beta 下载安装升级后,Tag功能无法正常使用。我们排查了原因,现在提供解决方法:

下载下面的文件,解压缩其中的 urls.config 文件,上传覆盖空间上 config 目录中的同名文件。 若不生效,请重启一下 iis 的应用程序池。

附件: urls.zip (2008-6-30 10:51:47, 715 B)
该附件被下载次数 493



另外根据8ee朋友的反馈,升级程序未能将 dnt_tags 表中 tagid 字段设置为标识列 ,所以大家可以在 SQL Server 查询分析器中运行一下代码。当然通过SQL Server企业管理器操作也可

/* 为了防止任何可能出现的数据丢失问题,您应该先仔细检查此脚本,然后再在数据库设计器的上下文之外运行此脚本。*/
BEGIN TRANSACTION
SET QUOTED_IDENTIFIER ON
SET ARITHABORT ON
SET NUMERIC_ROUNDABORT OFF
SET CONCAT_NULL_YIELDS_NULL ON
SET ANSI_NULLS ON
SET ANSI_PADDING ON
SET ANSI_WARNINGS ON
COMMIT
BEGIN TRANSACTION
GO
ALTER TABLE dbo.dnt_tags
        DROP CONSTRAINT DF_dnt_tags_userid
GO
ALTER TABLE dbo.dnt_tags
        DROP CONSTRAINT DF_dnt_tags_orderid
GO
ALTER TABLE dbo.dnt_tags
        DROP CONSTRAINT DF_dnt_tags_count
GO
ALTER TABLE dbo.dnt_tags
        DROP CONSTRAINT DF_dnt_tags_fcount
GO
ALTER TABLE dbo.dnt_tags
        DROP CONSTRAINT DF_dnt_tags_pcount
GO
ALTER TABLE dbo.dnt_tags
        DROP CONSTRAINT DF_dnt_tags_scount
GO
ALTER TABLE dbo.dnt_tags
        DROP CONSTRAINT DF_dnt_tags_vcount
GO
ALTER TABLE dbo.dnt_tags
        DROP CONSTRAINT DF_dnt_tags_gcount
GO
CREATE TABLE dbo.Tmp_dnt_tags
        (
        tagid int NOT NULL IDENTITY (1, 1),
        tagname nchar(10) NOT NULL,
        userid int NOT NULL,
        postdatetime datetime NOT NULL,
        orderid int NOT NULL,
        color char(6) NOT NULL,
        count int NOT NULL,
        fcount int NOT NULL,
        pcount int NOT NULL,
        scount int NOT NULL,
        vcount int NOT NULL,
        gcount int NOT NULL
        )  ON [PRIMARY]
GO
ALTER TABLE dbo.Tmp_dnt_tags ADD CONSTRAINT
        DF_dnt_tags_userid DEFAULT ((0)) FOR userid
GO
ALTER TABLE dbo.Tmp_dnt_tags ADD CONSTRAINT
        DF_dnt_tags_orderid DEFAULT ((0)) FOR orderid
GO
ALTER TABLE dbo.Tmp_dnt_tags ADD CONSTRAINT
        DF_dnt_tags_count DEFAULT ((0)) FOR count
GO
ALTER TABLE dbo.Tmp_dnt_tags ADD CONSTRAINT
        DF_dnt_tags_fcount DEFAULT ((0)) FOR fcount
GO
ALTER TABLE dbo.Tmp_dnt_tags ADD CONSTRAINT
        DF_dnt_tags_pcount DEFAULT ((0)) FOR pcount
GO
ALTER TABLE dbo.Tmp_dnt_tags ADD CONSTRAINT
        DF_dnt_tags_scount DEFAULT ((0)) FOR scount
GO
ALTER TABLE dbo.Tmp_dnt_tags ADD CONSTRAINT
        DF_dnt_tags_vcount DEFAULT ((0)) FOR vcount
GO
ALTER TABLE dbo.Tmp_dnt_tags ADD CONSTRAINT
        DF_dnt_tags_gcount DEFAULT ((0)) FOR gcount
GO
SET IDENTITY_INSERT dbo.Tmp_dnt_tags ON
GO
IF EXISTS(SELECT * FROM dbo.dnt_tags)
        EXEC('INSERT INTO dbo.Tmp_dnt_tags (tagid, tagname, userid, postdatetime, orderid, color, count, fcount, pcount, scount, vcount, gcount)
                SELECT tagid, tagname, userid, postdatetime, orderid, color, count, fcount, pcount, scount, vcount, gcount FROM dbo.dnt_tags WITH (HOLDLOCK TABLOCKX)')
GO
SET IDENTITY_INSERT dbo.Tmp_dnt_tags OFF
GO
DROP TABLE dbo.dnt_tags
GO
EXECUTE sp_rename N'dbo.Tmp_dnt_tags', N'dnt_tags', 'OBJECT'
GO
ALTER TABLE dbo.dnt_tags ADD CONSTRAINT
        PK_dnt_tags PRIMARY KEY CLUSTERED
        (
        tagid
        ) WITH( STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]

GO
COMMIT


给大家带来了不便,在此致歉。
特别感谢 :  石油人  协助测试。
戏水 - 2008-7-29 18:03:00
首先检查 您数据库中 是否存在这个名为 dnt_getmyposts 的存储过程, 如果存在 ,检查其所有者 和其他存储过程是否一致。
系统后台 运行如下sql语句

CREATE PROCEDURE [dnt_getmyposts]
@uid int,
@pageindex int,
@pagesize int
AS
DECLARE @strSQL varchar(5000)
IF @pageindex = 1
BEGIN
        SET @strSQL = 'SELECT [tid], [fid], [iconid], [typeid], [readperm], [price], [poster], [posterid], [title], [postdatetime], [lastpost], [lastpostid], [lastposter], [lastposterid], [views], [replies], [displayorder], [highlight], [digest], [rate], [hide], [special], [attachment], [moderated], [closed], [magic]
                                        FROM [dnt_topics]
                                        WHERE [tid] IN (
                                                        SELECT DISTINCT TOP ' + STR(@pagesize) + ' [tid]
                                                        FROM [dnt_myposts]
                                                        WHERE [uid]=' + STR(@uid) + '
                                                        ORDER BY [tid] DESC
                                                                        )
                                        ORDER BY [tid] DESC'
END
ELSE
BEGIN
        SET @strSQL = 'SELECT [tid], [fid], [iconid], [typeid], [readperm], [price], [poster], [posterid], [title], [postdatetime], [lastpost], [lastpostid], [lastposter], [lastposterid], [views], [replies], [displayorder], [highlight], [digest], [rate], [hide], [special], [attachment], [moderated], [closed], [magic]
                                        FROM [dnt_topics]
                                        WHERE [tid] IN (
                                                        SELECT DISTINCT TOP ' + STR(@pagesize) + ' [tid]
                                                        FROM [dnt_myposts]
                                                        WHERE [uid]=' + STR(@uid) + '
                                                        AND [tid] < (
                                                                                SELECT MIN([tid])
                                                                                FROM (
                                                                                        SELECT DISTINCT TOP ' + STR((@pageindex-1)*@pagesize) + ' [tid]
                                                                                        FROM [dnt_myposts]
                                                                                        WHERE [uid]=' + STR(@uid) + '
                                                                                        ORDER BY [tid] DESC
                                                                                        ) AS [ttt]
                                                                                )
                                                        ORDER BY [tid] DESC
                                                                        )
                                        ORDER BY [tid] DESC'

END
EXEC(@strSQL)


戏水 - 2008-7-29 18:23:00
问题描述:
我刚全新安装好个人空间,用原有的用户登陆,点击我的个人空间,却提示“您已经申请过个人空间!


解答:
否运行了pluginsetup.aspx了???   
如果您原来用的是 2.0 或者 2.1版本  ,那么您运行 运行了pluginsetup.aspx 后,原来空间的数据就会被清空了!!!
我们的升级说明明确的写着 ,如果原来是 2.0 或者 2.1版本  不要运行 pluginsetup.aspx的 。

现在您有两个选择 :
1 不要原来空间的数据了
  那么执行如下sql语句

update dnt_users set spaceid=0


2 用数据库备份还原数据库 ,仔细阅读说明 ,重新进行升级操作。
戏水 - 2008-7-30 9:50:00
问题描述:
        我前几天用的RC版安装了空间和相册插件,没问题,后台也有控制按钮。现在升级到正式版了,这下可好后台控制按钮没有了,但前台的功能都可以实现,我现在不能管理了,什么问题,怎么把按钮给我弄出来啊

解答:
        用下面压缩包内的文件 覆盖论坛 admin\xml 目录下的同名文件
   

附件: xml.rar (2008-7-30 9:49:41, 5.14 K)
该附件被下载次数 162

戏水 - 2008-7-30 10:10:00
问题描述:

为过程或函数 dnt_deletetopicbytidlist 指定的参数太多。
说明: 执行当前 Web 请求期间,出现未处理的异常。请检查堆栈跟踪信息,以了解有关该错误以及代码中导致错误的出处的详细信息。

异常详细信息: System.Data.SqlClient.SqlException: 为过程或函数 dnt_deletetopicbytidlist 指定的参数太多。

解答:

戏水答复: 后台 -> 论坛 -> 论坛维护 -> 论坛数据维护 -> 更新分表存储过程
戏水 - 2008-7-30 10:27:00
问题描述:
    为什么后台执行SQL语句的按钮是不可用呀 ?

答复:
    按一下空格就可以用了, 这里用户体验不好 ,会改进的:)
戏水 - 2008-7-30 11:05:00
问题描述:
      未能找到存储过程 'dnt_gettopiclist'

解答:
请执行如下sql语句

CREATE PROCEDURE [dbo].[dnt_getmytopics]
    @uid INT,
    @pageindex INT,
    @pagesize INT
AS
    DECLARE @strSQL VARCHAR(5000)
    IF @pageindex = 1
        BEGIN
            SET @strSQL = 'SELECT [tid], [fid], [iconid], [typeid], [readperm], [price], [poster], [posterid], [title], [postdatetime], [lastpost], [lastpostid], [lastposter], [lastposterid], [views], [replies], [displayorder], [highlight], [digest], [rate], [hide], [special], [attachment], [moderated], [closed], [magic]
                     FROM [dnt_topics]
                    WHERE [tid] IN (
                            SELECT TOP ' + STR(@pagesize)
                + ' [tid]
                            FROM [dnt_mytopics]
                            WHERE [uid]=' + STR(@uid) + '
                            ORDER BY [tid] DESC
                                    )
                    ORDER BY [tid] DESC'
        END
    ELSE
        BEGIN
            SET @strSQL = 'SELECT [tid], [fid], [iconid], [typeid], [readperm], [price], [poster], [posterid], [title], [postdatetime], [lastpost], [lastpostid], [lastposter], [lastposterid], [views], [replies], [displayorder], [highlight], [digest], [rate], [hide], [special], [attachment], [moderated], [closed], [magic]
                     FROM [dnt_topics]
                    WHERE [tid] IN (
                            SELECT TOP ' + STR(@pagesize)
                + ' [tid]
                            FROM [dnt_mytopics]
                            WHERE [uid]=' + STR(@uid) + '
                            AND [tid] < (
                                        SELECT MIN([tid])
                                        FROM (
                                            SELECT TOP '
                + STR(( @pageindex - 1 ) * @pagesize)
                + ' [tid]
                                            FROM [dnt_mytopics]
                                            WHERE [uid]='
                + STR(@uid)
                + '
                                            ORDER BY [tid] DESC
                                             ) AS [ttt]
                                        )
                            ORDER BY [tid] DESC
                                    )
                    ORDER BY [tid] DESC'

        END
    EXEC(@strSQL)


mvmv - 2008-7-30 12:42:00


引用:
原帖由 戏水 于 2008-7-30 10:10:00 发表
问题描述:

为过程或函数 dnt_deletetopicbytidlist 指定的参数太多。
说明: 执行当前 Web 请求期间,出现未处理的异常。请检查堆栈跟踪信息,以了解有关该错误以及代码中导致错误的出处的详细信息。

异常详细信息: System.Data.SqlClient.SqlException: 为过程或函数 dnt_deletetopicbytidlist 指定的参数太


好像不能解决这个问题
kltx.net - 2008-8-1 14:04:00
Server Error in '/' Application. Runtime Error Description: An application error occurred on the server. The current custom error settings for this application prevent the details of the application error from being viewed remotely (for security reasons). It could, however, be viewed by browsers running on the local server machine.

Details: To enable the details of this specific error message to be viewable on remote machines, please create a <customErrors> tag within a "web.config" configuration file located in the root directory of the current web application. This <customErrors> tag should then have its "mode" attribute set to "Off".

<!-- Web.Config Configuration File --><configuration>    <system.web>        <customErrors mode="Off"/>    </system.web></configuration>

Notes: The current error page you are seeing can be replaced by a custom error page by modifying the "defaultRedirect" attribute of the application's <customErrors> configuration tag to point to a custom error page URL.

<!-- Web.Config Configuration File --><configuration>    <system.web>        <customErrors mode="RemoteOnly" defaultRedirect="mycustompage.htm"/>    </system.web></configuration>
cqyj - 2008-8-1 19:49:00
在后台执行下面这段语句,就可以解决未能找到存储过程 'dnt_deletetopicbytidlist'引起的删帖问题。
感谢zxc320219



引用:
CREATE PROCEDURE [dnt_deletetopicbytidlist]

        @tidlist AS VARCHAR(2000),
        @posttablename AS VARCHAR(20),
        @chanageposts AS BIT

AS

        DECLARE @postcount int
        DECLARE @topiccount int
        DECLARE @todaycount int
        DECLARE @sqlstr nvarchar(4000)
        DECLARE @fid varchar(2000)
        DECLARE @posterid varchar(200)
        DECLARE @tempFid int
        DECLARE @tempPosterid int
        DECLARE @tempLayer int
        DECLARE @temppostdatetime datetime

        DECLARE @tempfidlist AS VARCHAR(1000)       

        SET @fid = ''
        SET @posterid = ''
        SET @postcount=0
        SET @topiccount=0
        SET @todaycount=0
       
        SET @tempfidlist = '';


        IF @tidlist<>''
                BEGIN
                        SET @sqlstr = 'DECLARE cu_dnt_posts CURSOR FOR SELECT [fid],[posterid],[layer],[postdatetime] FROM [' + @posttablename + '] WHERE [tid] IN (' + @tidlist + ')'
                        EXEC (@sqlstr)
                        OPEN cu_dnt_posts
                        FETCH NEXT FROM cu_dnt_posts into @tempFid,@tempPosterid,@tempLayer,@temppostdatetime
                        WHILE @@FETCH_STATUS = 0
                                BEGIN
                                        SET @postcount = @postcount + 1
                                        IF @tempLayer = 0
                                                BEGIN
                                                        SET @topiccount = @topiccount + 1
                                                       
                                                END

                                        IF DATEDIFF(d,@temppostdatetime,GETDATE()) = 0
                                                BEGIN
                                                        SET @todaycount = @todaycount + 1
                                                END


                                        IF CHARINDEX(',' + LTRIM(STR(@tempFid)) + ',',@fid + ',') = 0
                                                BEGIN
                                                        --SET @fid = @fid + ',' + LTRIM(STR(@tempFid))       
                                                        SELECT @tempfidlist = ISNULL([parentidlist],'') FROM [dnt_forums] WHERE [fid] = @tempFid
                                                        IF RTRIM(@tempfidlist)<>''
                                                                BEGIN
                                                                        SET @fid = RTRIM(@fid) + ',' +  RTRIM(@tempfidlist) + ',' + CAST(@tempFid AS VARCHAR(10))
                                                                END
                                                        ELSE
                                                                BEGIN
                                                                        SET @fid =RTRIM(@fid) + ',' +  CAST(@tempFid AS VARCHAR(10))
                                                                END

                                       
                                                END
                                        IF @chanageposts = 1
                                                BEGIN
                                                        UPDATE [dnt_users] SET [posts] = [posts] - 1 WHERE [uid] = @tempPosterid
                                                END
                               
                                        FETCH NEXT FROM cu_dnt_posts into @tempFid,@tempPosterid,@tempLayer,@temppostdatetime
                                END

                        CLOSE cu_dnt_posts
                        DEALLOCATE cu_dnt_posts

       
                        IF LEN(@fid)>0
                                BEGIN       

                       
                                        SET @fid = SUBSTRING(@fid,2,LEN(@fid)-1)
               
                                        IF @chanageposts = 1
                                                BEGIN
               
                                                        UPDATE [dnt_statistics] SET [totaltopic]=[totaltopic] - @topiccount, [totalpost]=[totalpost] - @postcount

                                                        SET @sqlstr = 'UPDATE [dnt_forums] SET [posts]=[posts] - ' +  cast(@postcount AS VARCHAR(10))  +
                                                                                        ', [topics]=[topics] - ' + cast(@topiccount AS VARCHAR(10)) +
                                                                                        ', [todayposts] = [todayposts] - ' + cast(@todaycount AS VARCHAR(10)) +
                                                                        ' WHERE [fid] IN (' + @fid + ')'
                                                        EXEC (@sqlstr)
                                                END
               
                                        SET @sqlstr = 'DELETE FROM [dnt_favorites] WHERE [tid] IN (' + @tidlist + ')'
                                        EXEC (@sqlstr)
                                       
                                        SET @sqlstr = 'DELETE FROM [dnt_polls] WHERE [tid] IN (' + @tidlist + ')'
                                        EXEC (@sqlstr)

                                        SET @sqlstr = 'DELETE FROM [' + @posttablename + '] WHERE [tid] IN (' + @tidlist + ')'
                                        EXEC (@sqlstr)

                                        SET @sqlstr = 'DELETE FROM [dnt_mytopics] WHERE [tid] IN (' + @tidlist + ')'
                                        EXEC(@sqlstr)
                               
                                END
                        SET @sqlstr = 'DELETE FROM [dnt_topics] WHERE [closed] IN (' + @tidlist + ') OR [tid] IN (' + @tidlist + ')'
                        EXEC (@sqlstr)
                        SET @sqlstr = 'UPDATE [dnt_tags] SET [count]=[count]-1, [fcount]=[fcount]-1 WHERE [tagid] IN (SELECT [tagid] FROM [dnt_topictags] WHERE [tid] IN (' + @tidlist + '))'
                        EXEC (@sqlstr)
                        SET @sqlstr = 'DELETE FROM [dnt_topictags] WHERE [tid] IN (' + @tidlist + ')'
                        EXEC (@sqlstr)
                        SET @sqlstr = 'DELETE FROM [dnt_topictagcaches] WHERE [tid] IN (' + @tidlist + ') OR [linktid] IN (' + @tidlist + ')'
                END
戏水 - 2008-8-4 10:04:00
想了解几个情况
1  您安装 商品交易插件了么? 
2  在执行什么操作时出现这个问题?
3  请检查数据库 ,  如果 dnt_goodscategories 这个表不存在 请执行 下面的sql语句


CREATE TABLE [dnt_goodscategories] (
        [categoryid] [int] IDENTITY (1, 1) NOT NULL ,
        [parentid] [int] NOT NULL CONSTRAINT [DF_dnt_goodscategories_parentid] DEFAULT (0),
        [layer] [smallint] NOT NULL CONSTRAINT [DF_dnt_goodscategories_layer] DEFAULT (0),
        [parentidlist] [char] (300)  NOT NULL CONSTRAINT [DF_dnt_goodscategories_parentidlist] DEFAULT (''),
        [displayorder] [int] NOT NULL CONSTRAINT [DF_dnt_goodscategories_displayorder] DEFAULT (0),
        [categoryname] [nchar] (50)  NOT NULL CONSTRAINT [DF_dnt_goodscategories_categoryname] DEFAULT (''),
        [haschild] [bit] NOT NULL CONSTRAINT [DF_dnt_goodscategories_haschild] DEFAULT (0),
        [fid] [int] NOT NULL CONSTRAINT [DF_dnt_goodscategories_fid] DEFAULT (0),
        [pathlist] [nchar] (3000)  NOT NULL CONSTRAINT [DF_dnt_goodscategories_pathlist] DEFAULT (''),
        [goodscount] [int] NOT NULL CONSTRAINT [DF_dnt_goodscategories_goodscount] DEFAULT (0),
        CONSTRAINT [PK_dnt_goodscategories] PRIMARY KEY  CLUSTERED
        (
                [categoryid]
        )  ON [PRIMARY]
) ON [PRIMARY]
GO


戏水 - 2008-8-4 15:55:00
问题描述:
2.0 ,2.1 升级空间,相册 时后台执行sql脚本的错误 。如图所示





解答:  由于浏览器兼容性造成的js执行错误导致。  建议用IE来进行操作。 (ie7测试通过)
xab456a - 2008-8-5 8:36:00
是什么原因,晕:_onion6:
Leixian - 2008-8-5 21:42:00
难道让大家没事执行SQL玩吗?!
阳光怒射 - 2008-8-6 23:02:00
每次都为首页调用费很多时间,今天下午到现在也没把个首页调用给调出来,总是提示“参数错误,请检查! ”真是败了!!!!
96609 - 2008-8-8 7:29:00
调用帖子的时候,fid无法产生作用。就是一定要使用fid=0这个默认的,其他的fid=1,或者fid=2等都没有用。这是测试地址:http://bbs.3lsoft.com/tools/showtopics.aspx?count=7&template=1,这个有效;http://bbs.3lsoft.com/tools/showtopics.aspx?count=7&template=1&fid=2,这个无效,但是确实存在fid=2的版块的,之前调用都是没有问题的。

测试这个问题还没有修正。请修正,谢谢。
firebutter - 2008-8-11 16:59:00
分析器错误
说明: 在分析向此请求提供服务所需资源时出错。请检查下列特定分析错误详细信息并适当地修改源文件。

分析器错误消息: 类型“Discuz.Web.Admin.registerandvisit”不明确: 它可能来自程序集“F:\测试程序\nt\bin\Discuz.Web.DLL”或程序集“F:\测试程序\nt\bin\Discuz.Web.Admin.DLL”。请在类型名称中显式指定程序集。

源错误:


行 1:  <%@ Page Language="c#" Inherits="Discuz.Web.Admin.registerandvisit" Codebehind="global_registerandvisit.aspx.cs" %>
行 2:  <%@ Register TagPrefix="cc1" Namespace="Discuz.Control" Assembly="Discuz.Control" %>
行 3:  <%@ Register TagPrefix="uc1" TagName="TextareaResize" Src="../UserControls/TextareaResize.ascx" %>


源文件: /admin/global/global_registerandvisit.aspx    行: 1
zfkj - 2008-8-12 3:04:00


引用:
原帖由 戏水 于 2008-8-4 15:55:00 发表
问题描述:
2.0 ,2.1 升级空间,相册 时后台执行sql脚本的错误 。如图所示





解答:  由于浏览器兼容性造成的js执行错误导致。  建议用IE来进行操作。 (ie7测试通过)



换过两台IE7的机试了,都不行。
51engine - 2008-8-12 15:39:00
用户登陆后,点击 "添加日志" 就出错: 

“/”应用程序中的服务器错误。
--------------------------------------------------------------------------------

未将对象引用设置到对象的实例。
说明: 执行当前 Web 请求期间,出现未处理的异常。请检查堆栈跟踪信息,以了解有关该错误以及代码中导致错误的出处的详细信息。

异常详细信息: System.NullReferenceException: 未将对象引用设置到对象的实例。

源错误:


行 535:        templateBuilder.Append("                                                        <input type=\"radio\" name=\"commentstatus\" value=\"1\"  class=\"radioinput\" \r\n");
行 536:
行 537:        if (spaceconfig.Commentpref==1)
行 538:        {
行 539:


堆栈跟踪:


[NullReferenceException: 未将对象引用设置到对象的实例。]
  ASP.aspx_1_usercpspacepostblog_aspx.OnInit(EventArgs e) in e:\51engine.com\Bbs1\aspx\1\usercpspacepostblog.aspx:537
  System.Web.UI.Control.InitRecursive(Control namingContainer) +321
  System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +834

-------------------------------------------------------------------
请问: 怎么解决?
ybnews - 2008-8-14 10:27:00
出个SP版本吧~~~
ahui - 2008-8-14 16:59:00
Dnt2.0正式发布的时候也是这样,出了好多问题
感觉dnt的团队完全没法和dz相比
非常失望,本来还以为会吸取教训

下载最新安装包后后台一大堆页面一打开就异常
ahui - 2008-8-14 17:01:00
多半还得等3.0才好用~~~:~
兜兔网 - 2008-8-15 11:35:00


引用:
原帖由 戏水 于 2008-6-30 10:52:00 发表
接到用户反馈 Discuz!NT 2.5 beta 下载安装升级后,Tag功能无法正常使用。我们排查了原因,现在提供解决方法:

下载下面的文件,解压缩其中的 urls.config 文件,上传覆盖空间上 config 目录中的同名文件。 若不生效,请重启一下 iis 的应用程序池。



另外根据8ee朋友




执行时出错,提示为:

消息 3728,级别 16,状态 1,第 1 行
'DF_dnt_tags_gcount' 不是约束。
消息 3727,级别 16,状态 0,第 1 行
未能删除约束。请参阅前面的错误信息。
消息 2714,级别 16,状态 4,第 1 行
数据库中已存在名为 'DF_dnt_tags_userid' 的对象。
消息 1750,级别 16,状态 0,第 1 行
无法创建约束。请参阅前面的错误消息。
消息 2714,级别 16,状态 4,第 1 行
数据库中已存在名为 'DF_dnt_tags_orderid' 的对象。
消息 1750,级别 16,状态 0,第 1 行
无法创建约束。请参阅前面的错误消息。
消息 2714,级别 16,状态 4,第 1 行
数据库中已存在名为 'DF_dnt_tags_count' 的对象。
消息 1750,级别 16,状态 0,第 1 行
无法创建约束。请参阅前面的错误消息。
消息 2714,级别 16,状态 4,第 1 行
数据库中已存在名为 'DF_dnt_tags_fcount' 的对象。
消息 1750,级别 16,状态 0,第 1 行
无法创建约束。请参阅前面的错误消息。
消息 2714,级别 16,状态 4,第 1 行
数据库中已存在名为 'DF_dnt_tags_pcount' 的对象。
消息 1750,级别 16,状态 0,第 1 行
无法创建约束。请参阅前面的错误消息。
消息 2714,级别 16,状态 4,第 1 行
数据库中已存在名为 'DF_dnt_tags_scount' 的对象。
消息 1750,级别 16,状态 0,第 1 行
无法创建约束。请参阅前面的错误消息。
消息 2714,级别 16,状态 4,第 1 行
数据库中已存在名为 'DF_dnt_tags_vcount' 的对象。
消息 1750,级别 16,状态 0,第 1 行
无法创建约束。请参阅前面的错误消息。
注意: 更改对象名的任一部分都可能会破坏脚本和存储过程。
消息 3902,级别 16,状态 1,第 1 行
COMMIT TRANSACTION 请求没有对应的 BEGIN TRANSACTION。
foxorcrow - 2008-8-15 18:13:00
Server Error in '/' Application. Runtime Error Description: An application error occurred on the server. The current custom error settings for this application prevent the details of the application error from being viewed remotely (for security reasons). It could, however, be viewed by browsers running on the local server machine.

Details: To enable the details of this specific error message to be viewable on remote machines, please create a <customErrors> tag within a "web.config" configuration file located in the root directory of the current web application. This <customErrors> tag should then have its "mode" attribute set to "Off".

<!-- Web.Config Configuration File --><configuration>    <system.web>        <customErrors mode="Off"/>    </system.web></configuration>

Notes: The current error page you are seeing can be replaced by a custom error page by modifying the "defaultRedirect" attribute of the application's <customErrors> configuration tag to point to a custom error page URL.

<!-- Web.Config Configuration File --><configuration>    <system.web>        <customErrors mode="RemoteOnly" defaultRedirect="mycustompage.htm"/>    </system.web></configuration>
entomology - 2008-8-16 23:51:00
升到2.5,打上官方提供的补丁,然后按照此帖方法,后台运行sql解决了无法删除帖子的问题,但现在问题更严重了,进入后台很多地方都出现了runtime error,现在想恢复回去原来的版本,有没有可能啊,郁闷死了


Server Error in '/' Application.
--------------------------------------------------------------------------------

Runtime Error
Description: An application error occurred on the server. The current custom error settings for this application prevent the details of the application error from being viewed remotely (for security reasons). It could, however, be viewed by browsers running on the local server machine.

Details: To enable the details of this specific error message to be viewable on remote machines, please create a <customErrors> tag within a "web.config" configuration file located in the root directory of the current web application. This <customErrors> tag should then have its "mode" attribute set to "Off".


<!-- Web.Config Configuration File -->

<configuration>
    <system.web>
        <customErrors mode="Off"/>
    </system.web>
</configuration>


Notes: The current error page you are seeing can be replaced by a custom error page by modifying the "defaultRedirect" attribute of the application's <customErrors> configuration tag to point to a custom error page URL.


<!-- Web.Config Configuration File -->

<configuration>
    <system.web>
        <customErrors mode="RemoteOnly" defaultRedirect="mycustompage.htm"/>
    </system.web>
</configuration>
秋天一叶 - 2008-8-17 21:50:00
我也有这个问题。
Ice_fish - 2008-8-18 9:24:00
我的装上去之后就一直无法删除用户。在验证用户的时候要点两次才能够通过,第一次都是跳出执行错误的页面。另为数据库也无法备份。请问如何解决?
中秋 - 2008-8-18 10:37:00
什么时候出补丁呢~~
yoxu - 2008-8-23 11:45:00
问题很多哦.
aiwz - 2008-8-25 8:28:00


引用:
原帖由 entomology 于 2008-8-16 23:51:00 发表
升到2.5,打上官方提供的补丁,然后按照此帖方法,后台运行sql解决了无法删除帖子的问题,但现在问题更严重了,进入后台很多地方都出现了runtime error,现在想恢复回去原来的版本,有没有可能啊,郁闷死了


Ser......


一样的问题
12
查看完整版本: Discuz!NT 2.5 正式版问题解决方法总结