I have a C# batch job that needs to connect to an .xslx Excel spreadsheet. On my windows 7 machine, the provider in the connection string is specified as such:
Provider=Microsoft.ACE.OLEDB.12.0
However, when to job is moved onto the server it will be running on, I get the following error message:
System Exception: The 'Microsoft.ACE.OLEDB.12.0' provider is not registered on the local machine.;
The server is running Microsoft Windows Server 2003 Standard Edition Service Pack 2. Does anyone know of a provider that will work on this machine given that the spreadsheet is (and will always be) a 2010 Excel .xslx spreadsheet?
May be this helps: