Microsoft KB Archive/811501

= BUG: ProductPropertyDataSetPlaceholder Class Is Not Exposed for Use When You Create Templates =

Article ID: 811501

Article Last Modified on 1/10/2007

-

APPLIES TO


 * Microsoft Solution for Internet Business 2.5

-



SYMPTOMS
When you customize a Microsoft Solution for Internet Business (MSIB) sample Web site (either version 2.0 or 2.1), and you try to create a template that uses the ProductPropertyDataSetPlaceholder class, you receive the following error messages when you visit that page:

[ProductPropertyPlaceholderControl &quot;namePlaceholderControl&quot;] No placeholder was found for the PlaceholderToBind value &quot;ProductPropertyDataSetPlaceholder&quot;.

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: Microsoft.ContentManagement.WebControls.WebAuthorException: [ProductPropertyPlaceholderControl &quot;namePlaceholderControl&quot;] No placeholder was found for the PlaceholderToBind value &quot;ProductPropertyDataSetPlaceholder&quot;.



CAUSE
You receive these error messages because the definition of the ProductPropertyDataSetPlaceholder class is not exposed in the user interface in Microsoft Visual Studio .NET. This behavior occurs because the Microsoft.ContentManagement.Publishing.config file is missing a  element for the ProductPropertyDataSetPlaceholder class.



RESOLUTION
Use the DataSetPlaceholderDefinition class in a custom template. In the :\Program Files\Content Management Server\Server\config folder, add the following lines to the Microsoft.ContentManagement.Publishing.config file.

If this is for an MSIB 2.0 Web site, add the following:  If this is for an MSIB 2.1 Web site, add the following: 



STATUS
Microsoft has confirmed that this is a bug in the Microsoft products that are listed at the beginning of this article.



Bug Meta Data: ID: 4026 Title: ProductPropertyDataSetPlaceholder is not exposed for developer to use for creating templates Tree Path: Content Maintenance\Developer\SIE Status: Active Assigned to: Active Issue type: KB Suggestion Severity: Priority: 2 Changed Date: 12/2/2002 9:03:54 PM Changed By: oscarm Opened Date: 12/2/2002 9:03:54 PM Opened By: oscarm Open Build: Source: SIE Source ID: How found: Environment: Resolved Date: Resolved By: Resolution: Fix Build:

=
======= Repro steps:

=
================= 12/2/2002 4:03 PM Changed by: oscarm Status: Active

This bug is opened to have a kb created for Bug 2240 in the Microsoft Solution for Internet Business DB

