K Khan
OMVPPaaS CMS Administrator Certification
Jan 15, 2015
visibility 3278
star star star star star
(0 votes)

A fix for an issue in Commerce Sample Application

We have a situation on one of our live site when aspnet_Users and aspnet_Profile has grown massively because of Google and Screaming Frog crawl . On further investigations we found that we were storing anonymous entries also in profile. Project has inherited this bug from a class used for MarketStorage borrowed from EPiServer Commerce Sample application. Although it has been fixed in sample application but sample packages are not delivered under Continuous release process. Therefore I am writing this Blog for reference only and can be helpful to developers if they have implemented the same class for EPiServer Commerce Markets.

Complete details can be found http://world.episerver.com/Modules/Forum/Pages/thread.aspx?id=114822

For existing entries you will need to run manual script, I will add that when it’s ready.
To avoid further entries a code sample originally written by Quan

http://world.episerver.com/code/K-Khan-/marketstorage-fixes-in-commerce-sample-application/

Jan 15, 2015

Comments

error Please login to comment.
Latest blogs
Surviving a Dirty Feed. Part 3: Error Handling and Event Batching

Committing a 250,000-row Optimizely catalog import row by row, returning a per-row failure report, and coalescing catalog events into one per batch.

Stanisław Szołkowski | Oct 16, 2026 |

Building UI Extensions for Optimizely SaaS CMS

Introduction Developers have been extending the functionality of Optimizely PaaS CMS for years using addons built in C# and deployed as NuGet...

Mark Stott | Oct 15, 2026

Cheapskate AI Translator: Because Translation Should Not Require a Second Mortgage

There is a particular kind of software project that begins with a detailed architecture document, a product roadmap, and a carefully assembled...

Linh Doan Cuu | Oct 15, 2026

Computed Fields in CMS 13 Content Contracts with Optimizely Graph

Content Contracts in Optimizely CMS 13 allow different content types to share a common structure when querying Optimizely Graph. But what if the...

Mardy | Oct 14, 2026