Microsoft KB Archive/929256

From BetaArchive Wiki
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
Knowledge Base


Error message when you select a template from the Template Selection page in Windows SharePoint Services 2.0: "Cannot complete this action"

Article ID: 929256

Article Last Modified on 12/26/2006



APPLIES TO

  • Microsoft Windows SharePoint Services



SYMPTOMS

When you select a template from the Template Selection page in Microsoft Windows SharePoint Services 2.0, you receive the following error message:

Cannot complete this action.

This issue occurs if the following conditions are true:

  • You create a custom list definition by using the existing CUSTLIST folder.
  • You add the List entry in the configuration section in the Onet.xml file to create custom list instances.
  • You create a site by using the site definition that has the custom list definition.


CAUSE

This issue occurs because the DefaultDescription property must be included for the custom list instances in the configuration section of the Onet.xml file. This property is mandatory for the custom list definition that is created from the CUSTLIST folder.

Note This property is optional for the document library, for announcements, and for other lists.

RESOLUTION

To resolve this issue, specify the DefaultDescription property in the List entry of the configuration section of the Onet.xml file.

An example of code that does this is as follows.

<List Title="My Custom List" Url="Lists/My Custom List" Type="222" DefaultDescription="My Custom List Description"/>

Keywords: kberrmsg kbtshoot kbexpertiseinter kbprb KB929256