SQL Server 2012 - SQL Server Data Tools - sql-server-2012

I have VS2012 Ultimate installed. In the Installed products it states I have SQL Server Data Tools 11.1. When I go to SQL Server 2012 and click on the SQL Server Data Tools Menu option, VS2010 starts up.
I changed the target to point to C:\Program Files (x86)\Microsoft Visual Studio 11.0\Common7\IDE\devenv.exe instead of C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE\devenv.exe
So now VS2012 starts up but under new projects I DO NOT have the option to create a new SSIS package. Nor the option to download the data tools off the web.
I did go through VS2010 and download DataTools for 2010 and also selected the download for 2012. VS2010 now has Business Intelligence but VS2012 still does not have this template.
Please help. Slowly going mad.

SQL Server Data Tools part for Business Intelligence (SSAS, SSIS, SSRS) has been released as an add-on for Visual Studio 2012 in March 2013.
It can be downloaded here
If you are running on a 64 bit system and have any error message, use option 1 during the installation (New install). It will only add the BI Studio and not try to reinstall anything else.

Cnfusingly Microsoft have 2 different products called SQL server data tools, the one from the installation media which gives you the BI templates in VS2010 and one that you can download, which just adds the database project type to VS2010/12. Currently there are no BI templates available for VS2012, which is incredibly frustrating, it's due to the version of the Visual Studio Shell used by the tools on the installer only supporting 2010. I guess we'll just have to wait for an update to that :(

New download and more compatibility languages as of January 2019.
SQL Server Data Tools in Visual Studio 2012
Supported Operating Systems:
Windows 10 (x86 and x64)
Windows 8, 8.1 (x86 and x64)
Windows 7 SP1 (x86 and x64)
Windows Server 2012 (x64), R2 (x64)
Windows Server 2008 R2 SP1 (x64)

Related

Failed to create DAX script in SSMS v18.5.1 - Object reference not set to an instance of an object

I am not able to open new "Analysis Services DAX Query" in SQL Server Management Studio (SSMS) v18.5.1.
SSMS DAX Error print screen
Error details:
Failed to create new DAX script.
------------------------------
ADDITIONAL INFORMATION:
Object reference not set to an instance of an object. ( at Microsoft.VisualStudio.Text.Editor.Implementation.WpfTextView.UnsubscribeFromEvents()
at Microsoft.VisualStudio.Text.Editor.Implementation.WpfTextView.Close()
at Microsoft.VisualStudio.Text.Editor.Implementation.WpfTextViewHost.Close()
at Microsoft.VisualStudio.Editor.Implementation.SimpleTextViewWindow.CloseExistingWpfTextView()
at Microsoft.VisualStudio.Editor.Implementation.SimpleTextViewWindow.CloseBufferRelatedResources()
at Microsoft.VisualStudio.Editor.Implementation.SimpleTextViewWindow.CloseView()
at Microsoft.VisualStudio.Editor.Implementation.CompoundTextViewWindow.Close()
at Microsoft.SqlServer.Management.UI.VSIntegration.ShellCodeWindowControl.UnsinkEventsAndFreeInterfaces()
at Microsoft.SqlServer.Management.UI.VSIntegration.ShellTextEditorControl.Dispose(Boolean disposing)
at System.ComponentModel.Component.Dispose()
at Microsoft.SqlServer.Management.UI.VSIntegration.Editors.ScriptEditorControl.Dispose(Boolean bDisposing)
at Microsoft.SqlServer.Management.UI.VSIntegration.Editors.ScriptAndResultsEditorControl.Dispose(Boolean bDisposing)
at Microsoft.SqlServer.Management.UI.VSIntegration.Editors.MdxScriptEditorControl.Dispose(Boolean bDisposing)
at Microsoft.SqlServer.Management.UI.VSIntegration.ShellWindowPaneUserControl.OnWindowPaneClose()
at Microsoft.SqlServer.Management.UI.VSIntegration.ShellWindowPaneUserControl.ClosePane()
at Microsoft.VisualStudio.Platform.WindowManagement.WindowPaneDocumentObject.<>c__DisplayClass19_0.<DisposeManagedResources>b__0()
at Microsoft.VisualStudio.ErrorHandler.CallWithCOMConvention(Action method, Boolean reportError))
All other queries (MDX, DMX, XMLA) works fine, but DAX does not.
I have tried following to fix the issue:
Firstly I had tried re-install just SSMS.
When it did not work I have tried following steps still without success:
uninstall Visual Studio 2019 with SQL Server Data Tools (SSDT)
uninstall SSMS
install VS 2019 with SSDT
install SSMS
I tried to search for help on this issue, but I have not found any relevant information.
Thank you in advance for any suggestions.
My SSMS setup:
SQL Server Management Studio: 15.0.18333.0
SQL Server Management Objects (SMO): 16.100.37971.0
Microsoft Analysis Services Client Tools: 15.0.19153.0
Microsoft Data Access Components (MDAC): 10.0.18362.1
Microsoft MSXML: 3.0 6.0
Microsoft .NET Framework: 4.0.30319.42000
Operating System: 10.0.18363
Part of my VS 19 setup:
Microsoft Visual Studio Professional 2019
Version 16.6.5
VisualStudio.16.Release/16.6.5+30320.27
Microsoft .NET Framework
Version 4.8.03752
Installed Version: Professional
Microsoft Visual Studio Tools for Applications 2019
Microsoft Visual Studio Tools for Applications 2019
SQL Server Analysis Services 15.0.19126.0
Microsoft SQL Server Analysis Services Designer
Version 15.0.19126.0
SQL Server Data Tools 16.0.62006.03190
Microsoft SQL Server Data Tools
SsmsVsIntegration 1.0

VS 2013 Could not load file or assembly 'Microsoft.SqlServer.Management.SqlParser, Version=13.0.0.0

I have some SQL CLR projects I created with VS 2012. I want to open them with VS 2013, so I installed SSDT 16.5 for VS 2013.
Now, I am getting this error opening the SQL CLR projects:
Could not load file or assembly 'Microsoft.SqlServer.Management.SqlParser, Version=13.0.0.0
Thanks for any ideas
I also faced this issue, Installing SQL Server 2017 broke SSDT. I have fixed the issue, Here is how I was able to fix it
Steps
Uninstall Microsoft SQL Server 2017 TSQL Language Service.
Install TSqlLanguageService.msi from SQL Server 2016. Part of Microsoft® SQL
Server® 2016 Feature Pack - https://www.microsoft.com/en-us/download/details.aspx?id=52676 (Version:13.0.1601.5 File: ENU\x64\TSqlLanguageService.msi)
then restart visual studio and reload the project
Installing a newer version of SQL Server Management Studio can break SQL Server Data Tools. You need to downgrade the TSQL Language service to 2016 (13.0.0.0) level.
Originally from here:
https://www.sqlservercentral.com/Forums/1921984/Microsoft-Visual-Studio-Could-not-load-file-or-assembly-MicrosoftSqlServerManagementSqlParser-Versio
Installing SQL Server 2017 broke SSDT. I have fixed the issue, but
just wanted to post this because I couldn't find the solution at
first. Steps
Uninstall Microsoft SQL Server 2017 TSQL Language Service.
Install TSqlLanguageService.msi from SQL Server 2016.
Part of Microsoft® SQL Server® 2016 Feature Pack - https://www.microsoft.com/en-us/download/details.aspx?id=52676
Version:13.0.1601.5
File: ENU\x64\TSqlLanguageService.msi
I hope this helps someone.
https://connect.microsoft.com/SQLServer/feedback/details/3106613/net-exception-could-not-load-file-or-assembly-microsoft-sqlserver-sqlclrprovider-13-100-0-0-after-installing-sql-server-2016
Client applications should not be using the assemblies from the Program Files folders unless they are from the specific SDK folders (such as "C:\Program Files (x86)\Microsoft SQL Server\130\SDK")
The 13.100.* version of assemblies you are seeing are currently only for use by Microsoft tools and so are not placed with all needed dependencies being in the same place. The DTS folder especially has only a subset of SMO assemblies since that code does not need things such as SqlClrProvider.
Please use either the assemblies from the SDK folders or from SharedManagementObjects.msi to use as references for your applications.

which SSDT for VS 2017 when I have SQL Server 2016 DE

I have VS 2017 CE, SQL Server 2016 DE and Microsoft SQL Server Management Studio 13.0.16106.4. About VS is showing Microsoft SQL Server Data Tools as installed.
I would like to install SSDT so that I can do the SSRS/SSIS and SSAS but I don't know which one to install, it's giving few options from here
It reads
Download SQL Server Data Tools 17.1 for Visual Studio 2015
Download Data-Tier Application Framework (DacFx) 17.1
From the same website
It then advises "To use SQL Server Data Tools in Visual Studio 2017 see this section below". When I go to the link provided it takes me to visualstudio.com website. It's not apparent to me what I need to download from there, is it the Community Edition?
Going back to the first link I provided, it advises...
If you are using SSDT with Visual Studio 2017, install the AS and RS components:
Analysis Services
Reporting Services
I also found another link...www.visualstudio.com/vs/ssdt/
Also are there any conflict between sql server 2016 and vs 2017 CE when taking SSRS/SSIS or SSAS tasks?
StackOverFlow is giving me message that I need to have number of reputation before I can give more than 1 website link.
Can someone advise me which one to install?
Thanks.
For Visual Studio 2017, there is not yet a stand alone install of SSIS|AS|RS. However, there are VSIX installs available for RS and AS. See links below.
SSIS is working on creating a standalone install as well as a VSIX package.
https://marketplace.visualstudio.com/items?itemName=ProBITools.MicrosoftReportProjectsforVisualStudio
https://marketplace.visualstudio.com/items?itemName=ProBITools.MicrosoftAnalysisServicesModelingProjects

How do I use SSDT with VS2015

I am using Windows 7 SP1.
I have SQL Server 2012 installed along with Visual Studio Community 2015.
The SQL Server 2012 installation has always forced me to use VS2010 Shell to launch SQL Server Data Tools.
I recently installed an update through the NuGet Package Manager in VS2015 which included SSDT. I was hoping that this would enable me to use SSDT with VS2015. However it still launches with VS2010.
My question is: How do I used SQL Server Data Tools with Visual Studio 2015?
Thanks
The latest release (Feb 2016) is the first release of SSDT that can target different versions of SSIS so you can now target 2012 from visual studio 2015:
https://blogs.msdn.microsoft.com/ssdt/2016/03/07/ssdt-preview-update-feb-2016/
It is still in preview though so you will need to download the pre-release bits:
https://msdn.microsoft.com/en-us/library/mt204009.aspx
or wait a month or so for the RTM release.
I usually use the pre-release builds and they are normally pretty solid but each environment is different :)
ed

Where to download vcredist?

I feel a little stupid asking this question, but I hope that this might be helpful to others as well.
Background: We/I are developing some software with Visual Studio 2008 SP1 (VC9). We would like to provide the vcredist along the software on the cd.
Now, I am used to ask google "download vcredist 2008 sp1" and usually it leads me to the following (also bookmarked) web pages:
https://www.microsoft.com/en-us/download/details.aspx?id=5582 (32 bit)
https://www.microsoft.com/en-us/download/details.aspx?id=2092 (64 bit)
I think I have downloaded different versions (9.0.30729.01 and later 9.0.30729.17) from that same URL as they came available. Today, only the .17 is available on that page. Now, a customer complained and told me that there is a 9.0.30729.6161 available, but I can't find it. The closest I could get was 9.0.30729.5677:
When I searched google for that specific version, it lead me to this page: http://support.microsoft.com/kb/2538243 which is saying, that a security update is available.
The linked Security Bulletin https://technet.microsoft.com/en-us/security/bulletin/ms11-025 lists the vcredist 2008 sp1 as affected and as a new link to something that seems to be an updated version of the vcredist 2008 sp1, although it has a slightly different name, in that it also bears the "mfc" in it's name: https://www.microsoft.com/en-us/download/details.aspx?id=26368
File names, file sizes and version numbers suggest these are updated versions of the vcredist 2008 sp1. This is the version 9.0.30729.5677
Is there ONE URL where I can always pull the newest version ?
Is there some kind of notification system (email list, rss-feed, ...) that informs me about a new vcredist ?
You can download the VC++ redistributables at:
https://support.microsoft.com/en-us/kb/2977003
As of now, the latest are:
Visual Studio 2005 (VC++ 8.0) SP1 w/ MFC Security Update: 8.0.61001 (8.0.61000 for x86)
Visual Studio 2008 (VC++ 9.0) SP1 w/ MFC Security Update: 9.0.30729.6161
Visual Studio 2010 (VC++ 10.0) SP1 w/ MFC Security Update: 10.0.40219.325
Visual Studio 2012 (VC++ 11.0) Update 4: 11.0.61030.0
Visual Studio 2013 (VC++ 12.0) Update 5: 12.0.40660.0
Visual Studio 2015 (VC++ 14.0) Update 3: 14.0.24215.1
Visual Studio 2017 (VC++ 14.1): 14.16.27012.6
Visual Studio 2019 (VC++ 14.2): 14.25.28508.3
Note: The 2015, 2017, and 2019 packages share the same runtime files, hence only the latest of the series is required.
For additional versioning information, see:
https://en.wikipedia.org/wiki/Microsoft_Visual_C%2B%2B