Help and Support
 

powered byLive Search

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
Last Review:April 4, 2007
Revision:3.0
On This Page

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.

Back to the top

STATUS

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

Back to the top

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.

Back to the top

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:
http://www.microsoft.com/downloads/details.aspx?FamilyId=24A557F7-EB06-4A2C-8F6C-2767B174126F (http://www.microsoft.com/downloads/details.aspx?FamilyId=24A557F7-EB06-4A2C-8F6C-2767B174126F)
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 ButtonMicrosoft 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.

Back to the top


APPLIES TO
Microsoft Office Word 2007
Microsoft Office Word 2003

Back to the top

Keywords: 
kbofficesmartdoc kbbug KB832115

Back to the top

Article Translations

 

Related Support Centers

Other Support Options

  • Need More Help?
    Contact a Support professional by Email, Online or Phone.
  • Customer Service
    For non-technical assistance with product purchases, subscriptions, online services, events, training courses, corporate sales, piracy issues, and more.
  • Newsgroups
    Pose a question to other users. Discussion groups and Forums about specific Microsoft products, technologies, and services.