Psst! Did you know DevelopmentNow is a mobile web site design agency?

Contact us for help mobilizing your site, or to sign up for our beta Mobile Web SDK!
all groups > inetserver iis > february 2005 >

inetserver iis : urgent: form post broken


Param R.
2/21/2005 11:45:09 AM
Hi all, i have an aspx page that basically responds to form post data. This
page runs under SSL and used to work fine on IIS 5. We recently upgraded to
IIS 6 and now when the client tries to post data to this page it gets back
the error below. The same client machine can get to the page via get i.e. in
IE. But POST fails. Any ideas? I have verified anonymous access is enabled
on the virtual directory.

<HTML><HEAD><TITLE>You are not authorized to view this page</TITLE>

<META HTTP-EQUIV= Content-Type Content= text/html; charset=Windows-1252 >

<STYLE type= text/css >

BODY { font: 8pt/12pt verdana }

H1 { font: 13pt/15pt verdana }

H2 { font: 8pt/12pt verdana }

A:link { color: red }

A:visited { color: maroon }

</STYLE>

</HEAD><BODY><TABLE width=500 border=0 cellspacing=10><TR><TD>



<h1>You are not authorized to view this page</h1>

You do not have permission to view this directory or page using the
credentials that you supplied.

<hr>

<p>Please try the following:</p>

<ul>

<li>Contact the Web site administrator if you believe you should be able to
view this directory or page.</li>

<li>Click the <a href= javascript:location.reload() >Refresh</a> button to
try again with different credentials.</li>

</ul>

<h2>HTTP Error 401.1 - Unauthorized: Access is denied due to invalid
credentials.<br>Internet Information Services (IIS)</h2>

<hr>

<p>Technical Information (for support personnel)</p>

<ul>

<li>Go to <a href= http://go.microsoft.com/fwlink/?linkid=8180 >Microsoft
Product Support Services</a> and perform a title search for the words
<b>HTTP</b> and <b>401</b>.</li>

<li>Open <b>IIS Help</b>, which is accessible in IIS Manager (inetmgr),

and search for topics titled <b>Authentication</b>, <b>Access Control</b>,
and <b>About Custom Error Messages</b>.</li>

</ul>



</TD></TR></TABLE></BODY></HTML>



HERE ARE THE IIS LOGS:-

2005-02-21 15:37:48 W3SVC1557523148 WEBSERVER1 172.18.2.102 POST
/indirect/appro/tmk.aspx - 443 - 12.173.65.120 HTTP/1.1 POSTer - -
services.myware.com 401 1 0 2179 303 31
2005-02-21 15:37:48 W3SVC1557523148 WEBSERVER1 172.18.2.102 POST
/indirect/appro/tmk.aspx - 443 - 12.173.65.120 HTTP/1.1 POSTer - -
services.myware.com 401 1 2148074252 1755 479 15

THANKS!

Param R.
2/21/2005 1:50:30 PM
OK after doing some research it appears that the client was sending a
username/pwd in the http headers. The funny thing is even though IIS is
configured for anonymous access it is trying to validate the username/pwd
submitted. Why is that? Anyway around that?

thanks!

[quoted text, click to view]

AddThis Social Bookmark Button