locked
Intermittent Installation error with Microsoft SQL Server 2008 R2 RTM - Express RRS feed

  • Question

  • Hi All,

               I am seeing intermittent installation errors with Microsoft SQL Server 2008 R2 RTM - Express on Win 2008 R2 x64 Virtual machine. Since this is a virtual machine i ofter revert it to previous state and redo the SQL installation. Most of the time it succeeds but sometimes the installation fails. Last two failures were at the same location ie. 2011-09-22 09:02:49 Slp: Running Action: CloseUI. The contents of the Detail_ComponentUpdate.txt are as below. Does anyone know what this error means?

    -----------------

    2011-09-22 09:02:49 Slp: Running Action: RebootMessageAction
    2011-09-22 09:02:49 Slp: Completed Action: RebootMessageAction, returned True
    2011-09-22 09:02:49 Slp: ----------------------------------------------------------------------
    2011-09-22 09:02:49 Slp: Skipping Action: FinishPage
    2011-09-22 09:02:49 Slp: Action is being skipped due to the following restrictions:
    2011-09-22 09:02:49 Slp: Condition "Is the user's scenario set to EditionUpgrade" did not pass as it returned false and true was expected.
    2011-09-22 09:02:49 Slp: ----------------------------------------------------------------------
    2011-09-22 09:02:49 Slp: Skipping property RequireMode of class: StopAction
    2011-09-22 09:02:49 Slp: Input of property will not be set due to the following failed restriction(s):
    2011-09-22 09:02:49 Slp: Condition "Is the user's scenario set to ComponentUpdate" did not pass as it returned true and false was expected.
    2011-09-22 09:02:49 Slp: ----------------------------------------------------------------------
    2011-09-22 09:02:49 Slp: Running Action: CloseUI
    2011-09-22 09:02:49 Slp: Stop Action
    2011-09-22 09:02:49 Slp: Error: Action "Microsoft.SqlServer.Configuration.UIExtension.StopAction" threw an exception during execution.
    2011-09-22 09:02:49 Slp: Microsoft.SqlServer.Setup.Chainer.Workflow.ActionExecutionException: Invoke or BeginInvoke cannot be called on a control until the window handle has been created. ---> System.InvalidOperationException: Invoke or BeginInvoke cannot be called on a control until the window handle has been created.
    2011-09-22 09:02:49 Slp:    at System.Windows.Forms.Control.WaitForWaitHandle(WaitHandle waitHandle)
    2011-09-22 09:02:49 Slp:    at System.Windows.Forms.Control.MarshaledInvoke(Control caller, Delegate method, Object[] args, Boolean synchronous)
    2011-09-22 09:02:49 Slp:    at System.Windows.Forms.Control.Invoke(Delegate method, Object[] args)
    2011-09-22 09:02:49 Slp:    at System.Windows.Forms.Control.Invoke(Delegate method)
    2011-09-22 09:02:49 Slp:    at Microsoft.SqlServer.Configuration.UIExtension.UserInterfaceScheduler.Dispose(Boolean disposing)
    2011-09-22 09:02:49 Slp:    at Microsoft.SqlServer.Configuration.UIExtension.Scheduler.System.IDisposable.Dispose()
    2011-09-22 09:02:49 Slp:    at Microsoft.SqlServer.Configuration.UIExtension.UserInterfaceProxy.Stop()
    2011-09-22 09:02:49 Slp:    at Microsoft.SqlServer.Configuration.UIExtension.UserInterfaceService.Stop()
    2011-09-22 09:02:49 Slp:    at Microsoft.SqlServer.Configuration.UIExtension.StopAction.ExecuteAction(String actionId)
    2011-09-22 09:02:49 Slp:    at Microsoft.SqlServer.Chainer.Infrastructure.Action.Execute(String actionId, TextWriter errorStream)
    2011-09-22 09:02:49 Slp:    at Microsoft.SqlServer.Setup.Chainer.Workflow.ActionInvocation.ExecuteActionHelper(TextWriter statusStream, ISequencedAction actionToRun)
    2011-09-22 09:02:49 Slp:    --- End of inner exception stack trace ---
    2011-09-22 09:02:49 Slp:    at Microsoft.SqlServer.Setup.Chainer.Workflow.ActionInvocation.ExecuteActionHelper(TextWriter statusStream, ISequencedAction actionToRun)
    2011-09-22 09:02:49 Slp:    at Microsoft.SqlServer.Setup.Chainer.Workflow.ActionInvocation.ExecuteActionWithRetryHelper(WorkflowObject metaDb, ActionKey action, ActionMetadata actionMetadata, TextWriter statusStream)
    2011-09-22 09:02:49 Slp:    at Microsoft.SqlServer.Setup.Chainer.Workflow.ActionInvocation.InvokeAction(WorkflowObject metabase, TextWriter statusStream)
    2011-09-22 09:02:49 Slp:    at Microsoft.SqlServer.Setup.Chainer.Workflow.PendingActions.InvokeActions(WorkflowObject metaDb, TextWriter loggingStream)
    2011-09-22 09:02:49 Slp:    at Microsoft.SqlServer.Setup.Chainer.Workflow.ActionEngine.RunActionQueue()
    2011-09-22 09:02:49 Slp: Error: Action "Microsoft.SqlServer.Configuration.BootstrapExtension.ExecuteWorkflowAction" threw an exception during execution.
    2011-09-22 09:02:49 Slp: Microsoft.SqlServer.Setup.Chainer.Workflow.ActionExecutionException: Invoke or BeginInvoke cannot be called on a control until the window handle has been created. ---> System.InvalidOperationException: Invoke or BeginInvoke cannot be called on a control until the window handle has been created.
    2011-09-22 09:02:49 Slp:    at System.Windows.Forms.Control.WaitForWaitHandle(WaitHandle waitHandle)
    2011-09-22 09:02:49 Slp:    at System.Windows.Forms.Control.MarshaledInvoke(Control caller, Delegate method, Object[] args, Boolean synchronous)
    2011-09-22 09:02:49 Slp:    at System.Windows.Forms.Control.Invoke(Delegate method, Object[] args)
    2011-09-22 09:02:49 Slp:    at System.Windows.Forms.Control.Invoke(Delegate method)
    2011-09-22 09:02:49 Slp:    at Microsoft.SqlServer.Configuration.UIExtension.UserInterfaceScheduler.Dispose(Boolean disposing)
    2011-09-22 09:02:49 Slp:    at Microsoft.SqlServer.Configuration.UIExtension.Scheduler.System.IDisposable.Dispose()
    2011-09-22 09:02:49 Slp:    at Microsoft.SqlServer.Configuration.UIExtension.UserInterfaceProxy.Stop()
    2011-09-22 09:02:49 Slp:    at Microsoft.SqlServer.Configuration.UIExtension.UserInterfaceService.Stop()
    2011-09-22 09:02:49 Slp:    at Microsoft.SqlServer.Configuration.UIExtension.StopAction.ExecuteAction(String actionId)
    2011-09-22 09:02:49 Slp:    at Microsoft.SqlServer.Chainer.Infrastructure.Action.Execute(String actionId, TextWriter errorStream)
    2011-09-22 09:02:49 Slp:    at Microsoft.SqlServer.Setup.Chainer.Workflow.ActionInvocation.ExecuteActionHelper(TextWriter statusStream, ISequencedAction actionToRun)
    2011-09-22 09:02:49 Slp:    --- End of inner exception stack trace ---
    2011-09-22 09:02:49 Slp:    at Microsoft.SqlServer.Setup.Chainer.Workflow.ActionInvocation.ExecuteActionHelper(TextWriter statusStream, ISequencedAction actionToRun)
    2011-09-22 09:02:49 Slp:    at Microsoft.SqlServer.Setup.Chainer.Workflow.ActionInvocation.ExecuteActionWithRetryHelper(WorkflowObject metaDb, ActionKey action, ActionMetadata actionMetadata, TextWriter statusStream)
    2011-09-22 09:02:49 Slp:    at Microsoft.SqlServer.Setup.Chainer.Workflow.ActionInvocation.InvokeAction(WorkflowObject metabase, TextWriter statusStream)
    2011-09-22 09:02:49 Slp:    at Microsoft.SqlServer.Setup.Chainer.Workflow.PendingActions.InvokeActions(WorkflowObject metaDb, TextWriter loggingStream)
    2011-09-22 09:02:49 Slp:    at Microsoft.SqlServer.Setup.Chainer.Workflow.ActionEngine.RunActionQueue()
    2011-09-22 09:02:49 Slp:    at Microsoft.SqlServer.Setup.Chainer.Workflow.Workflow.RunWorkflow(WorkflowObject workflowObject, HandleInternalException exceptionHandler)
    2011-09-22 09:02:49 Slp:    at Microsoft.SqlServer.Configuration.BootstrapExtension.ExecuteWorkflowAction.ExecuteAction(String actionId)
    2011-09-22 09:02:49 Slp:    at Microsoft.SqlServer.Chainer.Infrastructure.Action.Execute(String actionId, TextWriter errorStream)
    2011-09-22 09:02:49 Slp:    at Microsoft.SqlServer.Setup.Chainer.Workflow.ActionInvocation.ExecuteActionHelper(TextWriter statusStream, ISequencedAction actionToRun)
    2011-09-22 09:02:49 Slp:    at Microsoft.SqlServer.Setup.Chainer.Workflow.ActionInvocation.ExecuteActionWithRetryHelper(WorkflowObject metaDb, ActionKey action, ActionMetadata actionMetadata, TextWriter statusStream)
    2011-09-22 09:02:49 Slp:    at Microsoft.SqlServer.Setup.Chainer.Workflow.ActionInvocation.InvokeAction(WorkflowObject metabase, TextWriter statusStream)
    2011-09-22 09:02:49 Slp:    at Microsoft.SqlServer.Setup.Chainer.Workflow.PendingActions.InvokeActions(WorkflowObject metaDb, TextWriter loggingStream)
    2011-09-22 09:02:52 Slp: Received request to add the following file to Watson reporting: C:\Users\admin1\AppData\Local\Temp\tmpCDB3.tmp
    2011-09-22 09:02:52 Slp: The following is an exception stack listing the exceptions in outermost to innermost order
    2011-09-22 09:02:52 Slp: Inner exceptions are being indented
    2011-09-22 09:02:52 Slp:
    2011-09-22 09:02:52 Slp: Exception type: System.InvalidOperationException
    2011-09-22 09:02:52 Slp:     Message:
    2011-09-22 09:02:52 Slp:         Invoke or BeginInvoke cannot be called on a control until the window handle has been created.
    2011-09-22 09:02:52 Slp:     Stack:
    2011-09-22 09:02:52 Slp:         at System.Windows.Forms.Control.WaitForWaitHandle(WaitHandle waitHandle)
    2011-09-22 09:02:52 Slp:         at System.Windows.Forms.Control.MarshaledInvoke(Control caller, Delegate method, Object[] args, Boolean synchronous)
    2011-09-22 09:02:52 Slp:         at System.Windows.Forms.Control.Invoke(Delegate method, Object[] args)
    2011-09-22 09:02:52 Slp:         at System.Windows.Forms.Control.Invoke(Delegate method)
    2011-09-22 09:02:52 Slp:         at Microsoft.SqlServer.Configuration.UIExtension.UserInterfaceScheduler.Dispose(Boolean disposing)
    2011-09-22 09:02:52 Slp:         at Microsoft.SqlServer.Configuration.UIExtension.Scheduler.System.IDisposable.Dispose()
    2011-09-22 09:02:52 Slp:         at Microsoft.SqlServer.Configuration.UIExtension.UserInterfaceProxy.Stop()
    2011-09-22 09:02:52 Slp:         at Microsoft.SqlServer.Configuration.UIExtension.UserInterfaceService.Stop()
    2011-09-22 09:02:52 Slp:         at Microsoft.SqlServer.Configuration.UIExtension.StopAction.ExecuteAction(String actionId)
    2011-09-22 09:02:52 Slp:         at Microsoft.SqlServer.Chainer.Infrastructure.Action.Execute(String actionId, TextWriter errorStream)
    2011-09-22 09:02:52 Slp:         at Microsoft.SqlServer.Setup.Chainer.Workflow.ActionInvocation.ExecuteActionHelper(TextWriter statusStream, ISequencedAction actionToRun)
    2011-09-22 09:02:52 Slp: Watson Bucket 1
     Original Parameter Values

    2011-09-22 09:02:52 Slp: Parameter 0 : SQL Server 2008 R2@RTM@

    2011-09-22 09:02:52 Slp: Parameter 1 : System.Windows.Forms.Control.WaitForWaitHandle

    2011-09-22 09:02:52 Slp: Parameter 2 : System.Windows.Forms.Control.WaitForWaitHandle

    2011-09-22 09:02:52 Slp: Parameter 3 : System.InvalidOperationException@-2146233079

    2011-09-22 09:02:52 Slp: Parameter 4 : System.InvalidOperationException@-2146233079

    2011-09-22 09:02:52 Slp: Parameter 5 : CloseUI

    2011-09-22 09:02:52 Slp:
     Final Parameter Values

    2011-09-22 09:02:52 Slp: Parameter 0 : SQL Server 2008 R2@RTM@

    2011-09-22 09:02:52 Slp: Parameter 1 : 0xB23BAB0D

    2011-09-22 09:02:52 Slp: Parameter 2 : 0xB23BAB0D

    2011-09-22 09:02:52 Slp: Parameter 3 : 0xEE30244D

    2011-09-22 09:02:52 Slp: Parameter 4 : 0xEE30244D

    2011-09-22 09:02:52 Slp: Parameter 5 : CloseUI

    2011-09-22 09:02:52 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\20110922_090146\Registry_SOFTWARE_Microsoft_Microsoft SQL Server.reg_
    2011-09-22 09:02:52 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\20110922_090146\Registry_SOFTWARE_Microsoft_Windows_CurrentVersion_Uninstall.reg_
    2011-09-22 09:02:52 Slp: Sco: Attempting to write hklm registry key SOFTWARE\Microsoft\MSSQLServer to file C:\Program Files (x86)\Microsoft SQL Server\100\Setup Bootstrap\Log\20110922_090146\Registry_SOFTWARE_Microsoft_MSSQLServer.reg_
    2011-09-22 09:02:52 Slp: Sco: Unable to write hklm registry key SOFTWARE\Microsoft\MSSQLServer to file C:\Program Files (x86)\Microsoft SQL Server\100\Setup Bootstrap\Log\20110922_090146\Registry_SOFTWARE_Microsoft_MSSQLServer.reg_, Win32 error 2
    2011-09-22 09:02:52 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\20110922_090146\Registry_SOFTWARE_Wow6432Node_Microsoft_Microsoft SQL Server.reg_
    2011-09-22 09:02:52 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\20110922_090146\Registry_SOFTWARE_Wow6432Node_Microsoft_Windows_CurrentVersion_Uninstall.reg_
    2011-09-22 09:02:52 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\20110922_090146\Registry_SOFTWARE_Wow6432Node_Microsoft_MSSQLServer.reg_
    2011-09-22 09:02:52 Slp: Sco: Unable to write hklm registry key SOFTWARE\Wow6432Node\Microsoft\MSSQLServer to file C:\Program Files (x86)\Microsoft SQL Server\100\Setup Bootstrap\Log\20110922_090146\Registry_SOFTWARE_Wow6432Node_Microsoft_MSSQLServer.reg_, Win32 error 2
    2011-09-22 09:02:53 Slp: Invoke or BeginInvoke cannot be called on a control until the window handle has been created.
    2011-09-22 09:02:53 Slp: Watson bucket for exception based failure has been created
    2011-09-22 09:02:53 Slp: Sco: Attempting to create base registry key HKEY_LOCAL_MACHINE, machine
    2011-09-22 09:02:53 Slp: Sco: Attempting to open registry subkey
    2011-09-22 09:02:53 Slp: Sco: Attempting to open registry subkey Software\Microsoft\PCHealth\ErrorReporting\DW\Installed
    2011-09-22 09:02:53 Slp: Sco: Attempting to get registry value DW0201
    2011-09-22 09:02:53 Slp:
    2011-09-22 09:02:53 Slp: ----------------------------------------------------------------------
    2011-09-22 09:02:53 Slp:
    2011-09-22 09:02:53 Slp: Error result: -289740454
    2011-09-22 09:02:53 Slp: Result facility code: 1722
    2011-09-22 09:02:53 Slp: Result error code: 59738

    -----------------


    Thanks,

    Vijay

    Thursday, September 22, 2011 8:23 PM

Answers

  • Hi vijay,

    Is there any Explorer opened while the installation? If so, you can try to close all Explorers before installation.

    Additionally, you can try to create a temporary folder for the setup file and right click the setup file , chose the option 'Run as administrator' to work around this error. For more information, please have a look at the following blog with the replies(particular for the first) elaborated on this issue:
    Invoke or BeginInvoke cannot be called on a control until the window handle has been created.


    Best Regards,
    Stephanie Lv

    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com.


    • Edited by Stephanie Lv Friday, September 23, 2011 7:08 AM
    • Marked as answer by Stephanie Lv Thursday, September 29, 2011 12:11 PM
    Friday, September 23, 2011 7:06 AM