ChangeConflictException: Row not found or changed
| 
                
                
                     
                    sid 
                
                
                    120
                    Points 
                
                    9
                    Posts 
             | 
            
                
                 I'm using .dbml to map db to linq. And in controller action I'm updating count: 
Some time I'm getting error: 
Also, I'm able to reproduce the error by hitting controller action multiple time. Any Idea what causing this error? Use _dbContext.Refresh(RefreshMode.OverwriteCurrentValues, rsl)  - Stevan  30-May-2019 08:14
                                
                             | 
        
Answers
    
                
                
                     
                
                    hmm 
                
                
                    30
                    Points 
                
                    0
                    Posts 
             | 
            
                 I was faced same issue and resolved by making sure to refresh my object immediately before updating it. 
                    Posted On: 
                    30-May-2019 08:28
                 
                    Thanks..  - sid  06-Jul-2019 21:00
                                
                             | 
        
| 
                
                
                     
                    Rashmi 
                
                
                    1216
                    Points 
                
                    22
                    Posts 
             | 
            
                 LINQ to SQL looked for the record to updated comparing all the columns to their original values, and when no records were found, the exception was thrown: 
Use 
It maybe resolve this issue. 
                    Posted On: 
                    06-Jul-2019 20:58
                 
                     | 
        



            