title: .net sybase executenonquery exception
body: <p>I am connecting to Sybase DB from my asp.net application using Sybase.Data.ASEClient namespace. With the recent production release of the App, we included a code in the DatabaseHelper class which just tries to do an ExecuteNonQuery(). In production the line that says command.ExecuteNonQuery(), was throwing an exception that says </p>
  
  <p><strong>"Attempted to read or write protected memory. This is often an indication that other memory is corrupt."</strong></p>
  
  <p>But this does not happen consistently. The application works fine for 4 days and in the fifth day we are suddenly getting this error for a user and then no one else was able to use the application when trying to use the functionality that involved database access.</p>
  
  <p>I also googled and came to know that Sybase.Data.ASEClient has some memory leak issues. But no information on whether it got fixed or not.</p>
  
  <p>Can anyone throw some light on this? have you experienced such issues in your previous projects? And is there a way to figure out the problem by any means? </p>