18 January 2026:


This forum is now archived and is in read-only mode. Please continue discussions on our improved new Sahi Pro Community forum.



Sahi Pro is an enterprise grade test automation platform which can automate web, mobile, API, windows and java based applications and SAP.

Problem with connection Excel on Windows 7 x64

hsegurahsegura Members
edited November -1 in Sahi - Open Source
Hi,

I can't connect excel on windows 7 x64.

var $db = _getDB("sun.jdbc.odbc.JdbcOdbcDriver","jdbc:odbc:Driver={Microsoft Excel Driver (*.xls)};DBQ=C:\\Sahi\\sahi\\userdata\\scripts\\DATAPOOL\\prueba.xls;readOnly=false","","");

This code works perfect on windows xp

Sahi show next message:

[Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified

Comments

  • narayannarayan Administrators
    Hi hsegura,

    Is the excel file available on this machine? Do you have Excel installed on 7 x64?

    Regards,
    Narayan
  • problem solved, uninstall java 64 bits and install java 32 bits, java 64 bits does not support odbc connection to excel.
This discussion has been closed.