discuz NT 3.1 最近发现打开一些上传的附件时,老是报错,提示 “/dssunbbs”应用程序中的服务器错误。 数据库 ID 5,页 (1:2234) 已标记为 RestorePending,可能表明磁盘已损坏。要从此状态恢复,请执行还原操作。 说明: 执行当前 Web 请求期间,出现未处理的异常。请检查堆栈跟踪信息,以了解有关该错误以及代码中导致错误的出处的详细信息。
异常详细信息: System.Data.SqlClient.SqlException: 数据库 ID 5,页 (1:2234) 已标记为 RestorePending,可能表明磁盘已损坏。要从此状态恢复,请执行还原操作。
源错误:
源文件: c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\dssunbbs\4ac829ec\aa2f9e0\App_Web_xwv1zxxa.4.cs 行: 0
堆栈跟踪:
[SqlException (0x80131904): 数据库 ID 5,页 (1:2234) 已标记为 RestorePending,可能表明磁盘已损坏。要从此状态恢复,请执行还原操作。] System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection) +1948826 System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection) +4844747 System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj) +194 System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj) +2392 System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString) +204 System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async) +954 System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, DbAsyncResult result) +162 System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(DbAsyncResult result, String methodName, Boolean sendToPipe) +175 System.Data.SqlClient.SqlCommand.ExecuteNonQuery() +137 Discuz.Data.DbHelper.ExecuteNonQuery(DbConnection connection, CommandType commandType, String commandText, DbParameter[] commandParameters) +69 Discuz.Data.DbHelper.ExecuteNonQuery(CommandType commandType, String commandText, DbParameter[] commandParameters) +100 Discuz.Data.SqlServer.DataProvider.UpdateAttachmentDownloads(Int32 aid) +108 Discuz.Data.Attachments.UpdateAttachmentDownloads(Int32 aid) +20 Discuz.Forum.Attachments.UpdateAttachmentDownloads(Int32 aid) +9 Discuz.Web.attachment.ShowPage() +1295 Discuz.Forum.PageBase..ctor() +3412 Discuz.Web.attachment..ctor() +49 ASP.aspx_2_attachment_aspx..ctor() in c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\dssunbbs\4ac829ec\aa2f9e0\App_Web_xwv1zxxa.4.cs:0 __ASP.FastObjectFactory_app_web_xwv1zxxa.Create_ASP_aspx_2_attachment_aspx() in c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\dssunbbs\4ac829ec\aa2f9e0\App_Web_xwv1zxxa.9.cs:0 System.Web.Compilation.BuildResultCompiledType.CreateInstance() +32 System.Web.Compilation.BuildManager.CreateInstanceFromVirtualPath(VirtualPath virtualPath, Type requiredBaseType, HttpContext context, Boolean allowCrossApp, Boolean noAssert) +119 System.Web.UI.PageHandlerFactory.GetHandlerHelper(HttpContext context, String requestType, VirtualPath virtualPath, String physicalPath) +33 System.Web.UI.PageHandlerFactory.System.Web.IHttpHandlerFactory2.GetHandler(HttpContext context, String requestType, VirtualPath virtualPath, String physicalPath) +40 System.Web.HttpApplication.MapHttpHandler(HttpContext context, String requestType, VirtualPath path, String pathTranslated, Boolean useAppConfig) +160 System.Web.MapHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +93 System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +155 |
|