Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

DictionaryXMLTransform Object Returns "Object Required" Error


View products that this article applies to.

This article was previously published under Q291391

↑ Back to the top


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:
Error "Object required"
The following object and method are utilized:
Object name: DictionaryXMLTransform
Method name: GenerateSampleXMLInstanceFromDictionary

↑ Back to the top


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.

↑ Back to the top


Workaround

To work around this problem, you must use a dictionary of dictionaries.

↑ Back to the top


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
				

↑ Back to the top


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.

↑ Back to the top


Keywords: KB291391, kbhotfixserver, kbqfe, kbcommserv2000sp1fix, kbcommserv2000presp1fix, kbfix, kbbug

↑ Back to the top

Article Info
Article ID : 291391
Revision : 2
Created on : 9/23/2005
Published on : 9/23/2005
Exists online : False
Views : 404