mongodb - code : 16105錯誤
phpcn_u1582
phpcn_u1582 2017-05-02 09:24:07
0
1
505

2.4.8單節點,哪位大牛遇到此類問題?
各位,有誰遇到過這類問題?

Error in opening file
QueryFailure flag was assertion src/mongo/db/database.cpp:300 (response was { "$err" : "assertion src/mongo/db/database.cpp:300" }).
Type: MongoDB.Driver.MongoQueryException
Stack:    在 MongoDB.Driver.Internal.MongoReplyMessage`1.ReadFrom(BsonBuffer buffer, IBsonSerializationOptions serializationOptions)
   在 MongoDB.Driver.Internal.MongoConnection.ReceiveMessage[TDocument](BsonBinaryReaderSettings readerSettings, IBsonSerializationOptions serializationOptions)
   在 MongoDB.Driver.MongoCursorEnumerator`1.GetReply(MongoConnection connection, MongoRequestMessage message)
   在 MongoDB.Driver.MongoCursorEnumerator`1.GetFirst()
   在 MongoDB.Driver.MongoCursorEnumerator`1.MoveNext()
   在 System.Linq.Enumerable.FirstOrDefault[TSource](IEnumerable`1 source)
   在 MongoDB.Driver.GridFS.MongoGridFSFileInfo.Refresh()
   在 MongoDB.Driver.GridFS.MongoGridFSFileInfo.get_Exists()
   在 MongoDB.Driver.GridFS.MongoGridFSStream..ctor(MongoGridFSFileInfo fileInfo, FileMode mode, FileAccess access)
   在 MongoDB.Driver.GridFS.MongoGridFSFileInfo.OpenRead()
   在 MangoUI.MGridSys.SaveFile(String db, String ns, String filename, String pathOnLocalDisk)
   在 MangoUI.ComGridFS.kOpen_Click(Object sender, EventArgs e)
=======================
QueryFailure flag was expected to be write locked for EmrFiles (response was { "$err" : "expected to be write locked for EmrFiles", "code" : 16105 }).
Type: MongoDB.Driver.MongoQueryException

如何解決?

phpcn_u1582
phpcn_u1582

全部回覆(1)
大家讲道理

尝试将你的mongodb升级到新的版本,或许能解决问题。
这个上面有人回答过
http://stackoverflow.com/ques...

熱門教學
更多>
最新下載
更多>
網站特效
網站源碼
網站素材
前端模板
關於我們 免責聲明 Sitemap
PHP中文網:公益線上PHP培訓,幫助PHP學習者快速成長!