Microsoft KB Archive/861319

= You receive an &quot;XML Parser Error: XML document must have a top level element&quot; error message when you try to assign a record with 20–50 child records or you try to share a record with more than 20-50 users at one time in Microsoft CRM =

Article ID: 861319

Article Last Modified on 9/7/2006

-

APPLIES TO

 Microsoft Business Solutions CRM Sales Microsoft Business Solutions CRM Customer Service, when used with:  Microsoft CRM 1.2

 Microsoft Business Solutions CRM 1.0  Microsoft CRM 1.2 Microsoft Business Solutions CRM 1.0</li></ul>

-

<div class="summary_section">

Error &quot;XML Parser Error: XML Document Must Have a Top Level Element&quot; occurs in Microsoft Business Solutions - CRM (861319).

<div class="symptoms_section">

Symptoms
When you try to share a record with more than 20-50 users or you try to assign a record with 20-50 child records at the same time in Microsoft CRM, you receive the following error messages:

XML Parser Error: XML document must have a top level element.

An error has occurred in the script on this page, do you want to continue running scripts on this page?

<div class="cause_section">

Cause
When you share a record with approximately 20-50 users at the same time, Microsoft CRM times out and cannot complete the request. When you copy a security role with large or complex business unit hierarchies, the Microsoft CRM application times out and cannot complete the request.

<div class="resolution_section">

Resolution 1
If you anticipate sharing records with more than 20 people at the same time, we recommend that you create teams to use for sharing. To do this, follow these steps:
 * 1) Click Settings, click Business Units and Settings, click Teams, and then click Create a team to include all the users you want to share the record with.
 * 2) Go into the record and share that record with your newly created team.

Resolution 2
You can also extend the length of the time-out on the Microsoft CRM server by following these steps:
 * 1) On the Microsoft CRM server, locate  /WINNT%\Microsoft.Net\Framework\v1.0.3705\Config.

Note For Microsoft Windows Server 2003, the WINNT% folder will be titled WINDOWS.

Note For The .NET Framework 1.1, the v1.0.3705 folder will be titled v1.1.4322.
 * 1) Right-click the Machine.config file, and then click Open With. Click Notepad, and then click OK.
 * 2) Search by using executionTimeout=&quot;90&quot;, and then change the default value of 90 to 1200.
 * 3) Search by using responseDeadlockInterval=&quot;00:03:00&quot;, and then change the default value of 00:03:00 to 00:20:00
 * 4) Save your changes, and then close the Machine.config file.

<div class="moreinformation_section">

More information
For additional information about copying security roles, click the following article number to view the article in the Microsoft Knowledge Base:

835292 Copying a role does not work in Microsoft Business Solutions CRM version 1.2

This article was TechKnowledge Document ID: 32673

Keywords: kbmbsmigrate KB861319

-

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

© Microsoft Corporation. All rights reserved.