XML and Recordset Object

Results 1 to 2 of 2

Thread: XML and Recordset Object

  1. #1
    Rob Guest

    Default XML and Recordset Object

    I am trying to get a file that is located remotely to run<BR>on my system. The remote file is a .asp file which calls XML <BR>which returns the stream. I am getting an "object is not<BR>declared" error message for the recordset object.<BR>This portion of the code is located on the remote server.<BR>Please noe this code works fine in .asp.<BR><BR>I have noticed when I converted my ASP files to ASP+ that<BR>including ASP files with ASP+ files requires the ASP files to<BR>follow the rules of ASP+. Therefore the recordset object<BR>must be declared differently. Actually, the ASP file will<BR>need to come out of spaghetti and obtain structure.<BR><BR>Would anyone like to comment?<BR>Have I confused you?<BR><BR><BR>Thanks,<BR><BR>Rob

  2. #2
    Doug Seven Guest

    Default RE: XML and Recordset Object

    It sounds like your assumptions are right on the money. Bring code into an ASP+ application (including it) requires it follows all the rules of ASP+. I did a similar test by including in a file that connected to a database and returned a recordset in ADO. The very first line of code that violated ASP+ broke the code.<BR><BR>My solution was to create a pagelet that exposed a method to connect and return the data in an ASP+ consumable format. Its not the same situation you are in, but the same rules apply.<BR><BR>Good luck.<BR><BR>Doug Seven<BR>CodeJunkies.Net / ASPNextGen.com<BR>doug.seven@codejunkies.net

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts