Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

Dynamic Web Templates do not work correctly when you use the attach and detach operations in FrontPage 2003


View products that this article applies to.

Symptoms

When you use Microsoft Office FrontPage 2003 Dynamic Web Templates, the following symptoms may occur:
  • After you make a change to a Dynamic Web Template, the Update All Pages and the Update Attached Pages menu commands are unavailable.
  • If you are prompted to automatically update the Web pages that have a Dynamic Web Template attached, only the Web page files that are open in FrontPage 2003 are updated.

↑ Back to the top


Cause

This problem may occur if both of the following conditions are true:
  • The Web site is opened by using the hypertext transfer protocol (HTTP) in FrontPage 2003 by using the Internet or a local host.
  • The Web site is located on a Web server that is using Microsoft FrontPage Server Extensions version 2002 or earlier.
Note This problem does not occur when the Web server is using Microsoft Windows SharePoint Services.

↑ Back to the top


Workaround

To work around this problem, open each Web page that is attached to a Dynamic Web Template (.dwt) in FrontPage 2003 before you make changes to the template (.dwt) file. After you making changes to the template file, FrontPage 2003 prompts you to update all attached pages when the template file is saved.

As an alternative, you can publish the Web site to a local disk, and then perform the attach and detach operations that you want before you publish to the Web server. To do this, follow these steps:
  1. Start FrontPage 2003.
  2. Click File, click Open Site, and then type the location of the Web server that you want.
  3. Click File, and then click Publish Site.
  4. Click the Remote Web Site tab, click File System, and then type the local computer path that you want.
  5. Click OK, and then click Yes to create a new Web location.

    The Local Web site pane appears on the left of the FrontPage 2003 window, and the Remote Web site pane appears on the right of the FrontPage 2003 window.
  6. Click Publish Web site.

    The Web site is published to your local computer.
  7. Click File, and then click Close Site, to close the Web site.
  8. Click File, click Open Site, and then locate the local Web site that you created in step 5.
You can now make changes to the Dynamic Web Template files as a local Web site before you publish the Web site to the Web server by using HTTP.

↑ Back to the top


More information

If it is appropriate, you may remove the Dynamic Web Template code from the Web page files. To do this, follow these steps:
  1. Click File, click Open, type the Dynamic Web Template (.dwt) file that you want, and then click Open.
  2. Make a backup copy of the Dynamic Web Template. To do this, follow these steps:
    1. Click File, and then click Save As.
    2. Type a name such as BackupDWT.dwt, and then click Save.
    3. Click File, click Open, locate the original Dynamic Web Template file, and then click Open.
  3. Remove all text, pictures, and other components on the Dynamic Web Template file. However, do not remove any part of the editable regions on the Dynamic Web Template file.
  4. When only the editable regions in the Dynamic Web Template file remain, click File, click Save , and then click Yes to save the Dynamic Web Template file and any files that are attached.
  5. Click Format, click Dynamic Web Template, and then click Detach from Dynamic Web Template to remove the Dynamic Web Template code from the attached files.
For additional information, click the following article number to view the article in the Microsoft Knowledge Base:
821957 Attached pages are not updated when you save changes to a Dynamic Web Template

↑ Back to the top


Keywords: KB840572, kbprb

↑ Back to the top

Article Info
Article ID : 840572
Revision : 7
Created on : 9/27/2006
Published on : 9/27/2006
Exists online : False
Views : 358