Skip to content

Commit 6f3378b

Browse files
authored
Merge pull request #17773 from dzsquared/ssms-unablecopyworkaround
documenting workaround for copying
2 parents 87bc6ea + bd90ad3 commit 6f3378b

4 files changed

Lines changed: 43 additions & 0 deletions

File tree

39.9 KB
Loading
38.3 KB
Loading
Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
---
2+
description: "Workaround to enable copying from find and replace window "
3+
title: Enable copying from find and replace window
4+
ms.prod: sql
5+
ms.prod_service: "sql-tools"
6+
ms.technology: ssms
7+
ms.topic: conceptual
8+
ms.assetid: c28ffa44-7b8b-4efa-b755-c7a3b1c11ce4
9+
author: dzsquared
10+
ms.author: drskwier
11+
ms.reviewer: maghan, sstein
12+
ms.custom: seo-lt-2019
13+
ms.date: 11/03/2020
14+
---
15+
16+
# Workaround to enable copying from find and replace window
17+
18+
[!INCLUDE[Applies to](../../includes/appliesto-ss-asdb-asdw-xxx-md.md)]
19+
20+
A workaround is required to enable copying from find and replace window. If you find you are unable to copy from find and replace window in SQL Server Management Studio, follow the [workaround](#workaround) below.
21+
22+
## Error Message
23+
24+
When you attempt to copy text from the find and replace window in SQL Server Management Studio, you get an error message.
25+
26+
> Unsaved documents cannot be cut or copied to the clipboard from the miscellaneous files project. You must save the unsaved document(s) before cutting or copying them.
27+
28+
![Error dialog for: Unsaved documents cannot be cut or copied to the clipboard from the miscellaneous files project. You must save the unsaved document(s) before cutting or copying them](../media/troubleshoot/unable-copy-find-replace-window.png)
29+
30+
## Workaround
31+
32+
To enable copying text from the find and replace window, follow these steps:
33+
34+
1. In the **Tools** menu, open **Options**.
35+
36+
2. Under **Environment**>**Documents**, uncheck the item for "Show Miscellaneous files in Solution Explorer"
37+
38+
3. Close and reopen SQL Server Management Studio
39+
40+
![Options window with "Show Miscellaneous files in Solution Explorer" unchecked](../media/troubleshoot/fix-copy-find-replace-window.png)
41+

docs/toc.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8815,6 +8815,8 @@
88158815
href: ssms/configure-wmi-to-show-server-status-in-sql-server-tools.md
88168816
- name: Configure Login Auditing
88178817
href: ssms/configure-login-auditing-sql-server-management-studio.md
8818+
- name: Enable copying from find and replace window
8819+
href: ssms/troubleshoot/enable-copying-find-replace-window.md
88188820
- name: Troubleshoot
88198821
items:
88208822
- name: Get full memory dump

0 commit comments

Comments
 (0)