Web parts that are listed under Web Part List in the Add Web Parts pane of a Windows SharePoint Services Web site that is based on the Meeting Workspace template appear incorrectly as "Untitled" (839877)



The information in this article applies to:

  • Microsoft Windows SharePoint Services

SYMPTOMS

When you create a new Microsoft Windows SharePoint Services Web site that uses a Workspace Meeting template, and you want to add Web Parts to the Web site, you may find that some Web parts appear "Untitled" (without the quotation marks) when you view the list of available Web parts. For example, when you click Modify This Workspace, click Add Web Parts, click Create Lists, and then click Browse, five of the Web parts that are listed under Web Part List in the Add Web Parts pane appear as "Untitled" (without the quotation marks). You cannot add these Web parts to the Web site.

CAUSE

The problem occurs because the path of the Web parts in the Onet.xml file that is used in Meeting Workspace templates is incorrect. The WebPartPopulation section of the Onet.xml file contains the following incorrect path:

..\STS\lists\wplib\dwp

The path is incorrect because the path contains two "." characters (without the quotation marks), and "." characters (without the quotation marks) are restricted characters. Therefore, the instantiation of the ghost file fails. A limitation exists in the provision process for modules where the Setup path can only refer to files that are located in subfolders of the current site template folder.

WORKAROUND

Note The procedure that is described in this article does not apply to existing Web sites that use the Meeting Workspace template.

To work around this problem, create a new Dwp folder to store the Web part files, copy the Web part files to the new Dwp folder, and then in the Onet.xml file that is used for Meeting Workspace templates, modify the path of the Web part files. To do so, follow these steps:
  1. Start Windows Explorer, and then create the following subfolder:

    Drive:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\60\Template\LCID\Mps\Lists\Wplib\Dwp

  2. Locate the Dwp subfolder in the Drive:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\60\template\LCID\Sts\Lists\Wplib folder, and then copy the contents of the Dwp subfolder to the Drive:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\60\Template\LCID\Mps\Lists\Wplib\Dwp subfolder that you created earlier in step 1.
  3. In the Onet.xml file that is used for the Meeting Workspace templates, change the path of the Web parts to use a different path. To do so:
    1. Start Notepad, and then open the Onet.xml file that is located in the following folder:

      Drive:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\60\Template\LCID\1033\Mps\Xml

    2. In the Onet.xml file, locate the following lines of XML code:

      <Module Name="WebPartPopulation" List="113" Url="_catalogs/wp" Path="..\STS\lists\wplib\dwp" RootWebOnly="TRUE">
        <File Url="MSContentEditor.dwp" Type="GhostableInLibrary" />
        <File Url="MSPageViewer.dwp" Type="GhostableInLibrary" />
        <File Url="MSImage.dwp" Type="GhostableInLibrary" />
        <File Url="MSMembers.dwp" Type="GhostableInLibrary" />
        <File Url="MSSimpleForm.dwp" Type="GhostableInLibrary" />
        <File Url="MSXml.dwp" Type="GhostableInLibrary" />
      </Module>

    3. Replace the lines of XML code that you located earlier in step 3b with the following lines of XML code:

      <Module Name="WebPartPopulation" List="113" Url="_catalogs/wp" Path="lists\wplib\dwp" RootWebOnly="TRUE">
        <File Url="MSContentEditor.dwp" Type="GhostableInLibrary" />
        <File Url="MSPageViewer.dwp" Type="GhostableInLibrary" />
        <File Url="MSImage.dwp" Type="GhostableInLibrary" />
        <File Url="MSMembers.dwp" Type="GhostableInLibrary" />
        <File Url="MSSimpleForm.dwp" Type="GhostableInLibrary" />
        <File Url="MSXml.dwp" Type="GhostableInLibrary" />
      </Module>
      

    4. On the File menu, click Save, and then quit Notepad.
After you perform this procedure, the Web parts appear correctly under Web Part List in the Add Web Parts pane for all new Web sites that you create that use a Meeting Workspace template.

STATUS

Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.

MORE INFORMATION

For more information about Windows SharePoint Services, visit the following Microsoft Web site:

Modification Type:MajorLast Reviewed:3/24/2005
Keywords:kbnofix kbBug KB839877 kbAudITPRO