Help and Support

You cannot upload a file and submit it to database at the same time in FrontPage 2002

Article ID:830324
Last Review:January 9, 2006
Revision:1.3

SYMPTOMS

When you insert a File Upload form in a page in Microsoft FrontPage 2002, you can either click Send to Database in the properties of the form or click Options and specify a file upload folder. However, neither of these two options works if you save the page with an Active Server Pages (ASP) file name extension.

If try to you save the page with an HTML file name extension, you may receive the following error message:
This page contains a component that requires a different file extension to operate properly. You should rename this page with a file extension of “.asp”
If you save the page with an ASP file name extension, you may receive the following error message:
FrontPage Run-Time Component Page. You have submitted a form or followed a link to a page that requires a Web server and the FrontPage Server Extensions to function properly. This form or other FrontPage component will work correctly if you publish to a Web server that has Microsoft FrontPage Server Extensions installed.

Back to the top

CAUSE

This problem occurs because the database functionality in FrontPage 2002 relies on ASP. Therefore, the page must be saved with an ASP file name extension. A run-time webbot (a webbot that is run when the page is viewed in the browser, such as a hit counter, or when a form action is initiated), cannot reside on a page that was saved with the Save to Database option.

Back to the top

STATUS

Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.

Back to the top

MORE INFORMATION

You can manually create a plain form with the Save to Database option in FrontPage 2002. First, you have to create a database because FrontPage 2002 will not do this for you. The database that you create must run on a server with Microsoft FrontPage Extensions. If you save this plain form with an .ASP file name extension, this .ASP page cannot run on a server with FrontPage Extensions. You cannot insert a database region from Microsoft Office FrontPage 2003 on an .ASP (ASP 1.1) page because it will not work correctly with a combination of an .ASP page and ASP.NET.

If you add the File Upload form control, the page can have an HTML file name extension, and you do not receive the error message that is referenced in the "Symptoms" section. When the page has an HTML file name extension, it is the same as sending the page to a _private/form_results.csv file. As soon as you click to send the page to a database, you must make the page have an ASP file name extension.

The Database Results Wizard and ASP.NET will not work on a Microsoft SharePoint Services site.

Back to the top


APPLIES TO
Microsoft FrontPage 2002 Standard Edition

Back to the top

Keywords: 
kberrmsg kbpending kbbug KB830324

Back to the top

Article Translations

 

Related Support Centers

Other Support Options

  • Need More Help?
    Contact a Support professional by Email, Online or Phone.
  • Customer Service
    For non-technical assistance with product purchases, subscriptions, online services, events, training courses, corporate sales, piracy issues, and more.
  • Newsgroups
    Pose a question to other users. Discussion groups and Forums about specific Microsoft products, technologies, and services.