devxlogo

Encountering Tabular Data Control Error

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.

See also  Professionalism Starts in Your Inbox: Keys to Presenting Your Best Self in Email
devxblackblue

About Our Editorial Process

At DevX, we’re dedicated to tech entrepreneurship. Our team closely follows industry shifts, new products, AI breakthroughs, technology trends, and funding announcements. Articles undergo thorough editing to ensure accuracy and clarity, reflecting DevX’s style and supporting entrepreneurs in the tech sphere.

See our full editorial policy.

About Our Journalist