We are in the process of resetting up our Analytics on 8.2 Update 2. While reviewing logs, I noticed this error in the log that did not occur in our old 8.0 instance.
3084 08:49:45 INFO MARKETO: [Method: Marketo > GenerateCookie] [username: [email protected]]
3084 08:49:45 ERROR General error when submitting contact. Exception: System.NotImplementedException Message: The current data adapter provider does not support renumbering interactions. Source: Sitecore.Analytics.DataAccess at Sitecore.Analytics.DataAccess.DataAdapterProvider.RenumberInteractions(ID contactId) at Sitecore.Analytics.Data.ContactRepository.ReconcileContact(Contact contact, LeaseOwner owner, TimeSpan duration) at Sitecore.Analytics.Tracking.ContactManager.SubmitContact(Contact contact, ContactSaveOptions options, Contact& realContact)
3084 08:49:45 INFO MySite.Analytics.ContactManagement.TrackContact: Known contact identified: [email protected]
3084 08:49:45 INFO SITECORE ANALYTICS: Outcome added for contact: {F5A28B73-F58B-44F2-A011-4D76BB4984C9} for the definition: {52054874-4767-47DC-8099-8C08BFA307AA}
The code that appears to be raising this...
controller.Response.Cookies.Add(cookie);
Sitecore.Diagnostics.Log.Info("MARKETO: [Method: Marketo > GenerateCookie] [username: " + username + "]", this);
try
{
ContactManagement contactManagement = new ContactManagement();
bool trackedContact = contactManagement.TrackContact(username, true);
bool updatedPreferred = contactManagement.UpdatePreferred(username);
ThirdParty thirdParty = new ThirdParty();
bool syncedThirdParty = thirdParty.Sync(username, "marketo");
}
catch (Exception ex)
{
Sitecore.Diagnostics.Log.Error("MySite.BusinessLogic.Marketo.GenerateCookie (Analytics): [" + ex.StackTrace + "]", ex, this);
}
return true;
and...
public bool TrackContact(string identifier, bool addMarketingLead = false) {
try
{
Tracker.Current.Session.Identify(identifier);
var contact = Tracker.Current.Session.Contact;
contact.ContactSaveMode = ContactSaveMode.AlwaysSave;
if (contact.Identifiers.IdentificationLevel != ContactIdentificationLevel.Known)
{
contact.Identifiers.IdentificationLevel = ContactIdentificationLevel.Known;
}
Log.Info("MySite.Analytics.ContactManagement.TrackContact: Known contact identified: " + identifier, this);
if (addMarketingLead == true)
{
bool addedMarketingLeadOutcome = new Outcomes().AddMarketingLead(contact.ContactId);
}
return true;
}
catch (Exception ex)
{
Log.Error("MySite.Analytics.ContactManagement.TrackContact: [" + ex.StackTrace + "]", ex, this);
return false;
}
}
You will see that we log that the cookie was created okay, then we log that the Known contact has been identified. So the error appears to be occurring between those two Log.Info
calls.
Any ideas why this error about renumbering interactions is now being raised?