473,378 Members | 1,355 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,378 software developers and data experts.

Internal Connection Fatal Error

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

Mar 2 '07 #1
0 1038

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
by: David Lack | last post by:
Hi, I recently installed a 60-day trial of .NET 2003 on my development system. I made tests with previous personal projects (which compiled ok with VC6) and some open source files, and keep...
3
by: Jacob Bensabat | last post by:
Hi I am trying to do the following template <class X> class CA { public: X m_a; X m_b; X Get(X& a,X& b)
10
by: PufferFish | last post by:
Hi folks, I hope that this is the correct group for these things, apologies if not. I've got a strange compiler error. It appears to be similar to the issue described in knowledgebase...
2
by: Itjalve | last post by:
This gives me a fatal error. I'm using .NET VC7.1 and made a win32 consol app, I have no problems with VC6. Debug build. I have removed nearly all my code this is whats left. From the beginning...
1
by: m.Ward | last post by:
We are running a asp.net site, we are using a tiered architecture with the data class looking like Function MyDataReader(ByVal stylemainid As Int32, ByVal letter As String) As SqlDataReade Dim...
0
by: May | last post by:
Hello, We got this error (Internal connection fatal error) from our application and at the same we got "server application unavailable" error on the browser. I looked at the line that was...
1
by: BobPitbull | last post by:
When doing a "Whole Program Optimization" release build, I get the following error during LINK:- Searching \main\Binaries\lib\pc_retail\AAALibs.lib: LINK : fatal error LNK1000: Internal error...
0
by: =?Utf-8?B?cGF0cmlja2RyZA==?= | last post by:
Hi guys! My newly built website has just recently went online, but sometimes I face errors (randomly) like these: System.IndexOutOfRangeException: There is no row at position 0....
1
by: kvarada | last post by:
Hello Experts, I am building my application on WinNT.4.0_i386_MSVC.7.1 platform. When I build the application on a stand alone machine, it builds fine. But when I build the same application from a...
1
by: Anonymous | last post by:
My code has suddenly stopped compiling after some refactoring I carried out last week. I am using VC8 on W2K professional I get the following cryptic error: Error 77 fatal error C1001: An...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.