"I have looked into your in accordance with the log database files it is telling me that you are not closing your record set and connection object. Please review this code this is where the problem lies."
Something is not closing the ODBC connection apparently. That doesn't explain the lack of ability to add records though.