Base solution for your next web application
Open Closed

Failed executing DbCommand error after upgrading to aspnet-zero-core-11.4.1 #11981


User avatar
0
stealthdev created

Getting Failed DbCommand and the below api return 400 always from client request , does not return Auth token http://gayewatt/api/TokenAuth/Authenticate

here is the error

Failed executing DbCommand (0ms) [Parameters=[@__ef_filter__p_0='?' (DbType = Boolean), @__ef_filter__p_1='?' (DbType = Boolean), @__normalizedName_0='?' (Size = 32)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [r].[Id], [r].[ConcurrencyStamp], [r].[CreationTime], [r].[CreatorUserId], [r].[DeleterUserId], [r].[DeletionTime], [r].[DisplayName], [r].[IsDefault], [r].[IsDeleted], [r].[IsStatic], [r].[LastModificationTime], [r].[LastModifierUserId], [r].[Name], [r].[NormalizedName], [r].[TenantId] FROM [Roles] AS [r] WHERE (((@__ef_filter__p_0 = CAST(1 AS bit)) OR ([r].[IsDeleted] = CAST(0 AS bit))) AND ((@__ef_filter__p_1 = CAST(1 AS bit)) OR ([r].[TenantId] IS NULL))) AND ([r].[NormalizedName] = @__normalizedName_0)

we are able to execute the above sql statement at Databse direclty


1 Answer(s)
  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi @stealthdev

    Could you share the full stack trace ?