Chinese In North America(北美华人e网)

注册
发新话题 回复该主题

1#

家小版的分类不能看了,都好几天了

Server Error in '/' Application.
The column 'lastpostid' was specified multiple times for 'T'.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.Data.SqlClient.SqlException: The column 'lastpostid' was specified multiple times for 'T'.

Source Error:

[No relevant source lines]

Source File: c:\Windows\Microsoft.NET\Framework64\v2.0.50727\Temporary ASP.NET Files\root\d0f23df3\bc6fbbb8\App_Web_r7-s3qmh.7.cs    Line: 0

Stack Trace:

[SqlException (0x80131904): The column 'lastpostid' was specified multiple times for 'T'.]   System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection) +212   System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj) +245   System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj) +2843   System.Data.SqlClient.SqlDataReader.ConsumeMetaData() +127   System.Data.SqlClient.SqlDataReader.get_MetaData() +112   System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString) +6340548   System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async) +6341617   System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, DbAsyncResult result) +424   System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method) +28   System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior, String method) +211   System.Data.SqlClient.SqlCommand.ExecuteDbDataReader(CommandBehavior behavior) +19   Discuz.Data.DbHelper.ExecuteReader(DbConnection connection, DbTransaction transaction, CommandType commandType, String commandText, DbParameter[] commandParameters, DbConnectionOwnership connectionOwnership) +803   Discuz.Data.DbHelper.ExecuteReader(CommandType commandType, String commandText, DbParameter[] commandParameters) +336   Discuz.Data.SqlServer.DataProvider.GetTopicsByPage(Int32 fid, Int32 pageSize, Int32 pageIndex, Int32 startNum, String condition, String regip, String lastip, Int32 uid, String orderby, Int32 sorttype) +1484   Discuz.Data.Topics.GetTopicList(Int32 fid, Int32 pageSize, Int32 pageIndex, Int32 startNumber, String condition, String regip, String lastip, Int32 uid, String orderby, Int32 sorttype) +160   Discuz.Forum.Topics.GetTopicList(Int32 fid, Int32 pageSize, Int32 pageIndex, Int32 startNumber, Int32 newMinutes, Int32 hotReplyNumber, Int32 autocloseTime, Int32 topicTypePrefix, String condition, String regip, String lastip, Int32 uid, String orderby, Int32 sorttype) +96   Discuz.Web.showforum.GetTopicInfoList(Int32 pageSize, Int32 pageIndex, Int32 startNumber) +306   Discuz.Web.showforum.ShowPage() +3371   Discuz.Forum.PageBase..ctor() +6388   Discuz.Web.showforum..ctor() +1085   ASP.aspx_1_showforum_aspx..ctor() in c:\Windows\Microsoft.NET\Framework64\v2.0.50727\Temporary ASP.NET Files\root\d0f23df3\bc6fbbb8\App_Web_r7-s3qmh.7.cs:0   __ASP.FastObjectFactory_app_web_r7_s3qmh.Create_ASP_aspx_1_showforum_aspx() in c:\Windows\Microsoft.NET\Framework64\v2.0.50727\Temporary ASP.NET Files\root\d0f23df3\bc6fbbb8\App_Web_r7-s3qmh.12.cs:0   System.Web.Compilation.BuildManager.CreateInstanceFromVirtualPath(VirtualPath virtualPath, Type requiredBaseType, HttpContext context, Boolean allowCrossApp, Boolean noAssert) +138   System.Web.UI.PageHandlerFactory.GetHandlerHelper(HttpContext context, String requestType, VirtualPath virtualPath, String physicalPath) +50   System.Web.MaterializeHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +425   System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +263


Version Information: Microsoft .NET Framework Version:2.0.50727.8762; ASP.NET Version:2.0.50727.8762
TOP
分享到微信 分享到Facebook 分享到Twitter 分享到新浪微博 复制到剪贴板
agree
0
disagree
0
发新话题 回复该主题