BrianPeek.com
A Compendium of Random Uselessness
SQL Server 2008, Visual Studio 2008 SP1 and Visual Studio 2008 Express

I ran into a bit of weirdness yesterday when trying to install SQL Server 2008.  I have Visual Studio 2008 installed as well as a couple of the Visual Studio 2008 Express products (for testing solutions for the Coding4Fun site and the upcoming book).  I installed Visual Studio 2008 SP1 and all went as planned.  After looking at the Help –> About screens, Visual Studio and all of the Express products showed the proper version tag:  9.030729.1 SP1.  So I figured all the products were updated and good to go.

Next I tried to install SQL Server 2008 and got an error stating Rule “Previous releases of Microsoft Visual Studio 2008” failed.  I re-installed SP1 figuring something had gone wrong, but no dice.  After digging through the SQL Server 2008 install logs I realized what was happening.  The installer was using the HKLM\SOFTWARE\Microsoft\DevDiv\XXX\Servicing\9.0\SP keys to determine if SP1 had been installed and the registry settings were set that it hadn’t been installed for the Express products.

So, I then installed the SP1 versions of all of the Express products (there apparently isn’t an SP1 update for these, you just install the new versions and they are upgraded), tried installing SQL Server 2008 once again, and it worked without a hitch.

In summary, the tip here is that if you have any of the Visual Studio Express products installed, you must install the SP1 versions of those products separately from Visual Studio 2008 SP1 in order to have them properly updated.  The SP1 package for Visual Studio 2008 does not actually update these applications and will block the client-side installation of SQL Server 2008.


Posted Wed, Aug 13 2008 5:57 AM by Brian Peek

Comments

Walter Knopf wrote re: SQL Server 2008, Visual Studio 2008 SP1 and Visual Studio 2008 Express
on Thu, Aug 14 2008 12:46 PM

I had a named instance of SQL the latest 2008 express running.

Upgraded VS2008 C# Express to SP1, did not uncheck to install SQL 2008.

Now I have two services, SQLExpress and named instance, but in installed programs it only shows one.

Unfortunately my databases are attached to the named instance.

Any advice on how to revert to just the named instance?

Thanks,

Walter Knopf

Rob Kraft wrote re: SQL Server 2008, Visual Studio 2008 SP1 and Visual Studio 2008 Express
on Sat, Apr 4 2009 5:56 PM

Thanks for this post!  I was a little frustrated that SQL 2008 was telling me I didn't have VS SP1 when I knew I did.  I was able to leave my SQL 2008 Setup on the screen telling me I needed VS SP1 while I upgraded my express instance of Vstudio 2008 also to SP1.  I guess I could probably uninstall VS 2008 express, since I have VS2005 express for XNA development.

Yoseph wrote re: SQL Server 2008, Visual Studio 2008 SP1 and Visual Studio 2008 Express
on Fri, May 8 2009 1:23 AM

Simply customise the installer so that these components aren’t installed:

Management Tools

Integration Services

Business Intelligence Development Studio

Dick Bixler wrote re: SQL Server 2008, Visual Studio 2008 SP1 and Visual Studio 2008 Express
on Fri, May 15 2009 3:52 PM

I have VS2008 SP1 installed on one computer, and SQL Express 2008 on another. When I attempt to set up a data connection in VS2008 to the SQL Express 2008 instance, I get a popup "This server version is not supported. Only servers up to Microsoft SQL Server 2005 are supported." Any idea why?

Couple of possibly relevant factiods: I do have SQL Express 2005 SP1 installed on the machine with VS2008 because I couldn't install 2008, same symptom as you noted altho I didn't have any known Express programs installed at the time. Also, the other computer hosting SQL Express 2008, is on Windows Home Server.

I guess that's two problems. Any advice would be appreciated.  Regards - Dick

Dick Bixler wrote re: SQL Server 2008, Visual Studio 2008 SP1 and Visual Studio 2008 Express
on Tue, May 26 2009 9:14 PM

Manually re-installed SP1 for VS2008 and voila, problems solved. db

Add a Comment

(required)  
(optional)
(required)  
Remember Me?