I have just loaded some updates to a web site (with MySql database) and have regularly been experiencing the error:
ADODB.Recordset.1 (0x80004005)
SQLState: 37000 Native Error Code: 0 [DataDirect][ODBCCUR lib] Syntax error or access violation
The error (which occurs on various ADO recordset .Update lines throughout the code) is not easy to replicate but usually happens after a few database updates have completed successfully.
On investigation of code (both old and new), I noticed several places where a connection was Set = Nothing but the connection was not closed beforehand. Might this be the culprit? Does anyone know the usual implications of such an omission - i.e. not closing the connection? I have now inserted .Close where appropriate and have my fingers firmly crossed.
Since the web site has been active (about 18 months) we have also had occasional 'Bad Gateway' errors. Might these be triggered by the same coding error? I gave up trying to pursue this with the ISP who hinted that they could be down to bad scripting.
Thanks in advance.
ADODB.Recordset.1 (0x80004005)
SQLState: 37000 Native Error Code: 0 [DataDirect][ODBCCUR lib] Syntax error or access violation
The error (which occurs on various ADO recordset .Update lines throughout the code) is not easy to replicate but usually happens after a few database updates have completed successfully.
On investigation of code (both old and new), I noticed several places where a connection was Set = Nothing but the connection was not closed beforehand. Might this be the culprit? Does anyone know the usual implications of such an omission - i.e. not closing the connection? I have now inserted .Close where appropriate and have my fingers firmly crossed.
Since the web site has been active (about 18 months) we have also had occasional 'Bad Gateway' errors. Might these be triggered by the same coding error? I gave up trying to pursue this with the ISP who hinted that they could be down to bad scripting.
Thanks in advance.