SQL Server SMSS When Closing Tabs Freezes for ~2 Minutes - sql-server

A couple months ago I noticed that whenever I close a tab in SSMS, the application freezes for about two minutes. I'm unable to nav to other tabs and nav the Object Explorer. Has anyone seen this before or have a suggestion of how to fix this annoying issue? Version 18.9.2. Thanks!

Related

pgAdmin 4 not displaying icons properly

pgAdmin4 used to display properly, but as of a month or two ago, it stopped displaying icons properly (see image below). Regular operations perform correctly, and I can still click on icons, but they aren't always easily visible. I've tried uninstalling completely and reinstalling, but it didn't help the issue. I'm using a Windows 10 x64 machine. Any suggestions?

Object reference exception when drag and dropping from toolbox to Windows Forms designer

When dragging a control from the toolbox and dropping it in the Windows Forms designer, a message box appears with the message Object reference not set to an instance of an object.
After closing the message box, I can drop the control on the form without any other issue.
This happens on a new project as well. The error appears in both VS 2015 and 2017 (both community editions).
EDIT : This happens on any control, including custom ones. This started happening after I updated to the latest version of Windows 10 (17134.48).
Instead of dragging and dropping, Clicking on the control, then clicking on the form is the workaround working for me until they come out with a newer update.
This is new behavior as of Visual Studio 2017 Version 15.8.6 for me.
Hopefully this will help others that just kept dragging and dropping over and over like I was doing :-)
Experiencing the same issue on Microsoft Visual Studio Community 2019 Version 16.5.0. I found that I was not able to drag and drop controls while VS was open on my high DPI external monitor, but if I moved VS to my native laptop monitor, I was able to drag and drop the controls.
For Visual Studio 2017 I did not fix the problem, but I found a workaround:
went to C:\Users\user.name\AppData\Local\Microsoft\VisualStudio\15.0_e3603226
deleted all *.tbd, privateregistry.bin*, ApplicationPrivateSettings.xml files
deleted all files in ComponentModelCache folder
restarted Visual Studio as Administrator
it showed a message of updating the MEF files
drag and drop is NOT working. It keeps throwing the same error
BUT I can click on the item I want in the toolbox and then click on the designer without dragging and it works.
For Visual Studio 2015 I did not fix the problem, but I found a workaround:
went to C:\Users\user.name\AppData\Local\Microsoft\VisualStudio\14.0
deleted all *.tbd, *.lock, devenv.exe.config files
deleted all files in ComponentModelCache folder
restarted Visual Studio as Administrator
drag and drop is NOT working. It keeps throwing the same error
BUT I can click on the item I want in the toolbox and then click on the designer without dragging and it works.
I have also seen the same problem repeated today in Visual Studio 2019 (Today is June 27 2019). I am trying out the VS 2017 solution from CristisS (above). I have verified that the 'workaround' still throws the exception, however, you can immediately draw the tool onto the form.
I repeatedly run into the same issue. Seems to always be caused by running the Windows Forms designer on my secondary monitor. I don't know what causes it to misbehave, but moving Windows Forms Designer window back to my laptop screen always fixes the issue. Idk if it has something to do with scaling, or what, but it is a very repeatable issue that needs to be addressed.
Moving Visual Studio over from my hi res secondary monitor to my primary laptop monitor did fix the issue.
To use Visual Studio on my larger secondary monitor, I set my secondary monitor from 3840x2160 down to 2560x1440 and set scaling from 150% down to 100%
This lets me Drag and drop from the toolbox to the designer in Visual Studio 2019 (V16.11.3) without issue again.
I found two solutions, to this problem that they worked for my WPF project in VS2015
solution 1) Click on the icon "enable/disable project code" in the bottom of windows design(the last icon near the percentual of zoom)-->Put Disable.
solution 2) Dx mouse button on your file .xaml and apply your modify in blend , selecting the "Open in Blend..." menu.
That's all
Daniel.

Internet Explorer menu options grayed out when debugging Silverlight app

I'm at a loss on this, I have a problem that pops up maybe 50% of the time when debugging. My silverlight app has a situation where I actually open up another tab of the same project
Basically when I try to open another tab it just hangs after it starts opening the tab but never really finishes.
The tabs are the first thing that has brought this to my attention but I think maybe there is something wrong with the state of the browser, I can open the tools menu before I ever open up another tab and almost all options show up as grayed out
Its worth noting a couple things. This is only a problem when I'm debugging, and its reproducable (at random) by everyone on my team.

SQL Server Reporting Services 2005, preview differs from deployed report

I created a Subreport in SSRS 2005 with a bar chart and a textbox above, just as a simple progress bar. I'll use it in a report to show a percentage.
In the Report preview it works fine and the progressbar looks like this:
Preview
But when I the deploy the report on the report server I get this:
Deployed Report
It's not really new to me, that sometimes the output in the preview differs from the server, but unfortunately I just can't find a solution for this issue.
Thx in advance
I think what you are seeing is a browser issue.
The default css that SSRS outputs is very biased towards IE. (It doesn't play well with IE9 either)
This causes a lot of issues on browsers like firefox and safari.
If you really must get it to display that way, remember that SSRS does allow you to create custom rendering extensions(Would be too much effort to fix a small bug though).

WPF XBAP applications blank after second/third deploy?

This has happened repeatedly on various machines in VS2008 and Visual C# 2008.
I create an XBAP appliation.
I click the green arrow and it works.
I click Build/Publish and publish it to either a website or folder, it works.
I make some changes, publish again, and I just get a white screen. Both browsers, can restart, always blank.
It seems to be some kind of caching, etc. Has anyone had this happen to them and found a workaround?
Is the version number incrementing? Right click on the xbap project, go to properties/publish tab, increase the version number and republish.
You can clear the application store using mage -cc command from VS command prompt. Check out this post for more info.

Resources