Activities of "maliming"

hi

This actually is not abp problem

eg: https://github.com/PomeloFoundation/Pomelo.EntityFrameworkCore.MySql/issues/1778#issuecomment-1679792537

You can add a domain service and use it in two application services.

https://docs.abp.io/en/abp/latest/Domain-Services

hi

Our angular team will reply asap.

Sorry for that.

hi

There is an exception on your IIS, so the problem exists in the Database. You can troubleshoot it.

2024-07-15 16:37:46.002 +03:00 [ERR] An unhandled exception has occurred while executing the request.
Microsoft.EntityFrameworkCore.DbUpdateException: An error occurred while saving the entity changes. See the inner exception for details.
 ---> Microsoft.Data.SqlClient.SqlException (0x80131904): A severe error occurred on the current command.  The results, if any, should be discarded.
Operation cancelled by user.

hi

liming.ma@volosoft.com

You can share logs via https://wetransfer.com/

Great.

Answer

hi

Unable to obtain configuration from: 'System.String'.

Set ShowPII to true to see the details logs.

IdentityModelEventSource.ShowPII = true;

https://github.com/AzureAD/azure-activedirectory-identitymodel-extensions-for-dotnet/wiki/PII

hi

abp will create an EF Core DbContext in every unit of work and will not use the DbContext pool.

https://docs.abp.io/en/abp/latest/Unit-Of-Work

hi

You can use the AbpOpenIddictRequestHelper to get OpenIddictRequest from ReturnUrl

string returnUrl = request.Query["ReturnUrl"];
var openIddictRequestHelper = httpContext.RequestServices.GetService<AbpOpenIddictRequestHelper>();
var openIddictRequest = await openIddictRequestHelper.GetFromReturnUrlAsync(returnUrl);

hi

First. Do not inject an application service into another application service. Second, The application service shouldn't return the IActionResult

I think you can't use IUrlHelper in the application service.

You can try removing the parameter from the constructor to test which one causes the error.

Thanks.

Showing 3651 to 3660 of 10708 entries
Learn More, Pay Less
33% OFF
All Trainings!
Get Your Deal
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 16, 2025, 10:35