Please, go to my avast settings link on my signature.
In the avast4.ini file there is a section called [Common].
There, change the value
Database=ODBC
to
Database=XML

Mostly concerning storage and databases problems may be related to the database drivers. It what I suggested do not work, you could download the drivers from www.microsoft.com/data