Missing Default Property

Discussion in 'ASP General' started by eddie wang, Jan 14, 2004.

  1. eddie wang

    eddie wang Guest

    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!
    eddie wang, Jan 14, 2004
    #1
    1. Advertising

  2. eddie wang

    Ray at Guest

    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" <> wrote in message
    news:%23PcV%...
    > 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!
    Ray at, Jan 14, 2004
    #2
    1. Advertising

  3. eddie wang

    eddie wang Guest

    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!
    eddie wang, Jan 14, 2004
    #3
  4. eddie wang

    eddie wang Guest

    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!
    eddie wang, Jan 14, 2004
    #4
  5. eddie wang

    Ray at Guest

    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" <> wrote in message
    news:...
    > 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!
    Ray at, Jan 14, 2004
    #5
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. rb
    Replies:
    1
    Views:
    348
  2. Gary Herron
    Replies:
    2
    Views:
    652
    Bruno Desthuilliers
    Jul 4, 2006
  3. tom c
    Replies:
    0
    Views:
    561
    tom c
    Sep 26, 2006
  4. Ken Varn
    Replies:
    5
    Views:
    393
    =?Utf-8?B?TWlsb3N6IFNrYWxlY2tpIFtNQ0FEXQ==?=
    Mar 3, 2007
  5. dmiller23462

    Missing Default Property, help...

    dmiller23462, Jun 4, 2004, in forum: ASP General
    Replies:
    6
    Views:
    338
    dmiller23462
    Jun 7, 2004
Loading...

Share This Page