Eric or anyone following this note:
OK I was able to get past the password issue but now I have another
issue. Hopefully I can explain my issue clearly
I was using a Driver instead of the Provider to connect to the
database. When the database did not have a password I could use
SELECT, DELETE UPDATE AND INSERT. Now that I'm using the Provider
with the password I'm only able to use SELECT.
Here is the error for using "Delete from tbl_Logons"
Microsoft JET Database Engine error '80004005'
Could not delete from specified tables.
Are there limitation to using the Provider to connect to the Database
or am I doing something else wrong?
I would appreciate you help and knowledge
Thanks
N. Graves
On Thu, 27 Jan 2005 10:41:36 -0500, N. Graves
<ng*****@REMOVEyahoo.com> wrote:
Eric your the man!
I did not understand the difference in the passwords and you where a
big help. I know about the security issue too.
This Web page that I'm working on is my own and will reside only on my
PC. This application is to keep up with the many passwords and logins
I have to maintain.
Thanks again for you help!
On Thu, 27 Jan 2005 15:16:57 +0000 (UTC), "Eric Schittlipz"
<er**@schittlipz.com> wrote:
"N. Graves" <ng*****@REMOVEyahoo.com> wrote in message
news:cb********************************@4ax.com. .. Thank you for taking your time to read my question... please offer
your knowledge it will be appreciated!
I'm writing a ASP Web page to access a Access Database that has a
Database Password set. If I remove the password I'm able to read and
work with the database.
Here is the code that I have to open the connection to the Database:
Set objDB = Server.CreateObject("ADODB.Connection")
sDBName = "Driver={Microsoft Access Driver (*.mdb)};" & _
"Dbq=" & Request.ServerVariables("APPL_PHYSICAL_PATH") &
"fpdb\plogons.mdb;" & _
"Uid=admin;" & _
"Pwd=test"
Open sDBName
Here is the error that is returned:
Microsoft OLE DB Provider for ODBC Drivers error '80004005'
[Microsoft][ODBC Microsoft Access Driver] Not a valid password.
The database password is "test"
Don't confuse the two types of password you can have. You can have one
using JET user-level security where you have an account comprising username
and password - this is what you have coded for. Alternatively, you can have
the simplest password where everyone has the same.
see the following for details: http://support.microsoft.com/kb/191754
Both passwords are easily cracked, but the second one is almost worthless,
particularly if the database is being held on a web server anyway.