Update Authentication Encryption Key Does Not Reference Correct Site (298539)



The information in this article applies to:

  • Microsoft Commerce Server 2000

This article was previously published under Q298539

SYMPTOMS

When you try to generate a new encryption key for a Commerce Server 2000 site, the generated key is changed on the global resource that matches the name of the site resource rather the global resource that matches the value of the site resource.

CAUSE

The Generate a New Encryption Key functionality assumes that the site resource references the global resource with the same name.

RESOLUTION

To resolve this problem, obtain the latest service pack for Commerce Server 2000. For additional information, click the following article number to view the article in the Microsoft Knowledge Base:

297216 INFO: How to Obtain the Latest Commerce Server 2000 Service Pack

STATUS

Microsoft has confirmed that this is a problem in Microsoft Commerce Server 2000. This problem was first corrected in Commerce Server 2000 Service Pack 1.

MORE INFORMATION

Steps to Reproduce Behavior

  1. Unpack two instances of the retail site, and name the sites Retail1 and Retail2 respectively.
  2. Check the Encryption Key for Cookie Data property of each Commerce Server Authentication global resource for both sites. You may need to write down these properties.
  3. Right-click the CS Authentication(Retail1) site resource, and then click Properties. Change the sRefResource value to CS Authentication(Retail2).

    Note: This effectively changes the site resource for Retail1 so that it points to the global resource for the Retail2 site.
  4. From the Start menu, click Run, and then type iisreset to clear any cached values for the sites.
  5. From the Application Properties of the Retail1 site, click Generate New Encryption Key. Allow the server time to generate the new key, and then check the Encryption Key for Cookie Data property of the Retail1 site. Notice that this property changed.

Modification Type:MajorLast Reviewed:10/21/2002
Keywords:kbbug kbCommServ2000PreSP1fix kbCommServ2000SP1fix kbQFE KB298539