When my app is hosted on the application server is does not connect to the database(.mdb).

It give the following error :
Could not execute query.
Database API specific error

Your database has returned the following error code and description to Alpha Five.
Consult your database documentation for further information.

-1021 - '[Microsoft][ODBC Microsoft Access Driver] Disk or network error.
SQL State is: HY000'


I've read online it could be permission problems on the C:\Windows\temp folder but I've checked that and everything looks fine.

Has anyone had problems with this error before?