Toad World® Forums

TDA crashing when testing automated script


I created a script similar to this to send emails to specific people containing data relavant to them. When I test the automated script, TDA shuts down and throws this error:

Connection musdt b opened.
Stack Trace:
at Devart.Data.Oracle.OracleConnection.l()
at Devart.Data.Oracle.OracleDataReader.Close()
at Devart.Data.Oracle.OracleDataReader.Finalize()

How do I stop this error?