Microsoft KB Archive/891741

From BetaArchive Wiki
Knowledge Base


Article ID: 891741

Article Last Modified on 7/27/2006



APPLIES TO

  • Microsoft Office FrontPage 2003, Service Pack 1 (SP1)
  • Microsoft FrontPage 2002 Standard Edition
  • Microsoft FrontPage 2002 Server Extensions




SYMPTOMS

When you view a Web page that includes a Microsoft FrontPage Web Component that points to another Web page, you do not see the included content. Instead, your Internet browser displays the following message:

[FrontPage Include Component]

.

Note This message appears instead of the included Web component part of the Web page. You can view the static part of the Web page.


CAUSE

This behavior is expected. This behavior occurs when you use the Include Web Component feature in FrontPage to include the contents of an Active Server Pages (ASP) page in an HTML page. In FrontPage, you cannot include the contents of AS pages in HTML pages. If you could include an AS page in HTML pages, the ASP source code would be displayed.

Note This article applies to Web sites that are hosted on Microsoft Windows operating systems, because ASP pages are supported only by Microsoft Internet Information Services.

WORKAROUND

To work around this behavior, use the Include Web Component feature to include only the contents of similar page types. Include only HTML pages in other HTML files, and include only ASP pages in other ASP files.

MORE INFORMATION

Steps to reproduce this problem

  1. Open a Web site in FrontPage 2003.
  2. Create a new page, switch to Code view, and then add the following ASP code in the body section of the page:

    <%=Date%>

  3. Save the page as FileName1.asp.
  4. Create another new page. On the Insert menu, click Web Component. Under Component type, click Included Content. Under Choose type of content, click Page. Then, click Finish.
  5. In the Include Page Properties dialog box, click Browse, click FileName1.asp, and then click OK.
  6. Save the page as FileName2.htm.
  7. In Microsoft Internet Explorer, view FileName1.asp. The date is displayed.
  8. In Internet Explorer, view FileName2.htm. You experience the symptom that is described in the "Symptoms" section.


For additional information, click the following article numbers to view the articles in the Microsoft Knowledge Base:

873011 You cannot use the Save Results component on a Web server that maps to a script handler with FrontPage 2003


256861 Form submit fails when HTM files are mapped to Ssinc.dll or Asp.dll


Keywords: kbfix kbinfo kbprb KB891741