我試圖使用ESENT Windows數據庫與managedesent庫,但我總是得到錯誤ESENT數據庫引擎文件訪問被拒絕
Error FileAccessDenied (JET_errFileAccessDenied, Cannot access file, the file is locked or in use)
代碼打開數據庫是
m_Dictionary = new PersistentDictionary<string, PropertyStruct>("BaseEstateCachedPropertySummary2");
我我正在Windows 7上進行測試,並且該應用程序是一個ASP.NET應用程序。有沒有人對此有任何想法,文檔相當渺茫。
我不想打開這樣的現有數據庫。我已經添加了上面的代碼。 – Craig 2010-07-28 22:40:57