Sql-server – SQL Server installation errors assembly

sql serversql-server-2008sql-server-2008-r2

I have been trying to install SQL Server and now I am tired of it. I tried to version SQL Server 2008 and SQL Server 2008 R2. SQL Server 2008 gives the following error (.Net Framework installed)

Application requires .Net Framework v4.0.30319 AND invoke or BeginInvoke cannot be called until the window handle has been created

SQL Server 2008 R2 was giving the following error:

The following error has occurred:

An error occurred during the installation of assembly 'Microsoft.SqlServer.GridControl,fileVersion="10.50.1600.1",version="10.0.0.00000",culture="neutral",publicKeyToken="89845DCD8080CC91",processorArchitecture="x86"'. Please refer to Help and Support for more information. HRESULT: 0x8002802F.

and after that a new error

The following error has occurred:

An error occurred during the installation of assembly 'Microsoft.VC80.CRT,version="8.0.50727.4027",publicKeyToken="1fc8b3b9a1e18e3b",processorArchitecture="x86",type="win32"'. Please refer to Help and Support for more information. HRESULT: 0x80070002.

EDIT:

Where in the world can I find .Net Framework v4.0.30319? Its so annoying and confusing.

Best Answer

Peter Saddow has written about this issue, and it's more likely a problem with the setup program rather than your OS (though it can't hurt to make sure you've installed all Windows updates too):

So instead of installing RTM from RTM media, try slipstreaming with the final service pack for 2008 R2 (Service Pack 3).

I came across this issue on Windows 7, even when slipstreaming, but in my case only a reboot was required to get past the issue (simply closing setup and re-launching was not enough).

Peter has also written about slipstreaming:

That post was about SP1, but you can follow the same basic steps to slipstream a newer service pack.