Forum Moderators: open

Message Too Old, No Replies

Microsoft JET Database Engine error '80004005'

I am receiving this error.

         

satalways

6:54 am on Aug 16, 2005 (gmt 0)

10+ Year Member



Hi,

I am receiving this error in my web site. Even I am using these codes...

Dim Con, Rec
Set Con = Server.CreateObject("ADODB.Connection")
Set Rec = Server.CreateObject("ADODB.Recordset")

If Con.State=1 Then Con.Close

Con.Provider = "Microsoft.Jet.OLEDB.4.0"
Con.ConnectionString = "D:\site\bazar\1\admin\pathdata\BazarData_.mdb"
Con.Open

I am also closing this at end of each page. like this.

If Rec.State=1 Then Rec.Close
If Con.State=1 Then Con.Close
Set Con=Nothing
Set Rec=Nothing

Can anyone help me.
Thank in Advance.

steve

1:22 pm on Aug 16, 2005 (gmt 0)

10+ Year Member



Search Google for '80004005' the first result is a extensive Microsoft guide to troubleshooting this error.

satalways

4:34 am on Aug 17, 2005 (gmt 0)

10+ Year Member



Thank you very much, I got the solution from Google already.

Thanks again for replying.