I am trying to build a datagrid in Classic ASP. I have read a few articles here and there and am trying to use MSDataShape to implement this.
I have never worked with MSDataShape, so have absolutely no idea about it.
'Create the ADO Connection object.
set oCon = Server.CreateObject("ADODB.Connection")
'--- Generate the connection string
sCon = "Data Provider=Microsoft.Jet.OLEDB.3.51;Persist Security Info=False;"
sCon = sCon & "Data Source=" & Server.MapPath("Northwind.mdb")
oCon.ConnectionString = sCon
'--- Specify that we will use the Data Shaping provider.
oCon.Provider = "MSDataShape"
'--- Open the connection
oCon.Open
I get the following error:
Microsoft OLE DB Service Components error '80040154' Class not registered /DG/test.asp, line 39 –