DataGrid loading password protected MSAccess DB

G

Guest

Hello,

I am trying to load a password protected Access 2003 database into a C# app
and whenever I execute the application, it displays this exception:
System.Data.OleDb.OleDbException: Not a valid password. In the developer (C#
2005 express edition) it is able to pull the column names and such.
Everything works fine for a non-password protected DB. Where can I set the
password to the DB in the app?

Thanks a lot!
-freeskier89
 
N

Nicholas Paldino [.NET/C# MVP]

freeskier89,

Are you sure you are setting the password correctly in the connection
string? What is your connection string?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top