473,394 Members | 1,658 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,394 software developers and data experts.

ISAM not installable

Hi,
i' ve the follow problem: the code below generate an exception....

private void btnElabora_Click(object sender, System.EventArgs e)
{

File.Copy(FileName, @"C:\\Paesi\\Paesi.xls", true);

OleDbConnection objConn = new System.Data.OleDb.OleDbConnection(
"Provider=Microsoft.Jet.OLEDB.4.0;Data Source=
C:\\Excel_Prova.xls;Extended Properties=Excel 8.0;HDR=YES;");
objConn.Open();

OleDbCommand objCmd = new OleDbCommand();
objCmd.Connection = objConn;

objCmd.CommandText = "INSERT INTO [Sheet1$]
IN 'C:\\Excel_Prova.xls' 'Excel 8.0;' SELECT * FROM qry_Paesi_Risult";

objCmd.ExecuteNonQuery();
objConn.Close();
}

The exception is the following:
"Installable ISAM not found."
Help me!

Tia. Guly

--
Bye. Guly

Inviato da www.mynewsgate.net
Nov 16 '05 #1
1 1356
bh
http://www.visual-basic-data-mining....spx?PostID=791

http://www.error-bank.com/microsoft....86_Thread.aspx

"Guly" <93********@mynewsgate.net> wrote in message
news:20***************@mynewsgate.net...
Hi,
i' ve the follow problem: the code below generate an exception....

private void btnElabora_Click(object sender, System.EventArgs e)
{

File.Copy(FileName, @"C:\\Paesi\\Paesi.xls", true);

OleDbConnection objConn = new System.Data.OleDb.OleDbConnection(
"Provider=Microsoft.Jet.OLEDB.4.0;Data Source=
C:\\Excel_Prova.xls;Extended Properties=Excel 8.0;HDR=YES;");
objConn.Open();

OleDbCommand objCmd = new OleDbCommand();
objCmd.Connection = objConn;

objCmd.CommandText = "INSERT INTO [Sheet1$]
IN 'C:\\Excel_Prova.xls' 'Excel 8.0;' SELECT * FROM qry_Paesi_Risult";

objCmd.ExecuteNonQuery();
objConn.Close();
}

The exception is the following:
"Installable ISAM not found."
Help me!

Tia. Guly

--
Bye. Guly

Inviato da www.mynewsgate.net

Nov 16 '05 #2

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

Similar topics

10
by: Brent | last post by:
Hi, my asp.net c# app is trying to connect to an Access database with a password and am I getting the error.. Could not find installable ISAM. . If I connect to one without a password it works...
1
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...
1
by: Karl Irvin | last post by:
In the module below, I get a "Could not find installable ISAM" error on the tdf.refresh link. The NewConnection refers to a valid database/table. My References include VBA, Access 9.0 Object...
0
by: rivka.howley | last post by:
I'm using Access 2003 and Excel 2003. All I'm trying to do is bring a sheet from an Excel file (defined by the user) into Access as a table, I dont care if it's linked or imported. However, I get...
2
by: DBQueen | last post by:
I received a "Could Not Find Installable ISAM" error (#3170) when using Docmd.TransferDatabase to export a table from one database to another - Set wrkDefault = DBEngine.Workspaces(0)...
2
by: Horst Walter | last post by:
I am using C# / ADO.NET to create an Excel sheet: This connection string works: "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" + filename + ";" + "Extended Properties=Excel 8.0;"; This...
6
by: Robert Lawson | last post by:
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...
2
by: Henrik | last post by:
Hello I starting use ASP.NET and has created a new file to open a Access database I get these error and cant solve it - please need some help. I Use Windows 2000 (have also tried to put it...
1
by: Anatoly Kurilin | last post by:
Hi, each time I use that code for calculating a number of user connected to a data file, I get an error message: Could not find installable ISAM. What do I do wrong? Dim cn As New...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
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,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
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,...
0
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...
0
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...
0
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...

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.