cannot add members to tabular model roles using visual studio 2012 - sql

I've created a tabular model project in Visual Studio 2012 and everything seems to work properly until I go to use the Role Manager. I can create roles easily enough, but when I click the Add button on the members tab for a role - absolutely nothing happens. No dialog, no error, nothing.
I'm pretty disgusted by this, but I thought I would ask if anyone else has seen this behavior or knows a workaround.

I believe I've found a workaround for this. On two separate computers, installing the following SQL Server features resolved the issue:
"Client Tools Connectivity"
"Management Tools - Basic"
"Management Tools - Complete"

Related

Can't create a simple SQL Test

I'm trying to get just basic unit testing on an SQL database through a Visual Studio project.
The first thing I tried was just creating a simple .Net Core Unit Testing library.
Then I added an SQL Test, and it couldn't link to the SqlDatabaseTestClass`. Looking around, this is a fairly ubiquitous issue, but I found an obscure comment at the bottom of https://developercommunity.visualstudio.com/content/problem/29842/database-unit-test-project-does-not-build-in-visua.html that said that it's probably a linking issue.
So I created a .Net Framework Unit Test project. Now that has no option to add an SQL Test.
So I found an article that says that I should try creating an SQLDatabase https://www.codeguru.com/csharp/.net/net_data/create-sql-server-database-unit-tests-using-visual-studio.html
But then I got an error that The server version or database compatibility level is not supported. Import Database in VS 2015 SQL Server Database Project
The solution to that was to go to the SQL Server Object Explorer and right click on the DB and create an SQL project by right clicking on the Database. And that worked! Finally I have a project with database tables.
But now when I right click on a stored procedure, I don't get the option to create a unit test.
I figured it out.
Open the View -> SQL Object Explorer in the top menu bar in Visual Studio 2017. Make sure it's the Object Explorer and not the Server Explorer. These instructions presuppose that you have your connections setup properly.
Right-click on your database and click Create New Project. Make sure the directory is correct because it wasn't for me.
After the database imports, go to your Error List and resolve all those errors. Now you should be able to right-click on a stored procedure in either the SQL Server Object Explorer and select Create Unit Tests.
Allowing Visual Studio to do all the heavy lifting sorted me out.

Desktop shortcut with Default database for SQL Server Management Studio

I am working on 5 different development projects.
Each of them have a C# solution, and a different database to connect to.
Each C# solution has a desktop shortcut, pointing to the right / different sources.
I would like to have something like that for the databases.
So when I click a shortcut on my desktop, each of those 5 shortcuts would open a different database, and maybe ask for my credentials. (I wouldn't mind if they didn't)
I am not even sure what exactly should I search for, is the "Solution" the same as in Visual Studio, and I can use the ssms solution, or there is something else I need to use?
I am using 2008 R2.
Thanks
With some help, I was able to figure out how to make this work.
I tested it, and it looks fine, I love it !
Pic 1: see the parameters, the ssms.exe can get
Pic 2: see my shortcut on the desktop, and in the "Target" field, see my parameters

Management Studio has any logging mechanism for user actions

Exists any possibility to instrument "Management Studio" to log all user actions that are performed? Eg. search, modify data ...
SSMS does not have this functionality.
I develop SSMSBoost add-in for Management Studio and have recently added this functionality.
Have a look here:
http://www.ssmsboost.com/Features/ssms-add-in-executed-sql-statements-logging-history
Additionally it can also keep history of SQL Editor window. It helps sometimes to restore lost work after unexpected shut-downs.

Is there an easy way to create a custom dashboard for users of the Project Portal for TFS?

This might be a better question for https://sharepoint.stackexchange.com/, but since i am using TFS there may be differences, i am not sure.
I need to create a dashboard for a couple users that outlines our current sprint queries. They only need to see kind of the same hierarchy we would see if viewing a tree view in Visual Studio's Team Explorer (when running a tree query).
There are Sharepoint 2010 Dashboards.
Referenced here
Edit: Sharepoint 2010 configuration for compatibility explained here will be needed I guess.

Component Properties window - only three things can be seen rather than 20+

Trying to edit an SSIS package, when I go to the advanced editor on the update database package I can only see on the component properties page three properties. ID, Name and Description.
when my colleague opens this up he can see 20+ options including the SQL option I am needing to be able to edit.
Is this an issue with my SQL Business intelligence studio 2005? or an issue with access to the end database?
Many thanks,
Pierce
I'm guessing that you don't have something installed quite right. I'm betting you have Visual Studio installed, but not SQL Server development tools. First thing I'd probably do is verify that Help, About shows the same app information on both yours and your colleague's boxes.
-
so versions look good, BIDS is installed. Security? Easiest way to check that out is to have your colleague log onto your box using their network id. Not only will that check security, along they way, if there is something funky in your setup ( funky as in different from theirs not wrong ), your colleague is must more likely to spot it. AFTER that works out ok, THEN I might hazzard uninstalling and reinstalling Visual Studio. I don't believe I would mess with uninstalling and reinstalling anything .Net.