Wrox Programmer Forums
|
ASP.NET 1.x and 2.0 Application Design Application design with ASP.NET 1.0, 1.1, and 2.0.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 1.x and 2.0 Application Design section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old February 1st, 2006, 02:11 PM
Registered User
 
Join Date: Feb 2006
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Couldnot find installable ISAM

I am new to ASP.NET.
I have done the program illustrated in 2ND cHAPTER Beginning ASP.NET WITH VISUAL BASIC.NET.
The error was this Could not find installable ISAM.
the code is this




<%@ Import Namespace="System.Data" %>

<%@ Page Language="vB" Debug="true" %>

<%@ Import Namespace="System.Data.OleDb" %>
<script language="vb" runat="server">
Sub Page_Load(Sender as Object,E as Eventargs)
Dim objConnection as OleDbConnection
Dim objCommand as OleDbDataAdapter
Dim strConnect as String
Dim strCommand as String
Dim DataSet1 as New DataSet


strConnect="Provider=Microsoft.Jet.OLEDB.4.0;"
strConnect +="DataSource=D:\Jaju\db1.mdb;"
strConnect +="Jet OLEDB:Database Persist Security Info=False"


strCommand="Select Name,Relation from house"
objConnection=New OleDbConnection(strConnect)
objCommand=New OleDbDataAdapter(strCommand, objConnection)



objCommand.Fill(DataSet1,"house")
DataGrid1.DataSource=DataSet1.Tables("House").Defa ultView
DataGrid1.DataBind()
End Sub
</script>

<html>
<head>
<title>Data Grid Control Example</title>
</head>
<body>
<asp:DataGrid id="DataGrid1" runat="server" />
</body>
</html>


 
Old February 1st, 2006, 03:08 PM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 100
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to ~Bean~
Default

Check your connection string, it should read something like:

Code:
 "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=\somepath\mydb.mdb;User Id=admin;Password=;"
-------------------------
Beware of programmers with screwdrivers...





Similar Threads
Thread Thread Starter Forum Replies Last Post
Could not find installable ISAM Lillian ASP.NET 1.0 and 1.1 Basics 12 May 16th, 2010 09:01 AM
Error: Could not find installable ISAM dummy Classic ASP Basics 0 May 16th, 2007 02:36 AM
"Could not find installable ISAM" evidica ASP.NET 1.0 and 1.1 Basics 3 March 12th, 2007 11:27 AM
Could not find installable isam Johno13 BOOK: Beginning VB.NET Databases 1 October 5th, 2006 11:46 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.