Visual Studio hangs when clicking "Close & Update" in Tabular model - visual-studio

I am going crazy now with a tabular project in Visual Studio.
When I try to update a table through the Source Data property:
and then clicking on Design and then refresh the query and afterwards clicking on Home -> Close and Update the window turns grey and it hangs forever. I have to end the VS process from Task Manager in order to continue working.
There is no extra steps applied or some other logic going on in the M query (autogenerated) but still freezes and will not update the data/columns.
I have also tried doing that from the Partitions window as proposed
here on MSDN
but it still freezes.
Visual Studio Enterprise 2015 version, Update 3
Please save me :)

#Pepys My apologies for not posting this as a comment but cant at the moment :(.
I have a few things that you can try:
Adjust your query is SSMS to only send in a sample size of your total records. If you have 10 years then only populate 1 just to test this out.
Connect to your data in Visual Studio via the SQL Server Object Explorer to verify you can connect to it.

The solution could be to use the Partitions window instead of the Source Data
It won't freeze that often when clicking "Close & Update"
Edit:
Visual Studion 2017 works much better and since I started using it, I haven't got this bug so thumbs up for fixing it :)

Related

Visual Studio 2015 Freezes on Performing Checkout

In Visual Studio 2015, when I save I sporadically get the following dialog after saving a file in source control (specifically, I am using TFS 2017).
This is a modal dialog that blocks any input into the application.
Regardless of whether I let it continue or if I press cancel (as I have done so here), it just hangs there indefinitely. My only recourse is to force quit visual studio and run it again.
What can I do to solve this?
Whenever I see problems like this, my first fall-back is to create a new workspace and start fresh. Sometimes the metadata gets in some sort of state, so it never hurts to start over with a workspace.

Visual Studio 2013 always starts with unwanted windows

Using VS 2013 Community Edition (yay!), whenever I start it it opens the Performance Explorer window, which I do not require. I opened it once, and it seems to have saved this layout as default.
I have tried saving the setup without that window, locally overwriting the "CurrentSettings.vssettings", and if I expicitly reload the settings from there it is correct; however, if I close VS and open it again with a solution - Performance Explorer is back again.
Any ideas how/where to save my default settings?? Thanks!
This bug appears to have existed for sometime, across many different versions (read comments)
https://connect.microsoft.com/VisualStudio/feedback/details/749636/performance-explorer-window-is-always-opened-when-vs-is-started-and-mr-soln-opens
Phill's link shows the Microsoft Bug, but you can get around this issue.
Go to the Visual Studio Project's folder
Close Visual Studio!!!
Remove the following file types: Performance Reports *.vsp and Performance Sessions *.psess
Re-open the Solution, you'll get an error saying Visual Studio could not find the Performance Reports for the Project. Do not worry; the Solution will still load.
Close the solution.
Re-open the solution - the Performance Explorer tab will be finally gone!

'Microsoft.VisualStudio.Data.Tools.SqlLan......did not load correctly

I have installed the visual studio 2013.after installation and exactly at preparing for first use the following window appeared!!!this window just appeared at first time of use and from then on I did not see this window.is it a serious problem?if yes how can i solve it?
the message of window is:
The 'Microsoft.VisualStudio.Data.Tools.SqlLanguageServices.Package,Microsoft.VisualStudio.Data.Tools.SqlLanguageServices,Version=12.0.0.0,Culture=neutral,PublicKeyToken=b03f5f7f11d50a3a' package did not load correctly.
the problem may have been.....(it is too long..)
This error was happening to me any time I opened VS2013 - Right about when the 'Announcements' filled in the Start Page tab.
Tried installing VS2013 Update 2 - Took forever. Didn't fix. (TF;DF?)
Did the following based on this answer:
The 'ProviderPackage' package did not load correctly
Opened Programs and Features (run: appwiz.cpl)
Right click on 'Microsoft SQL Server Data Tools' and choose 'Repair'
That seemed to do it for me. Then for good measure, did this as instructed by MS site:
If you'd like to check for updates manually, open Visual Studio 2013
and choose the Tools > Extensions and Updates menu. SQL Server tooling
updates will appear in the Updates list.

Can't add VSS 6.0 database in Visual Studio 2008

I am using VSS 6.0 along with Visual Studio 2008. If I launch VSS separately, I can add a Database by clicking "Browse" -> "Browse" -> click on a "srcsafe.ini" file. I can then choose a name for the database, and it will be added to the list of available databases.
However, if I am running Visual Studio, and I try to add my solution to source control, it will prompt me to connect to a VSS database, for which I follow the exactly same procedure described as above. Instead of adding the database to the list of database, it will do nothing. No screen freeze, no error, no nothing.
Has anyone encountered the same problem? If yes, did you solve it and how did you solve it?
Any help would be much appreciated.
Check out the solution here and see if it helps you solve the problem:
http://connect.microsoft.com/VisualStudio/feedback/details/519319/using-visual-sourcesafe-6-0-with-visual-studio-2008-on-windows-7-x64

VS2008 keeps hanging busy when clicking design view

VS2008 express web developer keeps hanging whenever I try to go to design mode. this just started a couple days ago for some reason, was fine before.
whenever i click design mode, the whole thing freezes, any clicks anywhere on the program give me a 'ding' sound until i end task in task manager.
usually there's no error to see, though sometimes i'll see some error in the status update about jquery intellisense problems loading, the thing is that this happens even on a brand new project and default.aspx with no jquery attached.
any ideas? this is very frustrating, i can no longer work.
multiple uninstalls and fresh installs have done nothing to help.
VS gets hang many times when we click on its design page (aspx) and it dies.
This issue can be solved by following these steps –
1. Go to control Panel
2. Add or Remove programs
3. Find Microsoft Visual Studio Web Authoring Component.
4. Click on change and then click Repair.
5. Restart your system and hopefully your problem will get solved. 
It might be the ToolBox refreshing itself. Try this tip:
http://weblogs.asp.net/stevewellens/archive/2009/07/23/speed-up-the-visual-studio-toolbox.aspx
There is a good resolution on MSDN blog. Follow the link below:
Troubleshooting "Visual Studio 2008 Design view hangs" issues
This link fixed my hang problem:
https://blogs.msdn.microsoft.com/amol/2009/07/23/visual-studio-2008-hangs-on-switching-to-design-view/
Run regedit.exe and look for HKEY_LOCAL_MACHINE\Software\Microsoft\Office\12.0\Common\ProductVersion key. If key is missing, add it and set “LastProduct” value to 12.0.4518.1066. Restart the machine after this step.
Also, you can try repair "Microsoft Visual Studio Web Authoring Component" in programs and features.

Resources