Could Not Find Installable ISAM

R

Robert Lawson

I continue to get the below error message when trying to load a aspx
file. Could someone please point me in the right direction for solving
this? I'm trying to access an access data base and I'm the only one
accessing it at this time. I'm trying to learn this step by step and I'm
at the begining of ADO stuff.

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 10: OleDbDataReader objReader;
Line 11:
Line 12: objConn.Open();
Line 13: objReader = objCmd.ExecuteReader();
Line 14:


Source File: c:\inetpub\wwwroot\day10\listing1004c.aspx Line: 12

Stack Trace:

[OleDbException (0x80004005): Could not find installable ISAM.]
System.Data.OleDb.OleDbConnection.ProcessResults(Int32 hr) +20
System.Data.OleDb.OleDbConnection.InitializeProvider() +57
System.Data.OleDb.OleDbConnection.Open() +203
ASP.listing1004c_aspx.Page_Load(Object Sender, EventArgs e) in
c:\inetpub\wwwroot\day10\listing1004c.aspx:12
System.Web.UI.Control.OnLoad(EventArgs e) +67
System.Web.UI.Control.LoadRecursive() +35
System.Web.UI.Page.ProcessRequestMain() +731
 
R

Robert Lawson

Thanks for your quick reply. The code is below. I've tried it in Visual
Basic and C# and get the same response.

I really appreciate your response and help.

Doug Lawson

<%@ Page Language="C#" Debug="true" %>
<%@ import Namespace="System.Data" %>
<%@ import Namespace="System.Data.OleDb" %>
<script runat="server">

void Page_Load(Object Sender, EventArgs e){
OleDbConnection objConn = new
OleDbConnection("Provider=Microsoft.Jet.OLEDB.4.0;DataSource=c:\\ASPNET\
\banking.bdb");
OleDbCommand objCmd = new OleDbCommand("select * from tblUsers",
objConn);

OleDbDataReader objReader;

objConn.Open();
objReader = objCmd.ExecuteReader();

while (objReader.Read()){
Response.Write(objReader.GetString(0) + "<br>");
}
objConn.Close();
}

</script>
<html>
<head>
</head>
<body>
<form runat="server">
<!-- Insert content here -->
</form>
</body>
</html>
 
M

Mark Pewsey

In Robert Lawson wrote:
<snipped>
OleDbConnection("Provider=Microsoft.Jet.OLEDB.4.0;DataSource=c:\\ASPNET\
\banking.bdb");
</end snip>

Should this be a connection to banking.mdb?

Mark
--
 
K

Ken Cox [Microsoft MVP]

Was it this?

PRB: "Could Not Find Installable ISAM" (0x80004005) Error Message When You Try
to Set Session-Level Jet Properties

http://support.microsoft.com/default.aspx?scid=kb;en-us;Q318161

--
Microsoft MVPs have a question for *you*: Are you patched against the Worm?
http://www.microsoft.com/security/security_bulletins/ms03-026.asp



I continue to get the below error message when trying to load a aspx
file. Could someone please point me in the right direction for solving
this? I'm trying to access an access data base and I'm the only one
accessing it at this time. I'm trying to learn this step by step and I'm
at the begining of ADO stuff.

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 10: OleDbDataReader objReader;
Line 11:
Line 12: objConn.Open();
Line 13: objReader = objCmd.ExecuteReader();
Line 14:


Source File: c:\inetpub\wwwroot\day10\listing1004c.aspx Line: 12

Stack Trace:

[OleDbException (0x80004005): Could not find installable ISAM.]
System.Data.OleDb.OleDbConnection.ProcessResults(Int32 hr) +20
System.Data.OleDb.OleDbConnection.InitializeProvider() +57
System.Data.OleDb.OleDbConnection.Open() +203
ASP.listing1004c_aspx.Page_Load(Object Sender, EventArgs e) in
c:\inetpub\wwwroot\day10\listing1004c.aspx:12
System.Web.UI.Control.OnLoad(EventArgs e) +67
System.Web.UI.Control.LoadRecursive() +35
System.Web.UI.Page.ProcessRequestMain() +731
 
R

Robert Lawson

Should this be a connection to banking.mdb? Yes

I've been trying to implement the following code


Dim cnn As New ADODB.Connection
cnn.Open "Provider=Microsoft.Jet.OLEDB.4.0;"
cnn.Properties("Jet OLEDB:Max Buffer Size") = 256

But for some reason I can't get the syntax correct for Visual Basic.
 
R

Robert Lawson

Mark;
I don't know what is going on but no matter what I do I can't get past
the error message. The other thing I was trying to do just complicated
things and really had nothing to do with what I was trying to do. I
wasn't trying to set any properties I was only trying to access the data
and print it out. No matter where I go the code seems to be the same.
I'm totally lost on this and can't move forward until I have an
understanding of what's going on. Have any ideas?

Doug
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top