Einzelnen Beitrag anzeigen

mjustin

Registriert seit: 14. Apr 2008
3.005 Beiträge
 
Delphi 2009 Professional
 
#23

AW: "Unerwarteter Fehler vom externen Datenbanktreiber (1)" beim Öffnen einer XLS-Dat

  Alt 6. Nov 2017, 12:25
Vielleicht bringt dir dieser Thread noch was: ADO after KB4041681
Danke! Darin wird auch auf https://social.msdn.microsoft.com/Fo...=sqldataaccess verlinkt, darin wiederum wird der Fehler "Could not find installable ISAM." berichtet, der bei alten Excel Dateien un Verwendung von ACE OLEDB auftritt. Daher könnte es auch den von mir festgestellten ISAM Fehler erklären.

Auch ist ein offizielles Statement enthalten:
Zitat:
** Official Update **

We have created a statement on this issue in the following link:

https://blogs.msdn.microsoft.com/dat...urity-updates/

As a further update, the Office product team has agreed to look into this to work towards a solution. That said, please still note that the JET provider has been deprecated for 15 years, and we still recommend switching to the ACE provider or the SSIS Excel connector.

Thank you all again for providing the workaround you have found and shared with the rest of the community.

I will be deleting my earlier comments to help avoid confusion.

~Chrone with Microsoft SQL Support~

(Not a forum moderator)
Im verlinkten Artikel wird darauf aufmerksam gemacht, dass Jet seit dem Jahr 2000 "deprecated" ist:

When looking into this issue, the largest thing to note is: The JET provider has been deprecated as of 2002. The last changes were made to this in 2000.

Empfohlen wird: "Use Microsoft.ACE.OLEDB.12.0 or Microsoft.ACE.OLEDB.16.0"

Update: die aktuelle Version ACE OLEDB (2016) zeigt nicht den "ISAM" Fehler, den man bei der 2010er Version erhielt. Für die Jet->ACE Umstellung müssen die Feldkomponenten aktualisiert werden (WideString wird zu WideMemo), aber das ist für eine kleine Anwendung überschaubarer Aufwand.
Michael Justin

Geändert von mjustin ( 6. Nov 2017 um 15:44 Uhr)
  Mit Zitat antworten Zitat