Database project deploy fails in Visual Studio 2013 - visual-studio-2013

I have a database project in a solution which will not deploy from Visual Studio 2013. It fails with an error message "Unable to connect to target server".
The same project, when opened in Visual Studio 2012 deploys without an issue.
The database is Sql 2012 hosted in a Sql 2014 engine (express)
The deployment settings are thus (with names changed to protect the innocent):
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="12.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<IncludeCompositeObjects>True</IncludeCompositeObjects>
<TargetDatabaseName>TestDatabase</TargetDatabaseName>
<DeployScriptFileName>TestDatabase.Database.sql</DeployScriptFileName>
<TargetConnectionString>Data Source=.\SQL2014;Integrated Security=True;Pooling=False</TargetConnectionString>
<ProfileVersionNumber>1</ProfileVersionNumber>
</PropertyGroup>
</Project>
I have also tried the deployment with using a username and password rather than Integrated security...

Visual Studio 2013 now has an update that adds SQL Server 2014 support under Tools –> Extensions and Updates –> Updates
After installing the update under Help -> About Microsoft Visual Studio I see I now have
SQL Server Data Tools 12.0.40403.0
Now SQL Server 2014 is an option in my database project settings and everything works!
Original Response:
I have the same problem. It looks like the update for Visual Studio 2013 isn't out yet :(
In the next few days the Visual Studio 2013 download will appear through the Visual Studio update channel (Tools –> Extensions and Updates –> Updates).
http://blogs.msdn.com/b/ssdt/archive/2014/03/25/sql-server-data-tools-for-sql-server-2014-is-available.aspx

I had this same error message from Data Tools Operations in VS 2013 Update 5 when trying to publish to an Azure SQL DB.
Turns out in my case (a new dev environment) it was as simple as the SQL server password not being saved.
I worked this out using Server Explorer - as I noticed that my connection that was ok, was later disconnected, and the password had been cleared.
I did the following to sort it out
Server Explorer
Right click connection > Modify connection
Tick Save Password (again)
Advanced...
Security Section - Entered password here
OK
Test connection - good
Re-Ran publish from the relevant DatabaseDeploy.publish.xml file
BAM All good again !

SQL Server Data Tools - Business Intelligence for Visual Studio 2013 is out now as per the comment by Kevin Cunnane at the bottom of the blog referenced above.
You can download it here: SQL Server Data Tools for BI for Visual Studio 2013
Please note that references to "SQL Server 2014" in the download seems to indicate that this is being developed under the SQL server 2014 development - but the tools are for Visual Studio 2013 and it appears it will resolve the deploy problems related to Datbase projects in VS 2013 for SQL 2012 or earlier databases. [Update - I have installed this and it has resolved my own problems with "deploy and publish" in VS 2013]

Related

Is a licensed version of Visual Studio required for SSIS solution?

Is it possible to open a SSIS solution using Microsoft's free tools (Visual Studio Team Explorer and SQL Server Data Tools) or does it require a full installation of Visual Studio?
I am trying to do so with just the free tools and am getting an error saying that "this versino of Visual Studio is unable to open the following projects" then another one saying the solution I have opened is under source control but not currently configured for integrated source control in visual studio.
We have other users who use the full version of Visual Studio 2017 and it works fine so I am wondering if this is just a limitation of the free products offered by Microsoft.
To edit SQL Server 2005 SSIS packages, you need Visual Studio 2005 and installation of Business Intelligence Designer Studio, BIDS. This required a license, developer edition was sufficient, to access the tooling.
SQL Server 2008 & SQL Server 2008 R2 would install into Visual Studio 2008. This too required a SQL Server license as the media only existed on the server media.
SQL Server 2012 would install into both Visual Studio 2010 and Visual Studio 2012. This was delivered in both physical media installations and downloadable tooling which was rebranded to SQL Server Data Tools- BI Edition, now just SQL Server Data Tools and the components were just licensed via click through agreement.
SQL Server 2014 installs into Visual Studio 2013 and was now only available through the download of SSDT.
SQL Server 2016 added a new twist into the mix. It installed into Visual Studio 2015 but it could now create/edit/target SQL Server 2012, 2014 and 2016 packages. This was huge as until this point, as a consultant I would have required 5 different versions of the "same" program on my machine. Now I'd only need 3.
SQL Server 2017 installs SSDT in both Visual Studio 2015 and Visual Studio 2017.
I assume SQL Server 2019 will similarly target VS 2017 and VS 109.
Across all of these versions, if you didn't have Visual Studio installed, the installer would install the Visual Studio shell on your machine so that the project templates would work.
Last I knew, neither Visual Studio Community Edition nor VS Code will work with the SSDT templates so be sure and open the correct product to work with SSIS projects (.dtproj)
The warning/error about "under source control but not currently configured" smells like something is awry with how you have the TFS hook installed but I can't comment on that.
Download and install SSDT 2017 for Visual Studio
You can verify the status of your SSDT installation for Visual Studio by going to the Help, About Microsoft Visual Studio menu and looking for "SQL Server Integration Services." With ... 2017? you can now do a piecemeal install and only pick SQL Server Data Tools (database projects) or SSAS/SSIS/SSRS. Previously, the SSDT-BI install was trio of SS_S and SSDT (no BI) was the database projects.
Previous answer on where SSDT-BI is
You have at lease two options:
Use Visual Studio Community Edition together with SSDT. Still, you have to check its License terms with your Legal department - it might be not legal to use Community Edition in Enterprise.
Use Visual Studio Isolated Shell together with SSDT. More instructions on how to install it. As far as I know, it is legal to use it for debugging.
The VS Isolated Shell is usually installed with SQL Server 2014/16.

Unspecified error occurs when installing SSDT for Visual Studio 2013 on Windows 7

I'm upgrading from Visual Studio 2012 to 2013 for MSBI.
I have downloaded Visual Studio 2013 and SSDT separately.
SSDT fails to install:
Unspecified error. One or more issues caused setup to fail. Please
fix the issues and then retry setup.
It creates a log file every time.
If you want to develop Business Intelligence projects, what you need is SSDT-BI, not SSDT. SSDT is for SQL Server database projects and publishing etc.
SSDT-BI is for BI projects such as Integration Services, Reporting Services and Analysis Services.
You can download SSDT-BI 2013 from here.
If you want it only for business intelligence projects you don't need to download Visual Studio separately, SSDT-BI comes with Visual Studio shell.
You can as well start using SSDT-BI 2015 which supports SQL Server 2016 too.
Good luck.

starting to study Reporting Services

i am just starting to study Reporting services but on my First lesson i have two questions
1- i cant find the Business Intelligence > Reporting Services in my Visual Studio 2013 > New Project > Installed > Templates
as shown here
while i installed the reporting service on my SQL Server 2012
as shown here
2- can i create reports directly on my web application by right click on a folder and add report without creating another new report server project
3- can i use my entity framework as a data source for my report , if yes how to achieve this using Visual Studio 2013 and SQL Server 2012
You will need to install SQL Server Data Tools for Visual Studio 2013. This design studio is no longer called Business Intelligence Design Studio (BIDS), past VS 2013.
https://www.microsoft.com/en-us/download/details.aspx?id=42313

Visual Studio 2015 reporting services missing

I have just installed SQL server 2014 developer on my home computer running windows 8.1. To create reports I installed Visual studio 2015 with the business intelligence templates. when I attempted to create a report, reporting services was missing from the templates the only template available was integration services. How can I get that template?
The Report Designer is part of the Microsoft SQL Server Data Tools.
You can add it using the Visual Studio setup (Programs and Features > Visual Studio 2015 > Change)

Visual Studio 2013 Express has no MS-Reports Template Installed

When I Google and look up how to add a RDLC report to my Visual Studio 2013 Project I get the answer i'd expect, usually "In the Templates pane, select Report or Report Wizard"
This article is one of them: http://msdn.microsoft.com/en-us/library/ms252067(v=VS.100).aspx
Nowhere can I find anything about "what if there is no Reports section" in your installed Templates
For the last month I thought this was because I needed to download SQL Server Data Tools for Visual Studio 2013. Yesterday I installed this. As a result I now appear to have a new version of Visual Studio 2013 called "Microsoft Visual Studio 2013 Shell (Integrated)". It has a purple icon and loads with a black splash image
My Project is currently running and being developed in Visual Studio 2013 Express for Web which has a green icon
If I try to load my project into the new Integrated Shell VS 2013 I get errors. What I really want is just to have the template available so I can add RDLC reports
I have already used MuGet to install MvcReportViewer and set my web config etc and references. Following instructions at https://www.nuget.org/packages/MvcReportViewer/
Now I need to create an RDLC but have no Template to do so
Could it be that VS-2013 Express has this feature turned off, because if I go into Help/About VS2013 Express for Web it has SQL Server Data Tools 12.0.30919.1 as an Installed product
Any comments appreciated
As far as I know, you can't use VS 2013 Express to edit RDLC files. It requires at least the professional version.
See: http://community.dynamics.com/nav/b/navteam/archive/2013/12/19/microsoft-visual-studio-2013-now-supported-for-rdlc-report-design.aspx
You can, however, create them in Sql Server Reporting Services, which is part of the advanced version of Sql Server Express Edition, using SQL Server Business Intelligence Developer Studio (BIDS) Express.
Try to download (Microsoft Report viewer 2012 run-time)
& Report Builder3
- First is the tool that display & Print Report.
- Report Builder is the tool that you can design report with it.
You Must have SQL Server 2012 Installed

Resources