none
sql server 2008 卸载后装不上,XML文档生成失败,求救啊!! RRS feed

  • 问题

  • 注册表清理了好多,从开始支持文件都装不上到能进行正式安装,但是还没开始就提示XML文档生成失败,可能还是有遗漏、好艰难啊,不想重装系统,用了3年多了,求解救啊!以下是安装detail.txt开始出错的部分:

    2014-11-04 11:40:27 RS: 安装程序试图获取 SQL Server 实例,但无法加载 rsreportserver.config 文件,原因是 - Setup registry key missing。
    2014-11-04 11:40:27 Slp: Error: Action "GatherUserSettings" threw an exception during execution.
    2014-11-04 11:40:28 Slp: Microsoft.SqlServer.Setup.Chainer.Workflow.ActionExecutionException: Thread was being aborted. ---> System.Threading.ThreadAbortException: Thread was being aborted.
    2014-11-04 11:40:28 Slp:    at System.Threading.WaitHandle.WaitOneNative(SafeHandle waitableSafeHandle, UInt32 millisecondsTimeout, Boolean hasThreadAffinity, Boolean exitContext)
    2014-11-04 11:40:28 Slp:    at System.Threading.WaitHandle.InternalWaitOne(SafeHandle waitableSafeHandle, Int64 millisecondsTimeout, Boolean hasThreadAffinity, Boolean exitContext)
    2014-11-04 11:40:28 Slp:    at System.Threading.WaitHandle.WaitOne(Int32 millisecondsTimeout, Boolean exitContext)
    2014-11-04 11:40:28 Slp:    at System.Threading.WaitHandle.WaitOne()
    2014-11-04 11:40:28 Slp:    at Microsoft.SqlServer.Configuration.UIExtension.Request.Wait()
    2014-11-04 11:40:28 Slp:    at Microsoft.SqlServer.Configuration.UIExtension.UserInterfaceProxy.SubmitAndWait(Request request)
    2014-11-04 11:40:28 Slp:    at Microsoft.SqlServer.Configuration.UIExtension.UserInterfaceProxy.NavigateToWaypoint(String moniker)
    2014-11-04 11:40:28 Slp:    at Microsoft.SqlServer.Configuration.UIExtension.UserInterfaceService.Waypoint(String moniker)
    2014-11-04 11:40:28 Slp:    at Microsoft.SqlServer.Configuration.UIExtension.WaypointAction.ExecuteAction(String actionId)
    2014-11-04 11:40:28 Slp:    at Microsoft.SqlServer.Chainer.Infrastructure.Action.Execute(String actionId, TextWriter errorStream)
    2014-11-04 11:40:28 Slp:    at Microsoft.SqlServer.Setup.Chainer.Workflow.ActionInvocation.InvokeAction(WorkflowObject metabase, TextWriter statusStream)
    2014-11-04 11:40:28 Slp:    at Microsoft.SqlServer.Setup.Chainer.Workflow.PendingActions.InvokeActions(WorkflowObject metaDb, TextWriter loggingStream)
    2014-11-04 11:40:28 Slp:    --- End of inner exception stack trace ---
    2014-11-04 11:40:28 Slp:    at Microsoft.SqlServer.Setup.Chainer.Workflow.PendingActions.InvokeActions(WorkflowObject metaDb, TextWriter loggingStream)
    2014-11-04 11:40:28 Slp: Received request to add the following file to Watson reporting: C:\Users\Joy\AppData\Local\Temp\tmp9E22.tmp
    2014-11-04 11:40:28 Slp: The following is an exception stack listing the exceptions in outermost to innermost order
    2014-11-04 11:40:28 Slp: Inner exceptions are being indented
    2014-11-04 11:40:28 Slp: 
    2014-11-04 11:40:28 Slp: Exception type: Microsoft.SqlServer.Chainer.Infrastructure.ChainerInfrastructureException
    2014-11-04 11:40:28 Slp:     Message: 
    2014-11-04 11:40:28 Slp:         There was an error generating the XML document.
    2014-11-04 11:40:28 Slp:     Stack: 
    2014-11-04 11:40:28 Slp:         at Microsoft.SqlServer.Chainer.Infrastructure.DataStoreService.SerializeObject(String rootPath, Object objectToSerialize, Boolean saveToCache)
    2014-11-04 11:40:28 Slp:         at Microsoft.SqlServer.Chainer.Infrastructure.DataStoreService.FlushCache(Boolean removeAllCachedObj)
    2014-11-04 11:40:28 Slp:         at Microsoft.SqlServer.Configuration.InstallWizard.SummaryController.SaveData()
    2014-11-04 11:40:28 Slp:         at Microsoft.SqlServer.Configuration.InstallWizardFramework.InstallWizardPageHost.PageLeaving(PageChangeReason reason)
    2014-11-04 11:40:28 Slp:         at Microsoft.SqlServer.Configuration.WizardFramework.UIHost.set_SelectedPageIndex(Int32 value)
    2014-11-04 11:40:28 Slp:         at Microsoft.SqlServer.Configuration.WizardFramework.UIHost.GoNext()
    2014-11-04 11:40:28 Slp:         at Microsoft.SqlServer.Configuration.WizardFramework.NavigationButtons.nextButton_Click(Object sender, EventArgs e)
    2014-11-04 11:40:28 Slp:         at System.Windows.Forms.Control.OnClick(EventArgs e)
    2014-11-04 11:40:28 Slp:         at System.Windows.Forms.Button.OnClick(EventArgs e)
    2014-11-04 11:40:28 Slp:         at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
    2014-11-04 11:40:28 Slp:         at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
    2014-11-04 11:40:28 Slp:         at System.Windows.Forms.Control.WndProc(Message& m)
    2014-11-04 11:40:28 Slp:         at System.Windows.Forms.ButtonBase.WndProc(Message& m)
    2014-11-04 11:40:28 Slp:         at System.Windows.Forms.Button.WndProc(Message& m)
    2014-11-04 11:40:28 Slp:         at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
    2014-11-04 11:40:28 Slp:         at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
    2014-11-04 11:40:28 Slp:         at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
    2014-11-04 11:40:28 Slp:     Inner exception type: System.InvalidOperationException
    2014-11-04 11:40:28 Slp:         Message: 
    2014-11-04 11:40:28 Slp:                 There was an error generating the XML document.
    2014-11-04 11:40:28 Slp:         Stack: 
    2014-11-04 11:40:28 Slp:                 at System.Xml.Serialization.XmlSerializer.Serialize(XmlWriter xmlWriter, Object o, XmlSerializerNamespaces namespaces, String encodingStyle, String id)
    2014-11-04 11:40:28 Slp:                 at System.Xml.Serialization.XmlSerializer.Serialize(TextWriter textWriter, Object o, XmlSerializerNamespaces namespaces)
    2014-11-04 11:40:28 Slp:                 at Microsoft.SqlServer.Chainer.Infrastructure.DataStoreService.SerializeObject(String rootPath, Object objectToSerialize, Boolean saveToCache)
    2014-11-04 11:40:28 Slp:         Inner exception type: System.Security.Cryptography.CryptographicException
    2014-11-04 11:40:28 Slp:             Message: 
    2014-11-04 11:40:28 Slp:                         拒绝访问。
    2014-11-04 11:40:28 Slp:                         
    2014-11-04 11:40:28 Slp:             Stack: 
    2014-11-04 11:40:28 Slp:                         at System.Security.Cryptography.ProtectedData.Protect(Byte[] userData, Byte[] optionalEntropy, DataProtectionScope scope)
    2014-11-04 11:40:28 Slp:                         at Microsoft.SqlServer.Common.SqlSecureString.WriteXml(XmlWriter writer)
    2014-11-04 11:40:28 Slp:                         at System.Xml.Serialization.XmlSerializationWriter.WriteSerializable(IXmlSerializable serializable, String name, String ns, Boolean isNullable, Boolean wrapped)
    2014-11-04 11:40:28 Slp:                         at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationWriterSqlEngineSetupPublic.Write6_SqlEngineSetupPublic(String n, String ns, SqlEngineSetupPublic o, Boolean isNullable, Boolean needType)
    2014-11-04 11:40:28 Slp:                         at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationWriterSqlEngineSetupPublic.Write7_SqlEngineSetupPublic(Object o)
    2014-11-04 11:40:36 Slp: Watson Bucket 1 
     Original Parameter Values 

    2014-11-04 11:40:36 Slp: Parameter 0 : SQL2008@RTM@ 

    2014-11-04 11:40:36 Slp: Parameter 1 : Microsoft.SqlServer.Chainer.Infrastructure.DataStoreService.SerializeObject 

    2014-11-04 11:40:36 Slp: Parameter 2 : System.Security.Cryptography.ProtectedData.Protect 

    2014-11-04 11:40:36 Slp: Parameter 3 : Microsoft.SqlServer.Chainer.Infrastructure.ChainerInfrastructureException@1201@1 

    2014-11-04 11:40:36 Slp: Parameter 4 : System.Security.Cryptography.CryptographicException@-2147024891 

    2014-11-04 11:40:36 Slp: Parameter 5 : GatherUserSettings 

    2014-11-04 11:40:36 Slp: 
     Final Parameter Values 

    2014-11-04 11:40:36 Slp: Parameter 0 : SQL2008@RTM@ 

    2014-11-04 11:40:36 Slp: Parameter 1 : 0x9AEA69F2 

    2014-11-04 11:40:36 Slp: Parameter 2 : 0x965B1CDE 

    2014-11-04 11:40:36 Slp: Parameter 3 : 0xF45F6601@1201@1 

    2014-11-04 11:40:36 Slp: Parameter 4 : 0x7916EBE1 

    2014-11-04 11:40:36 Slp: Parameter 5 : GatherUserSettings 

    2014-11-04 11:40:48 Slp: Sco: Attempting to write hklm registry key SOFTWARE\Microsoft\Microsoft SQL Server to file C:\Program Files (x86)\Microsoft SQL Server\100\Setup Bootstrap\Log\20141104_113851\Registry_SOFTWARE_Microsoft_Microsoft SQL Server.reg_
    2014-11-04 11:40:48 Slp: Sco: Attempting to write hklm registry key SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall to file C:\Program Files (x86)\Microsoft SQL Server\100\Setup Bootstrap\Log\20141104_113851\Registry_SOFTWARE_Microsoft_Windows_CurrentVersion_Uninstall.reg_
    2014-11-04 11:40:48 Slp: Sco: Attempting to write hklm registry key SOFTWARE\Microsoft\MSSQLServer to file C:\Program Files (x86)\Microsoft SQL Server\100\Setup Bootstrap\Log\20141104_113851\Registry_SOFTWARE_Microsoft_MSSQLServer.reg_
    2014-11-04 11:40:48 Slp: Sco: Attempting to write hklm registry key SOFTWARE\Wow6432Node\Microsoft\Microsoft SQL Server to file C:\Program Files (x86)\Microsoft SQL Server\100\Setup Bootstrap\Log\20141104_113851\Registry_SOFTWARE_Wow6432Node_Microsoft_Microsoft SQL Server.reg_
    2014-11-04 11:40:48 Slp: Sco: Attempting to write hklm registry key SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall to file C:\Program Files (x86)\Microsoft SQL Server\100\Setup Bootstrap\Log\20141104_113851\Registry_SOFTWARE_Wow6432Node_Microsoft_Windows_CurrentVersion_Uninstall.reg_
    2014-11-04 11:40:48 Slp: Sco: Attempting to write hklm registry key SOFTWARE\Wow6432Node\Microsoft\MSSQLServer to file C:\Program Files (x86)\Microsoft SQL Server\100\Setup Bootstrap\Log\20141104_113851\Registry_SOFTWARE_Wow6432Node_Microsoft_MSSQLServer.reg_
    2014-11-04 11:40:50 Slp: There was an error generating the XML document.
    2014-11-04 11:40:50 Slp: Watson bucket for exception based failure has been created
    2014-11-04 11:40:50 Slp: Sco: Attempting to create base registry key HKEY_LOCAL_MACHINE, machine 
    2014-11-04 11:40:50 Slp: Sco: Attempting to open registry subkey 
    2014-11-04 11:40:50 Slp: Sco: Attempting to open registry subkey Software\Microsoft\PCHealth\ErrorReporting\DW\Installed
    2014-11-04 11:40:50 Slp: Sco: Attempting to get registry value DW0201
    2014-11-04 11:40:55 Slp: Submitted 1 of 1 failures to the Watson data repository
    2014-11-04 11:41:06 Slp: 
    2014-11-04 11:41:06 Slp: ----------------------------------------------------------------------
    2014-11-04 11:41:06 Slp: 
    2014-11-04 11:41:06 Slp: Error result: -2068774911
    2014-11-04 11:41:06 Slp: Result facility code: 1201
    2014-11-04 11:41:06 Slp: Result error code: 1

    2014年11月4日 8:46

全部回复