Analysis Services Project Deployment Issue in Visual Studio 2019 - ssas

I am unable to deploy Analysis Services Multidimensional and Data Mining Project on Visual Studio 2019. It tells me to ensure that "SQL Browser" service is running while Administrative Tools are showing "running" status for SQL Server Browser.

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

Missing analysis service when creating new project

I have installed SSAS and created a project. After two months working with seas, now when creating a new project, the analysis service is not available. but I can open old SSAS projects. How I can create another new SSAS project.
In Visual Studio (Open as Admin):
- Go to "Tools" >> "Extensions and Updates..."
- In the left pane, click on "Online"
- In the Search box on the top right enter "SSDT"
- check if the Extension "Microsoft Analysis Services Projects" is installed
In case it is installed and you still cannot choose Analysis Services as New Projects, you need to un-install the Extension and follow the instructions on the following website and install SSDT (SQL Server Data Tools):
https://learn.microsoft.com/en-us/sql/ssdt/download-sql-server-data-tools-ssdt?view=sql-server-ver15
Visual Studio 2019: Install Extension "Microsoft Analysis Services Projects"
Visual Studio 2017: Either install Extension, if that doesn't work for you, intall SSDT with the standalone installer: Download SSDT for Visual Studio 2017 (15.9.4)
Visual Studio 2015 and earlier: Install via SSDT standalone installer required
It depends on which version of Visual Studio you are using. In 2015 everything needed to be installed via the standalone installer SSDT. In 2017 both the standalone installer and extensions exist, whereas in 2019 the standalone installer got replaced by the extensions. The super confusing part is, that there is the option to install "SSDT" during the installation of Visual Studio. Unfortunately installing SSDT during installing Visual Studio does not include Analysis/Reporting/ Integration Services.

I'm having problems connecting to TFS VS2010 from VS 2008

If you are not able to connect to TFS VS2010 from VS2008. This might save you some time.
Connecting from VS2008 to TFS VS2010
Step:1 Make sure that Service Pack 1 is installed with Sql Server 2008
Step:2 Make sure that Service Pack 1 is installed with VS2008
Step:3 Make sure that Team Explorer is installed in VS 2008
Step:4 Make sure that Service pack 1 is updated for Team Explorer
Step:5 After all these Service Packs are installed on your machine, follow the below path
CmdPrompt> regedit
Hkey_Current_User>Software>Microsoft>VisualStudio>9.0>TeamFoundation> Right Click Servers>New>String Value
Give the complete URL path which look like ‘http://swstfs:8080/tfs/DefaultCollection’
Step:6 Close everything and open VS2008
File>Open>TeamProject
Step: 7 Connect.
I connected to TFS, but the problem is while I am trying to open the solution through VS2008 into TFS it is showing me an error
"This project (fmPilot.SSIS.ClientIntegrations.sln) cannot be opened from source control because it was created by a version of Microsoft Visual Studio that is incompatible with this one.
If this is the case, you may be able to open it from source control using that version of Microsoft Visual Studio, and then use Microsoft Visual Studio to open the local copy."
I also tried it through VS2010 but it is showing me an error
"Cannot be openned because its project type(/dtproj) is not supported bby this version of the application."
Can somebody help me on that..... I google it some says that permission might be the reason.. Please help me...
Thanks,
Karthik
Make sure that you have Business Intelligence Development Studio (BIDS) installed on your machine. Having just Visual Studio 2008 doesn't mean that you can open SSIS packages.
To verify whether you have BIDS installed:
Open Visual Studio 2008 IDE. Click Help and About Microsoft Visual Studio.
Make sure that you see SQL Server Integration Service.
Another way to verify is by trying to create a new project in VS 2008. You should see Business Intelligence Projects under Project types.
If you do not see this, then it means you don't have BIDS installed on your local machine. You can install BIDS by installing SQL Server 2008 client tools.
Following link shows how to install SQL Server 2008 client tools.
SQL Server 2008 Client Tools Installation

SQL Server 2005 installs Visual Studio 2005 too?

I just installed SQL Server 2005 and it installed Visual Studio 2005 too. What's the point of this? Is there an option in the SQL Server installation that can prevent this. If I uninstall Visual Studio now will it mess anything up? What if I now install Visual Studio 2008 too?
The visual studio that you get is a shell called Business Intelligence Development studio and it allows you to create Analysis Services, Integration Services, and Reporting Services projects. Also it allows you to deploy those projects to your SQL Server. If you already have Visual Studio installed, it will add those project types to it.
With the Development Studio you can add .Net projects such as C# or VB to your Analysis Services or Reporting Services projects to create custom components for them. There are additional benefits, but you should just do a search for Business Intelligence Development Studio to see what else can be done.
EDIT:
I just noticed that you were asking about what happens if you uninstall Visual Studio 2008. There should be a listing under your installed Programs called Visual Studio Shell or something of that nature, which is the Business Intelligence Development Studio and is independent of the main Visual Studio 2008 install. Both of them will allow you to create the Ms SQl Projects that I listed above. When you uninstall Visual Studio 2008 it won't uninstall this application and vice verse. If you do accidentally delete it, you can always install it again using your MS SQL CDs. There are instructions on the web to do so.
The version of Visual Studio that gets installed is necessary for doing the work you need to do in SQL Server. The old tools are going away, and this is part of the new.
Personally, I miss the Enterprise manager and SQL Query Analyzer from the SQL Server 2000 days, but they aren't likely to come back.
Edit - added
OK. The above was a bit flippant for an answer.
But to answer your comment, Management Studio IS Visual Studio, configured and modified to work with SQL Server.

Download link for SQL Server Reports add-in for Visual Studio 2008

Can someone provide the download link for SQL Server Reports add-in for Visual Studio 2008 (not Visual Web Developer)?
You get the Reporting Services development tools by running the install for SQL Server. You can download a 180 day trial here: http://www.microsoft.com/sqlserver/2008/en/us/trial-software.aspx