Rumah > Soal Jawab > teks badan
2.4.8 nod tunggal, pakar manakah yang menghadapi masalah seperti ini?
Hai kawan-kawan, adakah sesiapa yang mengalami masalah seperti ini?
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
Bagaimana untuk menyelesaikannya?
大家讲道理2017-05-02 09:26:07
Cuba tingkatkan mongodb anda kepada versi baharu, yang boleh menyelesaikan masalah.
Seseorang telah menjawab ini di atas
http://stackoverflow.com/ques...