Make SQL Server 2012 Database in Visual Studio 2015 - visual-studio

I am new to visual studio and publishing my very first vb database application. The problem I have is when I run the program on a different computer the database doesn't connect due to different SQL Server versions. I cannot install SQL Server 2016 on that pc as it is 32 bit.I have SQL SERVER LOCALDB 2014 on that but error database version is 852 and supported is 782....downgrade not possible

Related

Visual Studio 2017 Creates SDF

I am using Visual Studio 2017 Community and installed .Net desktop development which has SQL Server Express 2016 LocalDB installed.
I am creating a database through code for a PluralSight project. It creates a SQL Server Compact Edition (.sdf) instead of SQL Server Express (.mdf).
I can't figure out why the Express database is being created. Any ideas? Thanks for your help.

SSDT for visual studio 2013 installs SQL Server 2014 version?

we have SQL Server 2012 and Visual Studio 2013.
I needed to install BIDS (or SSDT) for developing reports.
I downloaded and installed Microsoft SQL Server Data Tools - Business Intelligence for Visual Studio 2013:
http://www.microsoft.com/en-us/download/details.aspx?id=42313
However during the installation I noticed that it runs SQL Server 2014 setup.
Why doesnt it ask for wich SQL Server version I need SSDT to be installed?
Will it work with SQL Server 2012?
Thanks.
If you use Visual Studio 2015 + SSDT, you will have a full backwards compatible version of the BI toolset (2012 and up for SSIS, 2008 and up for other SSAS/SSRS and the relational DB tools). For previous versions of the BI suite, these were tied to specific SQL Server versions:
SSDT-BI for VS2013 -> SQL Server 2014 support
SSDT-BI for VS2012 -> SQL Server 2012 support
BIDS -> SQL Server 2008 support
The current recommendation is to use Visual Studio 2015 + SSDT as it receives regular updates & bug fixes, and is backwards compatible with no need to map to a specific SQL Server version. You can download SSDT here.

TF401159 error installing TFS 2013 on a SQL server 2014

I installed Team Foundation Server 2013 on our machine and we also have SQL Server 2014 Express on that same machine. When I try to configure TFS to connect to the SQL Server 2014, I get error below
It says TFS requires SQL Server 2012 SP1 or higher, which is true in my case since I have SQL Server 2014. Can anyone tell me what is wrong with this and a possible way of fixing it?
TFS 2013 RTM and Update 1 don't support SQL 2014. Support was added in TFS 2013 Update 2.
https://www.visualstudio.com/en-us/docs/setup-admin/requirements

Not able to modify tables on remote SQL Server 2012 database

I have Visual Studio 2010 installed on my Windows 10 PC. My website is on a shared hosting environment and utilizes a SQL Server 2012 database.
The hosting provider doesn't have web interface to manage database so I connect from the Visual Studio 2010 itself for management purposes.
Right now I am able to connect to the database and run my website locally but when I attempt to open table definition, I get this error:
This server version is not supported. Only servers up to Microsoft SQL Server 2008 are supported
Before upgrading to Windows 10, I was able to edit/add tables from Visual Studio 2010 Server explorer but now limited to read purposes only. This Windows 10 and Visual Studio is completely fresh install with nothing kept or saved from earlier windows version. I don't remember if I installed any SQL Server 2012 tools in earlier windows for managing the database from Server Explorer in Visual Studio.
I have searched a lot and even tried installing SQL Server 2012 Express which failed. Now, I am downloading SQL Server 2012 Management Studio from the same link to see if that will work. It will download in an hour or so but I don't remember downloading it earlier so wanted to ask you what can be done.
All I want is the ability to add/modify tables of SQL Server 2012 database from Server Explorer in Visual Studio 2010. Please tell me how can that be done and which tools are required for this purpose.

VS 2010 cannot see SQL Server 2012 Express

On my PC with Windows 8 there is Visual Studio 2012, SQL Server 2012 Express (x64), SQL Server 2012 (x64).
Visual Studio 2012 works perfectly with SQL Server 2012 Express and SQL Server 2012. It easily adds sqlexpress to data connections of server explorer by name .\SQLEXPRESS.
But now I'm trying to add SQLEXPRESS in Visual Studio 2010. But it cannot find it.
I thought it couldn't because of version of SQL Server 2012 Express. So I've tried to install SQLEXPR_x64_ENU (SQL Server 2008 Express), but installation stacks on "Setup Support Rules". There appears error "Performance counter registry hive consistency"
I don't know should and can I install SQL Server 2008 Express. Or the solution is somewhere else?
P.S. When I'm trying to add SQL Database Server to App_Data (asp.net mvc3) there is an error "Connections to SQL Server database files (.mdf) require SQL Server 2005 Express or SQL Server 2008 Express to be installed and running on the local computer..."
So I think I should edit register of Windows to let know Visual Studio 2010 where SQL Server Express is situated...
What are your suggestions?
Did you install Visual Studio 2010 Service Pack 1 prior to installing SQL Server Express 2012 (or at all)? See this article: http://www.formatyourbrain.com/sql-server-express-2012-visual-studio-2010/

Resources