Microsoft KB Archive/198256

= How to troubleshoot a damaged publication in Publisher =

Article ID: 198256

Article Last Modified on 1/23/2007

-

APPLIES TO


 * Microsoft Office Publisher 2007
 * Microsoft Office Publisher 2003
 * Microsoft Office Publisher 2003 with Digital Imaging
 * Microsoft Publisher 2002 Standard Edition
 * Microsoft Publisher 2002 Deluxe Edition
 * Microsoft Publisher 2000 Standard Edition
 * Microsoft Publisher 2000 Deluxe Edition

-



This article was previously published under Q198256





For a Microsoft Publisher 98 version of this article, see 191131.



SUMMARY
If you experience unexpected behavior when you use a publication in Microsoft Publisher, the publication may be damaged. Symptoms of a damaged publication include the following:  You receive an invalid page fault, a general protection fault, or an illegal instruction error message. When you try to open the publication, you receive one of the following error messages:

- This is not a Publisher Publication.

- Publisher cannot open the type of file represented by.

- Part of the file is missing.

 You receive an out of memory error message or a low system resources error message.

Note You may receive one of these error messages for reasons other than a damaged publication. However, if this behavior occurs only when you use a particular publication, that publication is probably damaged.



MORE INFORMATION
To troubleshoot this issue, restart the computer in Safe Mode. Then, use the appropriate troubleshooting methods for your issue.

Note Because there are several versions of Microsoft Windows, the following steps may be different on your computer. If they are, see your product documentation to complete these steps.

Restart the computer in Safe Mode
To restart the computer in Safe Mode, use the appropriate method for your version of Microsoft Windows.
 * 1) Shut down, and then restart the computer.
 * 2) When you see the "Please select the operating system to start" message, press F8.
 * 3) On the Windows Advanced Options menu, use the ARROW keys to select Safe Mode, and then press ENTER.
 * 4) If you have a dual-boot computer or a multiboot computer, select the appropriate operating system from the list, and then press ENTER.

For more information about Safe Mode, click the following article numbers to view the articles in the Microsoft Knowledge Base:

315222 A description of the Safe Mode Boot options in Windows XP

202485 Description of Safe Boot Mode in Windows 2000

180902 How to start a Windows 98-based computer in Safe Mode

Try to open the publication
After you start the computer in Safe Mode, try to open the publication. If you do not receive an error message, a program or a device that is loaded when the computer is in normal mode may interfere with the publication.

If you cannot open the publication
If you cannot open the publication after you start the computer in Safe Mode, use the following methods in the order in which they are presented.

Paste the publication into the Publisher program file
You may be able to open the publication by pasting it into the Publisher program file. To do this, follow these steps:  Start Windows Explorer. Locate the publication file.</li> Right-click the publication file, and then click Copy.</li> Quit Windows Explorer.</li> Click Start, click Run, type one of the following lines in the Open box, and then click OK:

For Publisher 2003

C:\Program Files\Microsoft Office\Office11

For Publisher 2002

C:\Program Files\Microsoft Office\Office10

For Publisher 2000

C:\Program Files\Microsoft Office\Office

</li> Right-click the Mspub.exe program file, and then click Paste.</li></ol>

If you cannot open the publication, go to the next method.

Double-click the publication file in Windows Explorer
To double-click the publication file in Windows Explorer, follow these steps:
 * 1) Click Start, point to Programs, and then click Windows Explorer.
 * 2) Locate the publication file.
 * 3) Double-click the publication file.

If you cannot open the publication, go to the next method.

Configure Publisher to hide pictures
To configure Publisher to hide pictures, follow these steps:
 * 1) Start Publisher, and then open a new, blank publication.
 * 2) On the View menu, click Picture Display in Publisher 2000 or click Pictures in Publisher 2003 or in Publisher 2002.
 * 3) Click Hide pictures, and then click OK.
 * 4) On the File menu, click Open.
 * 5) Locate the publication file.
 * 6) Click to select the publication, and then click Open.

If you can open the publication, the publication may contain a damaged object or object placeholder. To remove or replace a damaged object or object placeholder, go to the next method.

If you cannot open the publication, go to the "Copy the publication to a second computer" method.

Find and remove a damaged object or object placeholder
To find and remove a damaged object or object placeholder, follow these steps: <ol> In the publication, right-click an object placeholder, and then click Delete Object.</li> On the File menu, click Save As.</li> In the Name box, type a new name for the publication, and then click Save.</li> On the View menu, click Picture Display in Publisher 2000 or click Pictures in Publisher 2003 or in Publisher 2002.</li> Click Detailed display, and then click OK.

Note If you receive an error message, go to step 8.</li> On the File menu, click Close.</li> On the File menu, click Open, and then click the publication that you saved in step 3.

If you can open the publication, the object or the object placeholder that you deleted in step 1 is damaged. Adjust your layout to the missing object or object placeholder. Alternatively, draw a new object placeholder and replace the deleted object with one that is not damaged. To do this, use the method that is appropriate for your object source.

From the ClipArt Gallery <ol style="list-style-type: lower-alpha;"> On the Insert menu, point to Picture, and then click Clip Art.</li> From one of the available categories, click to insert the picture, the sound, or the motion clip that you want.</li> Save and then close the publication. Then, try to reopen the publication.</li></ol>

From a location other than the ClipArt Gallery <ol style="list-style-type: lower-alpha;"> Use the Picture Frame tool to draw a new object placeholder.</li> <li>Click to select the placeholder, point to Picture on the Insert menu, and then click From File.</li> <li>Locate the picture that you want to insert, and then click to select it.</li> <li>Click Insert.</li> <li>Save and then close the publication. Then, try to reopen the publication.</li></ol>

If you cannot open the publication, repeat the "Configure Publisher to hide pictures" method. Then, go to step 8.</li> <li>Repeat steps 1 through 7 until you can open the publication with the Detailed display option enabled.</li> <li>When you can open the publication, use one of the following methods: <ul> <li>Replace the deleted object or object placeholder with one that is not damaged.</li> <li>Adjust the layout to the missing object or object placeholder.</li></ul> </li> <li>On the File menu, click Save.</li></ol>

If you still cannot open the publication, go to the next method.

Move the publication file to another disk
If your publication file is located on a removable disk, such as a floppy disk or a Zip disk, Windows may not be able to read the file. In this scenario, copy the file to the hard disk.

If you cannot copy the file from the removable disk, the file may be cross-linked with other files or folders. Alternatively, the file may be located in a damaged sector of the disk. In either scenario, go to the "Run Error Checking on the disk" method.

Copy the publication to a second computer
In some scenarios, you can open a damaged publication after you copy the publication to a second computer that has Publisher installed. To do this, follow these steps:
 * 1) Start Windows Explorer.
 * 2) Locate the publication file.
 * 3) Right-click the publication file, and then click Copy.
 * 4) Use one of the following methods to copy the publication to a second computer:
 * 5) * Copy the publication file to a removable disk, such as a floppy disk or a Zip disk. Then, copy the publication from the removable disk to a second computer.
 * 6) * Copy the publication file to a second computer over a network.
 * 7) On the second computer, start Windows Explorer.
 * 8) Locate and then double-click the publication file.

If you can open the publication, examine each page to determine whether any blank object placeholders are present. For each blank object placeholder that you find, right-click the file, and then click Delete. Save the publication, and then copy the publication file back to the first computer.

If you cannot open the publication, go to the next method.

Run Error Checking on the disk
Run Error Checking to repair all errors on the disk. Instruct Error Checking to repair all cross-linked files and to convert lost fragments to files.

Note Although Error Checking may determine that the publication file is cross-linked and then repair the file, this method does not guarantee that Publisher can read the file after Error Checking has finished scanning and fixing errors.

To run Error Checking, follow these steps:
 * 1) Quit all programs that are running.
 * 2) Double-click the My Computer icon on the desktop.
 * 3) Right-click the local disk that you want to check, and then click Properties.
 * 4) On the Tools tab, click Check Now under Error-checking.
 * 5) Under Check disk options, click to select the Scan for and attempt recovery of bad sectors check box. Then, click Start.
 * 6) When Error Checking finishes scanning and fixing errors, click Close.
 * 7) Start Publisher, and then try to open the publication.

If you cannot open the publication, go to the next method.

Try to recover the text in the publication
This method describes how to recover the text from your damaged publication and how to insert the recovered text into a new, blank publication. You must then re-create the layout and reinsert all the objects from the damaged publication into the new publication.

To recover text from the damaged publication and then insert the text into a new publication, follow these steps:
 * 1) Start Publisher, and then create a new, blank, full-page Publication.
 * 2) Use the Text Frame tool in Publisher 2000 or the Text Box tool in Publisher 2003 or in Publisher 2002 to draw a text frame on the blank page.
 * 3) On the Insert menu, click Text File.
 * 4) In the Files of type box, click Publisher Files (*.pub).
 * 5) Click your publication, and then click OK.

If you receive a message that states how the text that you want to insert fits on the page, click Yes.

If you can open the damaged publication
If you can open the publication in Safe Mode, use one of the following methods to re-create your publication.

Copy pages from the damaged publication to a new publication
To copy pages from a damaged publication to a new publication, follow these steps:
 * 1) Start Publisher, and then open the damaged publication.
 * 2) Start another instance of Publisher.
 * 3) Create a new, blank publication that is configured the same as the damaged publication.
 * 4) In the damaged publication, select all the objects on a particular page.
 * 5) On the Edit menu, click Copy.
 * 6) Press ALT+TAB to switch to the new publication.
 * 7) On the Edit menu, click Paste.
 * 8) Repeat steps 4 through 7 until all the pages are pasted into the new publication.

Note If you notice odd behavior in the new publication after you copy a page to the new publication, that copied page probably contains a damaged object. In this scenario, use one of the following methods to work around this issue:
 * Copy one object at a time from the problem page to the new publication to determine which object is damaged. Then, make sure not to include the damaged object in the new publication.
 * Rebuild the problem page in the new publication.

If each page in the publication is damaged, go to the next method.

Save the publication in RTF (Rich Text Format) format
If the damage to your publication seems widespread, save the publication in RTF format to recover the text of the publication. To do this, follow these steps:
 * 1) Open the publication.
 * 2) Click a text frame.
 * 3) In the Save as type box, click Rich Text Format (*.rtf).
 * 4) In the File name box, type the file name that you want.
 * 5) In the Save in box, click the folder in which you want to save the text of your publication.
 * 6) Click Save, and then click OK.
 * 7) Close the publication.
 * 8) On the File menu, click Open.
 * 9) In the Files of type box, click Rich Text Format (*.rtf).
 * 10) In the list of files, click the text file that you saved in step 6.
 * 11) Click Open.
 * 12) Lay out and format the text in a manner that duplicates how the text is laid out and formatted in the damaged publication.

<div class="references_section">