Article ID: 291391
Article Last Modified on 9/23/2005
APPLIES TO
- Microsoft Commerce Server 2000 Standard Edition
This article was previously published under Q291391
SYMPTOMS
An application uses the DBStorage object to load Commerce.OrderFrom and supplies the OrderForm to the GenerateSampleXMLInstanceFromDictionary method as the Dictionary argument. However, if you call this method on the DBStorage object, you may receive the following error message:
The following object and method are utilized:
Object name: DictionaryXMLTransform
Method name: GenerateSampleXMLInstanceFromDictionary
CAUSE
When you parse the dictionary, if an object is found, you call the GetDataStructTypeFromListOrDict function. If the object is a dictionary, you cannot assume that it is a dictionary of dictionaries because, for example, you can have a dictionary of CStrings.
WORKAROUND
To work around this problem, you must use a dictionary of dictionaries.
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
The English version of this fix should have the following file attributes or later:
Date Time Version Size File name -------------------------------------------------------------------- 02/20/2001 05:48p 4.0.0.1658 77,935 DictionaryXMLTransforms.dll
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.
Keywords: kbbug kbfix kbcommserv2000presp1fix kbcommserv2000sp1fix kbqfe kbhotfixserver KB291391