SQL Server 2008 Service Pack 1 and the Invoke or BeginInvoke cannot be called error message
When trying to install SQL Server 2008 Service Pack 1 to a SQL Server 2008 instance that is running on a virtual machine, the installer will start:
But then after about 20 seconds I receive the following error message:
TITLE: SQL Server Setup failure.
-----------------------------
SQL Server Setup has encountered the following error:
Invoke or BeginInvoke cannot be called on a control until the window handle has been created.
------------------------------
BUTTONS:
OK
------------------------------
Searching for this issue I found that several people have the same problem and there is no clear solution. Some had success with closing windows or Internet Explorer but that didn’t work for me; what did work is to make sure the SQL Server 2008 “Please wait while SQL Server 2008 Setup processes the current operation.” dialog is selected and has the focus when it first shows up. Selected (with the current focus) it looks like this:
Without focus the dialog looks like this:
Add a comment if you find out any information about how to consistently get around this issue or why it is happening in the first place.