CFF KB - Carrz-Fox-Fire Promotions Knowledge Base

CFF KB is all about 1 thing: The Sharing of Knowledge and the Power we gain from it.
  • Breadrumbs:
  • Response object error 'ASP 0185 : 8002000e' Missing Default Property

  • CFF Knowledge Base - Share With Facebook CFF Knowledge Base - Share on Twitter CFF Knowledge Base - Share on Reddit CFF Knowledge Base - Share on Digg It CFF Knowledge Base - Share on Stumble Upon It CFF Knowledge Base - Share on Delicious
    Share With Friends (Updated 6-8-2010)
  • Article ID:
    120
  • Date Created
    Saturday, March 19, 2011
  • This Article Has been Viewed
    4690 times
  • Short Desc
    When checking if records exist, make sure that you correctly write out your IF THEN statement, if not, then you may experiance the following error.
  • Details
    When you check to see if records exist or not using an IF THEN statement, you might write it out to quickly causing the words to bunch together.
    This issue can also happen when you work long hours.

     
    Response object error 'ASP 0185 : 8002000e'
    Missing Default Property
    /Main.asp, line 0
    A default property was not found for the object.
  • Recreate Issue
    To recreate this issue:

    <%
    if notrs then
    response.write"There are no records available"
    else
    getRec = rs("MyRecord")
    end if
    %>


    as you can tell, there is no space between not and rs.
  • Resolve Issue
    To resolve this issue:

    When you check to see if records exist or not, make sure that it is written clearly.

    <%
    if rs.eof then
    response.write"There are no records available"
    else
    getRec = rs("MyRecord")
    end if
    %>


    The above is the proper spelling and correct way for checking if a record exist or not in your database.