title: C#/.Net Error: MySql.Data Object reference not set to an instance of an object
body: <p>I get this exception on my Windows 7 64bit in application running in VS 2008 express. I am using Connector/Net 6.2.2.0:</p>
  
  <pre><code>Message:
  Object reference not set to an instance of an object.
  
  Source:
  MySql.Data in MySql.Data.MySqlClient.NativeDriver.GetResult(Int32&amp; affectedRow, Int32&amp; insertedId)
  
  Stack trace:
  in MySql.Data.MySqlClient.Driver.GetResult(Int32 statementId, Int32&amp; affectedRows, Int32&amp; insertedId)
  in MySql.Data.MySqlClient.Driver.NextResult(Int32 statementId)
  in MySql.Data.MySqlClient.MySqlDataReader.NextResult()
  in MySql.Data.MySqlClient.MySqlDataReader.Close()
  in MySql.Data.MySqlClient.MySqlConnection.Close()
  in MySql.Data.MySqlClient.MySqlConnection.Dispose(Boolean disposing)
  in System.ComponentModel.Component.Finalize()
  
  No inner exception.
  </code></pre>
  
  <p>This exception is unhalted and the debugger dont point on any code line. It just say "Object reference not set to an instance of an object. MySql.Data"</p>
  
  <p>This error is really hard to repeat. On my Windows XP 32bit is all ok. Could it be error in 64bit Windows 7?</p>
  
  <p>Thank you very much for your answers.
  Regards,
  simon</p>