Get ready for BLACK FRIDAY shopping starting in

Forums

This topic is locked

Not a Valid Password

Posted 28 Jan 2002 08:02:16
1
has voted
28 Jan 2002 08:02:16 agoes Setiawan posted:
I think was write a right ASP code, but there's still an error on my page :

I have access database db1.mdb with password: mypassword

Error:

Microsoft OLE DB Provider for ODBC Drivers error '80004005'

[Microsoft][ODBC Microsoft Access Driver] Not a valid password.


This is my connection code:
<%
' FileName="Connection_ado_conn_string.htm"
' Type="ADO"
' HTTP="true"
' Catalog=""
' Schema=""
MM_connAgoesBagoes_STRING = "DRIVER={Microsoft Access Driver (*.mdb)};DBQ=" & Server.MapPath("/db/db1.mdb" & ";PWD=mypassword" & ";"
%>

Replies

Replied 24 Oct 2006 09:19:51
24 Oct 2006 09:19:51 Muzammil Mansuri replied:
<b>
Hi,

I had same problem and this is what i used. Hope it helps.

conStr = "Driver=Microsoft Access Driver (*.mdb);DBQ=" & Server.Mappath("Database/db.mdb" &"; PWD=MyPassword;"

This worked for me.

Good Luck

</b>



<BLOCKQUOTE id=quote><font size=1 face="Verdana, Arial, Helvetica" id=quote>quote:<hr height=1 noshade id=quote>
I think was write a right ASP code, but there's still an error on my page :

I have access database db1.mdb with password: mypassword

Error:

Microsoft OLE DB Provider for ODBC Drivers error '80004005'

[Microsoft][ODBC Microsoft Access Driver] Not a valid password.


This is my connection code:
&lt;%
' FileName="Connection_ado_conn_string.htm"
' Type="ADO"
' HTTP="true"
' Catalog=""
' Schema=""
MM_connAgoesBagoes_STRING = "DRIVER={Microsoft Access Driver (*.mdb)};DBQ=" & Server.MapPath("/db/db1.mdb" & ";PWD=mypassword" & ";"
%&gt;


<hr height=1 noshade id=quote></BLOCKQUOTE id=quote></font id=quote><font face="Verdana, Arial, Helvetica" size=2 id=quote><b></b><b></b><b></b><b></b><b></b><b></b>

Reply to this topic