VS 2019 - SSAS Tabular model explorer missing or greyed out - visual-studio

I searched many times, but there was no answer from MSFT or any other communities for this issue.
I have the Community edition 2019. Tabular model explorer is greyed out in the View->Toolbar->Other windows. I have no luck with VS 2017 EE as well, the same problem there too.
I could able to use the Import Datasource button on the Model menu and pull the source tables for building, however, Tabular model explorer and the data source folders are missing or not being able to use from a project perspective. Since the tabular model explorer is missing, I couldn't able to use the data transform window for each table and thus literally making a stop on development.
This is really annoying.
Here is VS 2019 system info
Microsoft Visual Studio Community 2019
Version 16.5.3
VisualStudio.16.Release/16.5.3+30002.166
Microsoft .NET Framework
Version 4.7.03062
Installed Version: Community
SQL Server Analysis Services 15.0.19049.0
Microsoft SQL Server Analysis Services Designer
Version 15.0.19049.0
SQL Server Data Tools 16.0.62003.05170
Microsoft SQL Server Data Tools
SQL Server Integration Services 15.0.2000.93
Microsoft SQL Server Integration Services Designer
Version 15.0.2000.93
SQL Server Reporting Services 15.0.19049.0
Microsoft SQL Server Reporting Services Designers
Version 15.0.19049.0
[Update 04/10/2020- Attached screenshot of the greyed out window menu]
[SSAS Tabular Explorer Window greyed out]1

In your screenshot, Model.bim does not appear to be open. You have to open it for Tabular Model Explorer to show up. Double click Model.bim in Solution Explorer.
Other issues that I don't believe apply to you, but may to others:
The Compatibility Level of the model must be at least 1400. Check by selecting Model.bim in Solution Explorer and then look in the Properties Window.
You also must have the Analysis Services extension installed. Search on "SSDT" for current installation steps.

If you left click on the Model.bim File in solution explorer and look at the properties window you should see Compatibility Level is 1103 or less. You will need to upgrade to a newer compatibility level to use Tabular Model Explorer. What version is your SSAS Server? You can upgrade to that level or lower.

You are probably using compatibility level 1400, in which you have to click on the Design button instead - see this Microsoft reply.

You need to install the Analysis services tabular projects extension from the Marketplace. Post that you should be able to see the tabular model explorer

I have 1400 compatibility level and still the tabular explorer didn't show up, it was greyed, it's some kind of bug, you can solve it by simply double clicking again on the model and opening it.

Related

Is there a model browser window for LINQ to SQL?

I'm looking for a way to list the tables/objects in a LINQ to SQL model, and search them, similar to the Model Browser window for Entity Framework.
Are you using MS SQL Server? If so you should be able to use the Database Diagrams.
It turns out that in Visual Studio 2017 the model browser can be activated by pressing Ctrl+1 if the edmx diagram is displayed at the same time.
For a work-around, I'm editing the *.dbml file directly. However, this seems much more error prone (copy-paste errors, requires more knowledge of framework, etc.), for repetitive changes.
UPDATE (and actual fix):
I had to install SQL Server Data Tools (SSDT) for my specific version of Visual Studio. This doesn't have to match your target version of SQL Server.
See here for Visual Studio 2017:
https://learn.microsoft.com/en-us/sql/ssdt/download-sql-server-data-tools-ssdt?view=sql-server-2017
Note that using the standalone installer did NOT work for this purpose (LINQ to SQL model browser). Only using the Visual Studio installer, and after a restart did the browser load.
I didn't update this answer immediately, so there may be something I'm missing; please add more detail if you encounter this issue.

manage sdf data in visual studio 2013

Last year, I used VS2010 to develop a Winforms application. Now, I changed to VS2013 and I faced some problems.
I couldn't find a way to manage SQL Server Compact Edition database files (.sdf) in VS2013. Although I have installed an add-in from this website
But I can only see the top 200 rows of data in the .sdf, I can't open connection in order to add more data with code.
Is there any solution for me ?
Go to Options in the addin, and you change 200 to any number
Could you clarify what you mean by: "cant open connection in order to add more data with code" ?

SSIS Data Flow Items and SSIS Contol Flow Items Tab missing in Visual Studio 2013 from _Choose Toolbox Items_

I have a VS 2013 installed, and successfully installed "Microsoft SQL Server Data Tools - Business Intelligence for Visual Studio 2013"
All BI project templates are OK, all toolbox items are OK. I also can create a new Integration Services project, and toolbox correctly shows all the SSIS out of the box items.
.
.
However when I try to add a new custom Toolbox item and choose Tools/Choose Toolbox Items the dialog has no "SSIS Data Flow Items" and "SSIS Contol Flow Items" tabs.
.
.
Because of the tabs are missing, I can not add custom component to my SSIS Data Flow Items tab. The following picture is from a tutorial, it shows what I am expecting to see:
I consider the missing tabs a symptom of something went wrong, but not insist to see the tabs, if there is any alternative way to add custom component to the SSIS Data Flow toolbox. But the most relaxing would be if the tabs were appeared...
Btw I have two machine with this exactly same symptoms, a 2012 Server and a Win 7 box.
Any help appreciated, thanks in advance.
One of the complaints custom component developers for SSIS had was that installation of their product (to the GAC and Program Files) still required the manual adding of them, as your final screenshot depicts.
2012+ no longer has this requirement. Instead, by virtue of a DLL being correctly built for that specific version of SSIS, "it will just show up" TM
I'm not finding the blog references but there were announcements about the change
"It just works" was already claimed

VS 2013 Query Designer greyed out

I believe I am following the instructions at http://msdn.microsoft.com/en-us/library/vstudio/ms171960.aspx but whatever I try, the Query Designer toolbar remains greyed out and 'Query Designer' does not appear in the main menu. Am I missing something?
(VS2013 version 12.0.21005.1 REL connecting to a SQL 2008 R2 Express db)
Have posted similar problem here - Solved on this thread.
Create two connections in VS Server Explorer.
1) Microsoft SQL Server Database File (SqlClient):
Use this for editing tables, and for the connection string in the software.
2) Microsoft SQL Server + .NET Framework Data Provider for OLE DB:
Use this for visual queries.
Everything is VS, Publish options don't give 'file in use'.
On a completely unrelated Twilight Zone moment - you posted the same question, on the same day, on the same forum, and both our names are Peter G!

New visual Studio 2010 Database project and database diagrams

I am experimenting with the database project in Visual Studio 2010. The schema diff and management of scripts looks great, but where are the database diagrams? I would like to design the tables visually, but still make use of the versioning/comparison/deployment tools in VS2010. I didn't see any option in the database project to create a diagram. Is that not supported?
You could create the diagrams in SSMS (or another diagramming/modelling tool) as you would do normally, and synchronize the structure back to your Visual Studio Database Project, although you'll need the Premium or Ultimate version of Visual Studio to use this feature.
I'm not sure if this is what you are looking for,
but I suggest you add an Entity Diagram (Entity Framework) to your
project / solution. This will allow you to design/describe your data model(s)
either by drawing them visually or by importing an existing database schema.
Entity Framework information:
http://msdn.microsoft.com/en-us/library/aa697427(VS.80).aspx
Tutorial (for EF 2.0 but still relevant)
http://blog.garypretty.co.uk/index.php/2009/05/20/tutorial-entity-framework-v20-model-first-using-visual-studio-2010-and-net-40/
I hope this helps you get started
There certainly is diagramming support.
Open the "Server Explorer"
Create/open a data connection.
You should see "Database Diagrams", which will function very similarly to the same function in SQL Server Management Studio.
Bam.
Note, I'm referring to V2010 Ultimate.

Resources