Microsoft Knowledge Base Email Alertz

(887125) - Describes an issue in Commerce Server 2002. You can resolve this issue by changing the default setting for the Catalog BCL CachingEnabled property.

Search KbAlertz

Advanced Search

Receive Microsoft Knowledge Base articles by E-Mail?

Every night we scan the Microsoft Knowledge Base. If technologies you're interested in are updated, we'll send you an e-mail. You only get one e-mail a day, and only when new articles are added.

Click here to create a
FREE account
Already have an account?
[Click here to Login]











Microsoft Knowledge Base Article

This article contents is Microsoft Copyrighted material.
©2005-©2007 Microsoft Corporation. All rights reserved. Terms of Use | Trademarks

Article ID: 887125 - Last Review: February 14, 2007 - Revision: 1.7

FIX: The Catalog BCL CachingEnabled property is set to false by default

SYMPTOMS

In Microsoft Commerce Server 2002, the Catalog Base Class Library (BCL) cache does not appear to operate successfully and the caching is not provided.

CAUSE

This behavior occurs because the CachingEnabled property is set to false by default. Therefore, the Catalog BCL cache is disabled.

RESOLUTION

To resolve this problem, modify the setting by using the sample code that is in the "More Information" section. This enables the Catalog BCL cache.

STATUS

Microsoft has confirmed that this is a bug in the Microsoft products that are listed in the "Applies to" section.

MORE INFORMATION

You must add the following code to the Commerce Server Retail 2002 sample site in the Application.cs file. Add the following code by using the Microsoft.CommerceServer.Runtime.Catalog namespace:
Public override void Init()

            {

                  base.Init ();

                  CommerceCatalogModule.CatalogContext.CachingEnabled = true;

            }
The Retail2002 site is a functional example of a site that was created by using Microsoft .NET technologies and Commerce Server 2002. It is a sample site only. It was not tested or intended to be production grade. If you extend the site for your own use, we recommend that you thoroughly test the site to make sure that the site and your extensions meet your requirements.

For more information about catalog caching, visit the following Microsoft Developer Network (MSDN) Web site:
http://msdn2.microsoft.com/en-us/library/ms959508.aspx (http://msdn2.microsoft.com/en-us/library/ms959508.aspx)
For more information about the Retail2002 site, visit the following MSDN Web site:
http://msdn2.microsoft.com/en-us/library/ms960608.aspx (http://msdn2.microsoft.com/en-us/library/ms960608.aspx)
For more information, visit the following Microsoft Web site:
http://technet.microsoft.com/en-us/commerceserver/bb608726.aspx (http://technet.microsoft.com/en-us/commerceserver/bb608726.aspx)
Microsoft Solution for Internet Business (MSIB) was developed because emerging business models have transformed Internet sites from relatively simple structures that are made up of linked HTML pages to complex, feature-rich applications. These applications provide content and automate business processes, such as selling and purchasing, and also provide personalization and collect data for analysis. MSIB is an integrated solution that uses high-quality Microsoft Windows Server System servers to provide end-to-end processes and features for sophisticated Internet sites.

For more information, visit the following Microsoft Web site:
http://www.microsoft.com/downloads/details.aspx?FamilyID=3347ea8e-ed23-41e5-b77b-5ffb542106e9&displaylang=en (http://www.microsoft.com/downloads/details.aspx?FamilyID=3347ea8e-ed23-41e5-b77b-5ffb542106e9&displaylang=en)

APPLIES TO
  • Microsoft Commerce Server 2002 Standard Edition
Keywords: 
kbfix kbqfe kbbug KB887125
       

Community Feedback System

Very often, it takes hours to solve a problem. Very often, you've looked high and low, and have tried a lot of solutions. When you finally found it, chances are, it was because someone else helped you. Here's your chance to give back. Use our community feedback tool to let others know what worked for you and what didn't.

Please also understand that the community feedback system is not warranted to be correct, it's simply a system that we've built to let people try and help each other. If something in a feedback response doesn't make sense to you, or you're not comfortable making changes that the feedback talks about (like registry edits), please consult a professional.

Thank you for using kbAlertz.com Feedback System.

-- Scott Cate