----------------------------------------------------------- New Message on BDOTNET
----------------------------------------------------------- From: s_hashim Message 2 in Discussion Debug the code at run time and try to see that your given path is correct or not. I doubt the path you are passing is going wrong ********** Keep Smiling, Regards. Sayad Hashim Ali Kazi Microsoft India Community Star. SQL Star International Ltd. SQL House, #13,Infocity,Madhapur, Hyderabad 500 081. Tel: +91-40-2310 1625(Off) +91-98491-29500(Cell) www.mugh.net -----Original Message----- From: kushi [mailto:[EMAIL PROTECTED] Sent: Thursday, May 06, 2004 5:52 PM To: BDOTNET Subject: URGENT- connecting to MS-Access in .NET New Message on BDOTNET URGENT- connecting to MS-Access in .NET Reply Reply to Sender Recommend Message 1 in Discussion From: kushi Hi I tried to connect to MS-Assess database from VB.NET (web application) using "Microsoft.Jet.OLEDB.4.0" but its giving error ::: "cannot find the installable ISAM" I searched most of the web forumes to fix this problem, but did'nt got fruitfull results. I am using Microsoft Access 2000. The dll file "msjet40.dll" is exists in my system. If anybody worked on this, please give me some hints.... Below is the extract from the code i written..... >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> OleDbConnection con; OleDbDataReader rdr; //con = new OleDbConnection ("Provider=Microsoft.Jet.OLEDB.4.0; Data Sorce=" + Server.MapPath ("mdb/mdbTest.mdb")); con = new OleDbConnection ("Provider=Microsoft.Jet.OLEDB.4.0; Data Sorce=" + Server.MapPath ("mdb/mdbTest.mdb") + ";Jet OLEDB:Database;Security Info=True"); con.Open(); OleDbCommand myCmd = new OleDbCommand ("SELECT * FROM books", con); rdr = myCmd.ExecuteReader(); DataGrid1.DataSource = rdr; DataGrid1.DataBind(); View other groups in this category. ----------------------------------------------------------- To stop getting this e-mail, or change how often it arrives, go to your E-mail Settings. http://groups.msn.com/BDotNet/_emailsettings.msnw Need help? If you've forgotten your password, please go to Passport Member Services. http://groups.msn.com/_passportredir.msnw?ppmprop=help For other questions or feedback, go to our Contact Us page. http://groups.msn.com/contact If you do not want to receive future e-mail from this MSN group, or if you received this message by mistake, please click the "Remove" link below. On the pre-addressed e-mail message that opens, simply click "Send". Your e-mail address will be deleted from this group's mailing list. mailto:[EMAIL PROTECTED]
