none
SQL Server 2012 Error 0x84B10001 Error generating XML Document

    Question

  • So i have been trying to install SQL Server 2012 Express edition But it give me an error code 0x84B10001 Error generating XML Document, This error pops up as it starts the process "ConfigEvent_SQL_WRITER_sqlwriter_Cpu64_Install_GetDefaultConfig_validation"  a few seconds into installation.

    Going through many forums i haven't found anything that helped me solve this, 

    Having Gone through numerous forums to try and solve this, i saw that a lot of people refereed to the to the summary log file to find the exact issue. 

    Below is the Summary for the latest log file. 

    I Hope this is enough information.

    Overall summary:
      Final result:                  Failed: see details below
      Exit code (Decimal):           -2068774911
      Exit facility code:            1201
      Exit error code:               1
      Exit message:                  There was an error generating the XML document.
      Start time:                    2017-04-25 08:00:21
      End time:                      2017-04-25 08:04:14
      Requested action:              Install
      Exception help link:           http://go.microsoft.com/fwlink?LinkId=20476&ProdName=Microsoft+SQL+Server&EvtSrc=setup.rll&EvtID=50000&ProdVer=11.0.3128.0&EvtType=0xE0C083E6%400xB2215DAC&EvtType=0xE0C083E6%400xB2215DAC

    Setup completed with required actions for features.
    Troubleshooting information for those features:
      Next step for SQLEngine:       SQL Server Setup was canceled before completing the operation. Try the setup process again.
      Next step for Replication:     SQL Server Setup was canceled before completing the operation. Try the setup process again.
      Next step for SNAC:            SQL Server Setup was canceled before completing the operation. Try the setup process again.
      Next step for SNAC_SDK:        SQL Server Setup was canceled before completing the operation. Try the setup process again.
      Next step for Writer:          SQL Server Setup was canceled before completing the operation. Try the setup process again.
      Next step for Browser:         SQL Server Setup was canceled before completing the operation. Try the setup process again.


    Machine Properties:
      Machine name:                  DESKTOP-RAKCKMR
      Machine processor count:       8
      OS version:                    Future Windows Version
      OS service pack:               
      OS region:                     United States
      OS language:                   English (United Kingdom)
      OS architecture:               x64
      Process architecture:          64 Bit
      OS clustered:                  No

    Product features discovered:
      Product              Instance             Instance ID                    Feature                                  Language             Edition              Version         Clustered 

    Package properties:
      Description:                   Microsoft SQL Server 2012 Service Pack 1
      ProductName:                   SQL Server 2012
      Type:                          RTM
      Version:                       11
      SPLevel:                       0
      Installation location:         c:\cadbbb88a0c1ab687c313e\x64\setup\
      Installation edition:          Express

    Product Update Status:
      None discovered.

    User Input Settings:
      ACTION:                        Install
      ADDCURRENTUSERASSQLADMIN:      true
      AGTSVCACCOUNT:                 NT AUTHORITY\NETWORK SERVICE
      AGTSVCPASSWORD:                *****
      AGTSVCSTARTUPTYPE:             Disabled
      ASBACKUPDIR:                   Backup
      ASCOLLATION:                   Latin1_General_CI_AS
      ASCONFIGDIR:                   Config
      ASDATADIR:                     Data
      ASLOGDIR:                      Log
      ASPROVIDERMSOLAP:              1
      ASSERVERMODE:                  MULTIDIMENSIONAL
      ASSVCACCOUNT:                  <empty>
      ASSVCPASSWORD:                 <empty>
      ASSVCSTARTUPTYPE:              Automatic
      ASSYSADMINACCOUNTS:            <empty>
      ASTEMPDIR:                     Temp
      BROWSERSVCSTARTUPTYPE:         Automatic
      CLTCTLRNAME:                   <empty>
      CLTRESULTDIR:                  <empty>
      CLTSTARTUPTYPE:                0
      CLTSVCACCOUNT:                 <empty>
      CLTSVCPASSWORD:                <empty>
      CLTWORKINGDIR:                 <empty>
      COMMFABRICENCRYPTION:          0
      COMMFABRICNETWORKLEVEL:        0
      COMMFABRICPORT:                0
      CONFIGURATIONFILE:             
      CTLRSTARTUPTYPE:               0
      CTLRSVCACCOUNT:                <empty>
      CTLRSVCPASSWORD:               <empty>
      CTLRUSERS:                     <empty>
      ENABLERANU:                    true
      ENU:                           true
      ERRORREPORTING:                false
      FEATURES:                      SQLENGINE, REPLICATION, SNAC_SDK
      FILESTREAMLEVEL:               0
      FILESTREAMSHARENAME:           <empty>
      FTSVCACCOUNT:                  <empty>
      FTSVCPASSWORD:                 <empty>
      HELP:                          false
      IACCEPTSQLSERVERLICENSETERMS:  true
      INDICATEPROGRESS:              false
      INSTALLSHAREDDIR:              C:\Program Files\Microsoft SQL Server\
      INSTALLSHAREDWOWDIR:           C:\Program Files (x86)\Microsoft SQL Server\
      INSTALLSQLDATADIR:             <empty>
      INSTANCEDIR:                   C:\Program Files\Microsoft SQL Server\
      INSTANCEID:                    SHIPWEIGHT
      INSTANCENAME:                  SHIPWEIGHT
      ISSVCACCOUNT:                  NT AUTHORITY\Network Service
      ISSVCPASSWORD:                 <empty>
      ISSVCSTARTUPTYPE:              Automatic
      MATRIXCMBRICKCOMMPORT:         0
      MATRIXCMSERVERNAME:            <empty>
      MATRIXNAME:                    <empty>
      NPENABLED:                     0
      PID:                           *****
      QUIET:                         false
      QUIETSIMPLE:                   false
      ROLE:                          AllFeatures_WithDefaults
      RSINSTALLMODE:                 DefaultNativeMode
      RSSHPINSTALLMODE:              DefaultSharePointMode
      RSSVCACCOUNT:                  <empty>
      RSSVCPASSWORD:                 <empty>
      RSSVCSTARTUPTYPE:              Automatic
      SAPWD:                         <empty>
      SECURITYMODE:                  <empty>
      SQLBACKUPDIR:                  <empty>
      SQLCOLLATION:                  Latin1_General_CI_AS
      SQLSVCACCOUNT:                 NT Service\MSSQL$SHIPWEIGHT
      SQLSVCPASSWORD:                <empty>
      SQLSVCSTARTUPTYPE:             Automatic
      SQLSYSADMINACCOUNTS:           SIGMA\joshua
      SQLTEMPDBDIR:                  <empty>
      SQLTEMPDBLOGDIR:               <empty>
      SQLUSERDBDIR:                  <empty>
      SQLUSERDBLOGDIR:               <empty>
      SQMREPORTING:                  false
      TCPENABLED:                    0
      UIMODE:                        AutoAdvance
      UpdateEnabled:                 true
      UpdateSource:                  MU
      X86:                           false

      Configuration file:            C:\Program Files\Microsoft SQL Server\110\Setup Bootstrap\Log\20170425_075926\ConfigurationFile.ini

    Detailed results:
      Feature:                       Database Engine Services
      Status:                        Failed: see logs for details
      Reason for failure:            Setup was canceled for the feature.
      Next Step:                     SQL Server Setup was canceled before completing the operation. Try the setup process again.

      Feature:                       SQL Server Replication
      Status:                        Failed: see logs for details
      Reason for failure:            Setup was canceled for the feature.
      Next Step:                     SQL Server Setup was canceled before completing the operation. Try the setup process again.

      Feature:                       SQL Client Connectivity
      Status:                        Failed: see logs for details
      Reason for failure:            Setup was canceled for the feature.
      Next Step:                     SQL Server Setup was canceled before completing the operation. Try the setup process again.

      Feature:                       SQL Client Connectivity SDK
      Status:                        Failed: see logs for details
      Reason for failure:            Setup was canceled for the feature.
      Next Step:                     SQL Server Setup was canceled before completing the operation. Try the setup process again.

      Feature:                       SQL Writer
      Status:                        Failed: see logs for details
      Reason for failure:            Setup was canceled for the feature.
      Next Step:                     SQL Server Setup was canceled before completing the operation. Try the setup process again.

      Feature:                       SQL Browser
      Status:                        Failed: see logs for details
      Reason for failure:            Setup was canceled for the feature.
      Next Step:                     SQL Server Setup was canceled before completing the operation. Try the setup process again.

    Rules with failures:

    Global rules:

    Scenario specific rules:

    Rules report file:               C:\Program Files\Microsoft SQL Server\110\Setup Bootstrap\Log\20170425_075926\SystemConfigurationCheck_Report.htm

    Exception summary:
    The following is an exception stack listing the exceptions in outermost to innermost order
    Inner exceptions are being indented

    Exception type: Microsoft.SqlServer.Chainer.Infrastructure.ChainerInfrastructureException
        Message: 
            There was an error generating the XML document.
        HResult : 0x84b10001
            FacilityCode : 1201 (4b1)
            ErrorCode : 1 (0001)
        Data: 
          HelpLink.EvtType = 0xE0C083E6@0xB2215DAC
          DisableWatson = true
        Stack: 
            at Microsoft.SqlServer.Chainer.Infrastructure.DataStoreService.SerializeObject(String rootPath, Object objectToSerialize, Boolean saveToCache)
            at Microsoft.SqlServer.Chainer.Infrastructure.DataStoreService.FlushCache(Boolean removeAllCachedObj)
            at Microsoft.SqlServer.Configuration.SetupExtension.DatastoreCacheFeatureConfigEventHandler.InConfigurationActionExecutionEventHandler(Object sender, FeatureConfigScenarioEventArgs eventArgs)
            at Microsoft.SqlServer.Chainer.Infrastructure.NotificationHandler.Invoke(Object notification, Object[] objectArray)
            at Microsoft.SqlServer.Configuration.ConfigExtension.ConfigFeatureActionListener.InConfigurationActionExecutionEventHandler(ActionKey key, TextWriter loggingStream)
            at Microsoft.SqlServer.Setup.Chainer.Workflow.ActionMetadata.NotifyInExecution(ActionKey actionRunning, TextWriter loggingStream)
            at Microsoft.SqlServer.Setup.Chainer.Workflow.ActionInvocation.InvokeAction(WorkflowObject metabase, TextWriter statusStream)
            at Microsoft.SqlServer.Setup.Chainer.Workflow.PendingActions.InvokeActions(WorkflowObject metaDb, TextWriter loggingStream)
            at Microsoft.SqlServer.Setup.Chainer.Workflow.ActionEngine.RunActionQueue()
            at Microsoft.SqlServer.Chainer.TimingConfigAction.Execute(String actionId, TextWriter errorStream)
            at Microsoft.SqlServer.Setup.Chainer.Workflow.ActionInvocation.ExecuteActionHelper(TextWriter statusStream, ISequencedAction actionToRun, ServiceContainer context)
        Inner exception type: System.InvalidOperationException
            Message: 
                    There was an error generating the XML document.
            HResult : 0x80131509
            Stack: 
                    at System.Xml.Serialization.XmlSerializer.Serialize(XmlWriter xmlWriter, Object o, XmlSerializerNamespaces namespaces, String encodingStyle, String id)
                    at System.Xml.Serialization.XmlSerializer.Serialize(TextWriter textWriter, Object o)
                    at Microsoft.SqlServer.Chainer.Infrastructure.DataStoreService.SerializeObject(String rootPath, Object objectToSerialize, Boolean saveToCache)
            Inner exception type: System.Security.Cryptography.CryptographicException
                Message: 
                            The requested operation cannot be completed. The computer must be trusted for delegation and the current user account must be configured to allow delegation.
                            
                HResult : 0x80090345
                Stack: 
                            at System.Security.Cryptography.ProtectedData.Protect(Byte[] userData, Byte[] optionalEntropy, DataProtectionScope scope)
                            at Microsoft.SqlServer.Common.SqlSecureString.WriteXml(XmlWriter writer)
                            at System.Xml.Serialization.XmlSerializationWriter.WriteSerializable(IXmlSerializable serializable, String name, String ns, Boolean isNullable, Boolean wrapped)
                            at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationWriterAgentConfigurationPublic.Write6_AgentConfigurationPublic(String n, String ns, AgentConfigurationPublic o, Boolean isNullable, Boolean needType)
                            at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationWriterAgentConfigurationPublic.Write7_AgentConfigurationPublic(Object o)

    Tuesday, April 25, 2017 6:33 AM

All replies

  • I see an inner exception of The requested operation cannot be completed. The computer must be trusted for delegation and the current user account must be configured to allow delegation.

    Not that I can make out that much of it, but it points in a different direction than the XML error, which may be something that happens after this inner error.

    Tuesday, April 25, 2017 9:59 PM
  • Did you ever get this solved. I'm running into the same issue.

    George Perkins

    Thursday, August 2, 2018 7:38 PM