Activities of "alper"

closing the issue. you can always reopen it.

Thank you @maliming. it'll be useful for others as well.

This is EF Core default behaviour. When there's DbUpdateException, the default exception handler only handles An internal error occurred during your request. If you need the details of the exception you need to cast it, or you need to catch DbUpdateException. Check out this https://stackoverflow.com/questions/22490842/finding-the-reason-for-dbupdateexception


        try
        {
            await _orgContactRepository.InsertAsync(data, false);
        }
        catch (DbEntityValidationException vex)
        {
            var exception = HandleDbEntityValidationException(vex);
          
            throw new UserFriendlyException("Ooppps! This record is not valid..");
        }
        catch(DbUpdateException dbu)
        {
             var builder = new StringBuilder("A DbUpdateException was caught while saving changes.");

            try
            {
                foreach (var result in dbu.Entries)
                {
                    builder.AppendFormat("Type: {0} was part of the problem. ", result.Entity.GetType().Name);
                }
            }
            catch (Exception e)
            {
                builder.Append("Error parsing DbUpdateException: " + e.ToString());
            }

            string message = builder.ToString();
            return new Exception(message, dbu);
        
              throw new UserFriendlyException("Ooppps! Error occured while saving the record.");
        }
        
         
Answer

thanks for your feedback.

Whoo! nice shot :)

What's the stacktrace? You haven't mentioned about the exception

Answer

I remember the same thing happened for a customer. He couldn't use HTTPS in the container.

Took my 2 days. Finally we run it:

https://github.com/abpframework/abp/commit/bea4d410fcab5ab01492348907c90dd1b0afe73b

Wait for the next version (ETA 7 days)

We have fixed the The specified transaction is not associated with the current connection exception. See the related commit => https://github.com/abpframework/abp/issues/8049 it'll be ready next version.


On the other hand, we have found another issue. In this issue INSERT/UPDATE transactions throws Sequence contains no elements error. This bug is fixed by Devart Team. See the following links:

  • https://stackoverflow.com/questions/65304010/cannot-savechanges-in-net-5-ef-core-with-devart-data-oracle-efcore
  • https://forums.devart.com/viewtopic.php?f=1&t=44320
Answer

this is a bit out of ABP project context. but to help you; you need to authorize the Swagger client in order to make an authenticated request

Showing 1091 to 1100 of 2058 entries
Boost Your Development
ABP Live Training
Packages
See Trainings
Mastering ABP Framework Book
The Official Guide
Mastering
ABP Framework
Learn More
Mastering ABP Framework Book
Made with ❤️ on ABP v10.0.0-preview. Updated on September 23, 2025, 10:47