Quantcast
Channel: General Office Development forum
Viewing all articles
Browse latest Browse all 2257

OLE DB connection fails with Office 2013 32-bit on Windows 8

$
0
0

We have an InfoPath (Office component) application that has an OLE DB connection to an Excel .xlsx spreadsheet.  Works fine on Windows 7 with Office 2010, but the connection fails with an "unspecified error" on Windows 8 if 32-bit Office 2013 is installed.

The build environment is Windows 7 64-bit, InfoPath 2010 32-bit.  Users are using 64-bit systems.  The resulting InfoPath form runs fine on Windows 7, either Office 2010 or 2013, both 32-bit and 64-bit versions of Office.  It also runs fine on Windows 8 but only with the 64-bit versions of Office 2010 or 2013.

The connection string being used is:

Provider=Microsoft.ACE.OLEDB.12.0;Data Source=C:\Corral\Mapping B 2-4.xlsx;Mode=Read;Extended Properties="Excel 12.0 Xml;HDR=YES;IMEX=1;"

I haven't found a new connection string and suspect it's a driver problem, but am wondering why it's suddenly appeared on Windows 8 and only with Office 32-bit versions.

Anyone?


Viewing all articles
Browse latest Browse all 2257

Trending Articles