Microsoft KB Archive/884454

= &quot;XML document must have a top level element&quot; error message when you create a new site or when you synchronize users in Project Server 2003 =

Article ID: 884454

Article Last Modified on 7/27/2006

-

APPLIES TO


 * Microsoft Office Project Server 2003
 * Microsoft Office Project Web Access

-





SYMPTOMS
You may experience one or both the following symptoms in Microsoft Office Project Server 2003:  When you try to create a new site for your project in Microsoft Office Project Web Access 2003, you may receive the following error message:

Error occurred when creating site. Site does not seem to exist. XML document must have a top level element.

 When you try to synchronize users and roles to the site in Project Web Access 2003, you may receive the following error message:

Failed to synchronize users between Project Server and the selected Windows SharePoint Services site. XML document must have a top level element.





CAUSE
This problem may occur if the locale of the site for your project in Microsoft Windows SharePoint Services is changed to use a language that does not match the language that is specified in the Site template language option of the Web site provisioning settings in Project Web Access 2003.



RESOLUTION
To work around this problem, follow these steps:
 * 1) Install the Windows SharePoint Services Language Template Pack.
 * 2) Install the Project Server 2003: Multilingual User Interface (MUI) Pack for each additional language that you want to use in Project Server 2003.
 * 3) Run the SharePoint Configuration Wizard (Wsswiz.exe) for each language version of Project Server to install the default Project Workspace site template for each language that you added to Project Server 2003.

Note The steps in this article describe how to add site template languages to Project Web Access 2003 for use when a Windows SharePoint Services site is created for your project. By default, when you first installed Project Server 2003, and you ran the SharePoint Configuration Wizard (Wsswiz.exe) to configure Windows SharePoint Services for Project Server 2003, the Site template language option in Project Web Access 2003 is set to the language of the original installation of Windows SharePoint Services. The SharePoint Configuration Wizard also installs the Project Workspace site template. The Project Workspace site template is the default site template that Project Server 2003 uses. Use the SharePoint Configuration Wizard to install and to configure a Project Workspace site template for each language that you add to Project Server 2003.

To do this, follow these steps:  Install the Windows SharePoint Services Language Template Pack. To obtain the Windows SharePoint Services Language Template Pack, visit the following Microsoft Web site:

http://www.microsoft.com/downloads/details.aspx?familyid=e7eec77d-4365-4b66-8e8d-9d079c509679&displaylang=en

 Install the Project Server 2003: Multilingual User Interface (MUI) Pack for each language that you want to add to Project Server 2003. To obtain the Project Server 2003: Multilingual User Interface (MUI) Packs, visit the following Microsoft Web site:

http://www.microsoft.com/downloads/details.aspx?familyid=40a66365-ded2-4e6b-8b3e-f3ffb7db8b2e&displaylang=en

 Run the SharePoint Configuration Wizard (Wsswiz.exe) to install the default Project Workspace site template for each language that is added to Project Server 2003. To do this, follow these steps: <ol style="list-style-type: lower-alpha;"> Locate and then double-click the Wsswiz.exe file.

Note The Wsswiz.exe file is located in the \Support\Wsswiz folder of the Project Server 2003 CD.</li> Click Configure additional Windows SharePoint Services Web Sites for Microsoft Office Project Server 2003, and then click Next.</li> Verify that Default Web Site is selected, and then click Next.</li> Verify that sites (Already configured for Microsoft Office Project Server 2003.) is selected in the Select the managed path under which Project sites will be created box, and then click Next.</li> Click OK when you receive the following message:

The path you selected appears to have a valid Project Server customized SharePoint Site. If this site is working incorrectly, click OK to reinitialize the site settings and copy the Project templates to the SharePoint directory. This action will not delete any of the content in the site. Click Cancel to cancel this operation.

</li> Click Finish.</li></ol> </li> Restart Microsoft Internet Information Services (IIS) 6.0. To do this, click Start, click Run, type iisreset in the Open box, and then click OK.

Note You may also have to restart the computer.</li> Verify that the Site template language option and the site template for the language or languages that you added to Project Server 2003 are installed. To do this, follow these steps: <ol style="list-style-type: lower-alpha;"> Log on to Project Web Access 2003 as an administrator, and then click Admin.</li> Under Actions in the left pane, click Manage Windows SharePoint Services, and then click Site provisioning settings under Options in the left pane.</li> Under Specify root Web site settings, do the following:  Click the arrow in the box that is next to Site template language to verify that the language that you added appears. Click the language that you want to use.</li> Click the arrow in the box that is next to Site template to verify that the Project Workspace site template is displayed for the language that you added. Click the site template that you want to use.</li></ul> </li></ol> </li></ol>

<div class="moreinformation_section">

MORE INFORMATION
For more information about how to configure and administer Project Server 2003, see the Microsoft Project Server 2003 Administrator's Guide. To obtain the Microsoft Project Server 2003 Administrator's Guide, visit the following Microsoft Web site:

http://www.microsoft.com/downloads/details.aspx?FamilyID=2f446940-147b-447a-b0d3-6088673a53a4&DisplayLang=en

<div class="moreinformation_section">

Steps to reproduce the problem
To reproduce the error message that you receive when you try to create a site for your project, follow these steps: <ol> Log on to Project Web Access 2003, click Admin, and then click Manage Windows SharePoint Services under Actions in the left pane.</li> Under Options in the left pane, click Manage SharePoint sites.</li> <li>In the Project Name column of the table that is displayed on the Manage Windows SharePoint Services sites page, click a project, and then click Go to Site Administration.</li> <li>Under Administration on the Site Settings page, click Go to Site Administration.</li> <li>Under Management and Statistics on the Top-level Site Administration page for the project that you selected, click Save site as template.</li> <li>On the Save Site as Template page, specify a file name and a title for the template, and then click OK.</li> <li>On the Operation Completed Successfully page, click site template gallery.</li> <li>Click the new template that you created, and then click Save in the File Download dialog box.</li> <li>Save the template file to the following folder on your hard disk:



</li> <li>Click Start, click Run, type cmd in the Open box, and then click OK.</li> <li>At the command prompt, switch to the following folder:



</li> <li>At the command prompt, type the following line, and then press ENTER:

stsadm.exe -o addtemplate -f .stp -t TemplateTitle

</li> <li>Restart IIS. To do this, click Start, click Run, type iisreset in the Open box, and then click OK.</li> <li>In Project Web Access 2003, click Admin.</li> <li>Under Actions in the left pane, click Manage Windows SharePoint Services, and then click Site provisioning settings under Options in the left pane.</li> <li>Under Specify root Web site settings on the Windows SharePoint Services team Web site provisioning settings page, click the new template that you created in the box that is next to Site template, and then click Save Changes.</li> <li>Create a new site.</li></ol>

You receive the following error message that is described in the Symptoms section:

Error occurred when creating site. Site does not seem to exist. XML document must have a top level element.

To reproduce the error message that you receive when you try to synchronize users, follow these steps:
 * 1) Log on to Project Web Access 2003, click Admin, and then click Manage Windows SharePoint Services under Actions in the left pane.
 * 2) Under Options in the left pane, click Manage SharePoint Sites.
 * 3) In the Project Name column of the table that is displayed on the Manage Windows SharePoint Services sites page, click a project, and then click Go to Site Administration.
 * 4) Under Administration on the Site Settings page, click Go to Site Administration.
 * 5) Under Management Statistics on the Top-level Site Administration page for the project that you selected, click Change regional settings.
 * 6) In the Locale area of the Regional Settings page, click a different language in the Locale box, and then click OK--for example, click Farsi.
 * 7) Click the Manage Windows SharePoint Services sites page, click the same project that you selected earlier in the Project Name column, and then click Synchronize.
 * 8) Click Yes when you are prompted to continue.

You receive the following error message that is described in the Symptoms section:

Failed to synchronize users between Project Server and the selected Windows SharePoint Services site. XML document must have a top level element.

Keywords: kbconfig kberrmsg kbtshoot kbprb KB884454

-

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

© Microsoft Corporation. All rights reserved.