Hi everyone,

I'm receiving an error while trying to open a recordset to an Access
database using ADO and Data Shaping.

This the error the I'm receiving:
Microsoft Cursor Engine error '80004005'
Data provider or other service returned an E_FAIL status.
/sedicedemi.asp, line 139

And this is the script...

strCon = "Provider=MSDataShape;Data Provider=Microsoft.Jet.OLEDB.4.0;Persist
Security Info=False;Data Source=" & Server.MapPath("/") & strPath

(the "strPath" variable contains the path where the database is located on
the server and it's a valid one)

objDbConn.Open strCon
Set ConnectDb = objDbConn

Set objPagingConn = objDbConn
Set objPagingRS = Server.CreateObject("ADODB.Recordset")
Set objRsChild = Server.CreateObject("ADODB.Recordset")

The following line is the one where I get the error (#139):
objPagingRS.Open strShape, objPagingConn, adOpenStatic, adLockReadOnly,
adCmdText

I must note that this error wasn't happening a week ago and this script was
running smoothly, but my webhost provider had a crash on their servers and
they had to replace a hard disk. (At least that's what they told me...)

Any ideas???

Any help would be greatly appreciated.

Thanks in advance!

-- Gabriel



____ • The WDVL Discussion List from WDVL.COM • ____
To Join wdvltalk, Send An Email To: mailto:[EMAIL PROTECTED] 
       Send Your Posts To: [EMAIL PROTECTED]
To set a personal password send an email to [EMAIL PROTECTED] with the words: "set 
WDVLTALK pw=yourpassword" in the body of the email.
To change subscription settings to the wdvltalk digest version:
    http://wdvl.internet.com/WDVL/Forum/#sub
Web Interface: http://intm-dl.sparklist.com/read/?forum=wdvltalk

________________  http://www.wdvl.com  _______________________

You are currently subscribed to wdvltalk as: [EMAIL PROTECTED]
To unsubscribe send a blank email to [EMAIL PROTECTED]

To unsubscribe via postal mail, please contact us at:
Jupitermedia Corp.
Attn: Discussion List Management
475 Park Avenue South
New York, NY 10016

Please include the email address which you have been contacted with.

Reply via email to