Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Which should I install first: Visual Studio 2008 or SQL Server 2008?

Half a year ago, I installed Visual Studio 2008 and SQL Server 2008. I don't quite remember which I installed first, but since then I am unable to connect to any file-based SQL server databases from the Visual Studio IDE. I think it was related to a bug in Visual Studio, the fact that I had previously installed Visual Studio 2005 on the same system and the order in which I installed both programs.

Now I am soon going to upgrade to Visual Studio Team System and I would rather avoid having the same database connection problems. Should I

A) Uninstall both Visual Studio and SQL Server, then reinstall SQL Server and afterwards Visual Studio? B) Just uninstall Visual Studio and update to VS Team System?

Thanks,

Adrian

like image 544
Adrian Grigore Avatar asked Feb 26 '09 12:02

Adrian Grigore


People also ask

What should I install first Visual Studio or SQL?

If you intend to install to a non-default location, then it is better to install Visual Studio first as both use the Visual Studio outer shell.

Can we install SQL Server after Visual Studio?

Visual Studio with Web Developer and SQL Data Tools installed. RUN THAT FILE. After you mount the ISO file, you will have a new “drive” that contains the installation files for SQL Server. Run the setup file to install SQL Server.

Do I need to install SQL Server for Visual Studio?

Generally, It is required to install sql server database with visual studio setup. Here are the steps to install sql server database with setup using custom action.

What tool is installed before installing SQL Server?

Install SQL Server using the Installation Wizard GUI launched from the setup.exe setup media.


2 Answers

I install the Developer Edition of SQL Server instead of the SQL Server Express edition that comes with VS2008. I find that the install works better if you install SQL Server first, that way there is no need to uninstall the Express edition before installing SQL Server Developer edition. I don't recommend having both editions installed. I had no end of problems until I figured out that having two versions installed was the issue. Uninstalling VS and SQL Server Express may be necessary, but I believe it was enough just to uninstall SQL Server Express and (re)install SQL Server Developer edition.

like image 123
tvanfosson Avatar answered Oct 07 '22 14:10

tvanfosson


I don't think it matters what order they are installed.

like image 33
mezoid Avatar answered Oct 07 '22 12:10

mezoid