Activities of "JackZhang2026"

Thanks for the update!

Thanks for the explanation and workaround. I can try this workaround. Just to confirm, is this a known bug in ABP 11.0.0? Is there a plan to fix it in a future release? If so, could you let us know which version is expected to include the fix?

Thanks again for your help!

  • Exception message and full stack trace:
  • System.InvalidCastException: Unable to cast object of type 'Volo.Abp.LowCode.EntityFrameworkCore.JsonPaths.WordJsonPathElementSqlGenerationHelper' to type 'Npgsql.EntityFrameworkCore.PostgreSQL.Storage.Internal.NpgsqlSqlGenerationHelper'.

at Microsoft.EntityFrameworkCore.Query.ShapedQueryCompilingExpressionVisitor.SingleOrDefaultAsync[TSource](IAsyncEnumerable1 asyncEnumerable, CancellationToken cancellationToken) at Volo.Abp.Identity.EntityFrameworkCore.EfCoreIdentityUserRepository.FindByNormalizedUserNameAsync(String normalizedUserName, Boolean includeDetails, CancellationToken cancellationToken) at Npgsql.EntityFrameworkCore.PostgreSQL.Query.Internal.NpgsqlQuerySqlGenerator..ctor(QuerySqlGeneratorDependencies dependencies, IRelationalTypeMappingSource typeMappingSource, Boolean reverseNullOrderingEnabled, Version postgresVersion) at Npgsql.EntityFrameworkCore.PostgreSQL.Query.Internal.NpgsqlQuerySqlGeneratorFactory.Create() at Microsoft.EntityFrameworkCore.Query.Internal.RelationalCommandCache.GetRelationalCommandTemplate(Dictionary2 parameters) at Microsoft.EntityFrameworkCore.Query.Internal.SplitQueryingEnumerable1.AsyncEnumerator.InitializeReaderAsync(AsyncEnumerator enumerator, CancellationToken cancellationToken) at Volo.Abp.Identity.IdentityDataSeeder.SeedAsync(String adminEmail, String adminPassword, Nullable1 tenantId, String adminUserName) at Volo.Abp.Identity.UserSharing.UserSharingIdentityDataSeeder.SeedAsync(String adminEmail, String adminPassword, Nullable`1 tenantId, String adminUserName)

  • Steps to reproduce the issue:
  1. Create an ABP solution using ABP Studio.
  2. Configure PostgreSQL as the database provider.
  3. Add or enable the ABP Low-Code module.
  4. . Initialize the database and execute the Identity data seeding process.
  5. The exception occurs when IdentityDataSeeder calls FindByNormalizedUserNameAsync.
Showing 1 to 3 of 3 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 v11.1.0-preview. Updated on November 20, 2026, 13:33
1
ABP Assistant
🔐 You need to be logged in to use the chatbot. Please log in first.