Error happened when opening a database

A Runtime Error happened when opening a database from excel.
The only solution I have tried is when I turn off AVG this would not happen, unfortunately I need AVG running.
Is there a way to do it without having the runtime error while AVG is up?

Microsoft Visual C++ Runtime Library
Runtime Error!
This application has requested the Runtime to terminate it in an unusual way.
Please contact the application’s support team for more information.
