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
17 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
40 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
21 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 ...
4
votes
1answer
57 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
50 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
56 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
45 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
52 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
40 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
94 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 ...
14
votes
2answers
692 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
70 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
209 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
24 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
53 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
201 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
61 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
335 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
77 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
292 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
140 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
207 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 ...
6
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
117 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
189 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
56 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
243 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). ...
4
votes
3answers
190 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
339 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
140 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
734 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
261 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
86 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
270 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
384 views

Submit queue is not working [on hold]

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
376 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, ...
1
vote
1answer
264 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
393 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
146 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
110 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
587 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
28 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 ...
6
votes
1answer
285 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
252 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
450 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 ...
1
vote
1answer
221 views

xDB InProc shared session state in load-balanced environment

I am auditing the xDB configuration on a site based on Sitecore 7.5. The setup is plain with no custom interactions being registered. We are dealing with the last scenario here, "Content delivery ...
0
votes
1answer
119 views

Where can I find Developer Resources for Sitecore Analytics?

My company decided to get more involved with Sitecore Analytics, with the goal of Personalization in mind. I have a good understanding of Sitecore in general, but I never prepared a custom report or ...
2
votes
2answers
902 views

Mongo Replica Set Connection Error, Sitecore 81

I have a POC of a Mongo Replica (Mongo 3.0.14) set created locally using VirtualBox. I have a Primary, Secondary and Arbiter created and initiated in the replica set: Using Robomongo from my host ...
3
votes
1answer
472 views

How to Join MongoDb Collections Using Sitecore Mongo Db Report Data Source

Am using sitecore 8.0, below code gets the analytics from the mongo db. I have two collections "ineractions" and "ContactId", I want to join both the collections using common field "contact" from ...
4
votes
1answer
86 views

What Sitecore understands about Mongo from its ConnectionStrings?

Here's my scenario Sitecore 8.1 update 1 in Datacenter X Sitecore 8.1 update 1 in Datacenter Z (stand-by failover) MongoDB Replica Set (rs0) Primary and Secondary in Datacenter X MongoDB Replica Set (...