I'm only trying to delete 1 record per call, just make multiple calls in a row.
I am trying to delete ofut of a table I created called a1test.
I tried it again just now get :
<ERROR><MESSAGE>ExecuteNonQuery requires an open and available Connection. The connection's current state is closed.</MESSAGE><STACKTRACE> at System.Data.SqlClient.SqlConnection.GetOpenConnection(String method)
at System.Data.SqlClient.SqlConnection.ValidateConnectionForExecute(String method, SqlCommand command)
at System.Data.SqlClient.SqlCommand.ValidateCommand(String method, Boolean async)
at System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(DbAsyncResult result, String methodName, Boolean sendToPipe)
at System.Data.SqlClient.SqlCommand.ExecuteNonQuery()
at shrServiceCleanUp.fnExecuteSqlTransaction(String sDatabaseName, String sSQL, SqlConnection& connection, String sWebServiceEncryptionKey, Int32 intSecurityID, SqlCommand sqlConn, SqlTransaction sqlTran, String sComingFrom)</STACKTRACE><DETAIL>sSQL=DELETE FROM [a1test] WHERE RecordID=3</DETAIL><sDatabaseName>Apex</sDatabaseName><sComingFrom></sComingFrom></ERROR>
Matt Raiser
Founder,

www.techinthefield.com
matt@techinthefield.com
219-221-9500
~ Method user / partner since 2008
~ Over 15 years field service experience
~ 2013 Method Partner of the Year
~ Degree in Computer Science

Creator of:
