Stack Exchange Network

Stack Exchange network consists of 175 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, ...

1
vote
1answer
38 views

MongoDB Contacts to xConnect Migration failing on WFFM analytics data

We recently set up a Sitecore 9.1 instance and we are using the xDB migration tool 2.1 to move our old analytics data which were used on Sitecore 8.2 update 6. We were able to migrate the ...
0
votes
0answers
42 views

The query to MongoDB analytics.interations collection is very slow

I have Sitecore 8.1 UPD3(CM, CD, Processing distributed environment) mogodb 3.0.15 (sharded cluster and replication) I am currently facing the problem that accessing CDs takes a very long time ...
1
vote
1answer
50 views

User Interaction is not storing on MongoDb - Once browser is closed

We have a simple Website which has WFFM form, there is no login page. When user is closing browser directly that time interaction is not capturing into MongoDb. Probably session end is not firing. ...
0
votes
1answer
85 views

How to integrate MongoDB 4.0 with Sitecore 9.1?

I am trying to integrate MongoDB 4.0 with Sitecore 9.1 (to collect analytics data) but not sure what and where to change in the configuration files. I followed the steps mentioned in the installation ...
0
votes
1answer
67 views

Sitecore 9.1 XDB migration issue with Mongo db connection

I have: Sitecore 9.1 Sitecore 8.2 MongoDB 3.4 xDB Data Migration Tool 2.1 I'm trying migrate analytics, I configured tenant and other things by documentations and all looks fine, also Mongo db has "...
0
votes
1answer
56 views

When will Successor be created?

Sitecore Experience Platform 8.1 rev. 160519. I add a custom processor to the RenderLayout Pipeline to identify contacts. Tracker.Current.Session.Identify(ContextUserName); ContextUserName adds a ...
1
vote
1answer
86 views

Can't start MongoDB service [Error: 1067]

When I try to start my MongoDB service I keep getting the following message: Windows could not start the MongoDB service on Local Computer Error: 1067: The process terminated unexpectedly MongoDB ...
2
votes
1answer
74 views

MongoDB Contacts to xConnect Migration Error

I've searched everywhere in the internet and I couldn't really find anything associated to this. We are migrating Sitecore 8 Mongo Db to Sitecore 9 XConnect database. We followed the steps from below ...
1
vote
1answer
120 views

xDB Data Migration tool fails

I'm trying to migrate the analytics data from Sitecore 8.2.4 to 9.0.2. The tool worked about 12 hours and failed with the following message: 10152 19:08:25 ERROR [Data Exchange] An error occurred ...
0
votes
1answer
31 views

Using Mongo.Driver.dll 2.4.4 with Sitecore 8.1 Update 3

I am using Sitecore 8.1 Update 3. According to Sitecore installation manual, with mongoDB version 3.0.12. The other day, when the connection of mongoDB out of order, the using connection pool exceeded ...
2
votes
2answers
138 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
85 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), ...
2
votes
2answers
78 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
42 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
156 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
88 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
89 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
86 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
64 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
107 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
140 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 ...
18
votes
2answers
1k views

Mongo vs SQL Server 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 ...
3
votes
2answers
119 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
386 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
2answers
88 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 ...
1
vote
1answer
1k 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
95 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
496 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
171 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
302 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
189 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
275 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
72 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
293 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
279 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
539 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
206 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
791 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
427 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
101 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
305 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
529 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
623 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
371 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
514 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
169 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
144 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
740 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
37 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 ...