Perhaps this might happen when working on either Windows Vista or Windows 7 x64 my case, I tried to read an Excel 2007 file from an application . NET and gave me the following error:
Microsoft.ACE.OLEDB.12.0provider is not registered on the local computer. or English
The Microsoft.ACE.OLEDB.12.0 provider is not registered on the local machine.
It turns out that this is because there is no office for x64 drivers, so you have to change the type of compilation of the application, which defaults to "Any CPU" to "x86", this in the properties -> Build.
With this we can read the files as normal, something I hope they serve.
0 comments:
Post a Comment