Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > Internal Connection Fatal Error

Reply
Thread Tools

Internal Connection Fatal Error

 
 
SteveoAtilla via DotNetMonster.com
Guest
Posts: n/a
 
      03-02-2007
Hello!

I have just started getting this error (trapped by a try...catch...end try
structure) in an app that has been functioning well for over 18 months.

I am getting this in my development environment (Windows XP machine with a
Windows Server 2003 SQL virtual machine), and since I am trapping the error,
I don't get the full stack trace. Anyway, I don't believe that there is a
single set of commands that trigger the error, since I can comment out one of
the subs with DB access, and I still get the error.

Just for reference, here is one of the DB routines anyway:

Dim ProductionBOMCmdText As String
Dim ProductionBOMCommand As New SqlCommand

ProductionBOMCmdText = "UPDATE dbo.ProductionBOM SET WorkcenterNumber =
40600425 WHERE (SerialNumberProfile <> '') AND (WorkcenterNumber = '') AND
(MachineMasterPK = ViewState("MachineMasterPK") & ")"

ConnectionAlpha.ConnectionString = ViewState("ConnectionString")
ConnectionAlpha.Open()
Try
ProductionBOMCommand = New SqlCommand(ProductionBOMCmdText,
ConnectionAlpha)
Dim ra As Integer = ProductionBOMCommand.ExecuteNonQuery()
Catch ex As Exception
DisplayAlert("UNEXPECTED ERROR!\nPage: InitiateMachine.aspx\nSubroutine:
FixTheBOM\nLine: 2376\nError Message: " & Replace(ex.Message, vbCrLf, "\n") &
"\nCommand Text:\n" & ProductionBOMCmdText)
End Try
ConnectionAlpha.Close()

I tried to change all the SQL Connections, have re-booted the SQL server, and
went ahead and did the KB fix for .NET 2.0, even though this app uses 1.4.

What's going on? The rest of the application works fine. It's just this one
page that is now throwing errors. Unfortunately, this is kind of the core of
the app, and does literally hundreds of SQL transactions every time it is
used.

What might be going on? I didn't change all that much...

Thanks,

Steveo

--
Message posted via http://www.dotnetmonster.com

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Internal connection fatal error and other random db connection err =?Utf-8?B?cGF0cmlja2RyZA==?= ASP .Net 0 06-14-2007 09:44 AM
Internal connection fatal error. =?Utf-8?B?TWF5?= ASP .Net 0 10-07-2005 02:34 PM
Internal connection fatal error =?Utf-8?B?bS5XYXJk?= ASP .Net 1 05-10-2004 01:05 PM
Re: System.InvalidOperationException: Internal connection fatal error Jeff Kennedy ASP .Net 0 10-20-2003 12:17 PM
"Internal connection fatal error" when calling SQLCommand.ExecuteReader Julian Bowes ASP .Net 0 07-01-2003 10:46 AM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57