Finish migration to new interface

Fix issue with OLEDB support
Add more error handling