I have made an application with MS Access 2003 as my database.
I made its setup and installed in a pc which MS Office 2007 installed in it.
I am getting an error of "Microsoft.Oledb.Jet.4.0 resource not found".
And my setup is not working.

What to do now?

this problem is due to the MS-Office.
and also place ur datadbase file in bin/debug folder.
OleDbConnection cn = new OleDbConnection("Provider=Microsoft.ACE.oledb.12.0;Data Source=C:/CSharp/Test.accdb;Persist security info=false;");

try this while creating the connection here test.accdb is the name of the ms access file..

thanx rockstar for ur reply. but its still not working

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.