Can't build dtproj [SSIS] project in Visual Studio - visual-studio

When I try to build a project in Visual Studio 2005 that has a .dtproj file, I get the error message:
Make sure the application for the project type (.dtproj) is installed.
This project was build on another system, but even after installing SQL Server 2005 & and SQL SP3, it still does not build.

You need to install the Business Intelligence Studio that is a part of the SQL Server Installation.

You may be missing development tools from your installation of SQL Server.

On my workstation at work I have VS.NET 2005, 2008 and 2010 loaded and needed to modify a package created in a 2005 environment. I only had SQL Server 2008 installed and therefore the BIDS environment for 2008 SSIS development. I had to go back and get the install for SQL Server 2005 and installed only the Integration Services component (instead of the entire SQL Server 2005 setup) and it resolved the issue mentioned above.

Related

Build SQL Server Data Tools (for Visual Studio 2013) project on build server without Visual Studio

We have a C# web project authored in Visual Studio 2013 which incorporates a Database Project, and I've set up a number of TeamCity build configurations to do Continuous Integration.
Team City is working well for us at the moment with all of our code checkins going automatically into the integration environment.
SSDT is also working well for us, we are easily able to share and publish database changes within the development team.
What I want to do now is get TeamCity to automatically build the Database Project and deploy it into the integration environment.
We do not have VS2013 on the build server, and would rather not install it there. We are all running SQL Server 2012.
I have read a few questions and articles about "headless" builds of *.sqlproj projects e.g:
How to build .sqlproj projects on a build server?
These approaches seem to be quite manual and fiddly and related to SSDT 2012 - has anyone got a reliable configuration for the versions we're using?
We've got SSDT working on our build server without requiring a copy of Visual Studio. In our case, we did a full install of SSDT because that will give you the necessary components, including the Visual Studio IDE shell. It was also a bit less fiddly than trying to make the admin install point and install just those bits. We added the folder containing sqlpackage to the path and made sure that we could get to the latest MSBuild executable (part of the .NET framework). There's no need to install a full copy of Visual Studio unless you happen to need it for some other reason on that machine.
This article goes into a bit more detail: http://sqlproj.com/index.php/2012/03/headless-msbuild-support-for-ssdt-sqlproj-projects/
Summarizing that article, here's what you need:
Install the Microsoft® SQL Server® 2012 Data-Tier Application Framework
Install the Microsoft® SQL Server® 2012 Transact-SQL ScriptDom
Install the Microsoft® SQL Server® 2012 Transact-SQL Compiler Service
Install the Microsoft® System CLR Types for Microsoft® SQL Server® 2012
Install the SQL Server Data Tools Build Utilities from the Administrative
install point. (this is where we used the full install)
It's been a while, but you might be able to just make sure that machine is connected to the Internet and run the latest SSDT installer to install SSDT and all of the pre-reqs. At that point, you've got the necessary bits to build SQL Projects.

One development machine with multiple versions of SSDT for BI development

With the announcement of VS2013 i need to be able to have the following:
-Main Development IDE: Visual Studio 2013
-Integration Services with SQL Server 2008 and SQL Server 2008/R2.
-Integration Services with SQL Server 2012.
Unfortunately i cant upgrade all my SQL Servers to the latest release so i have to maintain a diversified dev env in my laptop.
What i need to do in order to have all the above in one machine?
Probably this is the answer :(
Interoperability and Coexistence (Integration Services)
Also a post made yesterday specifically for SQL Server 2012/2014
SQL Server Data Tools – Business Intelligence downloads
Separate install for each SSIS version i need to develop for.
So it may be like:
Full Visual Studio 2013 for all development except SSIS
VS2012 Shell for SSIS SQL Server 2012
VS2008 Shell for SSIS SQL Server 2008 and 2008/R2

what is the proper install order for visual studio 2012 and SQL Server Management Studio 2012 on win7?

I am preparing to do some web development against a SQL Server 2012 server on a fresh install of win 7 x64 development VM.
What should I install first, visual studio or SSMS?
This is my favorite order:
Windows update before installing anything.
SQL Server 2012
If you have SP1 integrated with you ISO file, skip to step 4.
If you have both SP1 and U5 integrated with your ISO file, skip to step 5
Unselect SQL Server Data Tools during installation (step 8 will install the VS 2012 templates instead of these old 2010 ones)
SQL Server 2012 SP1
SQL Server 2012 SP1 U5
Visual Studio 2012
If you have U3 integrated with you ISO file, skip to step 7.
Unselect SQL Server Data Tools during installation because we'll install the updated bits in step 7
Visual Studio 2012 U3
SQL Server Data Tools - BI (adds BI project templates to Visual Studio 2012)
SQL Server Data Tools (allows you to manage SQL Server 2012 from within visual Studio 2012)
Windows Update
ReSharper
StyleCop
SQL ToolBelt
Neither - you can install them in any order. While you do get the occasional question about it in various different forums, I have done this and never had an issue.
SQL does have a Visual Studio dependency (formerly) called BIDS, but Visual Studio can install over/around this no problem.
Note that this answer is correct when using the initial SQL 2012 release (as that was the latest edition when this question was asked). Subsequent releases may have changed things. I have made this answer CW to encourage others to edit it as necessary to include info about later versions.
I don't know if there is a different way for VMs but on Windows we used to install SQL Server first, as some of the configurations of Visual studio conflict with SQL Server configurations if it was installed before
No direct dependencies found between the two components, installing Visual Studio first then ensure that .NET Framework installed properly is my approach, then installing SQL Server, but in all cases the SQL Server installation installs the following software components - 2008:
NET Framework 3.5
SQL Server Native Client
SQL Server Setup support files
My approach:
Visual Studio 2008.
Visual Studio SP1.
SQL Server 2008.
Run Windows updates.
Useful question here

How do I install and use Business Intelligence, without needing to reinstall Visual Studo 2008

A couple of months ago, I uninstalled Business Logic from my machine as I did not need it. Now I want to work on some reporting, but I am unable to find the Business intelligence tool in my Visual Studio 2010 install.
How can I download and load it up into Visual Studio 2010 or SSMS for use please?
BIDS (SQL Server 2008/2008 R2) and SQL Server Data Tools (SQL Server 2012) are both part of the SQL Server installer (not Express Edition), not Visual Studio.
If you're using SQL Server 2008/08 R2, the Business Intelligence tools will be installed in a separate "version" of Visual Studio, which uses the Visual Studio 2008 shell. This means that if you're running VS 2010, you'll actually appear to have 2 versions of VS installed, VS 2010 for all your normal dev and VS 2008, which will contain the BI project types only).
If it's SQL Server 2012 that you're using, the BI project types will be installed using the VS 2010 shell, so they'll be accessible when you boot up VS 2010.
Run through your SQL Server installation process and choose the relevant BI components (Analysis Services/Reporting Services/Integration Services) on the "Feature Installation" step of the installation wizard.

Error While Installing Visual Studio 2005 Express Edition

I have installed .net framework 2.0 and now I am trying to install Visual Studio 2005 Express Edition from the Internet, but when I execute the setup file I am getting the following error:
"The upgrade patch cannot be installed by the windows Installer service because the program to be upgraded may be missing or the upgrade patch may update a different version of the program. Verify that the program to be upgraded exists on your computer and that you have the correct upgrade patch".
Can anyone tell me what is the error and how should I rectify it?
Please note that I am already having Visual Studio 2008 installed on my system.
Please help me!
Thanks in advance!
It sounds like you are trying to install the Service Pack or an invalid file. When installing Visual Studio 2008 and choosing the default installation mode it will already install SQL Server 2005 Express edition on your machine if it is not already installed.
If you did a custom install you can re-run the Visual Studio 2008 installation and select to install SQL Express.
Also make sure you don't have Sql Server 2008 installed, and if you have do an advanced install on Sql Server 2005 express and change the instance name to something else. I would recommend rather installing Sql Server 2008, either from the internet or from the Sql Server Installation Disc, by choosing Express edition during installation.

Resources