One thing to do is to make sure you are closing your db connections rather than just setting the connection to nothing.
It is possible that you are getting occasionally mal-formed sql statements, but that probably isn't the first place to look except that it is easy to include the sSQL statement in your display of the error page if you have the freedom to do that.
Is the database only being used for reading data, or are you inserting data as well interspersed with the reading? You might have some locking issues. Unlikely, perhaps, but possible.
What kind of database? Sql Server? Access?
Anyway - start with closing those connections.
Woody Z
http://www.learntoprogramnow.com
How to use a forum to help solve problems