Frontpage form submit return 404 Not Found error

Expand / Collapse
 
     

Frontpage form submit return 404 Not Found error


HTTP Error 404 Submitting Form w/Save Results Form Handler

SYMPTOMS

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 occurs if you are using the Discussion Form Handler or the Registration Form Handler.

RESOLUTION

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 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.






Add Your Comments


Name: *
Email Address:
Web Address:
Verification Code:
*
 

Details
Last Modified:12/24/2008 8:09 PM
Last Modified By: Mark
Type: Error Message
Article not rated yet.
Article has been viewed 1,621 times.
Options