<B>Hi all! Another question from a friend (pogoartist), he's registered but is waiting for activation so I said I'd post this for him...</B>
Having problems uploading a mdb file to my windows server so that i can get a forum working on one of my sites.
I tried connecting to a database using the following piece of code:
<I>
sConnString = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" & sDir & "forum.mdb"
set conn = Server.CreateObject("ADODB.Connection")
set cmd = Server.CreateObject("ADODB.Command")
set rs = Server.CreateObject("ADODB.Recordset")
'conn.mode = 3
conn.open sConnString
set cmd.activeconnection = conn
</I>
The following error occurs
<I>
Microsoft JET Database Engine error '80040e4d'
Not a valid password.
/DiscussionForum/database.inc, line 20
</I>
I have done a search on this error and i found someone with the exactly thesame error, regarding connection problems to an access db via ASP, this is the reply i got:
<I>
"This makes no sense to me, but it seemed to fix the problem. As long as my database never touched a Mac, it worked fine on the web. The problem existed every time I uploaded from my Mac (even if I didn't try to open it or tried uploading directly from a CD), but as soon as I uploaded directly from a PC, no problem.
Don't know the underlying cause but a fix is there if you have access to a PC."
</I>
What on earth is going on here, can anyone help
kind regards
Pogoartist