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
    Include information on Sitecore version and MongoDB version in use, please. – Mark Cassidy Oct 1 '17 at 17:09
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

| improve this answer | |
  • 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 Oct 2 '17 at 5:46
  • I change version MongoDB on 3.2.1, but the effect is the same – Jan Nowak Oct 2 '17 at 11:27
  • @JanNowak What are you referring to about "1.10.0.62" ? – Ahmed Okour Oct 2 '17 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.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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