SQL Server 2008 Setup – "The handle is invalid"

I was trying to set up a VM for a proof of concept with an all 2008 stack (i.e. Windows 2008 Server, SQL Server 2008, IIS7, and WSS with SP1).  Everything was going along just fine until I hit this beauty:


"SQL Server Setup has encountered the following error:

The handle is invalid. (Exception from HRESULT: 0x0070006 (E_HANDLE))."

It took me a good long time and many combinations of Google searches to find this:

Found the problem.
This is a MSDN version so the product key is pidded but it is not enabled as read-only. So, when you’re presented with the product key dialog, you can muck it up.
To reproduce, simply select the "Specify a free edition" radio button without changing the shown PID, then reselect the "Enter the product key" radio button (again without changing the PID) and continue with the installation.
I expect this bug exists in all MSDN editions.

Posted by oj on 8/6/2008 at 3:28 PM

This worked great for me.

Thanks oj, where ever you are!