Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [mongodb]

All questions related to the use of MongoDB in a Sitecore environment - xDB, sessions, ...

0
votes
0answers
23 views

Connecting Sitecore to a MongoDB Replica Set over SSL

We are trying to connect a production MongoDB replica set over ssl hosted internally. Sitecore Support suggested using the "updateMongoDriverSettings" pipeline to pass the ssl certificate here is the ...
2
votes
2answers
81 views

How to get Sitecore ContactId from MongoDB collection via query?

I am new to MongoDB structure with Sitecore data processing. I want to get contact Id based on EmailId from MongoDB with an query. How to get contact Id from MongoDB based on EmailId? How it will be ...
2
votes
1answer
31 views

xDB Data Migration tool and vanila Sitecore instance

Is it possible to migrate xDB data from existing Sitecore 8.2 to a fresh Sitecore 9.x instance using the xDB Data Migration tool? I mean if I install a fresh Sitecore 9.x instance (not upgraded one), ...
-1
votes
0answers
40 views

No collections are created in mongoDB when visiting pages on sitecore CD

As I'm visiting random pages on my local Sitecore CD and want to check whether mongoDB is saving interaction data or not.This data saving scenario is tested with session timeout to 1 minute. It ...
0
votes
0answers
20 views

SC8 to SC9 xDB migration interrupted with ReferenceNotFound errors

The migration tool have been running for +10 hours when suddenly the migration process is stopped after getting a bunch of ReferenceNotFound errors. Everything have been running smooth until this ...
0
votes
0answers
37 views

MaxPageIndexThreshold Reached when saving rapidly changing data to facets

Sitecore 8.2, I've implemented a custom facet. Every time the UI changes i will send an ajax request to update the facet data. After some time this log message appears: 18012 10:06:13 WARN Session ...
2
votes
2answers
48 views

Custom facet data not being updated after initial flush to xDB

What i want to do: Save and update facet data repeatedly through WebApi Read the facet data through WebApi Everything works fine, until the contact stops being updated. It seems as if, once the ...
1
vote
1answer
26 views

Rebuild Sitecore Analytics db in fresh installation

We want to replace our current MongoDB and Sitecore Analytics DB on regular intervals. We are aware that it removes ALL Analytics data. Our plan is to setup a completely fresh Sitecore Analytics SQL ...
5
votes
1answer
87 views

Sitecore connecting to MongoDB using SSL

I'm using Sitecore 8.2 update 5 and just setup a MongoDB using SSL, and it works fine but when Sitecore tries to communicate with it, does not work at all. In my ConnectionStrings.config, I've set as ...
3
votes
1answer
60 views

Periodically cleanup Sitecore Analytics data

We want to clean up Sitecore Analytics data (MongoDB + SQL) that are old (say 3 months). I already looked at Sitecore ADM and this question However, it seems that Sitecore ADM does not support ...
2
votes
1answer
70 views

Problems getting Sitecore working with a Mlab mongodb cluster

Sitecore version: 8.2 Update-5 Mongodb version: 3.2.20 Connectionstring: mongodb://<dbuser>:<dbpassword>@xxx.fleet.mlab.com:111,xxx:111/<dbname>?replicaSet=xxx&amp;ssl=true We ...
0
votes
0answers
55 views

Method not found: 'System.String Automation.get_MachineName()'

I'm trying to get a newly built Sitecore 8.2 working on my computer. The code compiles, but when I try to load the site it shows the error Method not found: 'System.String Automation.get_MachineName()...
4
votes
0answers
57 views

Blank Reports for Sitecore Analytics [duplicate]

We have empty reports in Sitecore Experience Dashboard on one of the environments where we have 1 CM and 2 CD servers and we have tried out various things but nothing worked. Reports look something ...
0
votes
1answer
45 views

Sitecore Release Contact Processor

We are facing issue on Production environment where experience profile Dashboard is empty when we look at logs we found in logs that Tracker.IsActive= false and it says that Release contact Processor ...
1
vote
0answers
113 views

Sitecore Experience Profile DashBoard is Empty

We are facing issue on production enviornment ad issue is that Sitecore Experience Profile DashBoard is Empty and this issue is only on production not on UAT or QA when i scanned through logs i found ...
15
votes
2answers
870 views

Mongo vs SQL with Sitecore 9 Update 2

Sitecore recently launched the version 9.0.2 which supports the MongoDB for xConnect. Now, for a greenfield project which needs to kickoff on Sitecore 9.0.2, we have a choice between MS SQL Server or ...
1
vote
2answers
82 views

Is there a reason xDb contact data is saved on session end vs immediately saving the data

So from my understanding it's better to use the tracker to update custom facets (or default facets) from a contact in xDb and then wait till SessionEnd to have that data saved to MongoDb. But my ...
4
votes
0answers
268 views

Sitecore Analytics Exceptions with mongoDB Failure

Overview During a disaster recovery test of our environment we make mongoDB unavailable to Sitecore with the expectation that Sitecore will continue to function normally due to the Configuration ...
0
votes
0answers
29 views

Sitecore Default collections not coming up in Mongo DB

I have Installed Sitecore 8.2, Mongo 3.0, also have included visitor tracking in layout and updated configs. When I access pages default collections are not coming up. Can anyone point if i am missing ...
0
votes
2answers
58 views

Unable to install WFFM in Sitecore 8.2 update 5 [duplicate]

I have Sitecore 8.2 u5 installed in my PC, with mongodb 3.6. When I install WFFM 8.2, it keeps running for ever. The mongodb service wasn't started. When I try to start it from services.msc, it ...
0
votes
0answers
231 views

Could not load file or assembly 'MongoDB.Bson error after publishing code from Habitat

MongoDb bson issue Could not load file or assembly 'MongoDB.Bson, Version=1.10.0.62, Culture=neutral, PublicKeyToken=f686731cfb9cc103' or one of its dependencies. The located assembly's ...
0
votes
0answers
66 views

No rebuild request was found error when rebuilding reporting database

We have took the Mongo DB backup (Analytics, Tracking_Live, Tracking_History, Tracking_contact) and restore same setup Primary and Secondary Reporting Database and try to browse Rebuild Process (...
1
vote
1answer
487 views

How do you resolve a MongoDB 'connection string is not valid' after upgrading?

On an installation of Sitecore 8.2 update 4, the mongo connection appears to work fine. After upgrading to Sitecore 8.2 update 6 mongo is stating that the connection string is not valid. The ...
0
votes
1answer
81 views

Do I need mongo db/xDb license to set xDb.TrackingEnabled = true? [duplicate]

We use Sitecore 8.2 update 3 and we do not have xDB license and mongo db, however in one of the modules we need to use geo IP which requires having xDB.TrackingEnabled = true. Can this be achieved ...
1
vote
1answer
348 views

Unable to load CMS. Request timeout error

My local instance suddenly stopped working today. The CMS or the live site just doesn't load. When I tried to open it using SIM, it has this log. No changes done to web.config or connection strings. ...
1
vote
0answers
151 views

Use custom Mongo db with Powershell

I have a custom mongo database, that database contains information about pages.I need to query it in order to use SEP to create pages according to that info, ig, adding renderings component, etc. ...
0
votes
1answer
239 views

How to resolve Mongo PostSessionEndPipeline failed or Session Submit has failed error

Did anybody experience below issue? Recently I have been seeing below error messages in log files. I verified the Mongo connection and it seems to be working as expected and below seems to be ...
7
votes
1answer
1k views

Sitecore 9 xDB Support for MongoDB

We are working on migrating our Sitecore instances to Sitecore 9 and we are using xDB for analytics. We read new version of Sitecore does not support MongoDB. Can we still use xDB and analytics?
4
votes
0answers
132 views

Sitecore Analytics Channel Detection

Sitecore has a bunch of Channels defined in /sitecore/system/Marketing Control Panel/Taxonomies/Channel.The config Sitecore.Analytics.Channel specify the different channels that are assigned for ...
11
votes
1answer
208 views

Sitecore XDB cleanup to limit size

On our current system XDB is grown very large, the interactions DB is around 80% of the total database size, followed by KeyBehaviourCache at 5% then GeoIps and Contacts at 4%. We need to reduce the ...
1
vote
0answers
61 views

How can we Size or Estimate the xDB Conversion Process while upgrading from 7.2 to 8.2? [closed]

We are in process of upgrading Sitecore 7.2 to 8.2 Update 5 (may be Update 6 later). As part of the process client wants to migrate the historical analytics data from SQL to Mongo (On-Premise). Client ...
9
votes
2answers
257 views

Any Guidelines to choose between SQL or Mongo for xDB on Sitecore 9?

Want to check if we have any guidelines (metrics) helpful to decide either Mongo or SQL will be good fit while Upgrading to Sitecore 9, especially if the current version in below 7.5 (No Mongo). ...
5
votes
3answers
215 views

Custom Report from xDB (MongoDB) based in Geo Ips

We are on Sitecore 8.2 rev. 170614 (8.2 Update-4) using MongoDB On-Premise mode with custom SSL Setup. Need to submit a custom report to business based on various logins (and related data) ...
3
votes
1answer
381 views

Mongo db Interactions table not getting updated

In my dev machine I am not getting any interactions added in interaction table of mongo db. My session state entry in web.config is as follows: <sessionState mode="InProc" cookieless="false" ...
3
votes
1answer
155 views

Speed up fetching data from interactions table of Mongo db

We have a requirement in which we must get values from mongo db faster than the current scenario. We have few articles in our project and there is an option to fetch recent articles which are most ...
6
votes
3answers
744 views

Is MongoDB a prerequisite to install EXM?

I'm installing the EXM 3.5 initial release in a recent upgraded Sitecore 8.2 update 5 (from update 2), and I am mentioning that because I had to set Xdb.Enabled and Xdb.Tracking.Enabled to false in ...
0
votes
1answer
298 views

All reporting api services returning 404 response

I am currently enabling xDB on an Sitecore 8.2.5 install that has recently been upgraded from an 8 initial release. It has never had xDB enabled. I'm getting some issues where data appears to be added ...
1
vote
1answer
90 views

Analytics location - no data follow-up

I found this question previously asked and answered on this topic: Sitecore Analytics Location has no data. As a follow-up to that, if I just purchased the GeoIP service and turned on the Analytics....
4
votes
2answers
274 views

“Method not found” error with MongoDB.MongoCursor

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....
14
votes
0answers
413 views

Submit queue is not working [closed]

I was looking for a fallback for Analytics when MongoDB was not available anymore and the "Submit queue" was exactly what I needed on paper. My Issue It seems that the "Sitecore.Analytics....
3
votes
1answer
439 views

How do I anonymize contact data in MongoDB?

I need to send a copy of my MongoDB to Sitecore Support for investigation. For security reasons I want all sensitive data to be anonymized. Fields I'm talking about are: FirstName, LastName, ...
2
votes
1answer
289 views

Where to find Visit Duration and Latest Date Visited in Code Behind

I am creating a process that reads in the Sitecore analytics contact collection and gets information needed for a report. It is read and inserted in SQL Server. Not sure how to get some of the fields ...
5
votes
2answers
427 views

Sitecore MongoDB Compatibility Version

As per the Sitecore recommendation from the below link Mongo DB 3.2.1 is recommended, but when we look at the Mongo DB we are having 3.2.15 patch update as the latest. Sitecore Recommendation : ...
3
votes
2answers
158 views

500 error page for Sitecore Start Up with no Solr or mongo connected

I'm trying to configure a 500 error page.h I have successfully done this for handling exceptions once the application is already up and running. However I'm having an issue where if Solr Or MongoDB ...
5
votes
1answer
118 views

Contact Not Found Exception thrown with valid contact IDs

In the following code... var contactManager = GetContactManager(); var contact = contactManager.LoadContactReadOnly(contactId); if (contact == null) { Log.Info("MySite.Presentation.Controllers....
12
votes
3answers
635 views

Contact (guid) could not be locked in the xDB

I've got a site where I'm invoking Tracker.Current.Session.Identify(), passing in the authenticated user's email address. It works fine locally, but when deployed the identify call often - but not ...
1
vote
0answers
31 views

Sitecore WFFM- get all dropouts data programmatically [duplicate]

We have the requirement like, pull the all dropout users information and send email to our client. I know that WFFM captures form dropout data, but how to get this data pro-grammatically,I check with ...
7
votes
1answer
298 views

WFFM: How multisite FormData get saved in MongoDB?

I am using Sitecore 8.1 with WFFM. Can anyone please explain me how the multi-site information get saved in FormData?. As per my understanding FormData will get saved with FormID and its Fields in ...
4
votes
1answer
263 views

WFFM: What happens when we delete a wffm form?

I am using Sitecore 8.1 with WFFM. And i am new to WFFM. I found that when user enters data to WFFM forms it will get stored in MongoDB formdata collection. What will happen if the WFFM form will get ...
0
votes
1answer
489 views

Getting System.NullReferenceException while setting value into Sitecore.Analytics.Tracker.Current.Session.Identify

We are using Azure B2C for Login into Our website, but in CM server we are getting below error . The Same code is working in CD server. I don't remember what i have missed in CM server (any config ...