vendredi 27 février 2015

Error occured while uploading .xlsb file

Error occured while uploading .xlsb file.


The Message in the Exception is:



This file was created in a previous beta version of Excel 2007. Open the file with Excel 2007 to save it to the most recent version of the Excel 2007 file format before opening the file in Access 2007.

Native: -367531497

Source: Microsoft Office Access Database Engine



It happens when i try to open the connection



Using conn As OleDbConnection = New OleDbConnection(connStr)
conn.Open()


My connection string is:



'Provider=Microsoft.ACE.OLEDB.12.0;Data Source=D:\Myfile.xlsb;Extended Properties="Excel 12.0;HDR=NO;IMEX=1";'


Can somebody help me?


Thanks in advance


Aucun commentaire:

Enregistrer un commentaire