Results 1 to 7 of 7
  1. #1
    New Lounger
    Join Date
    Aug 2002
    Posts
    11
    Thanks
    0
    Thanked 0 Times in 0 Posts

    ASP error when following Beginning ASP 3 p.615

    Hi all

    I'm working steadily through the wrox press "Beginning ASP 3" book and I've come to yet another non-working example, although in this case I haven't managed to work out exactly why it's not working. It's on p. 615, chapter 14 - Advanced Data Handling Techniques. I'm trying to us the Record object to view the properties of a physical directory which corresponds to a virtual directory.

    Every time I try the page, it comes up with:

    Server object error 'ASP 0177 : 800401f3'
    Server.CreateObject Failed
    /record.asp, line 9
    Invalid class string

    Here's the script I'm using:

    <% Option Explicit %>
    <HTML>
    <HEAD>
    <TITLE>Retrieving Semi-structured Data</TITLE>
    </HEAD>
    <BODY>
    <%
    Dim objNodeRecord, objNodeField
    Set objNodeRecord = Server.CreateObject("ADODB.Record")
    objNodeRecord.Open "","URL=http://trainintra/asp/"

    Response.Write "<H2>Properties of the folder:</H2>"
    Response.Write "<TABLE BORDER='1'>"
    For Each objNodeField in objNodeRecord.Fields
    Response.Write "<TR>" & _
    "<TD>" & objNodeField.Name & "</TD>" & _
    "<TD>" & objNodeField.Value & "</TD>" & _
    "</TR>"
    Next
    Response.Write "</TABLE>"
    objNodeRecord.Close
    Set objNodeRecord = Nothing
    %>
    </BODY>
    </HTML>

    I'm sure you've seen this problem here before as it's lifted straight from the book, but I couldn't find anything using the search facility. Any ideas?

    Thanks in advance,

    Foss

  2. #2
    navir
    Guest

    Re: ASP error when following Beginning ASP 3 p.615

    Hi, Foss:

    Sorry, but I'm still on ASP 2.0.

    Wrox usually maintains a website (listed in the introductory material for the book), for questions like these. They also maintain a P2P (Peer-to-Peer) website for general questions. Have you tried them?

    Regards,
    Ivan

  3. #3
    New Lounger
    Join Date
    Aug 2002
    Posts
    11
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: ASP error when following Beginning ASP 3 p.615

    Hi Ivan

    I had a look at the wrox press website, but couldn't find anything. I'm going to take another look later on but right now I'm working on something else.

    heh. I'm new to ASP and I have to say that I'm really enjoying it!

    Cheers

    Foss

  4. #4
    Super Moderator jscher2000's Avatar
    Join Date
    Feb 2001
    Location
    Silicon Valley, USA
    Posts
    23,112
    Thanks
    5
    Thanked 93 Times in 89 Posts

    Re: ASP error when following Beginning ASP 3 p.615

    Errata board:

    http://www.wrox.com/Consumer/Forums/default.asp#Errata

    Drop list down to title and click red button.

  5. #5
    New Lounger
    Join Date
    Aug 2002
    Posts
    11
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: ASP error when following Beginning ASP 3 p.615

    Thanks for the link, but unfortunately there's nothing there about the error I come up with

  6. #6
    Super Moderator jscher2000's Avatar
    Join Date
    Feb 2001
    Location
    Silicon Valley, USA
    Posts
    23,112
    Thanks
    5
    Thanked 93 Times in 89 Posts

    Re: ASP error when following Beginning ASP 3 p.615

    Just post, and someone will help. You can also try the main boards at p2p.wrox.com for help from complete strangers.

  7. #7
    New Lounger
    Join Date
    Aug 2002
    Posts
    11
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: ASP error when following Beginning ASP 3 p.615

    .... but strangers scare me! ;P

    Thanks for all your help, I'll give that a try next.

Posting Permissions

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