Microsoft KB Archive/173142

From BetaArchive Wiki
Knowledge Base

Article ID: 173142

Article Last Modified on 5/2/2006


  • Microsoft Visual InterDev 1.0 Standard Edition
  • Microsoft Visual InterDev 6.0 Standard Edition
  • Microsoft FrontPage 97 Standard Edition

This article was previously published under Q173142


When saving an Active Server Pages (ASP), HTML, or other Web document to a Web server using Visual InterDev or FrontPage, the <DOCTYPE> and several <META> tags may be added to the document.

The most common changes are as follows:

  1. <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN"> tag is placed at the absolute top of the file. This occurs if the tag has been removed or moved to another location further down the document.
  2. The following tags will be added if they have been removed:

    <meta name="FORMATTER" content="Microsoft FrontPage 2.0"> and
    <meta name="GENERATOR" content="Microsoft FrontPage 2.0">

  3. If a WebBot tag that closes a span has been removed, it may be replaced into the document
  4. White space, such as blank lines and indenting with spaces, may be altered, changing the readability of a file.


This problem occurs only when the Web server is using the FrontPage 97 server extensions. Visual InterDev and FrontPage 97 use the FrontPage Server Extensions to save documents to the Web server. FrontPage Server Extensions parse the documents prior to placing them on the Web server. The Server Extensions look for either FrontPage WebBots or the <body stylesrc="../_private/style.htm"> tag.

If the server extensions find either of these elements, they assume the page was generated by FrontPage 97 and parse the page according to built in rules for these documents which include placing the DOCTYPE tag at the top of a file.

This behavior unfortunately can interfere with some specific tasks, such as an Active Server Pages (ASP) page using the redirect command. This does not affect the operation of most Active Server Pages code.


Update the Web server to use the FrontPage 98 Server Extensions.


Remove any WebBots and the <BODY stylesrc="../_private/style.htm"> tag.


Bypass the FrontPage Server Extensions when you save your files by saving them directly to the Web server with an editor such as Notepad or Microsoft Word.


Microsoft is researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available.


For the latest Knowledge Base articles and other support information on Visual InterDev and Active Server Pages, see the following page on the Microsoft Technical Support site:

Keywords: kbprb KB173142