473,608 Members | 2,667 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

2 errors: "The parameter is incorrect" and "Overlapped I/O operation is in progress."

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="VB Script"%>
<%response.expi res=-1%>
<% If Session("intCur rentElement") < Session("intEle mentsCount")
Then%>
<h2><%=Session( "arrElementValu es")(Session("i ntCurrentElemen t"),1)%></h2>
<form name="EditEleme nt" method="post" action="EditEle mentValue.asp">
<textarea cols="60" rows="20"
name="Element<% =Session("arrEl ementValues")(S ession("intCurr entElement"),0) %>">
<%=Session("arr ElementValues") (Session("intCu rrentElement"), 2)%>
</textarea>
<input type="Submit">
</form>
<% Else Response.Write( "end")End If%>
<%Session("intC urrentElement") = Session("intCur rentElement") + 1%>
Jul 19 '05 #1
5 7389
Check your event log for any signs of problems with your hard disk or your
RAID controller, should you have one. Run a scandisk and other such things.

Ray at home

--
Will trade ASP help for SQL Server help
"Michelle Kinsey-Clinton" <mi******@sapph ireblue.com> wrote in message
news:10******** *************** ***@posting.goo gle.com...
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

Jul 19 '05 #2
Nothing in the event log to correspond to these errors.

But would hard disk or similar problems manifest themselves in errors
displayed in the web browser?

"Ray at <%=sLocation% >" <myfirstname at lane34 dot com> wrote in message news:<#u******* *******@TK2MSFT NGP09.phx.gbl>. ..
Check your event log for any signs of problems with your hard disk or your
RAID controller, should you have one. Run a scandisk and other such things.

Jul 19 '05 #3

"Michelle Kinsey-Clinton" <mi******@sapph ireblue.com> wrote in message
news:10******** *************** ***@posting.goo gle.com...
Nothing in the event log to correspond to these errors.

But would hard disk or similar problems manifest themselves in errors
displayed in the web browser?
I'm not sure about that, and it's not really the easiest thing to test
unless I go gouge a hard drive with a screwdriver. I don't want to do that
though. You aren't running this site off a CD ROM or anything, right? Are
you running this site on XP Pro SP1 with the files on a W2K server that is
also a DC? That can cause lots of I/O errors. Beyond that, I'm not sure
what to tell you. But if you're getting I/O errors and all the files are on
local hard drives, it seems that it would be a hardware related issue.

Ray at work


"Ray at <%=sLocation% >" <myfirstname at lane34 dot com> wrote in message

news:<#u******* *******@TK2MSFT NGP09.phx.gbl>. ..
Check your event log for any signs of problems with your hard disk or your RAID controller, should you have one. Run a scandisk and other such

things.
Jul 19 '05 #4
> The second error is logged as a 500 error and says only, "Overlapped
I/O operation is in progress."


This has nothing to do with disk errors, this is a valid error message
coming from SQL Server.

Unfortunately, the code you included is not going to be helpful in solving
the problem, because the error comes from SQL Server, not session code...

Jul 19 '05 #5
Here is the result of a Google search: http://tinyurl.com/joou

And here are the results of a Knowledge Base search:
http://tinyurl.com/jop4

Enjoy,
Bob Barrows
Michelle Kinsey-Clinton wrote:
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="VB Script"%>
<%response.expi res=-1%>
<% If Session("intCur rentElement") < Session("intEle mentsCount")
Then%>
<h2><%=Session( "arrElementValu es")(Session("i ntCurrentElemen t"),1)%></h2>
<form name="EditEleme nt" method="post" action="EditEle mentValue.asp">
<textarea cols="60" rows="20"
name="Element<% =Session("arrEl ementValues")(S ession("intCurr entElement"),0) %">
<%=Session("arr ElementValues") (Session("intCu rrentElement"), 2)%>
</textarea>
<input type="Submit">
</form>
<% Else Response.Write( "end")End If%>
<%Session("intC urrentElement") = Session("intCur rentElement") + 1%>

Jul 19 '05 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

14
2663
by: David B. Held | last post by:
I wanted to post this proposal on c.l.c++.m, but my news server apparently does not support that group any more. I propose a new class of exception safety known as the "smart guarantee". Essentially, the smart guarantee promises to clean up resources whose ownership is passed into the function, for whatever defintion of "clean up" is most appropriate for the resource passed. Note that this is different from both the basic and the...
2
5542
by: Dave | last post by:
These code generates the error: WebRequest request = WebRequest.Create("http://www.yahoo.com"); WebResponse response = request.GetResponse(); Here is the stack trace for the error: WebException: The underlying connection was closed: Unable to connect to the remote server.] System.Net.HttpWebRequest.CheckFinalStatus() +673
0
1490
by: inikol12 | last post by:
Hi all, i have a problem with Microsoft Visual Studio .NET. I tried to create any new project and get the message "The operation could not be completed". I uninstalled the Microsoft Visual Studio .NET. and .NET framework but i got the same error message. Could anyone help me? I am total desperated Thanks in advanc ivica --- Posted using Wimdows.net NntpNews Component - Posted from .NET's Largest Community Website:...
2
2049
by: Mark | last post by:
Hi, I'm running visual studio 2003, and am now receiving the error "The Operation Could Not Be Completed" when attempting to add a form / control or component class to a project. I can add any other type of item without a problem. This is the second time this has happened to my machine, last time I reinstalled VS and it fixed it. I havent installed anything since that time, so I guess it must be some sort of corruption in the system.
1
8068
by: Kenjis Kaan | last post by:
I had to run DB2 on Win2k. After installation it puts a directory under c:\DB2 and c:\DB2Log and C:\Program Files\SQLLIB Now am all confused which is instance home, db2 home etc. I had to configure tivoli inventory and its all *@#$ up because of this confusion. Can someone please clarify which is which? TIA c:\DB2>wgetrim invdh_1 RIM Host: user88 RDBMS User: user881 RDBMS Vendor: DB2
0
1563
by: SC | last post by:
I'm a newie in .net, and here is my problem. I have a windows application that pass trough a proxy to access a webservice. I use the following code to set the proxy: GlobalProxySelection.Select = new WebProxy(new Uri("http://ip:port/"),true); GlobalProxySelection.Select.Credentials = new NetworkCredential(usr, pass); Well, the problem is that i get an "The operation has timed-out" error. I try a lot of different ways to set the...
0
1113
by: Shamil Salakhetdinov | last post by:
Hi All, I'm getting a message box: <<< Microsoft Development Environment: ========================= The operation could not be completed >>>
5
2580
by: Daves | last post by:
Hi, I'm using a asp.net 2.0 website to send out emails to users, the amount of which can reach up to 1500 users. Obviously the code sending the emails has to let the client know the mails are being sent out and display some kind of progress indicator. How would you implement this? Back in old asp 3.0 days I had a blank page where code did a Response.Write(.."mail sent"...) for each mail sent, the layout had to be simple because the page...
2
2610
by: Fredrik G | last post by:
Whenever i hit F5, my project builds, but then i get an error "The operation could not be completed" Then i have to launch task manager, and end the "myproject.vshost.exe" process manually. Now, the next time i build it, it will start. But next time i start debugging, i have to do the same procedure again. It was working fine earlier, but suddenly this just started happening, and I don't understand why. It's very annoying to do this...
3
2462
by: Bri | last post by:
AC97 on WinXP, Image control on a Form and on a Report. I have followed the advice on the following MVPS page: http://www.mvps.org/access/api/api0038.htm This states that after changing the Registry setting for the progress bar to 'no' that it should no longer display. I have made the change, but the progress bar continues to display. Am I missing something? Does the PC need to be rebooted after the
0
7987
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8472
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8464
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8130
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8324
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
6805
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6000
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
3954
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
1318
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.