You receive a "<File name> is a mail merge main document" error message when you open a mail-merge document or template in Word 2002 (275934)
The information in this article applies to:
This article was previously published under Q275934 For a Microsoft Word 2000 version of this article,
see
241269. SYMPTOMS When you open a mail-merge main document or template, you
may receive an error message similar to one of the following
File name is a mail merge main
document. Word cannot find its data source, path\file
name. File name is a
mail merge main document. Word cannot find its data source,
C:\~~\~~~_virtual_file_~~~.olk. File name is a
mail merge main document. Word cannot find its data source,
C:\...\~~~_virtual_file_~~~Mailbox - .... where file name is the mail-merge
main document that you opened, and path\file name is
the file that is used as the data source (address list) for your Word mail
merge. If you close the error message by clicking Close (the X in the upper-right corner of the dialog box), you receive an
error message similar to the following, and your mail-merge main document does
not open: The document name or path is not valid. Try
these suggestions.
* Check the file permissions for the document or
drive. * Use the File Open dialog box to locate the document.
(C:\...\filename.doc). CAUSE This problem occurs when the data source (address list)
that is attached to your mail-merge main document was deleted, renamed, or
moved to a different location.
If you use a Microsoft Outlook Contact
list as the data source attached to your mail-merge main document, Word creates
a temporary file (for example, C:\~~\~~~_virtual_file_~~~.olk) that contains
the contacts from your Outlook Contact list as the attached data source. When
you close your Word mail-merge main document, the temporary file is deleted.
Therefore, when you reopen the Word mail-merge main document, Word cannot
locate the temporary file that is attached as the data source. WORKAROUND To work around this problem, use one of the following
methods, as appropriate for your situation. Method 1: If the Data Source Still Exists If the data source mentioned in the error message still exists,
and you know where to find it, follow these steps to reattach the data source:
- In the error message dialog box, click Find Data Source.
- In the Select Data Source dialog box, select the data source mentioned in the error
message, and then click Open.
- On the File menu, click Save to save the changes that you made to reattach the missing data
source.
- Complete your mail merge as usual.
Method 2: If the Data Source Does Not Exist If the data source mentioned in the error message does not exist,
or you do not know where to find the data source, follow these steps:
- In the error message dialog box, click Options.
- Click Remove Data/Header Source when you
receive the following message:
If the mail merge data/header source file name no longer exists, choose Remove Data/Header Source to remove its association with file name or choose Remove All Merge Info to make file name a normal Word document.
NOTE: Your Word document is no longer a Word mail-merge main document
with a data source attached. Instead, it is a normal Word document.
To reattach a data source and make your document a mail-merge
main document again, follow these steps:
- On the Tools menu, point to Letters and Mailings, and then click Mail Merge Wizard.
- In the Select recipients section of the
Mail Merge Wizard (Step 3 of 6), do one of the following:
- If you are performing a merge with a file that is saved
as your address list (data source), follow these steps:
- Click Use an existing list, and
then click Browse.
- In the Select Data Source dialog box, select the file that contains the address list (data
source) that you want to use, and then click Open.
-or-
- If you are performing a merge with a Microsoft Outlook
Contact list, follow these steps:
- Click Select from Outlook
contacts. In the Select from Outlook contacts
section, click Choose Contacts Folder.
- In the Select Contact List folder
dialog box, select the contact list (address list) that you want to use, and
then click OK.
- Complete your mail merge as usual.
Method 3: If the Data Source Not Found Is "~~~_virtual_file_~~~" To work around this problem when you are using a Microsoft
Outlook Contact list as your mail-merge data source, follow these steps:
- When you receive the error message described in the
"Symptoms" section of this article, click Options in the error message dialog box.
- A message similar to the following appears:
If the mail merge data/header source ~~~_virtual_file_~~~.olk no longer exists, choose Remove Data/Header Source to remove its association with file name or choose Remove All Merge Info to make file name a normal Word document.
Click Remove Data/Header Source. NOTE: Your Word document will no longer be a Word mail-merge main
document with a data source attached. Instead, it is a normal Word
document. To reattach the Microsoft Outlook Contact list as the data
source, follow these steps:
- On the Tools menu, point to Letters and Mailings, and then click Mail Merge Wizard.
- In the Select recipients section of the
Mail Merge Wizard, click Select from Outlook contacts. In the
Select from Outlook contacts section, click Choose Contacts Folder.
- In the Select Contact List folder dialog
box, select the address book that you want to use, and then click OK.
This creates a new virtual file
(~~~_virtual_file_~~~), based on the current contact list
information. - Complete your mail merge as usual.
NOTE: You must repeat these steps each time that you restart Word and
open the mail-merge main document that is attached to this data source.
Modification Type: | Minor | Last Reviewed: | 9/8/2004 |
---|
Keywords: | kbtshoot kberrmsg kbinterop kbmerge kbnofix kbprb KB275934 |
---|
|