鈥?鈥濆簲鐢ㄧ▼搴忎腑鐨勬湇鍔″櫒閿欒銆侟hr width=100% size=1 color=silver>

The database file is locked
database is locked

璇存槑: 鎵ц褰撳墠 Web 璇锋眰鏈熼棿锛屽嚭鐜版湭澶勭悊鐨勫紓甯搞€傝妫€鏌ュ爢鏍堣窡韪俊鎭紝浠ヤ簡瑙f湁鍏宠閿欒浠ュ強浠g爜涓鑷撮敊璇殑鍑哄鐨勮缁嗕俊鎭€

寮傚父璇︾粏淇℃伅: System.Data.SQLite.SQLiteException: The database file is locked
database is locked

婧愰敊璇?


琛 109:)
琛 110:        {
琛 111:            return CSA.DAL.DBAccess.ExecuteNonQuery("update " + detailTbl + language+" set hits=ifnull(hits,0)+1 where id=" + id);
琛 112:        }
琛 113:        /// 

婧愭枃浠碟 d:\freehost\keanda\web\App_Code\Article\Article.cs    琛孃 111

鍫嗘爤璺熻釜:


[SQLiteException (0x80004005): The database file is locked
database is locked]
   System.Data.SQLite.SQLite3.Step(SQLiteStatement stmt) +390
   System.Data.SQLite.SQLiteDataReader.NextResult() +226
   System.Data.SQLite.SQLiteDataReader..ctor(SQLiteCommand cmd, CommandBehavior behave) +87
   System.Data.SQLite.SQLiteCommand.ExecuteReader(CommandBehavior behavior) +38
   System.Data.SQLite.SQLiteCommand.ExecuteNonQuery() +39
   CSA.DAL.SQLiteHelper.ExecuteNonQuery(String connectionString, CommandType cmdType, String cmdText, SQLiteParameter[] commandParameters) +169
   CSA.DAL.SQLiteHelper.ExecuteNonQuery(String cmdText) +55
   CSA.DAL.DBAccess.ExecuteNonQuery(String cmdText) +148
   BLL.Article.Article.addHit(Int32 id, String language) in d:\freehost\keanda\web\App_Code\Article\Article.cs:111
   BLL.Article.Article.addHit(Int32 id) in d:\freehost\keanda\web\App_Code\Article\Article.cs:106
   zview.Page_Load(Object sender, EventArgs e) in d:\freehost\keanda\web\zview.aspx.cs:20
   System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) +14
   System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +35
   System.Web.UI.Control.OnLoad(EventArgs e) +99
   System.Web.UI.Control.LoadRecursive() +50
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +627


鐗堟湰淇℃伅: Microsoft .NET Framework 鐗堟湰:2.0.50727.8745; ASP.NET 鐗堟湰:2.0.50727.8745
Baidu
sogou