Microsoft KB Archive/925759

= Fields are cleared or returned to their default settings, or you receive an error message when you submit a form that uses the &quot;Save Results&quot; component in SharePoint Designer 2007 =

Article ID: 925759

Article Last Modified on 10/15/2007

-

APPLIES TO


 * Microsoft Office SharePoint Designer 2007

-



SYMPTOMS
When you submit a form that uses the Save Results component in Microsoft Office SharePoint Designer 2007, you experience one of the following symptoms:  The form fields are cleared or returned to their default settings. You receive the following error message:

HTTP 405 - Resource not allowed



The form is not saved when you submit it, and you do not receive a confirmation page.



CAUSE
This behavior occurs if the following conditions are true:
 * The form that you submitted is located on a Web server that is running Microsoft Internet Information Services (IIS) and Microsoft FrontPage Server Extensions.
 * The form that you submitted has a file name extension that maps to a script handler in IIS.



RESOLUTION
To resolve this behavior, save the form as a Web page that uses a file name extension that is not mapped to a script handler in IIS. For example, save the form as an .htm file.



MORE INFORMATION
By default, several dynamic content technology file types are mapped to script handlers in IIS. For example, the following file name extensions are mapped to script handlers in IIS:
 * .asp
 * .aspx
 * .stm
 * .shtm
 * .shtml
 * .idq
 * .idc
 * .htr

You cannot use these file name extensions for Web pages that save form results to files or for Web pages that send form results to e-mail messages. Such Web pages are processed through the FrontPage SmartHTML Interpreter (the Shtml.dll file). The FrontPage SmartHTML Interpreter checks to see whether the Web page that contains the form is mapped to a script handler. If the FrontPage SmartHTML Interpreter did not perform this check, the source code for the script-mapped page may have been displayed in the Web browser.

