Article ID: 190939 - View products that this article applies to.
This article was previously published under Q190939
This article has been archived. It is offered "as is" and will no longer be updated.
If you create an Active Server Pages (ASP) page in Visual InterDev and edit it in Microsoft FrontPage 98, the ASP page appears successfully the first time that you preview it but displays errors if the page round trips to the server and back or if you link to another page through server-side code.
The Scripting Object Model in Visual InterDev requires some specific text at the top of the page and just after the end </BODY> tag. This text includes a <FORM> tag. However, FrontPage does not allow <FORM> tags outside of the <BODY> tags. When you save a Visual InterDev ASP page that has the Scripting Model enabled (which is required for Design-Time Control functionality) in FrontPage 98, the <FORM> tags are moved to immediately follow the initial <BODY> tag. This means that none of the Design-Time Controls (DTCs) within the <BODY> tags appear within the <FORM> tags, so any Post to the server does not recognize the DTCs.
To preserve the round trip and server-side processing of code that is related to the DTCs, do not use FrontPage 98 to edit ASP pages that depend on the Scripting Object Model.
If you have already edited a page in FrontPage 98, use the following steps to restore the functionality:
Microsoft has confirmed that this is a bug in the Microsoft products that are listed at the beginning of this article.
This bug was corrected in Visual Studio 6.0 Service Pack 3. For more information about Visual Studio service packs, please see the following articles in the Microsoft Knowledge Base:
(http://support.microsoft.com/kb/194022/EN-US/ )INFO: Visual Studio 6.0 Service Packs, What, Where, Why
(http://support.microsoft.com/kb/194295/EN-US/ )HOWTO: Tell That Visual Studio 6.0 Service Packs Are Installed
FrontPage 98 may also move script blocks or controls that were placed above the <BODY> tag to below the <BODY> tag. The script is generally maintained in whole blocks and therefore does not usually cause a problem.
The Scripting Object Model uses hidden elements on the client to pass information back to the server. These elements are created on the fly through the call to EndPageProcessing. This call must appear before the </FORM> tag, otherwise the hidden elements are not part of the HTML form and have no effect.
Steps to Reproduce Behavior