Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8250345
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 7, 20262026-06-07T23:51:32+00:00 2026-06-07T23:51:32+00:00

An application that uses a database broke suddenly. I started to investigate and noticed

  • 0

An application that uses a database broke suddenly. I started to investigate and noticed that a simple count query

SELECT count(uberdataid) FROM [Alexander].[dbo].[UberData]

creates an error in SQL Server:

Msg 0, Level 11, State 0, Line 0 A severe error occurred on the
current command. The results, if any, should be discard

A few thoughts:

  • When I check out the error’s stack trace it says that there is an EXCEPTION_ACCESS_VIOLATION. The name of that exception makes me think that there might be a permissions issue in the query. But I get this exact same error on many different user accounts (which all were able to query the DB without issue before).

  • This discussion on SO ( Exception Access Violation in SQL) makes me think that the query might be hitting a lingering record lock, but I’ve rebooted the server so that seems unlikely.

There are also some other unresolved discussions on other message boards online.

Any ideas?

Stackoverflow won’t let me post the whole trace (too long) but I am happy to post relevant parts if people need to see them. I don’t know what parts from the trace are most important to post.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-07T23:51:34+00:00Added an answer on June 7, 2026 at 11:51 pm

    This looks like a SQL Server bug. EXCEPTION_ACCESS_VIOLATION means that code inside of SQL Server tried to access “invalid” memory (for example, dereferencing a NULL pointer). It has nothing to do with SQL Server security settings.

    Even though this is likely to be a bug, I recommend that you run

    DBCC CHECKDB WITH EXTENDED_LOGICAL_CHECKS, DATA_PURITY, NO_INFOMSGS
    

    on the database in question. There might be corruption that is triggering a SQL Server bug.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have an older web application that uses a MySQL Database (MYISAM). I noticed
Is there any good/simple asp.net MVC application that uses NoSQL database(cassandra). Any suggestion.
I have written a simple Android application that uses a sqlite database which is
I am going to make a simple application that uses a database. I could
I recently started a Winforms VB.NET application that uses a mysql database to store
I'm developing from Mac OS X a java application that uses a SQLite database
I have an Android application that uses the Android database to create tables and
We have a sharepoint based application that uses a custom database for storing metadata/files
I have a customer that has an application that uses an Advantage Database. I
I am working on an iOS application that uses a SQLite database. In the

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.