Microsoft KB Archive/173142

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


Article ID: 173142

Article Last Modified on 5/2/2006



APPLIES TO

  • 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

SYMPTOMS

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.


CAUSE

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.

RESOLUTION

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

-or-

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

-or-

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.

STATUS

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

REFERENCES

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