Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Applies to:
SQL Server
Azure SQL Database
Azure SQL Managed Instance
Azure Synapse Analytics
A workaround might be required to enable moving query editor tabs, whether within the window or to dock a previously removed tab. If you have applied all available Windows updates and find you're unable to manipulate query editor tabs without experiencing a crash, follow the workaround in this article.
Applicable environments
Windows updates to the .NET Framework introduced a known issue, which results in an application crash for SQL Server Management Studio (SSMS) when docking tabs or splitting the window. The latest information can be found at SQL Server User Feedback.
Workaround
If the crash persists after applying all available Windows updates, follow these steps to mitigate the issue:
Close all SQL Server Management Studio (SSMS) instances.
Locate your SSMS application file (exe). This is commonly found in
C:\Program Files (x86)\Microsoft SQL Server Management Studio 18\Common7\IDE.Open the file
Ssms.exe.configin Notepad as Administrator.Locate the
AppContextSwitchOverridesnode and append these two properties to the value.;Switch.System.Windows.Interop.MouseInput.OptOutOfMoveToChromedWindowFix=true; Switch.System.Windows.Interop.MouseInput.DoNotOptOutOfMoveToChromedWindowFix=trueSave the config file and reopen SSMS.