Problem with creating a recordset

I am getting an error at line 12 involving reading from a database. I
am using IIS is installed on Windows XP.

1. <html>
2. <head>
3. <title>Untitled Document</title>
4. <meta http-equiv="Content-Type" content="text/html;
charset=iso-8859-1">
5. </head>
6.
7. <body bgcolor="#FFFFFF">
8.
9.
10. <%
11. Dim oRSp
12. Set oRSp = Server.CreateObject("ADOBD.RecordSet")
oRSp.CursorType = adOpenStatic
oRSp.Open "SELECT * FROM Stores", "DSN=Stores"
oRSp.MoveFirst
Response.Write "<B>" & oRS("StoreName") & "</B>"
%>
<HR>
</body>
</html>

I get the following error at line 12:

Error Type:
Server object, ASP 0177 (0x800401F3)
Invalid class string
/MyWeb/test.asp, line 12


Can someone let me know what the problem is and how I can fix it?

Thanks
MichaelJohnson168 [ Mi, 19 Dezember 2007 21:43 ] [ ID #1890554 ]

Re: Problem with creating a recordset

MichaelJohnson168 [at] hotmail.com wrote:
> 12. Set oRSp = Server.CreateObject("ADOBD.RecordSet")
ADODB, not ADOBD
--
Microsoft MVP -- ASP/ASP.NET
Please reply to the newsgroup. The email account listed in my From
header is my spam trap, so I don't check it very often. You will get a
quicker response by posting to the newsgroup.
reb01501 [ Mi, 19 Dezember 2007 21:52 ] [ ID #1890555 ]
Webserver » microsoft.public.inetserver.asp.db » Problem with creating a recordset

Vorheriges Thema: Re: Microsoft JET Database Engine error '80004005' Could not use ''; file already in use.
Nächstes Thema: ASP & Temporary Tables - Create OK, then "Not Found"