I have a custome feedback form on our corporate web site that emails the form data to a specified email address. Sounds simple, right. Maybe to some of you but not to me. I just tried to move this web site from Windows Server 2003 to a Windows Server 2008 R2 system with IIS 7.5. I had not expected much trouble because it seems like a fairly simple site. The site in general works but the feedback form fails with a 404 error once the user hits the Submit button.
Can someone point me in the correct direction?
<html>
<head> <meta name="GENERATOR" content="Microsoft FrontPage 5.0"> <meta name="ProgId" content="FrontPage.Editor.Document"> <meta http-equiv="Content-Type" content="text/html; charset=windows-1252"> <meta http-equiv="Content-Language" content="en-us"> <title>Tell us what you think about our web site</title> </head>
<body>
<p align="center" style="margin-top: 0; margin-bottom: 0"> <font face="Arial" size="2"><b>Company, Inc.</b></font></p> <p align="center" style="margin-top: 0; margin-bottom: 0"><b> <font face="Arial" size="2">Corporate Headquarters</font></b><font face="Arial" size="2"><b><br> </b> 175 Main Street<br> Boston, MA<span style> </span>02110<br> Tel: (617) 555-1111<br> Fax: (617) 555-2222</font><p>Tell us what you think about this web site, our company or anything else that comes to mind. We welcome all of your comments and suggestions.</p> <form method="POST" action="--WEBBOT-SELF--" onsubmit="return FrontPage_Form1_Validator(this)" language="JavaScript" name="FrontPage_Form1"> <!--webbot bot="SaveResults" s-email-format="TEXT/PRE" b-email-label-fields="TRUE" s-date-format="%d %b %Y" s-time-format="%H:%M:%S" s-builtin-fields="REMOTE_NAME REMOTE_USER HTTP_USER_AGENT Date Time" s-email-address="customerservice@metprop.com" startspan --><input TYPE="hidden" NAME="VTI-GROUP" VALUE="0"><!--webbot bot="SaveResults" endspan i-checksum="43374" --> <p><strong>What kind of comment would you like to send?</strong></p> <dl> <dd><input type="radio" name="MessageType" value="Complaint">Complaint <input type="radio" name="MessageType" value="Problem">Problem <input type="radio" checked name="MessageType" value="Suggestion">Suggestion <input type="radio" name="MessageType" value="Praise">Praise</dd> </dl> <p><strong>What about us do you want to comment on?</strong></p> <dl> <dd><select name="Subject" size="5" multiple> <option>Web Site</option> <option>Apartments</option> <option>Employee</option> <option>Company</option> <option>(Other)</option> </select> Other: <input type="text" size="26" maxlength="256" name="SubjectOther"></dd> </dl> <p><strong>Enter your comments in the space provided below:</strong></p> <dl> <dd><textarea name="Comments" rows="5" cols="42"></textarea></dd> </dl> <p><strong>Tell us how to get in touch with you:</strong></p> <dl> <dd> <table width="393"> <tr> <td width="131">Name</td> <td width="255"> <!--webbot bot="Validation" b-value-required="TRUE" i-maximum-length="256" --><input type="text" size="35" name="Name" maxlength="256"></td> </tr> <tr> <td width="131">E-mail</td> <td width="255"> <!--webbot bot="Validation" b-value-required="TRUE" i-maximum-length="256" --><input type="text" size="35" name="Email" maxlength="256"></td> </tr> <tr> <td width="131">Tel</td> <td width="255"> <!--webbot bot="Validation" b-value-required="TRUE" i-maximum-length="256" --><input type="text" size="35" name="Phone" maxlength="256"></td> </tr> <tr> <td width="131">FAX</td> <td width="255"><input type="text" size="35" maxlength="256" name="Fax"></td> </tr> <tr> <td width="131">Community Name</td> <td width="255"> <!--webbot bot="Validation" b-value-required="TRUE" i-minimum-length="1" --><input type="text" name="Property" size="35"></td> </tr> <tr> <td width="131">Apartment Number</td> <td width="255"> <!--webbot bot="Validation" s-display-name="Apartment Number" b-value-required="TRUE" i-minimum-length="3" --><input type="text" name="Apartment" size="35"></td> </tr> </table> </dd> </dl> <dl> <dd><input type="checkbox" name="ContactRequested" value="ContactRequested"> Please contact me as soon as possible regarding this matter.</dd> </dl> <p><input type="submit" value="Submit Comments"> <input type="reset" value="Clear Form"></p> </form> <hr> <h5> </h5>
<h5>Copyright ?? 2011 Company XXX, Inc. All rights reserved.<br> Revised: <!--webbot bot="TimeStamp" s-type="EDITED" s-format="%m/%d/%y" -->.</h5>
</body>
</html>
This conversation is currently closed to new comments.
If you're asking for technical help, please be sure to include all your system info, including operating system, model number, and any other specifics related to the problem. Also please exercise your best judgment when posting in the forums--revealing personal information such as your e-mail address, telephone number, and address is not recommended.
Web Form doesn't work on IIS 7.5
I have a custome feedback form on our corporate web site that emails the form data to a specified email address. Sounds simple, right. Maybe to some of you but not to me. I just tried to move this web site from Windows Server 2003 to a Windows Server 2008 R2 system with IIS 7.5. I had not expected much trouble because it seems like a fairly simple site. The site in general works but the feedback form fails with a 404 error once the user hits the Submit button.
Can someone point me in the correct direction?
<html>
<head>
<meta name="GENERATOR" content="Microsoft FrontPage 5.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<meta http-equiv="Content-Language" content="en-us">
<title>Tell us what you think about our web site</title>
</head>
<body>
<p align="center" style="margin-top: 0; margin-bottom: 0">
<font face="Arial" size="2"><b>Company, Inc.</b></font></p>
<p align="center" style="margin-top: 0; margin-bottom: 0"><b>
<font face="Arial" size="2">Corporate Headquarters</font></b><font face="Arial" size="2"><b><br>
</b> 175 Main Street<br>
Boston, MA<span style> </span>02110<br>
Tel: (617) 555-1111<br>
Fax: (617) 555-2222</font><p>Tell us what you think about this web
site, our company or anything else that comes to mind. We
welcome all of your comments and suggestions.</p>
<form method="POST" action="--WEBBOT-SELF--" onsubmit="return FrontPage_Form1_Validator(this)" language="JavaScript" name="FrontPage_Form1">
<!--webbot bot="SaveResults" s-email-format="TEXT/PRE" b-email-label-fields="TRUE" s-date-format="%d %b %Y" s-time-format="%H:%M:%S" s-builtin-fields="REMOTE_NAME REMOTE_USER HTTP_USER_AGENT Date Time" s-email-address="customerservice@metprop.com" startspan --><input TYPE="hidden" NAME="VTI-GROUP" VALUE="0"><!--webbot bot="SaveResults" endspan i-checksum="43374" -->
<p><strong>What kind of comment would you like to send?</strong></p>
<dl>
<dd><input type="radio" name="MessageType" value="Complaint">Complaint
<input type="radio" name="MessageType" value="Problem">Problem
<input type="radio" checked name="MessageType" value="Suggestion">Suggestion
<input type="radio" name="MessageType" value="Praise">Praise</dd>
</dl>
<p><strong>What about us do you want to comment on?</strong></p>
<dl>
<dd><select name="Subject" size="5" multiple>
<option>Web Site</option>
<option>Apartments</option>
<option>Employee</option>
<option>Company</option>
<option>(Other)</option>
</select> Other:
<input type="text" size="26" maxlength="256" name="SubjectOther"></dd>
</dl>
<p><strong>Enter your comments in the space provided below:</strong></p>
<dl>
<dd><textarea name="Comments" rows="5" cols="42"></textarea></dd>
</dl>
<p><strong>Tell us how to get in touch with you:</strong></p>
<dl>
<dd>
<table width="393">
<tr>
<td width="131">Name</td>
<td width="255">
<!--webbot bot="Validation" b-value-required="TRUE" i-maximum-length="256" --><input type="text" size="35" name="Name" maxlength="256"></td>
</tr>
<tr>
<td width="131">E-mail</td>
<td width="255">
<!--webbot bot="Validation" b-value-required="TRUE" i-maximum-length="256" --><input type="text" size="35" name="Email" maxlength="256"></td>
</tr>
<tr>
<td width="131">Tel</td>
<td width="255">
<!--webbot bot="Validation" b-value-required="TRUE" i-maximum-length="256" --><input type="text" size="35" name="Phone" maxlength="256"></td>
</tr>
<tr>
<td width="131">FAX</td>
<td width="255"><input type="text" size="35" maxlength="256" name="Fax"></td>
</tr>
<tr>
<td width="131">Community Name</td>
<td width="255">
<!--webbot bot="Validation" b-value-required="TRUE" i-minimum-length="1" --><input type="text" name="Property" size="35"></td>
</tr>
<tr>
<td width="131">Apartment Number</td>
<td width="255">
<!--webbot bot="Validation" s-display-name="Apartment Number" b-value-required="TRUE" i-minimum-length="3" --><input type="text" name="Apartment" size="35"></td>
</tr>
</table>
</dd>
</dl>
<dl>
<dd><input type="checkbox" name="ContactRequested" value="ContactRequested">
Please contact me as soon as possible regarding this matter.</dd>
</dl>
<p><input type="submit" value="Submit Comments">
<input type="reset" value="Clear Form"></p>
</form>
<hr>
<h5> </h5>
<h5>Copyright ?? 2011 Company XXX, Inc. All rights reserved.<br>
Revised: <!--webbot bot="TimeStamp" s-type="EDITED" s-format="%m/%d/%y" -->.</h5>
</body>
</html>