MSMVPS.COM
The Ultimate Destination for Blogs by Current and Former Microsoft Most Valuable Professionals.

HTTP Error 404 Submitting Form w/Save Results Form Handler

When you click the Submit button on a form, the following error message appears in the Web browser:

404 Not Found. The requested URL /nortbots/_derived/nortbots.htm was not found on this server. NOTE: The error may be different depending on which type of server your Web resides.

Cause

When you set up a form on a disk-based web to send results to a file or e-mail address, FrontPage configures the form so that the Nortbots.htm page will be displayed in the Web browser. When you submit the form from the disk-based web, the following information appears in the Web browser:

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 components will work correctly if you publish this Web to a Web server that has the FrontPage Server Extensions installed.

Click the <Back> arrow to return to the previous page.

When you publish the Web to a Web server, FrontPage does not publish Nortbots.htm. FrontPage also does not configure the form to work with the FrontPage Server Extensions.

NOTE: This behavior also may occur if you are using the Discussion Form Handler or the Registration Form Handler.



To work around this behavior use one of the following methods.

Method 1: Remove the Reference to Nortbots.htm

  1. In FrontPage Explorer, open your Web on the server.
  2. Double-click the page that contains the form. The page will open in FrontPage Editor.
  3. Click inside the form area. NOTE: The dashed line indicates the boundary of the form.
  4. Click the HTML tab at the bottom of the FrontPage Editor window. You will see HTML code similar to the following:
       <form method="POST" name="myform"
       onSubmit="location.href='_derived/nortbots.htm';return false;"
       action=\"--WEBBOT-SELF--\">
  5. Remove the entire line of code that begins with the "onSubmit" statement. Your code will now look similar to the following:
       <form method="POST" name="myform"
       action=\"--WEBBOT-SELF--\">
  6. On the File menu, click Save.

Method 2: Re-create the Form

  1. In FrontPage Explorer, open your "live" Web on the server.
  2. Double-click the page that contains the form. The page will open in FrontPage Editor.
  3. Select a form field and then press DELETE. Repeat this step until you have deleted all form fields.
  4. Press DELETE to delete the form (indicated by the dashed line boundary).
  5. On the Insert menu, point to Form Field, and click the form field option you want to add to your form. Repeat this step until you have recreated your form.
  6. On the File menu, click Save.

Posted Jan 12 2005, 07:23 PM by dave

Add a Comment

(required)  
(optional)
(required)  
Remember Me?


Copyright © is the original authors. Blog site is an independent site not sponsored by Microsoft. The Yoda blog server and the Brianna SQL server would like to thank www.ownwebnow.com and www.exchangedefender.com. They wouldn't be here and broadcasting without the generosity of Vlad Mazek and his companies.

Powered by Community Server (Commercial Edition), by Telligent Systems