FYI: If you are running a 64-bit OS, there is no 64-bit Jet 4.0 driver. You need to configure your application pool to run 32-bit.
I struggled with this error for a couple hours before I found this:
http://brh.numbera.com/blog/index.php/2007/03/27/using-myodbc-with-aspnet-in-iis7-on-vista-x64
Hi,
Thank you for providing this useful information, for other 32-bit driver, you can also try running them on Wow64 in similar way.
http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=466020&SiteID=1