471,306 Members | 1,305 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,306 software developers and data experts.

DataGrid loading password protected MSAccess DB

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

--
(an Actionscript Guru)
Dec 10 '05 #1
1 1369
freeskier89,

Are you sure you are setting the password correctly in the connection
string? What is your connection string?
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com

"c#freeskier89" <fr*********@discussions.microsoft.com> wrote in message
news:97**********************************@microsof t.com...
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

--
(an Actionscript Guru)

Dec 12 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

reply views Thread by Reb | last post: by
2 posts views Thread by Dave Bailey | last post: by
4 posts views Thread by Dave bailey | last post: by
reply views Thread by Dave Bailey | last post: by
6 posts views Thread by JeffB | last post: by
2 posts views Thread by zambizzi | last post: by
reply views Thread by John Hopper | last post: by
reply views Thread by rosydwin | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.