Problems opening a dtsx file in Visual Studio 2017 - sql-server

When I open a dtsx file in Visual Studio Enterprise 2017 it opens them as just an XML file. I read over this stack overflow discussion but when I do a File->New Project I don't see Integration Services Project as an option. I checked the Visual Studio Installer and I see that Data storage and processing is already installed. SQL Server Data Tools is checked too:
Is there something else that I need to do?

You may have installed SQL Server Data Tools without checking the Integration Services from the installer.
Download and install SQL Server Data Tools (SSDT) for Visual Studio
Also try using the standalone installer (check the link above for more details)

Related

Visual Studio 2019 say dtproj SSIS project is unsupported

I'm trying to open my dtproj SSIS project in Visual Studio 2019 and it says its unsupported and incompatible. What am I missing? I installed VS with SSDT so it should work. I compared the about-info of both and found the VS that didn't work lacked the following. Is SSIS 15 a separate install? If so, where do I get it?
Snapshot Debugging Extension 1.0
Snapshot Debugging Visual Studio Extension Detailed Info
SQL Server Integration Services 15.0.2000.180
Microsoft SQL Server Integration Services Designer
Version 15.0.2000.180
Microsoft Visual Studio Tools for Applications 2019 00435-60000-00000-AA131
Microsoft Visual Studio Tools for Applications 2019
#larnu has part of the answer, that is, install the SSIS extension. After doing that it still won't work (or didn't in my case). The project still said 'unsupported' and I right clicked it in solution explorer and clicked 'reload project' and after that the project loaded correctly.

How do I open a DTSX file in Visual Studio 2019?

How do I open a DTSX file for editing using Visual Studio 2019?
I have generated a DTSX file by using the Import Data wizard found in SQL Server Management Studio, using the same process outlined in this question. The answer to that question explains how to edit a .dtsx file, but it does not appear to be correct anymore. I am using Visual Studio 2019. The answer says I need to use this link to download SQL Server Data Tools for Visual Studio:
Download and install SQL Server Data Tools (SSDT) for Visual Studio
But at that link, it says:
Changes in SSDT for Visual Studio 2019
With Visual Studio 2019, the required functionality to enable Analysis Services,
Integration Services, and Reporting Services projects has moved into the
respective Visual Studio extensions. The core SSDT functionality to
create Database Projects has remained integral to Visual Studio (you
need to select the Data storage, and processing workload during
install). There's no more standalone SSDT installation required.
If you already have a license to Visual Studio 2019:
For SQL Database Projects, install the Data storage and Processing
workload for Visual Studio
For Analysis Services, Integration Services
or Reporting Services projects, install the appropriate extension(s)
from the marketplace
I believe I need Integration Services, but it doesn't have a link to the appropriate extension in the marketplace. Through various googling paths1, everything keeps pointing back to the SQL Server Integration Services Projects extension. I have installed this extension2, but I am still unable to open DSTX files.
Here's how I'm attempting to do it: In Visual Studio, am going to File|Open Project. Then I browse to the folder with the .dtsx file in it, change the filter to *.* (because .dtsx isn't in the list of supported project extensions), choose the file, and click Open. I get this message box:
So, my question again: How do I open a DSTX file from Visual Studio 2019?
See below for detailed versions and installed extensions.
1 For example, see Lesson 1-1: Create a new Integration Services project, where they create a DSTX project. The lesson's Prerequistes instructs you to install the SQL Server Data Tools from Download SQL Server Data Tools, which is the same link from above.
2 I note that version 3.1 of the extension is currently labeled a Preview and that release notes for this version includes the text, "This is the second preview release. We do not recommend using it for production." But I do not see where I am able to download an earlier version of this extension, either from the marketplace website or from in Visual Studio. I would try the latest production release if I could find it, but it doesn't seem to be available.
I also see there are two notes about issues with this preview release. Neither seem relevant to my situation. The first is a regression in VS 16.2 where they recommend upgrading to 16.2.3. I am already on 16.2.4. The second is an issue where the extension and/or Visual Studio Tools for Applications 2019 might be deleted during a VS instance upgrade. I have not done any upgrades to VS since installing this extension.
Installed Software
Visual Studio 2019, version 16.2.4
SQL Server Management Studio, version 17.9.1.
In Visual Studio, when I go to Help|About Microsoft Visual Studio, I also see the following listed in Installed Products (this list is not complete; it includes only the items that seemed relevant):
SQL Server Data Tools 16.0.61906.28070
SQL Server Integration Services 15.0.1301.433
In Visual Studio, when I go to Extensions|Manage Extensions, I see SQL Server Integration Services Projects in the list of installed extensions.
The error message indicates you are trying to open a project/solution. DTSX is a package.
You first need to open the .sln or .proj file. Within the project (solution explorer) you can open the dtsx. Do not try to open the dtsx file from the source control explorer as that does not open with the project references.
In summary, open the solution/project, then open the package from the solution explorer.
To edit and create integration services packages (.dtsx) is necessary to install SQL Server Integration Services Projects.
After installation Visual Studio 2019 can create or edit integration packages either independently (open file) or in Integration Services Project. It is also possible to open packages on SQL server even when SSMS fails with message:
Connecting to the Integration Services service on the computer "xxxx" failed with the following error: "Access is denied."
You will have to install SSMS, SSAS from VS Extensions> (In VS Menu, click "Extensions" and then "Manage Extensions

SQL Server Data Tools version 17.x is available for which version of Visual Studio?

Kindly let me know where can I get 17.x version of SSDT. I am trying to run a powershell script which requires SQL Server Data Tools version 17.x. I am not sure which version of VS it's referring to? 2017 or 2015
The error message is:
Exception calling "DeployProject" with "2" argument(s): "Could not load file or assembly 19-Sep-2019 07:04:28 'Microsoft.SqlServer.IntegrationServices.Common.ObjectModel, Version=14.0.0.0, Culture=neutral, 19-Sep-2019 07:04:28 PublicKeyToken=89845dcd8080cc91' or one of its dependencies. The system cannot find the file specified.
As I know for Visual Studio 2017 the relevant SSDT version is 15.x And with Visual Studio 2019, the required functionality to enable Analysis Services, Integration Services, and Reporting Services projects has moved into the respective Visual Studio extensions.
Reference
Download and install SQL Server Data Tools (SSDT) for Visual Studio
Update 1
Based on your comments, you must install SSDT for SQL Server 2016 (version 14)
Previous releases of SQL Server Data Tools (SSDT and SSDT-BI)

How to install SQL Server support for Visual Studio 2017?

I am not able to connect to SQL Server .dbml file. When I am trying to connect to SQL Server, it shows a message to "install the missing package". Now, when I am installing that missing plug-in, it just shows the progress bar and at last shows "Installation completed". But again when I try to connect, it shows the above error message.
Can anyone please help me to install it manually?
Step 1:
Step 2:
Step 3:
Search for and install the latest version of SSDT (Sql Server Data Tools).
I install Visual Studio (community edition) quite often and this happened to one of the PCs I develop on.
Uninstalling/Re-installing Visual Studio is what make this work.
Starting with Visual Studio 2017, the functionality of creating Database Projects has been integrated into the Visual Studio installation. There is no need to install the SSDT standalone installer for the core SSDT experience. To create Integration Services/Analysis Services/Reporting Services projects you still need the SSDT standalone installer.
For Database Projects, install the Data Storage and Processing workload for Visual Studio
For Analysis Services, Integration Services or Reporting Services projects, download and install SQL Server Data Tools

No SQL Server Data Tools in VS 2013 ultimate installed

I have no SQL Server Data Tool in Visual Studio 2013.
SSDT should be included in VS2013? Source
How can I install them?
I tried to install BI for VS 2013 but still don't have any SQL functions in VS.
Make sure Microsoft SQL Server Data Tools is checked when you install VS.
SQL tools like schema comparison are in SQL menu. SQL menu is not visible till any database project OR .scmp file OR file where its context is available is open.
For more details, refer:
http://pranavwithyou.wordpress.com/2013/09/20/schema-data-comparison-of-two-databases-with-visual-studio/
http://channel9.msdn.com/Events/Visual-Studio/Launch-2013/VS108
Update
Got this link on MSDN:
http://msdn.microsoft.com/en-us/data/hh297027
Download latest VS2013 Update 2 through extension update or by link http://www.visualstudio.com/downloads/download-visual-studio-vs
For SSDT-BI for VS 2013 install:
http://www.microsoft.com/en-us/download/details.aspx?id=42313
after installation restart Visual studio.
Lets hope, it should work then.
I don't have SQL menu, however I found it in Tools -> SQL Server

Resources