I get error 80004005 when I try to access the database. . .
Posted on 2003-02-21
I'm trying to learn ASP and I wanted to build a page where you're able to login and log off.
I have a small problem, I get this error when the page is loaded:
Microsoft JET Database Engine error '80004005'
Ogiltig kopplingssekvens som inte kan hanteras av operativsystemet.
(Not valid connection sequnce that can't be handeld be the operationsystem)
/register.asp, row 48
I've tried to translate from Swedish if it's kind of blurry!
I don't really know what to do about this.
I've used Access 97 and I'm running Win98.
The code looks like this:
Set objConn = server.CreateObject("ADODB.Connection")
strConn = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" & Server.MapPath("db/community.mdb")
strSQL = "SELECT userLoginName FROM tblUsers WHERE userLoginName = '" & strLoginName & "'"
Row 48: Set rstUser = objConn.Execute(strSQL)
Tired to look at other forums and of course this but can't find a soulutions that can be too any help.
Would be grat if I could find one here.