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
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.
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.
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.
Install SQL Server using the Installation Wizard GUI launched from the setup.exe setup media.
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.
I don't think it matters what order they are installed.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With