I get “Cannot run the FrontPage Server Extensions on this page:” what is the problem?

According to the Microsoft Knowledge Base Article – 320872
<<
View products that this article applies to.

This article was previously published under Q320872

SYMPTOMS

Web clients receive an error message similar to the following example when they try to submit a feedback form that is on your Web page:

Cannot run the FrontPage Server Extensions on this page:
“http://www.example.com/subfolder/feedback.htm”

CAUSE

This problem occurs if you create a page in Microsoft Office FrontPage 2003 or Microsoft FrontPage 2002 by using the Feedback Form template and then you save the page to a subfolder instead of saving it to the root folder of the Web site. When a client submits the form, the FrontPage Save Results component tries to save the results to the wrong location. For example, if you saved the feedback page to a subfolder named Test, the Save Results component tries to save the results to the Test/_private folder, which does not exist.

RESOLUTION

To resolve this problem, follow these steps:

  1. Open your Web in FrontPage.
  2. In the folder list, expand the _private folder that is in the root of your Web site.
  3. Locate the Feedback.txt file. If you cannot locate this file, follow these steps:
    1. On the File menu, click New, and then click Page or Web.
      The task pane opens.
    2. Under New from template, click Page Templates.
    3. On the General tab, click Normal Page, and then click OK.
    4. Switch to HTML view, and then delete all the HTML code.
    5. On the File menu, click Save.
    6. Locate and then double-click the _private folder that is in the root of your Web.
    7. In the Save as type box, click All Files (*.*).
    8. In the File name box, type Feedback.txt.
    9. Click Save.
  4. Open the page that contains the feedback form.
  5. Right-click the form, and then click Form Properties.

Note that the File name field shows that the results will be saved to the relative path of _private/Feedback.txt, which does not exist. (For example, if you saved the feedback page to a subfolder named Test in the root of your Web site, this path is /Test/_private/Feedback.txt.)

  1. Click Browse.
  2. Locate and then double-click the _private folder that is in the root of your Web.
  3. Click the Feedback.txt file, and then click OK.
  4. Save the form page.

MORE INFORMATION

By default, the Save Results component in the Feedback Form template saves the results to a text file named _private/Feedback.txt in the root of your Web. By default, if you save the feedback page to a subfolder, the Save Results component points to a _private folder relative to the subfolder–a _private folder that does not exist–instead of to the _private folder in the root of your Web.

The information in this article applies to:

  • Microsoft Office FrontPage 2003
  • Microsoft FrontPage 2002

>>


How to make the ASP engine parse the HTML files?

This solution has been contributed by one of our hosting reseller clients, Achieve Web Design and Marketing who received it from their programmer Craig Bishop. The goal of this procedure is to allow having ASP code in HTML pages, to avoid having to change URLs when a page becomes dynamic. Here is what Craig writes:

After doing a lot of research, I have come to the conclusion that I am able to have web pages saved with an HTML extension (ie: mypage.html) and within that HTML page, ASP Script can be parsed and executed just as if the page had an ASP extension (ie: mypage.asp). Unfortunately, in order to accomplish this, a modification must be done through IIS for each web site I run. I have successfully made this modification on Windows XP Pro IIS v6.0 so there should be no reason why the modification could not be performed here. I would like to ask at this time that this modification be performed as it will make Search Engine Optimization much easier if all pages had an HTML Extension rather than ASP.

The modification is quite simple and on the off chance no one has ever asked this of you before, I took the liberty of providing instructions on how to do it. Please do not take this as a doubt in your abilities.

(01)  Start up Internet Service Manager
(02)  Select the Web Site that needs to be modified.
(03)  Right click on it and select "Properties"
(04)  Select the tab "Home Directory"
(05)  Press the "Configuration" button
(06)  Select .asp from the list and press "Edit"
(07)  Make note of the information in the dialog box.
(08)  Press Cancel
(09)  Press Add
(10)  Use ".html" and the file extension and for other fields, the information you obtained in Step 07
(11)  Press OK to all the dialogs
(12)  IIS may need to be restarted but for me, I never had to.

That’s it! Quite simple actually. Please perform this modification for it will be greatly appreciated.