469,327 Members | 1,180 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,327 developers. It's quick & easy.

Missing Default Property

Hi, I got the following error when access an asp page. Please help.
Thanks.

Response object error 'ASP 0185 : 8002000e'
Missing Default Property
/downtime_category-old2.asp, line 0
A default property was not found for the object.
*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Jul 19 '05 #1
4 23568
What's your code? Wait, line 0? What are the first five or ten lines of
your code in that page?

Ray at work
"eddie wang" <ew***@kmg.com> wrote in message
news:%2******************@TK2MSFTNGP12.phx.gbl...
Hi, I got the following error when access an asp page. Please help.
Thanks.

Response object error 'ASP 0185 : 8002000e'
Missing Default Property
/downtime_category-old2.asp, line 0
A default property was not found for the object.
*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!

Jul 19 '05 #2
Here is the beginning of the code. I don't know what is line 0.
Thanks.

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">

<HTML>
<HEAD>
<TITLE>Downtime Chart</TITLE>
<!--METADATA TYPE="TypeLib" NAME="Microsoft ActiveX Data Objects 2.5
Library" UUID="{00000205-0000-0010-8000-00AA006D2EA4}" VERSION="2.5"-->

<LINK REL=STYLESHEET TYPE="text/css" HREF="stylesheets/standardms.css">
<META content="text/html; charset=unicode" http-equiv=Content-Type>
<META content="MSHTML 5.00.2919.6307" name=GENERATOR>
</HEAD>

<!-- #INCLUDE FILE="page_begin.inc" -->
<!-- #include virtual="/Include/CfxIE.inc" -->
<!-- #include virtual="/Include/SfxCrossTab.inc" -->
<!-- #include virtual="/Include/CfxIECmds.inc" -->
<!-- #include virtual="/Include/CfxIEExtra.inc" -->

<SCRIPT LANGUAGE="VBScript">
<!--
Dim sHref, sQString, aArgs, sFacility, syear
*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Jul 19 '05 #3
I need to comment out the following response.write. Thanks.

set ARS=acn.Execute("select category_desc, event_period, lost_equiv_bbls
from PO_downtime_Facilities where mid(event_period,5) in ("
+session("stryear")+ ")" + " and facility_name='EB602' " +" order by
event_PERIOD, class_id, category_id;")
'response.write ARS

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Jul 19 '05 #4
ARS is a recordset object. If you want a value from it, you'd do:

Response.WRite ARS.Fields.Item(0).Value '''0 is the first column selected,
category_desc in this case.

Ray at work

"eddie wang" <ew***@kmg.com> wrote in message
news:um**************@TK2MSFTNGP10.phx.gbl...
I need to comment out the following response.write. Thanks.

set ARS=acn.Execute("select category_desc, event_period, lost_equiv_bbls
from PO_downtime_Facilities where mid(event_period,5) in ("
+session("stryear")+ ")" + " and facility_name='EB602' " +" order by
event_PERIOD, class_id, category_id;")
'response.write ARS

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!

Jul 19 '05 #5

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

6 posts views Thread by dmiller23462 | last post: by
4 posts views Thread by Marc van den Bogaard | last post: by
4 posts views Thread by Rob Meade | last post: by
3 posts views Thread by =?Utf-8?B?U3RldmVU?= | last post: by
8 posts views Thread by =?Utf-8?B?Q2hyaXMgSGFsY3Jvdw==?= | last post: by
7 posts views Thread by =?Utf-8?B?QU9UWCBTYW4gQW50b25pbw==?= | last post: by
1 post views Thread by CARIGAR | last post: by
reply views Thread by zhoujie | last post: by
reply views Thread by suresh191 | last post: by
reply views Thread by listenups61195 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.