i am accessing my connection string in my .aspx page as below:
OleDbConnection con = new
OleDbConnection(ConfigurationManager.ConnectionStrings["ConnectionString"].ToString());
and i am gatting following error when i run the application
Server Error in '/' Application.
Could not find installable ISAM.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.Exception Details: System.Data.OleDb.OleDbException: Could not find installable ISAM.
Source Error:
Line 30: OleDbDataAdapter adpt = new OleDbDataAdapter("select * from WordMst", con);
Line 31: DataSet ds = new DataSet();
Line 32: adpt.Fill(ds);
Line 33: gvWord.DataSource = ds;
Line 34: gvWord.DataBind(); |
can anybody give me solution... is it driver problem..?
Sam HobbsPosted Jan 29, 2011, 10:05 PM
Suthish NairPosted Jan 29, 2011, 2:16 PM
1. as per Jones said you need a space between Data and Source. Data Source=
2. Make sure the driver (MDAC) driver installed on your system/server.
karthick karthickPosted Jan 28, 2011, 9:06 AM
Jones JayPosted Dec 1, 2008, 11:19 AM
connectionString
="Provider=Microsoft.Jet.OLEDB.4.0;Data Source = C:\myweb\App_Data\ASPNetDB.mdb"you were getting error because your wrote "DataSource" instead of "Data Source" , notice the space between the word "Data & Source"
jignesh kadvaniPosted Nov 15, 2008, 7:57 AM
Mamta MPosted Nov 14, 2008, 4:12 AM
Yes, this is a driver problem. Check the following site for the solution:
http://support.microsoft.com/kb/209805/en-us
Hope this helps.
-Mamta