OLEDB with Excel

sheel

New Member
DB_SEC_E_AUTH_FAILED error indicates it’s a database authentication issue, check the database file path and try the connection string like this:

Conn = new OleDbConnection(string.Format(@"Provider=Microsoft.Jet.OLEDB.4.0;Data Source={0};Jet OLEDB:Database Password=1234", DbPath))
 
Top