473,570 Members | 2,888 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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_catego ry-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 26387
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.co m> wrote in message
news:%2******** **********@TK2M SFTNGP12.phx.gb l...
Hi, I got the following error when access an asp page. Please help.
Thanks.

Response object error 'ASP 0185 : 8002000e'
Missing Default Property
/downtime_catego ry-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>Downti me 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="styleshee ts/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_begi n.inc" -->
<!-- #include virtual="/Include/CfxIE.inc" -->
<!-- #include virtual="/Include/SfxCrossTab.inc " -->
<!-- #include virtual="/Include/CfxIECmds.inc" -->
<!-- #include virtual="/Include/CfxIEExtra.inc" -->

<SCRIPT LANGUAGE="VBScr ipt">
<!--
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_Fac ilities where mid(event_perio d,5) in ("
+session("strye ar")+ ")" + " 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.co m> wrote in message
news:um******** ******@TK2MSFTN GP10.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_Fac ilities where mid(event_perio d,5) in ("
+session("strye ar")+ ")" + " 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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
2941
by: dmiller23462 | last post by:
Here is the code, it's not complete of course....I've been inserting lines as I go to pinpoint the issue.....I understand that the error message I'm getting (#185 Missing Default Property) is referring to "textfile" but I can't find any information as to what the default property SHOULD be.... By the way, I'm working on an online submission...
1
1479
by: Kun | last post by:
Hi there, I think vs.net missing default name for new form. Scenario: 1. I create new Window Application by default it give me Form1 2. I add Form2 3. In Form1_Load event I try to get form2 name what I get is empty string not Form2
4
12222
by: Marc van den Bogaard | last post by:
hello together, my datarow.item property is missing, i just can accesss the ItemArray property, what is wrong with this? System.Data.DataSet dataset1 = new System.Data.DataSet(); System.Data.DataTable datatable1 = new System.Data.DataTable("table1");
4
1249
by: Rob Meade | last post by:
Hi all, I'm trying to dynamically create the navigation for my web page - I have achieved this at work and whilst trying to reproduce the code this evening at home I'm obviously missing something, I just cant see what... Here's the error: Class 'System.Web.UI.WebControls.TableRow' cannot be indexed because it has no default property.
3
3967
by: =?Utf-8?B?U3RldmVU?= | last post by:
I want to create tabs in the TabControl that are aligned on either the right or left side, but no text shows when doing this. Is there an issue here or a work around. Text for tabs on top or bottom are just fine. I'm using VS 2005. -- ----------- Thanks, Steve
11
3949
by: Andrus | last post by:
I'm implementing entity object which should populate its properties from database when property is first referenced. In RDL reports I use object properties like MyObject.MyProperty MyObject is instance of MyEntity class. There is no MyProperty property in MyObject at design time.
1
1674
by: pechar | last post by:
Hi Guys, I'm having problems returning a set of rows. What I have is two tables, one to store properties and another storing the images (image paths) of the properties. Now a property isn't required to have an image. In that case I want to display an empty column or whatever (like null value). The thing is if a property doesn't have an image...
8
8927
by: =?Utf-8?B?Q2hyaXMgSGFsY3Jvdw==?= | last post by:
Hi there I've successfully added some .NET validation controls to a page (using <asp:RequiredFieldValidator ...), however when I try to set the 'display' property to 'dynamic', my page then throws up the following error in the browser: CS1061: 'System.Web.UI.WebControls.TextBox' does not contain a definition for 'Web' and no extension...
7
2811
by: =?Utf-8?B?QU9UWCBTYW4gQW50b25pbw==?= | last post by:
Hi, I have been using the code (some of it has been removed for simplicity) below to allow authenticated (using ASP.NET membership database) users to get a file from their archive area. It seems to work fine, however I noticed that no web log entry is added when a successful download occurs (normally a 200 HTTP status code, however, if...
0
7724
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
8149
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
1
7699
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
6323
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
0
5247
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3681
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
0
3671
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2131
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
0
971
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

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.