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.Knowledge Base
- Breadrumbs:
Response object error 'ASP 0185 : 8002000e' Missing Default Property
- 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.
Share With Friends (Updated 6-8-2010)
Recent Articles
All Topics
- Coming Soon - Knowledge Exchange
Trending Articles
- Microsoft VBScript runtime error '800a0046' Permission denied FileSystemObject 24695
- Microsoft OLE DB Provider for SQL Server error '80040e57' String or binary data would be truncated. or The field is too small to accept the amount of data you attempted to add. Try inserting or pasting less data. 21297
- ADODB.Parameters error '800a0e7c' Parameter object is improperly defined 19544
- After Effects warning: Audio conforming failed for the following file .cfa. Perhaps due to disk space 17785
- The backup set holds a backup of a database other than the existing 16826