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

  • SEARCH
  • Home
  • 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 8524233
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T07:37:53+00:00 2026-06-11T07:37:53+00:00

I have a cached data manager which fetches data from database and returns it

  • 0

I have a cached data manager which fetches data from database and returns it to the grid. Every time that data manager has to fetch some data there is a method to clear dataset that consists of some other methods but also uses _dataset.rejectChanges() method.

Problem: _dataSet.rejectChanges() method throws “RowNotInTableException: This row has been removed from a table and does not have any data. BeginEdit() will allow creation of new data in this row.”
Also this exception isn’t thrown every time, instead it’s random. (I suspect other users interacting with my cached data manager and this causing some weird problems)
Is it even possible that other users might cause this problem(HOW?). Any fixes?

  • 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-11T07:37:54+00:00Added an answer on June 11, 2026 at 7:37 am

    A cached data manager is a red flag in an ASP.NET application.

    DataSet instance methods are not thread-safe, so if multiple threads are updating the cached DataSet, all bets are off, and you can expect random “heisenbugs”.

    Use locking, or even better reconsider the design that caches an updateable DataSet.

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

Sidebar

Related Questions

I have a cache library that stores cached data in normal php files, with
I have a text file that contains cached data in JSON format. I'm trying
I have a simple app that downloads some data from a webservice and displays
I've figured out a way to cache data (so that I won't have to
I have a asp.net web forms app that uses System.Web.Caching.Cache to cache xml data
I have a problem of web pages being cached even though I specify that
I have a page that shows statistics for users, this cannot be cached because
How to remove cached data which is sent by CLLocationManager and how to increase
I'm building an app that has several different sections to it, all of which
Our application has a very large, wide table of transactional data. We have a

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.