Microsoft KB Archive/275734

= Error 80004005 &quot;Component Execution failed&quot; for Commerce.CSFLoadHistory =

Article ID: 275734

Article Last Modified on 10/18/2002

-

APPLIES TO


 * Microsoft Commerce Server 2000 Standard Edition

-



This article was previously published under Q275734



SYMPTOMS
When a profile is passed as a Dictionary object, you may receive the following error message:

80004005 - Component Execution failed for component[0x1] hr: 0x80004005

ProgID: Commerce.CSFLoadHistory.1

Dictionary error: Value for key 'userprofile' in dictionary 'context' missing (expected a variant of type 9)

Error:5B - Object variable or With block variable not setGetContent returned no Ads.



CAUSE
The Content Selection object can take a User Profile as an optional parameter. This error occurs because the profile is passed as a Dictionary object rather than as a Profile object, and the LoadHistory and SaveHistory components of the Advertising pipeline are set to load and save the history from and to a Profile object.



RESOLUTION
If a Profile object is going to be passed to the Content Selection object, set the LoadHistory component to load the history from a User Profile object and the SaveHistory component to save the history to a User Profile object as follows:  Open the Commerce Server Pipeline Editor. Open the Advertising pipeline, named Advertising.pcf, for your Web site. In the Load Context stage, double-click LoadHistory. On the Load History tab, select the User Profile Object radio button, and then click OK. In the Load Context stage, double-click SaveHistory. On the Save History tab, select the User Profile Object radio button, and then click OK.</li> Click Save to save the changes to the pipeline.</li> At a command prompt, type the following command:

IISRESET

</li></ol>

Additional query words: com2k comm2k cso advertising Commerce.CSFLoadHistory error 80004005 0x80004005 plutonium

Keywords: kbprb kbpending KB275734

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.