Quantcast
Channel: SQL Server Database Engine forum
Viewing all articles
Browse latest Browse all 12963

A severe error occurred on the current command. The results, if any, should be discarded.

$
0
0

I have a strange situation on a database, which are on SQL Server 2008 R2 Express SP2. The database size is something around 90 MB.

When a user try to insert a record inside one table, he receive an error message,  and the program is disconnected from the database. I tried to investigate this issue, and I discovered that when user try to insert one row  the trigger for insert invoke also the trigger for update and sql server crushes with "A severe error occurred on the current command.  The results, if any, should be discarded."

I have checked from SQL Server Management Studio to run a direct Update on the specific table. The same error occurred.

I have run DBCC CheckTable and no errors have been found. I also have run DBCC CHECKDB and no errors.

Because I also have 3 other different databases, with the same functionality, on the same server which are going well with more than 100 000 records in that specific table, and the triggers are going well for more than 5 years, I have assumed that some problems occurs inside the database. That is why I have copied all the records from the "damage" database to a new one. This means that inside the new databases the indexes are regenerated and a new space will be allocated.

The same strange things are happening. The same table can not be updated with a very basic Update statement.

I am looking for a patch or KB to solve this issues.

Any ideas are will be appreciated.

Thank you


Viewing all articles
Browse latest Browse all 12963

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>