Sign in with Microsoft
Sign in or create an account.
Hello,
Select a different account.
You have multiple accounts
Choose the account you want to sign in with.

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

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?

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.

Resolutions

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 System Drive/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.

  2. Right-click the Machine.config file, and then click Open With. Click Notepad, and then click OK.

  3. Search by using executionTimeout="90", and then change the default value of 90 to 1200.

  4. Search by using responseDeadlockInterval="00:03:00", and then change the default value of 00:03:00 to 00:20:00

  5. Save your changes, and then close the Machine.config file.

More information

This article was TechKnowledge Document ID:32673

Need more help?

Want more options?

Explore subscription benefits, browse training courses, learn how to secure your device, and more.

Communities help you ask and answer questions, give feedback, and hear from experts with rich knowledge.

Was this information helpful?

What affected your experience?
By pressing submit, your feedback will be used to improve Microsoft products and services. Your IT admin will be able to collect this data. Privacy Statement.

Thank you for your feedback!

×