You receive a "Cannot run the FrontPage Server Extensions on this page" error message when you upload a file to your SharePoint Web site in FrontPage 2003 (831090)



The information in this article applies to:

  • Microsoft Office FrontPage 2003
  • Microsoft Office SharePoint Portal Server 2003
  • Microsoft Windows SharePoint Services

SYMPTOMS

When you try to upload a file to your document library on your Microsoft SharePoint Portal Server Web site or on your Microsoft Windows SharePoint Services Web site, you may receive the following error message:
Cannot run the FrontPage Server Extensions on this page: http://URL_Address

CAUSE

This problem may occur if your Web site's Upload.aspx file has been edited in Microsoft FrontPage 2002.

RESOLUTION

To prevent this problem, edit your Web site in Microsoft Office FrontPage 2003 or later or in a Windows SharePoint Services compatible Web page editor.

WORKAROUND

To work around this problem, follow these steps:
  1. Start FrontPage 2003.
  2. On the File menu, click Open Web, and then open your Web site.
  3. Expand the Shared Documents folder.
  4. Expand the Forms folder.
  5. Right-click the Upload.aspx file, and then click Open With.
  6. In the Open With Editor dialog box, select Text Editor (Notepad.exe), and then click OK.
  7. On the Edit menu, click Find.
  8. In the Find what box, type saveresults, and then click Find.
  9. Click Cancel to close the Find dialog box.
  10. In the opening (<!--webbot bot="SaveResults") and closing (<!--webbot bot="SaveResults" endspan) tags of the SaveResults webbot, change "SaveResults" to "FileUpload".
  11. Immediately above the webbot, locate the following FORM tag:
    <Form runat="server" Action="../../_vti_bin/shtml.dll/Shared%20
    Documents/Forms/Upload.aspx" Method=POST webbot-action="--WEBBOT-SELF--">
  12. Add EncType="multipart/form-data" to the FORM tag.

    The tag should look exactly like the following:
    <Form runat="server" Action="../../_vti_bin/shtml.dll/Shared%20
    Documents/Forms/Upload.aspx" EncType="multipart/form-data" 
    Method=POST webbot-action="--WEBBOT-SELF--">
  13. On the File menu in Notepad, click Save, and then close the Upload.aspx file.

Modification Type:MinorLast Reviewed:7/27/2006
Keywords:kbwebpublishing kberrmsg kbprb KB831090 kbAudEndUser