473,406 Members | 2,273 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,406 software developers and data experts.

Errors from timeouts?

I have a web application that I am converting from 1.1 framework to 2.0
framework.

When I do, I'd like to see if I could trap this error (or do something
to detect it).

The error is:

/sales/reportASP.aspx System.Web.HttpUnhandledException: Exception of
type 'System.Web.HttpUnhandledException' was thrown. --->
System.Runtime.InteropServices.COMException (0x800A0BCD): Either BOF or
EOF is True, or the current record has been deleted. Requested operation
requires a current record. at
Microsoft.VisualBasic.CompilerServices.LateBinding .LateGet(Object o,
Type objType, String name, Object[] args, String[] paramnames, Boolean[]
CopyBack) at test.reportASP.ReportASP.reportheader() at
ASP.sales_reportasp_aspx.__Render__control1(HtmlTe xtWriter __w, Control
parameterContainer) in D:\myfolder
\sales\reportasp.aspx:line 7 at
System.Web.UI.Control.RenderChildrenInternal(HtmlT extWriter writer,
ICollection children) at
System.Web.UI.Control.RenderChildren(HtmlTextWrite r writer) at
System.Web.UI.Page.Render(HtmlTextWriter writer) at
System.Web.UI.Control.RenderControlInternal(HtmlTe xtWriter writer,
ControlAdapter adapter) at
System.Web.UI.Control.RenderControl(HtmlTextWriter writer,
ControlAdapter adapter) at
System.Web.UI.Control.RenderControl(HtmlTextWriter writer) at
System.Web.UI.Page.ProcessRequestMain(Boolean
includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) ---
End of inner exception stack trace --- at
System.Web.UI.Page.HandleError(Exception e) at
System.Web.UI.Page.ProcessRequestMain(Boolean
includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) at
System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint,
Boolean includeStagesAfterAsyncPoint) at
System.Web.UI.Page.ProcessRequest() at
System.Web.UI.Page.ProcessRequestWithNoAssert(Http Context context) at
System.Web.UI.Page.ProcessRequest(HttpContext context) at
ASP.sales_reportasp_aspx.ProcessRequest(HttpContex t context) at
System.Web.HttpApplication.CallHandlerExecutionSte p.System.Web.HttpApplication.IExecutionStep.Execut e()
at System.Web.HttpApplication.ExecuteStep(IExecutionS tep step, Boolean&
completedSynchronously)
The line it blows up on in the aspx page is where it calls something
from the codefile.

reportheader()

In this it sets some session variables, reads some things from a
database, and that type of stuff. It also sets report titles and other
things for the report it's preparing to run (calling a report from SQL
based on parameters being passed in from here). I don't know whether
its blowing up on the read itself or if it's something else causing the
problem (like the IIS timing out on a person).

The error itself is intermittent, and I can't reproduce them.

Any ideas? (either as to what's causing this or how to fix it)?
Thanks,

BC
Jun 22 '07 #1
1 1665
I'd suggest that if you really want to bring everything up to ASP.NET 2.0,
then get rid of the classic ADO
and use ADO.NET for your data access.

-- Peter
Site: http://www.eggheadcafe.com
UnBlog: http://petesbloggerama.blogspot.com
Short urls & more: http://ittyurl.net


"Blasting Cap" wrote:
I have a web application that I am converting from 1.1 framework to 2.0
framework.

When I do, I'd like to see if I could trap this error (or do something
to detect it).

The error is:

/sales/reportASP.aspx System.Web.HttpUnhandledException: Exception of
type 'System.Web.HttpUnhandledException' was thrown. --->
System.Runtime.InteropServices.COMException (0x800A0BCD): Either BOF or
EOF is True, or the current record has been deleted. Requested operation
requires a current record. at
Microsoft.VisualBasic.CompilerServices.LateBinding .LateGet(Object o,
Type objType, String name, Object[] args, String[] paramnames, Boolean[]
CopyBack) at test.reportASP.ReportASP.reportheader() at
ASP.sales_reportasp_aspx.__Render__control1(HtmlTe xtWriter __w, Control
parameterContainer) in D:\myfolder
\sales\reportasp.aspx:line 7 at
System.Web.UI.Control.RenderChildrenInternal(HtmlT extWriter writer,
ICollection children) at
System.Web.UI.Control.RenderChildren(HtmlTextWrite r writer) at
System.Web.UI.Page.Render(HtmlTextWriter writer) at
System.Web.UI.Control.RenderControlInternal(HtmlTe xtWriter writer,
ControlAdapter adapter) at
System.Web.UI.Control.RenderControl(HtmlTextWriter writer,
ControlAdapter adapter) at
System.Web.UI.Control.RenderControl(HtmlTextWriter writer) at
System.Web.UI.Page.ProcessRequestMain(Boolean
includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) ---
End of inner exception stack trace --- at
System.Web.UI.Page.HandleError(Exception e) at
System.Web.UI.Page.ProcessRequestMain(Boolean
includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) at
System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint,
Boolean includeStagesAfterAsyncPoint) at
System.Web.UI.Page.ProcessRequest() at
System.Web.UI.Page.ProcessRequestWithNoAssert(Http Context context) at
System.Web.UI.Page.ProcessRequest(HttpContext context) at
ASP.sales_reportasp_aspx.ProcessRequest(HttpContex t context) at
System.Web.HttpApplication.CallHandlerExecutionSte p.System.Web.HttpApplication.IExecutionStep.Execut e()
at System.Web.HttpApplication.ExecuteStep(IExecutionS tep step, Boolean&
completedSynchronously)
The line it blows up on in the aspx page is where it calls something
from the codefile.

reportheader()

In this it sets some session variables, reads some things from a
database, and that type of stuff. It also sets report titles and other
things for the report it's preparing to run (calling a report from SQL
based on parameters being passed in from here). I don't know whether
its blowing up on the read itself or if it's something else causing the
problem (like the IIS timing out on a person).

The error itself is intermittent, and I can't reproduce them.

Any ideas? (either as to what's causing this or how to fix it)?
Thanks,

BC
Jun 22 '07 #2

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

Similar topics

1
by: Christian Luszick | last post by:
hi, I am using output buffering with ob_start and a callback function, which replaces variables like "%var%" with the equivilants taken out of a mysql database. This works well! But I get...
2
by: p2esp | last post by:
Hello, I'm using the xmlrpclib module to contact an XMLRPC server that takes a long time to send results back. My client timeouts. The question is whether there is a way to have an xmlrpclib...
3
by: Fazer | last post by:
Hello, I was wondering what's the best way of setting timeouts when working with urllib2. Thanks,
4
by: Laphan | last post by:
Hi Guys I've been using text files for Tab-Delimited/ADO/ASP sites so that users can update and display their products lists through my system with relative ease. Only problem is that for the...
5
by: Jim in Arizona | last post by:
I'm doing a query on a webproxy log, which is a pretty large table. I'm only doing a query on a single days worth, but could be upwards of 250000 records. Originally I got a timeout error saying to...
0
by: mstuehler | last post by:
All, Can anyone provide a simple example of an ASP script that includes timeout exception handling? Specifically, I don't need to extend the timeout, or prevent it - I'm not responsible for...
2
by: mircu | last post by:
Hi, I need a quick solution to make my application behave correctly when one of these timeouts occurs. I have some logic in session_start but when the authentication cookie timeouts the user is...
2
by: Fraijo | last post by:
how can i disable session timeouts without affecting any program codings?
0
by: Barb | last post by:
Hello, I have a (C#) web service being consumed by a high volume "asp classic" site. It worked perfectly until I tried consuming a second web service from the first web service. Both services...
10
by: Zytan | last post by:
I have a TcpClient. I set the read/write timeouts at 1 minute (in milliseconds). I get a NetworkStream from it and confirm the timeouts still exist. I do a NetworkStream.Write() and then a...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
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...
0
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,...
0
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...
0
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...

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.