473,668 Members | 2,403 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

occasional SqlException 'a severe error occured...'

Hello all,

I face the problem that occasional in one WebApplication
the following error occures:

System.Data.Sql Client.SqlExcep tion: A severe error
occurred on the current command. The results, if any,
should be discarded.
at System.Data.Sql Client.SqlComma nd.ExecuteNonQu ery()
at ASP.AnbieterDet ail_ascx.WriteL og(String StrID,
String StrKat) in
C:\Inetpub\wwwr oot\LNO_live\us ercontrols\Anbi eterDetail.asc
x:line 38

This error occures also occasionaly on other Usercontrols,
in which the SQLServer is accessed. The problem is, that I
can not reproduce the error. Sometimes it works and
sometimes not, with the same data in the webform.
Other Applications with the same basic Architecture do not
have this problem.
I looked arround in the internet and saw that a few others
face a similar problem.

The Application runs on the Webserver with
Windows2000Adva ncedServer installed and The Database on a
Databaseserver also with Windows200Advan cedServer
installed and SqlServer2000.

If there is any solution to my problem, or if you need
more information just let me know.

Thanks a lot.

Sven

Nov 17 '05 #1
1 1939
CT
Sven,

What does the SQL statement do? Are you working with Stored Procedures? Are
you doing any row locking (implicit or explicit) that might cause an update,
insert or deltion to fail?

--
Carsten Thomsen
Enterprise Development with Visual Studio .NET, UML, and MSF
http://www.apress.com/book/bookDisplay.html?bID=105
"Sven Schimmel" <Sv************ ******@hotmail. com> wrote in message
news:0a******** *************** *****@phx.gbl.. .
Hello all,

I face the problem that occasional in one WebApplication
the following error occures:

System.Data.Sql Client.SqlExcep tion: A severe error
occurred on the current command. The results, if any,
should be discarded.
at System.Data.Sql Client.SqlComma nd.ExecuteNonQu ery()
at ASP.AnbieterDet ail_ascx.WriteL og(String StrID,
String StrKat) in
C:\Inetpub\wwwr oot\LNO_live\us ercontrols\Anbi eterDetail.asc
x:line 38

This error occures also occasionaly on other Usercontrols,
in which the SQLServer is accessed. The problem is, that I
can not reproduce the error. Sometimes it works and
sometimes not, with the same data in the webform.
Other Applications with the same basic Architecture do not
have this problem.
I looked arround in the internet and saw that a few others
face a similar problem.

The Application runs on the Webserver with
Windows2000Adva ncedServer installed and The Database on a
Databaseserver also with Windows200Advan cedServer
installed and SqlServer2000.

If there is any solution to my problem, or if you need
more information just let me know.

Thanks a lot.

Sven

Nov 17 '05 #2

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

Similar topics

3
2927
by: josh dismukes | last post by:
/// here is the code i'm getting a parse error on the last line of the code which /// is </html> any help will be much appreciated. <?php session_start ();
14
7029
by: Marcus | last post by:
I have a function that simply returns TRUE if it can connect to a particular Sql Server 2005 express, or FALSE if it cannot. I am getting some strange error codes returned when the computer that sql server resides on is not reachable. The error is different depending on the connection string that I use. If I use the following connection string: "server=192.1.1.1; Initial Catalog=master; uid=The_User; password=The_Password; Connect...
5
5092
by: shorti | last post by:
Hello, I was wondering if anyone knows why this error is occurring. Every once in a while I will get an sql -1024 (we are looking in to why this occurs in the first place). I automatically do a DB2 CONNECT and it reconnects without a problem. Occasionally, however, the reconnect will fail with an sql -30082 with reason code 19. This error doesnt make sense since the description says: SQL30082N Attempt to establish connection...
8
28541
by: ajos | last post by:
hi frnds, im trying to convert my servlets database configuration from ms access to mysql database.however im getting some error like no driver found exception. to verify this error ive made a simple database in jsp(just to check if my mysql is working smoothly otherwise) which access' the username.....but in the process im getting a error--> java.sql.SQLException: Access denied for user ''@'localhost' (using password: NO) i have...
0
8459
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8378
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8890
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8653
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7398
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
4202
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4376
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
2018
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
2
1783
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.