Install SQL Server 2008 Express with Visual Studio 2010 - visual-studio-2010

I am doing a custom install of Visual Studio 2010 onto a new development box.
The target machine already has SQL Server 2008 R2 SP1 installed.
I see one of the components is SQL Server 2008 Express Service however this machine already has SQL Server installed on it. Its a 1.6 GB disk space savings plus I dont like to add unnecessary services (or installs) if I do not have to.
So my question is, would I want to still install the "express service" even though I have the full Developer Version of SQL Server 2008 R2 already installed? And if so, why? Is there a future benefit or is this somewhat redundant and can I save space and keep this box better tuned?

Just wanted to update this as I eventually learned that I did not need to install the express service of SQL Server 2008 because I already had the full developer version installed. There have been no ill effects and I was able to save the disc space required for the express service plus the RAM needed to run and maintain that instance.

Related

Should there be a version issue between SQL Server 2008 R2 and Visual Studio 2010?

I installed Visual Studio 2010 on my home computer so I could do a little work from home. After having some issues with SQL Server Express, which got installed by VS2010, I got a copy of SQL Server 2008 R2 from my company. Let me openly admit I know jack about DBA in SQL Server.
At first it sort of worked, but seemed like I needed to rename the database name every time I opened it. Now VS2010 won't even open the connection at all. I keep getting an error stating one is version 661 and the other is 655 and they're not compatible. To make matters worse, I can't even attach the database in SQL Server 2008 R2 anymore.
Any ideas on how to rectify this? Please oversimplify and assume I'm an idiot, because in this case I am.
OK, well apparently VS2010 installs SQL Server 2008 Express on your computer, with which it will happily communicate. Since I then installed SQL Server 2008 R2 after that, 2008 R2 is considered an upgrade and SQL databases are not backwards compatible.
In order to fix this, I installed SQL Server Express 2008 R2 (specifically the SQLEXPRWT_x86_ENU.exe file as that one comes with additional tools) and after a reboot I was able to successfully add the database to my VS project.
NOTE: I did not remove SQL Server 2008 R2, I merely upgraded SQL Server 2008 **Express*.
As an aside, before doing this I could never have VS and SQL Server 2008 R2 open simultaneously. After this upgrade, I can have them both open at the same time which is how it should work.

Moving from SQL Server 2008 Express to SQL Server 2012

I have SQL Server 2008 Express on my pc, and I want to install SQL Server 2012 instead. Do I have to uninstall SQL Server 2008 Express first? Do I have to backup my databases first?
Same question about VS 2010. I have VS 2010 Professional and I want to install VS 2012 Professional. Do I have to uninstall VS 2010 first?
Thank you.
Here is my own suggestion :-
For sql server make backup of database and for Visual studio make backup of settings. Settings can be accessed through My document/Visual studio 2012/Settings Same way you got settings for sql server management studio.
Having backup of setting make it easier to move to new version. Now uninstall both and restart your computer.
After restart install both thing. It will be worked.
if you want both version you can have it. Both software provide side by side installation. Remember that you maybe got some panic experience to have two database server on same computer.
You can 2008,2010 both version without any conflict.

Visual Studio 2010 Ultimate Installs Unwanted Tools

I am installing Visual Studio 2010 Ultimate and I am doing a custom installation where I can choose the tools I want and install it in the preferred installation directory.
I am only in need of visual c++ and the graphics library. That's all i need as I am just starting to learn c/c++. Despite choosing just two tools, it installed SQL server compact and a bunch of other components which I didn't ask for. This is consuming a lot of disk space in the C: drive where Windows is installed. I need at least 5 GB of free space on the C: drive for future Windows update but now I am left with only 3 GB.
Question:
1)Why does visual studio install sql server along with the c/c++ compiler? And why did it occupy space in the directory which I didn't specify?
2) Is it safe to uninstall sql server and its components?
I am aware that .NET framework is necessary for visual studio to run.
SQL Server Compact is used internally by some Visual Studio components. I think InteliSense database is one of them, storing metadata information about projects in your solution (look for *.sdf files, those are SQL Server Compact databases). So I would definitely not advise you to uninstall SQL Server Compact.
The same is true for other SQL Server components installed by Visual Studio, although maybe to lesser degree. Visual Studio components using them may not be needed in your case, and if they are needed they should let you know by giving you the right error message. One component I wouldn't touch is SMO (SQL Server Management Objects).
If you installed SQL Server Express (not Compact) it is absolutely safe to get it uninstalled.
1) Why does visual studio install sql server along with the c/c++ compiler?
And why did it occupy space in the directory which I didn't specify?
It installs only Express version of Sql Server and it comes by default with intention that your application development will need Sql Server Express.
2) Is it safe to uninstall sql server and its components?
Yes, you can uninstall it if you don't need Sql Server.

installing visual studio 2005 after 2008 already installed

I have a machine with VS 2008/Sql 2008 already installed. I now need to install an instance of vs 2005/Sql 2005 for two reasons.
The main reason is for reporting Services 2005. All of the report servers are sql 2005.
Now to create a SSRS compatible with 2005 do I just need to install Sql Server 2005 and work with it in VS 2008 or do I also need to install VS 2005.
The second reason is the off-site team that I am consulting with do not want the project upgraded yet.
So without rebuilding the whole box is there a safe way to install VS 2005 on a box that already contains 2008?
Same question for Sql Server 2005?
Thanks
I have 2005 (VS/SQL), 2008 (VS/SQL) and 2010 (VS only) installed side by side and it works fine. However, it can become confusing exactly which version of SQL is which (if anyone has a good tip for that let me know). I didn't have any particular issues, just installed out of the box and it worked.
Having said that, the Virtual PC route that AaronLS recommends is worth considering.
I personally would use VirtualPC and install the SQL server in a virtual machine. You can use the Microsoft Loopback Connector to connect your local host machine to the guest machine.
VS and SQL Server 2008/2005 work fine side by side, and I believe you don't need anything special to make it work. You'll have to use an instance name that isn't taken for SQL Server, but that's about it.
Installing VS 2005 first and then installing Sql 2005 with the command switch SKUUPGRADE=1 seems to have done it.

Unable to Load Database project in VS2008

I have Database project which I'm unable to load in VS2008 and I have SQL Server 2008 Express edition installed on my machine..
I get following error message, when I try to load
Database projects require a connection
to a local instance of Microsoft SQL
Server 2005 for design-time
validation. To perform this operation,
you must open the Tools menu, click
Options and specify an instance of SQL
Server 2005 that is running and to
which you can connect in the Database
Tools, Design-time Validation Database
property page. When that is corrected,
you must then refresh or reload the
database project.
Any suggestions/update to solve this issue?
You don't mention if you have VS2008 SP1 installed, but this is a requirement for SQL Server 2008 support in Visual Studio (KB956139)
Did you verify your instance name is correct? Tools > Options > Database Tools > Data Connections -> SQL server instance name: SQLEXPRESS (or the name you chose during install)
Does your instance accept remote connections? (mine always does, not sure if this is required) (Source)
I know this is an old thread, but...
Were you able to get this combination working? Visual Studio 2008 with SQL Server Express 2008? I had the same issue that no matter what I entered into the instance fields in the Tools->Options->Database Tools boxes, it said I did not have them entered.
From what I could find on the interwebs, everything indicated that SQL Server Express 2008 should work with Visual Studio 2008 as long as you have the SP1 installed. I tried reinstalling SP1, but received the same error - "no instance specified".
So I downloaded and installed SQL Express 2005 x64 and specified a new instance name, SQLEXPRESS2005. Then I plugged that into Visual Studio 2008's settings and it worked right away.

Resources