Server Error in '/' Application.

数据库 'FjExpyBridge' 的事务日志已满。若要查明无法重用日志中的空间的原因,请参阅 sys.databases 中的 log_reuse_wait_desc 列。

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: 数据库 'FjExpyBridge' 的事务日志已满。若要查明无法重用日志中的空间的原因,请参阅 sys.databases 中的 log_reuse_wait_desc 列。

Source Error:


Line 61:                         newsModel.Id = id;
Line 62:                         newsModel.Views = news.Views + 1;
Line 63:                         new BLL.News().UpdateMinimal(newsModel);
Line 64:                     }
Line 65: 

Source File: d:\wwwroot\fjgslq\wwwroot\news-details.aspx.cs    Line: 63

Stack Trace:


[SqlException (0x80131904): 数据库 'FjExpyBridge' 的事务日志已满。若要查明无法重用日志中的空间的原因,请参阅 sys.databases 中的 log_reuse_wait_desc 列。]
   System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction) +1754082
   System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction) +5295874
   System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose) +242
   System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady) +1682
   System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString) +269
   System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async, Int32 timeout, Task& task, Boolean asyncWrite) +1325
   System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, TaskCompletionSource`1 completion, Int32 timeout, Task& task, Boolean asyncWrite) +175
   System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(TaskCompletionSource`1 completion, String methodName, Boolean sendToPipe, Int32 timeout, Boolean asyncWrite) +205
   System.Data.SqlClient.SqlCommand.ExecuteNonQuery() +160
   DBUtility.DbHelperSQL.ExecuteStoredProcNonQuery(SqlCommand cmd) in d:\web\2019\DBUtility\DbHelperSQL.cs:114

[Exception: 数据库 'FjExpyBridge' 的事务日志已满。若要查明无法重用日志中的空间的原因,请参阅 sys.databases 中的 log_reuse_wait_desc 列。]
   DBUtility.DbHelperSQL.ExecuteStoredProcNonQuery(SqlCommand cmd) in d:\web\2019\DBUtility\DbHelperSQL.cs:125
   SQLServerDAL.News.UpdateMinimal(News news) in h:\web\201811\luqiao\SQLServerDAL\News.cs:268
   BLL.News.UpdateMinimal(News news) in h:\web\201811\luqiao\BLL\News.cs:93

[Exception: 数据库 'FjExpyBridge' 的事务日志已满。若要查明无法重用日志中的空间的原因,请参阅 sys.databases 中的 log_reuse_wait_desc 列。]
   BLL.News.UpdateMinimal(News news) in h:\web\201811\luqiao\BLL\News.cs:97
   news_details.Page_Load(Object sender, EventArgs e) in d:\wwwroot\fjgslq\wwwroot\news-details.aspx.cs:63
   System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +51
   System.Web.UI.Control.OnLoad(EventArgs e) +92
   System.Web.UI.Control.LoadRecursive() +54
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +772


Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.18067
Baidu
sogou