Microsoft KB Archive/832115

= An XML expansion pack cannot be attached to a Word 2003 document or to a Word 2007 document when the Document Map view is turned on =

Article ID: 832115

Article Last Modified on 4/4/2007

-

APPLIES TO


 * Microsoft Office Word 2007
 * Microsoft Office Word 2003

-





SYMPTOMS
When you try to attach an XML expansion pack to a Microsoft Office Word 2003 document or to a Microsoft Office Word 2007 document, you may receive the following error message if the Document Map view is turned on:

You are currently viewing this document in multiple windows. To attach an XML expansion pack, you must first close all additional windows so that you are viewing the document in only one window.



STATUS
Microsoft has confirmed that this is a bug in Word 2003 and in Word 2007.



RESOLUTION
Attach the XML expansion pack to the Word 2003 document or to the Word 2007 document before you turn on the Document Map view.



Steps to reproduce the problem
Notes The following steps use information and files that are installed with the Microsoft Office 2003 Smart Document software development kit (SDK). For additional information about how to download and how to install the Office 2003 Smart Document SDK, visit the following Microsoft Web site:

http://www.microsoft.com/downloads/details.aspx?FamilyId=24A557F7-EB06-4A2C-8F6C-2767B174126F

 Start Notepad.  Add the following code to the Notepad file.  <?mso-solutionextension URI=&quot;SimpleSample&quot; manifestPath=&quot;manifest.xml&quot;?>  TextBox ListBox  Save the Notepad file as DocumentMap.xml.

Put the DocumentMap.xml file in your folder that contains the SimpleSampleVB6 files.

By default, the path of this folder is C:\Program Files\Microsoft Office 2003 Developer Resources\Microsoft Office 2003 Smart Document SDK\Samples\SimpleSampleVB6. Close Notepad. Locate the DisableManifestSecurityCheck.reg file in the SimpleSampleVB6 folder. Double-click DisableManifestSecurityCheck.reg to add the registry key that disables the manifest security check.</li> Start Word.</li> Use the appropriate method: <ul> In Word 2003, click File, and then click Open. In the File name box, type DocumentMap.xml, and then click Open.</li> In Word 2007, click the Microsoft Office Button, and then click Open. In the File name box, type DocumentMap.xml, and then click Open.</li></ul>

Note If you receive the following message, click No:

XML expansion pack security has been disabled. This makes development of the solution easier but allows unsafe XML expansion pack components to run. Would you like to re-enable XML expansion pack security?

</li> Turn on the Document Map view. To do this, use the appropriate method: <ul> In Word 2003, click the View menu, and then click Document Map.</li> In Word 2007, click the View tab, and then click to select the Document Map check box.</li></ul> </li> In the XML Document pane, click the Simple Sample Document Sample - VB6 link.

You may receive the error message that is mentioned in the &quot;Symptoms&quot; section.</li></ol>

Additional query words: WD2003 Word2003 WD2007 Word2007

Keywords: kbofficesmartdoc kbbug KB832115

-

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

© Microsoft Corporation. All rights reserved.