Tuesday, June 28, 2011

SQL Install Error: Invoke or BeginInvoke cannot be called on a control until the window handle has been created

Problem Description: While patching SQL server which could be Windows 2008 (any version) there are chances some of us will see the following error message other than very famous AXWIN....

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

Cause: Some underlying cause in the code. Many versions of SQL impacted in multiple condition. I will document what helped on Windows 2008 R2 SP1 while patching SQL 2008 that was earlier upgraded from SQL 2005 enterprise.

Solution: I googled this error message and came accross all kind of comments e.g. try again, certain hotfix links from Microsoft that were not applicable to x64 versions and so on. The easiest fix was to wait and try 3 times. I had to do this two times both times it worked in the third try. Once I were running using command promtp and second time just double click on the executable.

No comments: