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

Article translations Article translations
Article ID: 884454 - View products that this article applies to.
Expand all | Collapse all

On This Page

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:
  1. 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
  2. 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
  3. 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:
    1. 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.
    2. Click Configure additional Windows SharePoint Services Web Sites for Microsoft Office Project Server 2003, and then click Next.
    3. Verify that Default Web Site is selected, and then click Next.
    4. 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.
    5. 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.
    6. Click Finish.
  4. 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.
  5. 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:
    1. Log on to Project Web Access 2003 as an administrator, and then click Admin.
    2. Under Actions in the left pane, click Manage Windows SharePoint Services, and then click Site provisioning settings under Options in the left pane.
    3. 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.
      • 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.

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

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:
  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 and Statistics on the Top-level Site Administration page for the project that you selected, click Save site as template.
  6. On the Save Site as Template page, specify a file name and a title for the template, and then click OK.
  7. On the Operation Completed Successfully page, click site template gallery.
  8. Click the new template that you created, and then click Save in the File Download dialog box.
  9. Save the template file to the following folder on your hard disk:
    Drive:\Program Files\Common Files\Microsoft Shared\web server extensions\60\BIN
  10. Click Start, click Run, type cmd in the Open box, and then click OK.
  11. At the command prompt, switch to the following folder:
    Drive:\Program Files\Common Files\Microsoft Shared\web server extensions\60\BIN
  12. At the command prompt, type the following line, and then press ENTER:
    stsadm.exe -o addtemplate -f TemplateFileName.stp -t TemplateTitle
  13. Restart IIS. To do this, click Start, click Run, type iisreset in the Open box, and then click OK.
  14. In Project Web Access 2003, click Admin.
  15. Under Actions in the left pane, click Manage Windows SharePoint Services, and then click Site provisioning settings under Options in the left pane.
  16. 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.
  17. Create a new site.
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.

Properties

Article ID: 884454 - Last Review: July 27, 2006 - Revision: 1.4
APPLIES TO
  • Microsoft Office Project Server 2003
  • Microsoft Office Project Web Access
Keywords: 
kbconfig kberrmsg kbtshoot kbprb KB884454

Give Feedback

 

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com