I am getting below error in my sitecore application.

Exception: System.InvalidOperationException Message: Connection string settings not available (tracking.contact) Source: Sitecore.Analytics.MongoDB at Sitecore.Analytics.Data.DataAccess.MongoDb.MongoDbDriver.FromConnectionString(String connectionStringName) at Sitecore.Analytics.Data.MongoDb.ProcessingPool.MongoDbProcessingPool..ctor(String connectionStringName)

Steps I did so far:

I verified the connection string seems no issue with that. Verified my mongodb port settings as well as mongodb is running

Any one can help with the issue I am facing?

Thanks in Advance.

  • Can you share the connectionstring entries.. Mar 1, 2019 at 7:28
  • 1
    What is the Sitecore version you are using? Mar 1, 2019 at 14:43

1 Answer 1


Make sure, that you have

<add name="tracking.contact" connectionString="mongodb://..."/>

in your ConnectionStrings.config. If yes - check next:

1) Try to connect with this "mongodb://..." connectionstring to collection by using RoboMongo or any other UI software and check that collections are really exist in mongodb.

2) Check versions of Sitecore and MongoDB that you use:

  • Sitecore 8 Update 5 supports MongoDB 3.0
  • older Sitecore versions support MongoDB 2.6.x and MongoDB.Driver.dll version

Tip: you can immitate this error by checking your connection programmatically:

var connectionString = ConfigurationManager.ConnectionStrings["tracking.contact"].ToString();
  var driver = MongoDbDriver.FromConnectionString(connectionString);
catch(Exception ex)
  // debug here if exception throw
  • tracking.contact is missing in my CM config, now it is working
    – BV Winoya
    Mar 4, 2019 at 4:01

Your Answer

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

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