I was working on a method to display the contents of an Excel file . No problem. But when I ran my code, I got an InvalidOperationException exception:
The 'Microsoft.ACE.OLEDB.12.0' provider is not registered on the local machine.
Luckily, this wasn’t too hard of a fix. I needed to install the data connectivity component for MS Office. The link for that is http://www.microsoft.com/en-us/download/details.aspx?id=23734. Once I had the AccessDatabaseEngine.exe, I installed it and ran my code again, and all was well.