SQL

SQL 2014 Setup there was an error generating XML document

SQL 2014 Setup there was an error generating XML document

A couple of days ago, a fellow colleague was setting up a VM with SQL and then Microsoft Dynamics or that was the plan. ย The VM was relatively clean with only Windows updates installed, AV, and a couple of small footprint utilities. ย The VM was staged and then a snapshot created of the VM in a clean state before loading SQL and Microsoft Dynamics.

Upon installing Microsoft SQL server, he kept seeing the error in the setup Bootstrap log concerning two errors:

  • There was an error generating the XML document. Error code 0x84B10001
  • the computer must be trusted for delegation sql setup error

The Windows 2012 R2 server was joined to the domain and everything looked good. ย After receiving the error above, different versions of SQL were tried to rule out SQL 2014 – SQL 2008, 2012, etc. ย A quick Google and none of the issues that others had reported as possible causes for these errors in our case did not make sense. ย UAC was left enabled on the box. ย However, there was a unique set of circumstances with the environment this server was being built in. ย The infrastructure contained two Windows Domains. ย Users login to one domain and then servers, workstations are being joined to another domain.

The user that was getting the issue logging into the domain was using the User domain account which was part of local administrators to login to the box before running the SQL install. ย Also, the box had a snapshot restored on it AFTER it was joined to the domain, which all of us have seen monkey with a domain joined workstation when you rollback a snapshot due to Kerberos tickets, time, etc.

As it turns out we were dealing with a couple of different but coincidental issues. ย The first time my coworker ran the SQL install, he was logged in as his domain account and not the administrator account that the box was built with in the native machine domain. ย He received the errors mentioned above.

Then the server had the snapshot rolled back to a clean state. ย No matter which user tried the install, it still bombed with the above errors about delegation and XML document.

The resolution

In our case the resolution came in a two step approach. ย First, we rolled the snapshot back on the server to the clean point in time. ย Then we disjoined the domain and rejoined the domain to make sure everything was good from a machine account/domain perspective. ย Finally, we logged into the native machine domain as the administrator and ran the install and the install worked fine!

If you are seeing these errors above, be sure to check out your environment. ย Are there multiple domains? ย Are users and machine accounts in different domains? ย Has the server been rolled back to a previous snapshot if it is a virtual server? ย All of these factors can lead to the error messages i the Setup Bootstrap log above and cause the SQL installation to fail.

Subscribe to VirtualizationHowto via Email ๐Ÿ””

Enter your email address to subscribe to this blog and receive notifications of new posts by email.



Brandon Lee

Brandon Lee is the Senior Writer, Engineer and owner at Virtualizationhowto.com, and a 7-time VMware vExpert, with over two decades of experience in Information Technology. Having worked for numerous Fortune 500 companies as well as in various industries, He has extensive experience in various IT segments and is a strong advocate for open source technologies. Brandon holds many industry certifications, loves the outdoors and spending time with family. Also, he goes through the effort of testing and troubleshooting issues, so you don't have to.

Related Articles

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.