Click here to Skip to main content
15,885,216 members
Articles / Database Development / SQL Server
Tip/Trick

Install SQL Server 2005 and 2008 on the same computer

Rate me:
Please Sign up or sign in to vote.
5.00/5 (1 vote)
6 Nov 2011CPOL 30.3K   8   2
Installing SQL Server 2005 and 2008 in the same computer.

By following the steps described, you can have both SQL Server 2005 and 2008 installed on a machine at the same time. The trick is simple, just change a Registry directory name of SQL Server 2005 Studio with the Registry editor. After the installation, you can then change it back.



  1. Go to Windows > Run, enter “regedit” and click OK.
  2. Browse to HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsft SQL Server\90.
  3. Rename “90? to something else, like “old”.

You can now rerun the process in SQL Server 2008 Express installation wizard. After installation has completed, you will notice that the old SQL Server 2005 doesn’t run when you try to launch it. No worries, to fix it, you can change the newly created directory “90? to “70?. Then change “old” that you changed from “90? before back to “90?. It should now work for both SQL Server 2005 and 2008 Studio Express.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Technical Lead IntelliMedia Networks, Inc
India India
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.

Comments and Discussions

 
QuestionThanks Pin
ranjeet117-Sep-14 5:27
ranjeet117-Sep-14 5:27 
QuestionThanks Pin
rajesh.vbnet30-Mar-12 19:20
rajesh.vbnet30-Mar-12 19:20 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.