do one thing
1. before you are opening the connection close the connection and reopen it like this
if (connectionobject.State == ConnectionState.Open)
connectionobject.Close();
connectionobject.Open();
or
if (connectionobject.State == ConnectionState.Closed)
connectionobject.Open();