|
|
 |
| ASP.NET 1.0 and 1.1 Basics ASP.NET discussion for users new to coding in ASP.NET 1.0 or 1.1. NOT for the older "classic" ASP 3 or the newer ASP.NET 2.0. |
Welcome to the p2p.wrox.com Forums.
You are currently viewing the ASP.NET 1.0 and 1.1 Basics section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, win occasional prizes given to our best members, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
|
 |
|
|
 |
|

August 25th, 2003, 04:01 PM
|
|
Registered User
|
|
Join Date: Aug 2003
Location: , , .
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Could not find installable ISAM
When I was trying to read from an Access database Northwind, I got the following error message:
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 29: OleDbCommand objCommand = new OleDbCommand(strSQL, objConnection);
Line 30:
Line 31: objConnection.Open();
Line 32: dgSuppliers.DataSource = objCommand.ExecuteReader();
Line 33: dgSuppliers.DataBind();
My operating system is Windows XP professional and I'm using MSV.NET. Anyone can give me a clue?
|

August 26th, 2003, 03:36 AM
|
|
Friend of Wrox
|
|
Join Date: Jun 2003
Location: Sydney, NSW, Australia.
Posts: 111
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
You usually get this error when your connection string has a parameter value that does not exist, eg "Provider=Microsoft.Jet.OLEDB.4.0;Foo=Bar;"
Please post your connection string.
Cheers
Ken
www.adOpenStatic.com
|

September 5th, 2003, 07:07 AM
|
|
Authorized User
|
|
Join Date: Aug 2003
Location: , , .
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
this may be connection string problem try to change as below
conn.Open "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" & txtSource.Text & ";Jet OLEDB:Database Password=" & pwd.txt & ";"
|

December 26th, 2005, 08:48 AM
|
|
Registered User
|
|
Join Date: Dec 2005
Location: Beirut, , Lebanon.
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Hello everybody,
i am reading Vb.net databases, and i came through chapter and i have written the code top open an access file database. i run the program and when i try to open the database this messages occurs "could not find intallable ISAM"
some one help :)
this is my connection string
objconnection = New OleDbConnection("provider= microsoft.jet.oledb.4.0;" & "datasource=" & txtDatabase.Text & " ; ")
thank Yiu
|

December 26th, 2005, 10:12 PM
|
|
Friend of Wrox
|
|
Join Date: Dec 2005
Location: Colombo, , Sri Lanka.
Posts: 129
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Hi,
Give your access database's name with the full path to the datasource parameter in your connection string
Eg:-
objconnection = New OleDbConnection("provider= microsoft.jet.oledb.4.0;" & "datasource=" C:\Data\Northwind.mdb " ; ")
nalla
|

April 14th, 2006, 07:01 AM
|
|
Registered User
|
|
Join Date: Apr 2006
Location: , , .
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
The error is because of wrong connection string.
use string in format like this:
"Provider=Microsoft.Jet.OLEDB.4.0;Data Source=FPAnalysisTool.mdb"
There should be a blank space between Data and Source.
|

February 18th, 2007, 01:36 PM
|
|
Registered User
|
|
Join Date: Feb 2007
Location: Hauz Khas New Delhi, Delhi, India.
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
hi prasadrn. Thanks for that solution. I was banging my head trying to solve from the suggestions at msdn kb. didn't notice that space. Your solution was very useful. I have posted it on my blog too.
Science is my God and Humanity, my religion
|

April 19th, 2007, 02:51 AM
|
|
Authorized User
|
|
Join Date: Mar 2007
Location: Dubai, dubai, United Arab Emirates.
Posts: 22
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
[u]KenSchaefer</u> is also correct, some times it gives error due to wrong parameters in connection string.
I Love XML and family
|

May 2nd, 2007, 12:35 AM
|
|
Registered User
|
|
Join Date: May 2007
Location: , , .
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Hi
I am N.Ramasamy. I am working as a programmer. To connect oledb with MS Access, we want to write the query string as follows
string qs = @"PROVIDER=Microsoft.Jet.OLEDB.4.0;DATA Source=e:\db\names.mdb";
one important thing is we want to give space in between DAtA and Source
I have created one database named as names.mdb and it has name as a table.
The name table has the following fields
1.ID
2. Name
the database placed within e:\db
coding
string qs = @"PROVIDER=Microsoft.Jet.OLEDB.4.0;DATA Source=e:\db\names.mdb";
OleDbConnection con = new OleDbConnection(qs);
con.Open();
OleDbCommand com = new OleDbCommand( "select * from name", con);
OleDbDataReader reader =com.ExecuteReader();
while (reader.Read())
{
Response.Write("<br>" + reader["ID"]);
Response.Write("<br>" + reader["Name"]);
}
|
| Thread Tools |
Search this Thread |
|
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
|
 |