Welcome to MSDN Blogs Sign in | Join | Help

Invoke or BeginInvoke cannot be called on a control until the window handle has been created.

We have been hearing that customers installing SQL Server 2008 and SQL Server 2008 August CTP are hitting the following error:

“Invoke or BeginInvoke cannot be called on a control until the window handle
has been created.”

This issue is occurring due to .NET behavior on Win7 change that is exposing a bug in how we close UI dialogs. Generally, if you just rerun it won't hit the issue again.

 

Fix information:

This issue will be addressed in SQL Server 2008 R2 and a future SQL Server 2008 CU.

Published Friday, August 14, 2009 8:20 PM by petersad
Filed under: ,

Comments

Tuesday, November 24, 2009 9:12 AM by PurpleD423

# re: Invoke or BeginInvoke cannot be called on a control until the window handle has been created.

I had this same error a number of times trying to install SQL Express 2008 x64 on a 2008 R2 64-bit server (VMWare) and I finally got it working doing the following:

Start the installation and when it gets to the point where the security window pops up asking you if you authorize the installation to run, open the temp folder.  C:\{GUID} and copy that folder (contains setup.exe and supporting files) to your desktop.  

Click "OK" on the security dialog and it will probably error.  

Once the error dialog goes away just run the setup.exe from the temporary directory on your desktop and it works.

Hope this helps someone else.

~Matt Heidenreich

Anonymous comments are disabled
 
Page view tracker