M
Michelle Kinsey-Clinton
Hello,
I am writing an ASP app which is giving me some very frustrating
errors. They appear intermittently, no real pattern to them, and often
go away if you reload, or back up a few pages and start over again.
The first error is logged as a 400 error and says only, "The parameter
is incorrect." It (mostly, but not always) happens upon submitting a
form, and a reload is generally successful in bringing the page up
just fine. I have previously made the problem go away by changing the
form from method=post to method=get, but now I have a form which must
be post.
The second error is logged as a 500 error and says only, "Overlapped
I/O operation is in progress."
I'll paste some in-progress code below. It's *very* rough. Basically,
the idea is that on a previous page, an array is set in session scope
which contains an arbitrary number of elements. The user then is shown
one page for each element in the array with a form for him to edit the
contents of the array. The code I'm pasting is the element edit page,
which at this point only submits to itself and does no processing of
the submission at all---but it's throwing errors anyway.
This IS the only page on which I see the I/O error. This is NOT the
only page on which I see the parameter incorrect error. Any general
tips on how to trap/debug these errors would be greatly, greatly
appreciated---my project is at a standstill until I can figure
something out. Thank you.
m
<%@LANGUAGE="VBScript"%>
<%response.expires=-1%>
<% If Session("intCurrentElement") < Session("intElementsCount")
Then%>
<h2><%=Session("arrElementValues")(Session("intCurrentElement"),1)%></h2>
<form name="EditElement" method="post" action="EditElementValue.asp">
<textarea cols="60" rows="20"
name="Element<%=Session("arrElementValues")(Session("intCurrentElement"),0)%>">
<%=Session("arrElementValues")(Session("intCurrentElement"),2)%>
</textarea>
<input type="Submit">
</form>
<% Else Response.Write("end")End If%>
<%Session("intCurrentElement") = Session("intCurrentElement") + 1%>
I am writing an ASP app which is giving me some very frustrating
errors. They appear intermittently, no real pattern to them, and often
go away if you reload, or back up a few pages and start over again.
The first error is logged as a 400 error and says only, "The parameter
is incorrect." It (mostly, but not always) happens upon submitting a
form, and a reload is generally successful in bringing the page up
just fine. I have previously made the problem go away by changing the
form from method=post to method=get, but now I have a form which must
be post.
The second error is logged as a 500 error and says only, "Overlapped
I/O operation is in progress."
I'll paste some in-progress code below. It's *very* rough. Basically,
the idea is that on a previous page, an array is set in session scope
which contains an arbitrary number of elements. The user then is shown
one page for each element in the array with a form for him to edit the
contents of the array. The code I'm pasting is the element edit page,
which at this point only submits to itself and does no processing of
the submission at all---but it's throwing errors anyway.
This IS the only page on which I see the I/O error. This is NOT the
only page on which I see the parameter incorrect error. Any general
tips on how to trap/debug these errors would be greatly, greatly
appreciated---my project is at a standstill until I can figure
something out. Thank you.
m
<%@LANGUAGE="VBScript"%>
<%response.expires=-1%>
<% If Session("intCurrentElement") < Session("intElementsCount")
Then%>
<h2><%=Session("arrElementValues")(Session("intCurrentElement"),1)%></h2>
<form name="EditElement" method="post" action="EditElementValue.asp">
<textarea cols="60" rows="20"
name="Element<%=Session("arrElementValues")(Session("intCurrentElement"),0)%>">
<%=Session("arrElementValues")(Session("intCurrentElement"),2)%>
</textarea>
<input type="Submit">
</form>
<% Else Response.Write("end")End If%>
<%Session("intCurrentElement") = Session("intCurrentElement") + 1%>