Microsoft KB Archive/928890

= Error message when you try to open a publication in Publisher: &quot;Publisher cannot open the file&quot; or &quot;Publisher has detected a problem&quot; =

Article ID: 928890

Article Last Modified on 10/15/2007

-

APPLIES TO


 * Microsoft Office Publisher 2007
 * Microsoft Office Publisher 2003
 * Microsoft Publisher 2002 Standard Edition
 * Microsoft Publisher 2000 Standard Edition

-



Important This article contains information about how to modify the registry. Make sure to back up the registry before you modify it. Make sure that you know how to restore the registry if a problem occurs. For more information about how to back up, restore, and modify the registry, click the following article number to view the article in the Microsoft Knowledge Base:

256986 Description of the Microsoft Windows registry



SYMPTOMS
When you try to open a publication in Microsoft Publisher, you may receive one of the following error messages, depending on the version of Publisher that you are running:  Microsoft Publisher 2000:

Publisher cannot open this file. This is not a Publisher file.

 Microsoft Publisher 2002 or Microsoft Office Publisher 2003:

Publisher cannot open the file.

 Microsoft Office Publisher 2007:

Publisher has detected a problem in the file you are trying to open. To protect your computer, Publisher will not open the file.



To verify the error message that you receive, press CTRL+SHIFT+I. The following number is displayed in the lower-right corner of the error message dialog box:

1100931



Publisher 2000, Publisher 2002, and Publisher 2003
This issue occurs in Publisher 2000, Publisher 2002, and Publisher 2003 if the following conditions are true:
 * You have installed security update 894540, security update 894541, or security update 894542. These security updates are described in security bulletin MS06-054.
 * The publication that you are trying to open contains unexpected data. Alternatively, the publication may be damaged.

Security update 894540, security update 894541, and security update 894542 block publications that seem to be damaged, that are altered in a malicious way, or that contain unexpected data.

Publisher 2007
This issue occurs in Publisher 2007 when you try to open publications that seem to be damaged, that are altered in a malicious way, or that contain unexpected data.



RESOLUTION
To resolve this issue, you must add the PromptForBadFiles registry subkey. This subkey lets you open a publication after a message prompts you to verify that you want to open the publication.

Add the PromptForBadFiles registry subkey to one of the following registry keys, as appropriate for the version of Publisher that you are running:  Publisher 2000:

 Publisher 2002:

</li> Publisher 2003:

</li> Publisher 2007:

</li></ul>

The values for the PromptForBadFiles subkey are as follows:
 * 0 (zero): When this value is set, suspect publications are blocked. By default, the PromptForBadFiles subkey is set to 0 (zero).
 * 1: When this value is set, you receive a message that prompts you to verify that you want to open the publication.

To add the PromptForBadFiles subkey to the registry, follow these steps, as appropriate for the version of Microsoft Windows that you are running.

Warning Serious problems might occur if you modify the registry incorrectly by using Registry Editor or by using another method. These problems might require that you reinstall your operating system. Microsoft cannot guarantee that these problems can be solved. Modify the registry at your own risk.

Windows XP
<ol> Exit Publisher.</li> Click Start, click Run, type regedit in the Open box, and then click OK.</li> Locate and then click to select the following registry key:

HKEY_CURRENT_USER\Software\Microsoft\Office\ .0\Publisher

</li> After you select the key that is specified in step 3, point to New on the Edit menu, and then click DWORD Value.</li> Type PromptForBadFiles, and then press ENTER.</li> Right-click PromptForBadFiles, and then click Modify.</li> In the Value data box, type 1, and then click OK.</li> On the File menu, click Exit to exit Registry Editor.</li></ol>

Windows Vista
<ol> Exit Publisher.</li> Click Start, type regedit in the Start Search box, and then click Regedit in the Programs list.

If you are prompted for an administrator password or for confirmation, type your password, or click Continue.</li> Locate and then click to select the following registry key:

HKEY_CURRENT_USER\Software\Microsoft\Office\12.0\Publisher

</li> After you select the key that is specified in step 3, point to New on the Edit menu, and then click DWORD Value.</li> Type PromptForBadFiles, and then press ENTER.</li> Right-click PromptForBadFiles, and then click Modify.</li> <li>In the Value data box, type 1, and then click OK.</li> <li>On the File menu, click Exit to exit Registry Editor.</li></ol>

After you add the PromptForBadFiles subkey, you will receive the following message when you try to open a publication:

Publisher has detected a problem in the file you are trying to open. If you are certain that this file came from a trusted source and does not contain harmful information, click OK. If you received this file from another person or machine and are not sure that the contents are safe, click Cancel.

<div class="moreinformation_section">

MORE INFORMATION
For more information, click the following article numbers to view the articles in the Microsoft Knowledge Base:

910729 MS06-054: Vulnerability in Microsoft Publisher could allow remote code execution

894540 Description of the security update for Publisher 2000: September 12, 2006

894541 Description of the security update for Publisher 2002: September 12, 2006

894542 Description of the security update for Publisher 2003: September 12, 2006

Additional query words: Office AlertID PUB2007 pub2003 pub2002 pub2000

Keywords: kberrmsg kbtshoot kbprb kbpubtypekc kbopenfile kbexpertisebeginner kbofficealertid KB928890

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.