I have a webpage that is giving me this error on a couple of pages
--------------------------------------------------------------------------------
Microsoft OLE DB Provider for ODBC Drivers error '8007000e'
[Microsoft][ODBC Microsoft Access Driver] System resource exceeded.
--------------------------------------------------------------------------------
I have been trying to find a solution but still haven’t had any luck.
This web page was working fine for the past week, even months.
Can someone help? Thanks!
We see this periodically on our shared hosting platform. Here is some advice and guidance we provide our users:
Close your database connections after you use them
Compact your access database, see the following article on ASPFAQ: Can I compact / repair an Access database from ASP code?
Switch from ODBC to OLEDB (you’ll need to use a DSN’less connection string). We find ODBC to be the root cause of many Access database problems. i.e.
Provider=Microsoft.Jet.OLEDB.4.0;Data Source=C:\mydatabase.mdb;Ensure you’re using a later version of the Access database format. Anything pre-Access 2000 is prone to breaking under hosting conditions.
SELECTless data from your tables. i.e. only query for what you need and get rid of thoseSELECT * FROM‘s, preferring to just select the columns you needIf your database is any bigger than 100Mb after compacting then consider upgrading to MS SQL or porting to MySQL. We find that Access databases become troublesome when they exceed 100Mb on shared hosting.
If you’re seeing more than 10-15 concurrent connections to your website then it’s time to consider upgrading to MS SQL or MySQL.