4

I have problem with MongoDB.Driver.MongoCursor. When I want to set tracking I get an error:

Method not found: 'MongoDB.Driver.MongoCursor`1 Sitecore.Analytics.Data.DataAccess.MongoDb.MongoDbCollection.FindAs(MongoDB.Driver.IMongoQuery)'.

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.MissingMethodException: Method not found: 'MongoDB.Driver.MongoCursor`1 Sitecore.Analytics.Data.DataAccess.MongoDb.MongoDbCollection.FindAs(MongoDB.Driver.IMongoQuery)'.

I have no idea how I can solve this problem...

Sitecore 8.2 MongoDB 3.4.7

Resolve problem:

The problem was the bad version of the sitecore libraries downloaded from nuget.

1
  • 1
    Include information on Sitecore version and MongoDB version in use, please.
    – Mark Cassidy
    Commented Oct 1, 2017 at 17:09

2 Answers 2

3

Sitecore 8.2 is not supporting MongoDB 3.4.7 yet, Latest version of mongoDB supported is 3.2.1 See supported versions table here : https://kb.sitecore.net/articles/633863

3
  • This may be a problem with stability of operation, but evidently here can not find a method. I'm using MongoDB.Driver and MongoDB.Bson in version 2.4.4.0 and 1.10.0.62. The method that is calling is in the MongoDB.Driver.Legacy library, which unfortunately is unsigned after downloading with Nuget.
    – Jan Nowak
    Commented Oct 2, 2017 at 5:46
  • I change version MongoDB on 3.2.1, but the effect is the same
    – Jan Nowak
    Commented Oct 2, 2017 at 11:27
  • @JanNowak What are you referring to about "1.10.0.62" ? Commented Oct 2, 2017 at 14:07
0

Sitecore 8.2 update 5 is not supported at this moment. Update 5 uses Mongo 2.4.4 but Habitat uses 1.10.

Try to install 8.2 update 4 and Web Forms for marketers update 1.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.