Configure connectionString to use SQL Server instead of SQL Server Express - sql-server

Problem
I have a webproject that uses Fulltext-search, that I imported to a new computer (virtual machine).
I get a warning, when opening the website in Visual Studio, saying:
"The Web project xxx requires SQL Server Express, which is not installed on this computer. The recommended database engine for Microsoft Visual Studio is SQL Server LocalDB Express..."
Old computer setup:
SQL Server Express with Advanced Services (I think it was 2012).
Visual Studio 2012 Ultimate installed.
New computer (VM) setup:
SQL Server Enterprise 2012 (from DreamSpark).
Visual Studio 2014 Professional.
How i'm trying to resolve it:
I tried to modify the connectionString, but I couldn't find the right SQL db engine in Advanced Properties:
How do I get the right engine to show up here?

Related

How do I install the Visual Studio 2010 Shell to use SQL Server Data Tools?

I've downloaded and installed the Visual Studio 2010 Express products (Visual C#, Visual Basic, Visual C++, and Visual Web Developer) on a machine running Windows 7 Professional and a few SQL Server instances of SQL Server 2012 Express. All of the Visual Studio 2010 products are running well.
However, isn't there an additional shell that needs to be installed? Shouldn't it come with the product set? The reason I ask is that I'm working through a book titled Microsoft SQL Server 2012 that uses elements of Visual Studio to illustrate some SQL Server principles; specifically, the use of SQL Server Data Tools. SQL Server Data Tools was not an available feature during the install of SQL Server 2012 Express.
The exercise is related to using the SQL Server Development Settings of SQL Server Data Tools to create a SQL Server Database Project.
I found the following link to download SQL Server Data Tools 2010 - https://msdn.microsoft.com/en-us/jj650014.

Can't create SQL Server 2012 database from Visual studio 2010 (SSDT) on my local PC

I am a new SQL Server programmer and this is my first question on stackoverflow.
Anticipating your help...
I have these installed in my PC: Windows 7 ultimate SP1 + SQL Server 2012 Enterprise + Visual Studio 2010 (SSDT which came with my SQL Server 2012). What I want to do is create a database from SSDT.
In server explorer, I right clicked the data connection -> create new SQL Server database. After I input my server name and choose "Use Windows authentication" (which is the case with my SQL Server 2012), I got this warning:
This server version is not supported. Only servers up to Microsoft SQL Server 2008 are supported.
What shall I do? Shall I upgrade to Visual studio 2013 or I have other options?
Much appreciated if anyone can help.
Visual Studio isn't really the issue here. And you didn't say why you installed VS 2010 (are you actually developing apps with it?). If you're not actually developing in VS, I would remove it and just install the latest SSDT. This will install a VS shell, containing enough functionality to fully run SSDT. Then you should be able to create SQL Server 2012 databases, which I assume is what you want to do.

"This version is not supported. only servers up to microsoft sql server 2005 are supported"

justI'm getting this error message when trying to add a new connection in VS 2008 Server Explorer.
Unfortunately I'm working in a PC that my client company gave me, and I need to ask permissions to install new software there. This PC has VS 2008 and a pretty old Sql Server version(2000 for what I can see).
I used to think VS doesnt need an additional SQLServer install just to connect, but I guess I was wrong...I want to develop an app that connects to SQL Server 2008, and after testing connection it prompts the error mentioned above.
Is there a way to connect succesfully without installing a newer Sql Server version on my side?
Please, if there is no way to do it, just answer no and let me know, thanks in advance.
As Visual Studio 2008 was released before SQL Server 2008, the development environment database tools were coded without knowing about SQL Server 2008.
However, since these versions of Visual Studio were released before
SQL Server 2008, the design-time tools cannot interact with SQL Server
2008 - even though it is possible to programmatically access the data
in a SQL Server 2008 database from applications written with Visual
Studio 2008 or 2005
Source: Connecting to Microsoft SQL Server 2008 from Microsoft Visual Studio 2005 and 2008
Luckily, Microsoft did release a patch for both Visual Studio 2005 and Visual Studio 2008, which is also referenced in the article (to save you reading the whole thing, for Visual Studio 2008, you need to install Visual Studio 2008 Service Pack 1)

can I use SSDT/BIDS/SSIS using SQL Server 2012 express?

Ideally, I want to make SSDT/SSIS packages on my desktop PC that I can test and deploy to a production server environment.
On my PC I have:
Windows 7
Visual Studio 2008
Visual Studio 2010 (shell)
SQL Server Express 2012 (local dev copy of prod)
[supposedly] BIDS (Business Intelligence Development Studio) and SSDT (SQL SErver Data Tools) etc.
On my production server I have:
Windows Server 2008
SQL Server 2012
Visual Studio 2010 (shell)
I cannot load/run SSIS (SQL Server Integration Services) onto my machine because SQL Server express doesn't allow for it, as suggested by these articles:
http://support.microsoft.com/Default.aspx?id=963070
http://msdn.microsoft.com/en-us/library/cc645993.aspx#SSIS
And I am getting this error when trying to look at a "package.dtsx" file in VS:
Microsoft Visual Studio is unable to load this document: To design
Integration Services packages in SQL Server Data Tools (SSDT). SSDT
has to be installed by one of these editions of SQL Server 2012:
Standard. Enterprise. Developer, or Evaluation. To install SSDT, run
SQL Server Setup and select SQL Server Data Tools.
When I run the SQL2012Express installer, it says SSDT is installed already.
Question #1: But why can't I just point a local VS2010/SSDT/SQL2012Express at my production SQL2012 environment? (Microsoft is getting their money legitimately!)
Question #2: I can get it to work on the production server, but isn't it bad form to develop on a production server? (and it complicates source control etc.)
You must have One of those versions installed. The SQL server express edition with advanced tools only includes reporting. Not ssis. Sql serverv dev edition is actually pretty cheap.
To be able to create SSIS packages you'd want the following:
1) For SQLServer 2008 SSIS packages - BIDS, either integrated into VS2010 or as a stand-alone. If you also want SQL server, then I'd use the dev edition of SQLServer that is an optional install with VS2010.
2) For SQLServer 2012 SSIS packages - download and install SSDT, either integrated into VS2012 as as a stand-alone. If you also want SQL server, then I'd use localDB (here).
Also, SSDT is two things - an improved replacement for 'Data Dude' AND the new BIDS - here's a blog with explanation.
"Microsoft Visual Studio 2010 does not support Business Intelligence Development Studio Integration Services, Report Services and Analysis Services projects for SQL Server 2008 and SQL Server 2008 R2. To work around this issue, you can install Visual Studio 2008 alongside Visual Studio 2010 on the same machine and then open the Business Intelligence Development Studio projects in Visual Studio 2008."
http://msdn.microsoft.com/en-us/library/ms173767%28v=sql.105%29.aspx
Guess this means: NO BIDS projects are possible under VS 2010.

Visual studio 2010 and Sql Server

Do visual studio 2010 include already Sql Server instance, or I need to install Sql Server developer edition to develop an application that need a Sql Server db.
If it installs a Sql Server express edition, it this enough or it's better to have Sql Server developer edition?
I would second that installing the "full" SQL Server Development Edition makes sense if you do serious database development.
However you can have both installed side by side, and having SQL Server Express is very useful for one reason - it supports placing database files in the App_Data folder of ASP.NET applications. While I don't do this for my own projects, it's a very nice feature for demos or open source applications you download from the web: just unzip, start VS, hit F5, and you have a running solution including database. Without SQL Express, you first have to move the MDF file, attach the database, set up user rights, replace the connection strings etc...
The Visual Studio 2010 installer gives you the option of installing SQL Server 2008 Express Edition. This edition of SQL Server is good enough for development purposes but is not intended for production use.
I think the size limitation is not the main issue.
In Sql Server 2008 you have some features in Sql Server Management Studio that aren't available in the Express management Studio or the Express database engine, like:
- suggesting the table and column names (in Query Window)
- Sql profiler
Cor Westra

Resources