Error 80004005 "Component Execution failed" for Commerce.CSFLoadHistory (275734)
The information in this article applies to:
- Microsoft Commerce Server 2000
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.
- Click Save to save the changes to the pipeline.
- At a command prompt, type the following command:
Modification Type: | Major | Last Reviewed: | 10/18/2002 |
---|
Keywords: | kbDSupport kbprb KB275734 |
---|
|