![]() |
Re: System.InvalidOperationException: Internal connection fatal error
Did you find a solution for this problem yet? I am getting the same
thing but cannot seem to find a lot of information on it. Thanks, Jeff "Barry" <bhuffman@nettaxi.com> wrote in message news:<0cc201c382ce$c518da40$a101280a@phx.gbl>... > I am having a hard time trouble shooting the following > error: > > System.InvalidOperationException: Internal connection > fatal error > > The main problem is that the error is intermittent, with > no obvious pattern as to when it is thrown. The error > points to a SqlConnection in the following code. (the > cn.open()) > > cn = New SqlConnection(Application("connectionString")) > conn = New SqlConnection(Application("connectionString")) > conn.Open() > > cmd_entity = New SqlCommand("view_entity", conn) > cmd_entity.CommandType = CommandType.StoredProcedure > cmd_entity.Parameters.Add("@entityID", Request.Params > ("id")) > dtr_entity = cmd_entity.ExecuteReader() > lbl_user_active.Text = "Inactive" > While dtr_entity.Read > cn.Open() > cmd_updated_by = New SqlCommand > ("view_entity_name_by_entity_id", cn) > cmd_updated_by.CommandType = > CommandType.StoredProcedure > cmd_updated_by.Parameters.Add("@entity_id", > dtr_entity("updated_by")) > dtr_updated_by = cmd_updated_by.ExecuteReader > . > . > . > I have tried to catch the error (doing no action) but the > same error occurs further down the line. > > When the error does occur, a simple refresh of the page > clears it up and I can continue on as though nothing > happened. > > If any one has any insight please help. > > Barry |
| All times are GMT. The time now is 05:52 PM. |
Powered by vBulletin®. Copyright ©2000 - 2013, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.