Article ID: 830802 - Last Review: March 9, 2004 - Revision: 1.2 You may experience problems on your Web server if your Web site is based on the Retail2002 SDK sample siteSYMPTOMSIf you use a Web site that is based on the Microsoft Commerce Server 2002 Software Development Kit (SDK) Retail2002 sample site in a production environment, you may experience one or more of the following problems:
CAUSEThe Retail2002 SDK sample site calls an auth.Refresh sub in the accountmanager:SetAuthenticationTickets method. This call is not necessary. This refresh causes the code to uninitialize the authmanager object and then re-initialize the authmanager object every time that a user logs on to the site and is authenticated. This behavior uses a lot of resources because this behavior also causes the SiteConfigReadOnly object to re-initialize continually. RESOLUTIONTo resolve the problems that the "Symptoms" section describes, modify the SetAuthenticationTickets method in the Accountmanager.cs file. Comment out the line of code that calls the auth.Refresh sub, and then rebuild the solution. The following sample code has this line commented out. STATUSMicrosoft has confirmed that this is a bug in the Microsoft products that are listed in the "Applies to" section of this article. MORE INFORMATIONUnlike the Retail solution site, the Retail2002 SDK site is a sample site and is not a fully tested solution site. Microsoft recommends that you do your own performance testing if you want to use code from this sample in your site.
| Article Translations
|
Back to the top
