Posts

Showing posts from 2017

Sitecore 8 Rebuilding historical path analyzer maps

I thought I would share and issue and resolution I found recently when rebuilding historical path analyser maps in Sitecore. How to rebuild Path Analyzer maps We found it in 8.1 update-2 and may have been fixed in a later release but it looks like there is a potential bug. The code seems to be querying a config database to get a count. The issue we found with this is that that database doesn't exist and the user we are connecting to the Mongo database with doesn't have read permissions on that non existing database. The error will be along the lines of Cannot obtain number of chunks from config database Exception: MongoDB.Driver.MongoCommandException Message: Command 'count' failed: not authorized on config to execute command { count: "chunks", query: { ns: "analytics.Interactions" } } (response: { "ok" : 0.0, "errmsg" : "not authorized on config to execute command { count: \"chunks\", query: { ns: \"a