Solved

Could not find installable ISAM. Excel 2007

Posted on 2009-04-06
9
2,097 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
 
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
Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

 

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

6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

Join & Write a Comment

Improved? Move/Copy Add-in Replacement - How to avoid the annoying, “A formula or sheet you want to move or copy contains the name XXX, which already exists on the destination worksheet.” David Miller (dlmille)  It was one of those days… I wa…
Workbook link problems after copying tabs to a new workbook? David Miller (dlmille) Intro Have you either copied sheets to a new workbook, and after having saved and opened that workbook, you find that there are links back to the original sou…
This Micro Tutorial demonstrate the bugs in Microsoft Excel for Mac with Pivot Charts.
This Micro Tutorial demonstrates in Microsoft Excel how to consolidate your marketing data by creating an interactive charts using form controls. This creates cool drop-downs for viewers of your chart to choose from.

707 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

21 Experts available now in Live!

Get 1:1 Help Now