Microsoft KB Archive/832115

From BetaArchive Wiki
< Microsoft KB Archive
Revision as of 10:22, 21 July 2020 by X010 (talk | contribs) (Text replacement - ">" to ">")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Knowledge Base


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.

MORE INFORMATION

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:

  1. Start Notepad.
  2. Add the following code to the Notepad file.

    <?xml version="1.0" encoding="UTF-8" standalone="no" ?> 
    <?mso-solutionextension URI="SimpleSample" manifestPath="manifest.xml"?> 
    <example xmlns="SimpleSample">
        <textbox>
            TextBox
        </textbox>
        <commandbutton />
        <help />
        <radiobutton />
        <checkbox />
        <listbox>
            ListBox
        </listbox>
        <image />
        <documentfragment />
        <activex />
        <hyperlink />
    </example>
  3. 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.
  4. Close Notepad.
  5. Locate the DisableManifestSecurityCheck.reg file in the SimpleSampleVB6 folder. Double-click DisableManifestSecurityCheck.reg to add the registry key that disables the manifest security check.
  6. Start Word.
  7. Use the appropriate method:
    • In Word 2003, click File, and then click Open. In the File name box, type DocumentMap.xml, and then click Open.
    • In Word 2007, click the Microsoft Office Button[GRAPHIC: Microsoft Office Button ], and then click Open. In the File name box, type DocumentMap.xml, and then click Open.

    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?

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

    You may receive the error message that is mentioned in the "Symptoms" section.



Additional query words: WD2003 Word2003 WD2007 Word2007

Keywords: kbofficesmartdoc kbbug KB832115