Problem with creating a recordset
am 19.12.2007 21:43:52 von MichaelJohnson168I am getting an error at line 12 involving reading from a database. I
am using IIS is installed on Windows XP.
1.
2.
3.
4.
5.
6.
7.
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 "" & oRS("StoreName") & ""
%>
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