Unsaved documents cannot be cut or copied to the clipboard from the Miscellaneous Files project
Published 16 July 2015
Management Studio sometimes displays this error when you try to copy text from SQL Source Control using the Ctrl + C keyboard shortcut.
Copy the text using the right-click menu.
To stop this happening:
- Close all query windows.
Alternatively, you can restart SSMS after following these steps.
- Go to Tools -> Options.
- Under the Environment section, select Documents.
- Deselect the Show Miscellaneous files in Solution Explorer checkbox:
- Click OK.
Copy and paste should now work normally when there are unsaved query windows open.