473,748 Members | 4,804 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

wep page "Could Not Find Installable ISAM"

I get a "Could Not Find Installable ISAM" error on my objConn.open()
statement. I suspect my connection string is bad. What I am trying to do is
write to an Excel file on my local computer from a aspx page on my web
server.

Where you see "MyComputerName " in the connection string I actually have the
name of my computer.

Dim objConn As New
System.Data.Ole Db.OleDbConnect ion("server=MyC omputerName;Pro vider=Microsoft .Jet.OLEDB.4.0; Data Source=c:\temp. xls;Extended Properties=Exce l 8.0;")

Dim objCmd As New System.Data.Ole Db.OleDbCommand

objConn.Open()

objCmd.Connecti on = objConn
objCmd.CommandT ext = "INSERT INTO [Sheet1$] (F1) values ('111')"
objCmd.ExecuteN onQuery()

objConn.Close()

Any ideas on how to correct this?

Thanks...Steve
Nov 22 '05 #1
2 1985
On Fri, 24 Sep 2004 12:43:05 -0700, "Steve" <St***@discussi ons.microsoft.c om> wrote:

¤ I get a "Could Not Find Installable ISAM" error on my objConn.open()
¤ statement. I suspect my connection string is bad. What I am trying to do is
¤ write to an Excel file on my local computer from a aspx page on my web
¤ server.
¤
¤ Where you see "MyComputerName " in the connection string I actually have the
¤ name of my computer.
¤
¤ Dim objConn As New
¤ System.Data.Ole Db.OleDbConnect ion("server=MyC omputerName;Pro vider=Microsoft .Jet.OLEDB.4.0; Data Source=c:\temp. xls;Extended Properties=Exce l 8.0;")
¤
¤ Dim objCmd As New System.Data.Ole Db.OleDbCommand
¤
¤ objConn.Open()
¤
¤ objCmd.Connecti on = objConn
¤ objCmd.CommandT ext = "INSERT INTO [Sheet1$] (F1) values ('111')"
¤ objCmd.ExecuteN onQuery()
¤
¤ objConn.Close()
¤
¤ Any ideas on how to correct this?

I don't believe "server" is a legitimate parameter. Remove it and try the connection string again.
Paul ~~~ pc******@amerit ech.net
Microsoft MVP (Visual Basic)
Nov 22 '05 #2

If you run across this error thru googling (or whatever search engine).

The ISAM error could (and probably) is caused by a misformed connection
string.

String connectionStrin g = @”Provider=Micr osoft.Jet.OLEDB .4.0;Data
Source=’C:\Sale s.xls’;Extended Properties=’Exc el 8.0′”;

Here is a C# version.
Notice the single quotes around the filename…AND around the Excel 8.0.

There is a space between Data and Source for “Data Source”

There is a space between Excel and 8.0 for “Excel 8.0″.

With VB.NET, experiment with the single quotes vs. the “”"” (to get one
double quote). (Where you use 4 quotes to get a double quote)

This code works in C#… (a very bad example for Data Access Code, but
good for the connection string info:

String connectionStrin g = @”Provider=Micr osoft.Jet.OLEDB .4.0;Data
Source=’C:\Sale s.xls’;Extended Properties=’Exc el 8.0′”;

OleDbConnection newCon = new OleDbConnection (connectionStri ng);

DataSet myDataSet = new DataSet();
OleDbCommand myCommand = new OleDbCommand();
myCommand.Conne ction = newCon;

OleDbDataAdapte r myAdapter = new OleDbDataAdapte r();
myAdapter.Selec tCommand = myCommand;

myCommand.Comma ndText = “SELECT * FROM [Sheet1$]”;
try
{
newCon.Open();
myAdapter.Fill( myDataSet);
newCon.Close();
}
catch (Exception ex)
{
MessageBox.Show (ex.Message );

}
--
sholliday
------------------------------------------------------------------------
sholliday's Profile: http://www.hightechtalks.com/m375
View this thread: http://www.hightechtalks.com/t2021906

Nov 28 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
578
by: Steve | last post by:
I get a "Could Not Find Installable ISAM" error on my objConn.open() statement. I suspect my connection string is bad. What I am trying to do is write to an Excel file on my local computer from a aspx page on my web server. Where you see "MyComputerName" in the connection string I actually have the name of my computer. Dim objConn As New System.Data.OleDb.OleDbConnection("server=MyComputerName;Provider=Microsoft.Jet.OLEDB.4.0;Data...
1
2311
by: P-O | last post by:
Hi! I want to open the "Find" window in MSIE to allow a user to find text on the page they are looking at (Ctrl+F). Any sggestions for the easiest possible way? /P-O
2
2215
by: Praveen | last post by:
In the ISPF editor I am using, for a particullar PO Dataset I am getting the result of FIND statement narrowed down to the colums 48-56. i.e. if I give "FIND 'TO' ALL", the result I am getting as "CHARS 'TO' - found 239 times within columns 48 to 56". Please guide me as to how to make this PDS back to normal so that the FIND command processes the whole 1 TO 80. Thank you for the valuable time.
1
8324
by: Job Lot | last post by:
i am querying excel file as follows Dim conn As New OleDbConnection("provider=Microsoft.Jet.OLEDB.4.0; " & _ "data source='" & "C:\Temp\SSPortfolio.xls" & " '; " & _ "Extended Properties=Excel 8.0;" & "HDR=Yes;" & "IMEX=1") '! Select the data from Sheet1 of the workbook.
3
3506
by: OJ | last post by:
Hi, I have added code to run on a button click event which adds usercontrols to an asp:Panel control held in a contentplaceholder defined by the masterpage. for (int x = 0; x < (Master.PartyCtrl.Adults ); x++) { ASP.usercontrols_passenger_ascx passenger = new ASP.usercontrols_passenger_ascx(); this.pnlAdults.Controls.Add(passenger);
2
10703
by: orandov | last post by:
I am trying to connect to an Access 2000 database from VB.NET and I get this error "Could not find installable ISAM." I don't think there is anything wrong with my connection string. "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=C:\Documents and Settings\Levine\Desktop\ROWriter.mdb;User ID=Admin;Password=;" Any suggestions? Do I have to change the registry? or reinstall VS? Thank You
3
6016
by: Larry Leonard | last post by:
Running MSDE 2000 SP2 on Windows XP SP3. I have a T-SQL script that is relatively simple (adding constraints, inserting rows, etc.) and short (maybe 300 lines, heavily commented). It's an upgrade script I wrote weeks ago, and has worked fine everywhere. After the patch from last Wednesday. "Security Update for SQL Server 2000 Service Pack 4 (KB948110)", I have gotten the following error on two different machines, using a copy of the...
11
5025
by: fniles | last post by:
One of our application uses VB6 and Access97 database. Another application uses VB.NET 2005. This morning for about 15 seconds when the application tries to read either a query or a table from the database, in in both VB6 and VB.NET applications, I got the error "The Microsoft Jet database engine cannot find the input table or query 'myTable'. Make sure it exists and that its name is spelled correctly." Also, I got the error "The...
0
1691
by: Chuckk Hubbard | last post by:
The docs say to try to discover the URI on my own if this happens. Could I get a hand doing that? This isn't just something I want to solve on my machine, e.g. by changing my network setup or what not; this is a program I hope to distribute and I hope my users can avoid having to deal with this, because I suspect they won't. Thankye. Here's what I typed and what I got:
0
2374
by: Chuckk Hubbard | last post by:
OK, I think I have it. The Manual says to start a Name Server "using the ns command", and I figured out that means using the pyro-ns script. On Mon, Nov 10, 2008 at 10:49 AM, Chuckk Hubbard <badmuthahubbard@gmail.comwrote: --
0
8991
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9544
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
9372
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
9324
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9247
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8243
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
6074
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
2
2783
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2215
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.