Thanks @zhongfang for yor answer but all my projects reference to .Net 5.0 I probe generation and It's run properly without make any change.
If you're creating a bug/problem report, please include followings:
ABP Framework version: v4.4.2
UI type: Blazor
DB provider: EF Core
Tiered (MVC) or Identity Server Separated (Angular): yes
Exception message and stack trace:
I get an error when restore a Blazor project, this task was running complete early in the morning, but about four hours ago, doesn't run anymore. I think it's releted to a package that is not aviable anymore. => Volo.Abp.Account.Pro.Admin.Application.Contracts (4.4.2). This task was running in a docker image stored on GitLab for a devsops deployment.
The command that run is this:
dotnet restore Galac.Tickets.Blazor.csproj
In a windows os run correctly, but on a docker image (debian os) doesn't run anymore. The image used for generate is this => mcr.microsoft.com/dotnet/sdk:5.0
The complete error trace is this.
Determining projects to restore... /builds/galac-software-enterprise/test/ticketsa/aspnet-core/src/Galac.Tickets.HttpApi/Galac.Tickets.HttpApi.csproj : warning NU1603: Galac.Tickets.Application.Contracts depends on Volo.Abp.Account.Pro.Admin.Application.Contracts (>= 4.4.2) but Volo.Abp.Account.Pro.Admin.Application.Contracts 4.4.2 was not found. An approximate best match of Volo.Abp.Account.Pro.Admin.Application.Contracts 5.0.0 was resolved. [/builds/galac-software-enterprise/test/ticketsa/aspnet-core/src/Galac.Tickets.Blazor/Galac.Tickets.Blazor.csproj] /builds/galac-software-enterprise/test/ticketsa/aspnet-core/src/Galac.Tickets.HttpApi/Galac.Tickets.HttpApi.csproj : warning NU1603: Galac.Tickets.HttpApi depends on Volo.Abp.Account.Pro.Admin.HttpApi (>= 4.4.2) but Volo.Abp.Account.Pro.Admin.HttpApi 4.4.2 was not found. An approximate best match of Volo.Abp.Account.Pro.Admin.HttpApi 5.0.0 was resolved. [/builds/galac-software-enterprise/test/ticketsa/aspnet-core/src/Galac.Tickets.Blazor/Galac.Tickets.Blazor.csproj] /builds/galac-software-enterprise/test/ticketsa/aspnet-core/src/Galac.Tickets.HttpApi/Galac.Tickets.HttpApi.csproj : warning NU1603: Galac.Tickets.Application.Contracts depends on Volo.Abp.Account.Pro.Public.Application.Contracts (>= 4.4.2) but Volo.Abp.Account.Pro.Public.Application.Contracts 4.4.2 was not found. An approximate best match of Volo.Abp.Account.Pro.Public.Application.Contracts 5.0.0 was resolved. [/builds/galac-software-enterprise/test/ticketsa/aspnet-core/src/Galac.Tickets.Blazor/Galac.Tickets.Blazor.csproj] /builds/galac-software-enterprise/test/ticketsa/aspnet-core/src/Galac.Tickets.HttpApi/Galac.Tickets.HttpApi.csproj : warning NU1603: Galac.Tickets.HttpApi depends on Volo.Abp.Account.Pro.Public.HttpApi (>= 4.4.2) but Volo.Abp.Account.Pro.Public.HttpApi 4.4.2 was not found. An approximate best match of Volo.Abp.Account.Pro.Public.HttpApi 5.0.0 was resolved. [/builds/galac-software-enterprise/test/ticketsa/aspnet-core/src/Galac.Tickets.Blazor/Galac.Tickets.Blazor.csproj] /builds/galac-software-enterprise/test/ticketsa/aspnet-core/src/Galac.Tickets.HttpApi/Galac.Tickets.HttpApi.csproj : warning NU1603: Galac.Tickets.Application.Contracts depends on Volo.Abp.AuditLogging.Application.Contracts (>= 4.4.2) but Volo.Abp.AuditLogging.Application.Contracts 4.4.2 was not found. An approximate best match of Volo.Abp.AuditLogging.Application.Contracts 5.0.0 was resolved. [/builds/galac-software-enterprise/test/ticketsa/aspnet-core/src/Galac.Tickets.Blazor/Galac.Tickets.Blazor.csproj] /builds/galac-software-enterprise/test/ticketsa/aspnet-core/src/Galac.Tickets.HttpApi/Galac.Tickets.HttpApi.csproj : warning NU1603: Galac.Tickets.HttpApi depends on Volo.Abp.AuditLogging.HttpApi (>= 4.4.2) but Volo.Abp.AuditLogging.HttpApi 4.4.2 was not found. An approximate best match of Volo.Abp.AuditLogging.HttpApi 5.0.0 was resolved. [/builds/galac-software-enterprise/test/ticketsa/aspnet-core/src/Galac.Tickets.Blazor/Galac.Tickets.Blazor.csproj] /builds/galac-software-enterprise/test/ticketsa/aspnet-core/src/Galac.Tickets.HttpApi/Galac.Tickets.HttpApi.csproj : warning NU1603: Galac.Tickets.Domain.Shared depends on Volo.Abp.Commercial.SuiteTemplates (>= 4.4.2) but Volo.Abp.Commercial.SuiteTemplates 4.4.2 was not found. An approximate best match of Volo.Abp.Commercial.SuiteTemplates 5.0.0 was resolved. [/builds/galac-software-enterprise/test/ticketsa/aspnet-core/src/Galac.Tickets.Blazor/Galac.Tickets.Blazor.csproj] /builds/galac-software-enterprise/test/ticketsa/aspnet-core/src/Galac.Tickets.HttpApi/Galac.Tickets.HttpApi.csproj : warning NU1603: Galac.Tickets.Application.Contracts depends on Volo.Abp.Identity.Pro.Application.Contracts (>= 4.4.2) but Volo.Abp.Identity.Pro.Application.Contracts 4.4.2 was not found. An approximate best match of Volo.Abp.Identity.Pro.Application.Contracts 5.0.0 was resolved. [/builds/galac-software-enterprise/test/ticketsa/aspnet-core/src/Galac.Tickets.Blazor/Galac.Tickets.Blazor.csproj] /builds/galac-software-enterprise/test/ticketsa/aspnet-core/src/Galac.Tickets.HttpApi/Galac.Tickets.HttpApi.csproj : warning NU1603: Galac.Tickets.Domain.Shared depends on Volo.Abp.Identity.Pro.Domain.Shared (>= 4.4.2) but Volo.Abp.Identity.Pro.Domain.Shared 4.4.2 was not found. An approximate best match of Volo.Abp.Identity.Pro.Domain.Shared 5.0.0 was resolved. [/builds/galac-software-enterprise/test/ticketsa/aspnet-core/src/Galac.Tickets.Blazor/Galac.Tickets.Blazor.csproj] /builds/galac-software-enterprise/test/ticketsa/aspnet-core/src/Galac.Tickets.HttpApi/Galac.Tickets.HttpApi.csproj : warning NU1603: Galac.Tickets.HttpApi depends on Volo.Abp.Identity.Pro.HttpApi (>= 4.4.2) but Volo.Abp.Identity.Pro.HttpApi 4.4.2 was not found. An approximate best match of Volo.Abp.Identity.Pro.HttpApi 5.0.0 was resolved. [/builds/galac-software-enterprise/test/ticketsa/aspnet-core/src/Galac.Tickets.Blazor/Galac.Tickets.Blazor.csproj] /builds/galac-software-enterprise/test/ticketsa/aspnet-core/src/Galac.Tickets.HttpApi/Galac.Tickets.HttpApi.csproj : warning NU1603: Galac.Tickets.Application.Contracts depends on Volo.Abp.IdentityServer.Application.Contracts (>= 4.4.2) but Volo.Abp.IdentityServer.Application.Contracts 4.4.2 was not found. An approximate best match of Volo.Abp.IdentityServer.Application.Contracts 5.0.0 was resolved. [/builds/galac-software-enterprise/test/ticketsa/aspnet-core/src/Galac.Tickets.Blazor/Galac.Tickets.Blazor.csproj] Tickets.HttpApi.csproj : error NU1605: Galac.Tickets.HttpApi -> Galac.Tickets.Application.Contracts -> Volo.Abp.FeatureManagement.Application.Contracts (>= 4.4.2) [/builds/galac-software-enterprise/test/ticketsa/aspnet-core/src/Galac.Tickets.Blazor/Galac.Tickets.Blazor.csproj] /builds/galac-software-enterprise/test/ticketsa/aspnet-core/src/Galac.Tickets.HttpApi/Galac.Tickets.HttpApi.csproj : error NU1605: Detected package downgrade: Volo.Abp.PermissionManagement.Application.Contracts from 5.0.0 to 4.4.2. Reference the package directly from the project to select a different version. [/builds/galac-software-enterprise/test/ticketsa/aspnet-core/src/Galac.Tickets.Blazor/Galac.Tickets.Blazor.csproj] /builds/galac-software-enterprise/test/ticketsa/aspnet-core/src/Galac.Tickets.HttpApi/Galac.Tickets.HttpApi.csproj : error NU1605: Galac.Tickets.HttpApi -> Galac.Tickets.Application.Contracts -> Volo.Abp.Identity.Pro.Application.Contracts5.0). Package Volo.Abp.LeptonTheme.Management.Blazor.Server 5.0.0 supports: net6.0 (.NETCoreApp,Version=v6.0) /builds/galac-software-enterprise/test/ticketsa/aspnet-core/src/Galac.Tickets.Blazor/Galac.Tickets.Blazor.csproj : error NU1202: Package Volo.Abp.IdentityServer.Blazor.Server 5.0.0 is not compatible with net5.0 (.NETCoreApp,Version=v5.0). Package Volo.Abp.IdentityServer.Blazor.Server 5.0.0 supports: net6.0 (.NETCoreApp,Version=v6.0) /builds/galac-software-enterprise/test/ticketsa/aspnet-core/src/Galac.Tickets.Blazor/Galac.Tickets.Blazor.csproj : error NU1202: Package Volo.Abp.LanguageManagement.Blazor.Server 5.0.0 is not compatible with net5.0 (.NETCoreApp,Version=v5.0). Package Volo.Abp.LanguageManagement.Blazor.Server 5.0.0 supports: net6.0 (.NETCoreApp,Version=v6.0) /builds/galac-software-enterprise/test/ticketsa/aspnet-core/src/Galac.Tickets.Blazor/Galac.Tickets.Blazor.csproj : error NU1202: Package Volo.Saas.Host.Blazor.Server 5.0.0 is not compatible with net5.0 (.NETCoreApp,Version=v5.0). Package Volo.Saas.Host.Blazor.Server 5.0.0 supports: net6.0 (.NETCoreApp,Version=v6.0) /builds/galac-software-enterprise/test/ticketsa/aspnet-core/src/Galac.Tickets.Blazor/Galac.Tickets.Blazor.csproj : error NU1202: Package Volo.Abp.TextTemplateManagement.Blazor.Server 5.0.0 is not compatible with net5.0 (.NETCoreApp,Version=v5.0). Package Volo.Abp.TextTemplateManagement.Blazor.Server 5.0.0 supports: net6.0 (.NETCoreApp,Version=v6.0) /builds/galac-software-enterprise/test/ticketsa/aspnet-core/src/Galac.Tickets.Blazor/Galac.Tickets.Blazor.csproj : error NU1202: Package Volo.Abp.AuditLogging.HttpApi 5.0.0 is not compatible with net5.0 (.NETCoreApp,Version=v5.0). Package Volo.Abp.AuditLogging.HttpApi 5.0.0 supports: net6.0 (.NETCoreApp,Version=v6.0) /builds/galac-software-enterprise/test/ticketsa/aspnet-core/src/Galac.Tickets.Blazor/Galac.Tickets.Blazor.csproj : error NU1202: Package Volo.Abp.Identity.Pro.HttpApi 5.0.0 is not compatible with net5.0 (.NETCoreApp,Version=v5.0). Package Volo.Abp.Identity.Pro.HttpApi 5.0.0 supports: net6.0 (.NETCoreApp,Version=v6.0) /builds/galac-software-enterprise/test/ticketsa/aspnet-core/src/Galac.Tickets.Blazor/Galac.Tickets.Blazor.csproj : error NU1202: Package Volo.Abp.Account.Pro.Admin.HttpApi 5.0.0 is not compatible with net5.0 (.NETCoreApp,Version=v5.0). Package Volo.Abp.Account.Pro.Admin.HttpApi 5.0.0 supports: net6.0 (.NETCoreApp,Version=v6.0) /builds/galac-software-enterprise/test/ticketsa/aspnet-core/src/Galac.Tickets.Blazor/Galac.Tickets.Blazor.csproj : error NU1202: Package Volo.Abp.Account.Pro.Public.HttpApi 5.0.0 is not compatible with net5.0 (.NETCoreApp,Version=v5.0). Package Volo.Abp.Account.Pro.Public.HttpApi 5.0.0 supports: net6.0 (.NETCoreApp,Version=v6.0) /buo.Abp.FeatureManagement.Application.Contracts from 5.0.0 to 4.4.2. Reference the package directly from the project to select a different version. [/builds/galac-software-enterprise/test/ticketsa/aspnet-core/src/Galac.Tickets.Blazor/Galac.Tickets.Blazor.csproj] /builds/galac-software-enterprise/test/ticketsa/aspnet-core/src/Galac.Tickets.Application.Contracts/Galac.Tickets.Application.Contracts.csproj : error NU1605: Galac.Tickets.Application.Contracts -> Volo.Saas.Host.Application.Contracts 5.0.0 -> Volo.Abp.FeatureManagement.Application.Contracts (>= 5.0.0) [/builds/galac-software-enterprise/test/ticketsa/aspnet-core/src/Galac.Tickets.Blazor/Galac.Tickets.Blazor.csproj] /builds/galac-software-enterprise/test/ticketsa/aspnet-core/src/Galac.Tickets.Application.Contracts/Galac.Tickets.Application.Contracts.csproj : error NU1605: Galac.Tickets.Application.Contracts -> Volo.Abp.FeatureManagement.Application.Contracts (>= 4.4.2) [/builds/galac-software-enterprise/test/ticketsa/aspnet-core/src/Galac.Tickets.Blazor/Galac.Tickets.Blazor.csproj] /builds/galac-software-enterprise/test/ticketsa/aspnet-core/src/Galac.Tickets.Application.Contracts/Galac.Tickets.Application.Contracts.csproj : error NU1605: Detected package downgrade: Volo.Abp.PermissionManagement.Application.Contracts from 5.0.0 to 4.4.2. Reference the package directly from the project to select a different version. [/builds/galac-software-enterprise/test/ticketsa/aspnet-core/src/Galac.Tickets.Blazor/Galac.Tickets.Blazor.csproj] /builds/galac-software-enterprise/test/ticketsa/aspnet-core/src/Galac.Tickets.Application.Contracts/Galac.Tickets.Application.Contracts.csproj : error NU1605: Galac.Tickets.Application.Contracts -> Volo.Abp.Identity.Pro.Application.Contracts 5.0.0 -> Volo.Abp.PermissionManagement.Application.Contracts (>= 5.0.0) [/builds/galac-software-enterprise/test/ticketsa/aspnet-core/src/Galac.Tickets.Blazor/Galac.Tickets.Blazor.csproj] /builds/galac-software-enterprise/test/ticketsa/aspnet-core/src/Galac.Tickets.Application.Contracts/Galac.Tickets.Application.Contracts.csproj : error NU1605: Galac.Tickets.Application.Contracts -> Volo.Abp.PermissionManagement.Application.Contracts (>= 4.4.2) [/builds/galac-software-enterprise/test/ticketsa/aspnet-core/src/Galac.Tickets.Blazor/Galac.Tickets.Blazor.csproj] Failed to restore /builds/galac-software-enterprise/test/ticketsa/aspnet-core/src/Galac.Tickets.Application.Contracts/Galac.Tickets.Application.Contracts.csproj (in 672 ms).
Yes it was solved.. Thanks
Good Day @maliming No i haven't but I test with an app generate with abp suite and the error happens, i think it's about required validation. Memoedit is a control of Blazorise's suite, which it's the abp.io default generation for Blazor
Thanks @maliming
We changed the settings in SQL Server and afterwards the creation of tenants works fine.
If you're creating a bug/problem report, please include followings:
* 2021-09-27 15:07:52.868 -04:00 [ERR] An exception occurred while iterating over the results of a query for context type 'Galac.Tickets.EntityFrameworkCore.TicketsDbContext'.
Microsoft.Data.SqlClient.SqlException (0x80131904): Execution Timeout Expired. The timeout period elapsed prior to completion of the operation or the server is not responding.
---> System.ComponentModel.Win32Exception (258): The wait operation timed out.
at Microsoft.Data.SqlClient.SqlCommand.<>c.<ExecuteDbDataReaderAsync>b__169_0(Task`1 result)
at System.Threading.Tasks.ContinuationResultTaskFromResultTask`2.InnerInvoke()
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
--- End of stack trace from previous location ---
at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread)
--- End of stack trace from previous location ---
at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReaderAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReaderAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.Query.Internal.SplitQueryingEnumerable`1.AsyncEnumerator.InitializeReaderAsync(DbContext _, Boolean result, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.SqlServer.Storage.Internal.SqlServerExecutionStrategy.ExecuteAsync[TState,TResult](TState state, Func`4 operation, Func`4 verifySucceeded, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.Query.Internal.SplitQueryingEnumerable`1.AsyncEnumerator.MoveNextAsync()
ClientConnectionId:9576df5a-9316-491c-8681-bb8966ab348c
Error Number:-2,State:0,Class:11
Microsoft.Data.SqlClient.SqlException (0x80131904): Execution Timeout Expired. The timeout period elapsed prior to completion of the operation or the server is not responding.
---> System.ComponentModel.Win32Exception (258): The wait operation timed out.
at Microsoft.Data.SqlClient.SqlCommand.<>c.<ExecuteDbDataReaderAsync>b__169_0(Task`1 result)
at System.Threading.Tasks.ContinuationResultTaskFromResultTask`2.InnerInvoke()
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
--- End of stack trace from previous location ---
at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread)
--- End of stack trace from previous location ---
at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReaderAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReaderAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.Query.Internal.SplitQueryingEnumerable`1.AsyncEnumerator.InitializeReaderAsync(DbContext _, Boolean result, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.SqlServer.Storage.Internal.SqlServerExecutionStrategy.ExecuteAsync[TState,TResult](TState state, Func`4 operation, Func`4 verifySucceeded, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.Query.Internal.SplitQueryingEnumerable`1.AsyncEnumerator.MoveNextAsync()
at Microsoft.EntityFrameworkCore.Query.ShapedQueryCompilingExpressionVisitor.SingleOrDefaultAsync[TSource](IAsyncEnumerable`1 asyncEnumerable, CancellationToken cancellationToken)
ClientConnectionId:9576df5a-9316-491c-8681-bb8966ab348c
Error Number:-2,State:0,Class:11
Thanks @EngincanV It's Works for Us.
Check the docs before asking a question: https://docs.abp.io/en/commercial/latest/ Check the samples, to see the basic tasks: https://docs.abp.io/en/commercial/latest/samples/index The exact solution to your question may have been answered before, please use the search on the homepage.
If you're creating a bug/problem report, please include followings: