Login | Register   
Twitter
RSS Feed
Download our iPhone app
TODAY'S HEADLINES  |   ARTICLE ARCHIVE  |   FORUMS  |   TIP BANK
Browse DevX
Sign up for e-mail newsletters from DevX


Tip of the Day
Language: Relational Databases
Expertise: Beginner
Jul 26, 1999

Encountering Tabular Data Control Error

Question:

I have an index page where the user clicks on a name to bring up that person's biography on the next page. The names are hyperlinks to the next page followed by # and the number of that person's record. I use the Internet Explorer ActiveX Tabular Data Control (TDC) to retrieve the biography info from my Data Source Object (DSO). I use a simple JavaScript to retrieve the number and call the appropriate recordset:


Most of the time (but not always) I get the error, "The operation requested by the application is not allowed if the object is closed," when trying to load the TDC page and only the first record. This does not occur while running the page locally (off the hard drive)—only when it is online. How can I eliminate this problem?

Answer:
This error message is Remote Data Service's (RDS) way to tell you that it can't open the reference file, perhaps because it can't find it, or perhaps because you don't have a complete reference to its location. The source file should be located on the server if the requesting file is on the server. The other possibility is that the file in question is malformed in some way, and the component can't properly parse it into the requested OLEDB data format. Given the intermittence that you describe, this explanation makes more sense than not being able to find the page itself.

DevX Pro
 
Comment and Contribute

 

 

 

 

 


(Maximum characters: 1200). You have 1200 characters left.

 

 

Sitemap