I have NUnit installed on my 64 bit Windows 7 machine and office 2010 (32bit). I tried reading excel file(.xls) using oledb data reader and it works fine in Visual Studio 2013. I have added app.config file for this. Now the problem occurs in NUnit when I tried running this dll in it. It gives above error. I tried all the solutions like compiling in x64 and installing this http://www.microsoft.com/en-us/download/confirmation.aspx?id=13255.
I am trying hard to resolve this problem. Can anyone help me out with this?
Machine : Windows 7 (64 - bit) Office : 2010 (32 - bit)