Solved

Could not find installable ISAM. Excel 2007

Posted on 2009-04-06
9
2,103 Views
Last Modified: 2012-05-06
I have seen the solutions to this problem, but I can't get any of them to work.

I have an asp page that works when I run the page through my localhost, but as soon as I try to run it on my web server it fails.

On a side note, I have tried both of the following:
Microsoft.Jet.OLEDB.4.0
Microsoft.ACE.OLEDB.12.0

I also modified the registry entry for: HKEY_LOCAL_MACHINE/SOFTWARE/Microsoft/Jet/4.0/Engines/Excel to point to C:\WINDOWS\System32\msexcel40.dll like my localhost is setup.



strWDir = "//mefspr01/groups/everyone/acct/AMS Working/Automation_Commission.xls"
 
set conExcel = Server.CreateObject("ADODB.Connection")
strConnectionExcel = "Provider=Microsoft.ACE.OLEDB.12.0;Data Source=" & strWDir & ";Extended Properties=""Excel 8.0; HDR=Yes;"""
conExcel.Open strConnectionExcel
 
  
' Load ADO Recordset with Excel Data
set rsExcel = Server.CreateObject("ADODB.Recordset")
rsExcel.Open ("SELECT * FROM [Sheet1$]"), strConnectionExcel

Open in new window

0
Comment
Question by:michd
  • 6
  • 3
9 Comments
 
LVL 46

Assisted Solution

by:tbsgadi
tbsgadi earned 100 total points
ID: 24077183
0
 

Author Comment

by:michd
ID: 24077230
That is what I installed to load the Microsoft.ACE.OLEDB.12.0 Provider.
0
 

Author Comment

by:michd
ID: 24077262
I also updated the Excel 8.0 to Excel 12.0...

from this:
strConnectionExcel = "Provider=Microsoft.ACE.OLEDB.12.0;Data Source=" & strWDir & ";Extended Properties=""Excel 8.0; HDR=Yes;"""

to this:
strConnectionExcel = "Provider=Microsoft.ACE.OLEDB.12.0;Data Source=" & strWDir & ";Extended Properties=""Excel 12.0; HDR=Yes;"""
0
Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

 
LVL 46

Expert Comment

by:tbsgadi
ID: 24077459
Have you tried using an xlsx file instead?

Also try writing the full path in one line like

Provider=Microsoft.ACE.OLEDB.12.0;Data Source=c:\TestWorkbook.xlsx;Extended Properties="Excel 12.0;HDR=YES;"
0
 

Author Comment

by:michd
ID: 24077879
Tried that and that too did not work.  I am currently looking at the drivers that both computers have.
0
 

Author Comment

by:michd
ID: 24086228
Well I got the Microsoft Drivers to be the same on both boxes, but I am still getting the ISAM error when I try to run this through a web server browser versus my local box.

set conExcel = Server.CreateObject("ADODB.Connection")
strConnExcel = "Provider=Microsoft.ACE.OLEDB.12.0;Data Source=//mefspr01/groups/everyone/acct/AMS Working/Automation_Commission.xlsx;Extended Properties=""Excel 12.0; HDR=Yes;"""
            conExcel.Open strConnExcel

0
 
LVL 46

Expert Comment

by:tbsgadi
ID: 24086339
Can you try mapping a drive?
0
 

Author Comment

by:michd
ID: 24086592
Man this stinks!!!  Still doesn't work.  I am about to see if I can switch to csv vs xls.

set conExcel = Server.CreateObject("ADODB.Connection")
strConnExcel = "Provider=Microsoft.ACE.OLEDB.12.0;Data Source=I:\Everyone\Acct\AMS Working\Automation_Commission.xls;Extended Properties=""Excel 12.0; HDR=Yes;"""
conExcel.Open strConnExcel
0
 

Accepted Solution

by:
michd earned 0 total points
ID: 24096967
Any other thoughts?  I have postings out at Microsoft and nothing I try is working.  

I have tried re-registering the dll, checked the registry, and reload MDAC.
0

Featured Post

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I was asked about the differences between classic ASP and ASP.NET, so let me put them down here, for reference: Let's make the introductions... Classic ASP was launched by Microsoft in 1998 and dynamically generate web pages upon user interact…
This article descibes how to create a connection between Excel and SAP and how to move data from Excel to SAP or the other way around.
This Micro Tutorial demonstrates how to create Excel charts: column, area, line, bar, and scatter charts. Formatting tips are provided as well.
This Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.

813 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now