Browse Source

update

master
wanggang 1 year ago
parent
commit
c8d549341d
  1. 18636
      code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/Logs/log-20221013.txt
  2. 698
      code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/Logs/log-20221103.txt
  3. 485
      code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/Logs/log-20230208.txt
  4. 900
      code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/Logs/log-20230209.txt
  5. 270
      code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/Logs/log-20230504.txt
  6. 85
      code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/Logs/log-20230610.txt
  7. 2
      code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/Program.cs
  8. 39
      code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/components/table/index.js
  9. 56
      code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/views/invoice/invoice_map_group.js
  10. 218
      code/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/BQ/VmiAppService.cs
  11. 2
      code/src/Modules/SettleAccount/src/SettleAccount.Application/SettleAccount.Application.csproj
  12. 67
      code/src/Modules/SettleAccount/src/SettleAccount.Application/influxdb/InfluxHelper.cs
  13. 21
      code/src/Modules/SettleAccount/src/SettleAccount.Domain/Entities/BQ/Vmi/VmiBalance.cs
  14. 21
      code/src/Modules/SettleAccount/src/SettleAccount.Domain/Entities/BQ/Vmi/VmiCategory.cs
  15. 184
      code/src/Modules/SettleAccount/src/SettleAccount.Domain/Entities/BQ/Vmi/VmiLog.cs
  16. 22
      code/src/Modules/SettleAccount/src/SettleAccount.Domain/Entities/BQ/Vmi/VmiType.cs
  17. 30
      code/src/Modules/SettleAccount/src/SettleAccount.EntityFrameworkCore/EntityFrameworkCore/SettleAccountDbContextModelCreatingExtensions.cs
  18. 1
      code/src/Modules/SettleAccount/src/SettleAccount.EntityFrameworkCore/EntityFrameworkCore/VmiSqliteContext.cs
  19. 5024
      code/src/Modules/SettleAccount/src/SettleAccount.EntityFrameworkCore/Migrations/20230803013930_vmi7.Designer.cs
  20. 384
      code/src/Modules/SettleAccount/src/SettleAccount.EntityFrameworkCore/Migrations/20230803013930_vmi7.cs
  21. 178
      code/src/Modules/SettleAccount/src/SettleAccount.EntityFrameworkCore/Migrations/SettleAccountDbContextModelSnapshot.cs

18636
code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/Logs/log-20221013.txt

File diff suppressed because it is too large

698
code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/Logs/log-20221103.txt

@ -1,698 +0,0 @@
2022-11-03 14:09:52.375 G Starting web host.
2022-11-03 14:10:04.356 G User profile is available. Using '"C:\Users\Administrator\AppData\Local\ASP.NET\DataProtection-Keys"' as key repository and Windows DPAPI to encrypt keys at rest.
2022-11-03 14:10:23.784 G Loaded ABP modules:
2022-11-03 14:10:23.786 G - Win.Sfs.SettleAccount.SettleAccountHttpApiHostModule
2022-11-03 14:10:23.786 G - Win.Sfs.SettleAccount.SettleAccountApplicationModule
2022-11-03 14:10:23.787 G - Win.Sfs.SettleAccount.SettleAccountJobModule
2022-11-03 14:10:23.787 G - Win.Sfs.SettleAccount.SettleAccountDomainModule
2022-11-03 14:10:23.788 G - Volo.Abp.Domain.AbpDddDomainModule
2022-11-03 14:10:23.788 G - Volo.Abp.Auditing.AbpAuditingModule
2022-11-03 14:10:23.788 G - Volo.Abp.Data.AbpDataModule
2022-11-03 14:10:23.788 G - Volo.Abp.ObjectExtending.AbpObjectExtendingModule
2022-11-03 14:10:23.789 G - Volo.Abp.Localization.AbpLocalizationAbstractionsModule
2022-11-03 14:10:23.790 G - Volo.Abp.Validation.AbpValidationAbstractionsModule
2022-11-03 14:10:23.791 G - Volo.Abp.Uow.AbpUnitOfWorkModule
2022-11-03 14:10:23.791 G - Volo.Abp.EventBus.Abstractions.AbpEventBusAbstractionsModule
2022-11-03 14:10:23.791 G - Volo.Abp.Json.AbpJsonModule
2022-11-03 14:10:23.792 G - Volo.Abp.Timing.AbpTimingModule
2022-11-03 14:10:23.792 G - Volo.Abp.Localization.AbpLocalizationModule
2022-11-03 14:10:23.792 G - Volo.Abp.VirtualFileSystem.AbpVirtualFileSystemModule
2022-11-03 14:10:23.793 G - Volo.Abp.Settings.AbpSettingsModule
2022-11-03 14:10:23.793 G - Volo.Abp.Security.AbpSecurityModule
2022-11-03 14:10:23.793 G - Volo.Abp.MultiTenancy.AbpMultiTenancyModule
2022-11-03 14:10:23.796 G - Volo.Abp.Threading.AbpThreadingModule
2022-11-03 14:10:23.797 G - Volo.Abp.EventBus.AbpEventBusModule
2022-11-03 14:10:23.797 G - Volo.Abp.Guids.AbpGuidsModule
2022-11-03 14:10:23.797 G - Volo.Abp.ObjectMapping.AbpObjectMappingModule
2022-11-03 14:10:23.797 G - Volo.Abp.ExceptionHandling.AbpExceptionHandlingModule
2022-11-03 14:10:23.798 G - Volo.Abp.Specifications.AbpSpecificationsModule
2022-11-03 14:10:23.798 G - Win.Sfs.SettleAccount.SettleAccountDomainSharedModule
2022-11-03 14:10:23.798 G - Volo.Abp.Validation.AbpValidationModule
2022-11-03 14:10:23.799 G - Win.Sfs.SettleAccount.SettleAccountApplicationContractsModule
2022-11-03 14:10:23.800 G - Volo.Abp.Application.AbpDddApplicationContractsModule
2022-11-03 14:10:23.800 G - Volo.Abp.Authorization.AbpAuthorizationModule
2022-11-03 14:10:23.801 G - Volo.Abp.Authorization.AbpAuthorizationAbstractionsModule
2022-11-03 14:10:23.802 G - Volo.Abp.AutoMapper.AbpAutoMapperModule
2022-11-03 14:10:23.802 G - Volo.Abp.Dapper.AbpDapperModule
2022-11-03 14:10:23.803 G - Volo.Abp.EntityFrameworkCore.AbpEntityFrameworkCoreModule
2022-11-03 14:10:23.804 G - Win.Abp.Snowflakes.AbpSnowflakeGeneratorModule
2022-11-03 14:10:23.805 G - Volo.Abp.Http.Client.IdentityModel.AbpHttpClientIdentityModelModule
2022-11-03 14:10:23.807 G - Volo.Abp.Http.Client.AbpHttpClientModule
2022-11-03 14:10:23.808 G - Volo.Abp.Http.AbpHttpModule
2022-11-03 14:10:23.810 G - Volo.Abp.Http.AbpHttpAbstractionsModule
2022-11-03 14:10:23.811 G - Volo.Abp.Minify.AbpMinifyModule
2022-11-03 14:10:23.811 G - Volo.Abp.Castle.AbpCastleCoreModule
2022-11-03 14:10:23.812 G - Volo.Abp.IdentityModel.AbpIdentityModelModule
2022-11-03 14:10:23.813 G - Volo.Abp.Caching.AbpCachingModule
2022-11-03 14:10:23.814 G - Volo.Abp.Serialization.AbpSerializationModule
2022-11-03 14:10:23.814 G - Volo.Abp.Identity.AbpIdentityHttpApiClientModule
2022-11-03 14:10:23.816 G - Volo.Abp.Identity.AbpIdentityApplicationContractsModule
2022-11-03 14:10:23.817 G - Volo.Abp.Identity.AbpIdentityDomainSharedModule
2022-11-03 14:10:23.819 G - Volo.Abp.Users.AbpUsersDomainSharedModule
2022-11-03 14:10:23.819 G - Volo.Abp.Features.AbpFeaturesModule
2022-11-03 14:10:23.820 G - Volo.Abp.Users.AbpUsersAbstractionModule
2022-11-03 14:10:23.820 G - Volo.Abp.Application.AbpDddApplicationModule
2022-11-03 14:10:23.821 G - Volo.Abp.GlobalFeatures.AbpGlobalFeaturesModule
2022-11-03 14:10:23.822 G - Volo.Abp.PermissionManagement.AbpPermissionManagementApplicationContractsModule
2022-11-03 14:10:23.823 G - Volo.Abp.PermissionManagement.AbpPermissionManagementDomainSharedModule
2022-11-03 14:10:23.826 G - Volo.Abp.AspNetCore.Mvc.AbpAspNetCoreMvcModule
2022-11-03 14:10:23.827 G - Volo.Abp.AspNetCore.AbpAspNetCoreModule
2022-11-03 14:10:23.828 G - Volo.Abp.ApiVersioning.AbpApiVersioningAbstractionsModule
2022-11-03 14:10:23.829 G - Volo.Abp.AspNetCore.Mvc.AbpAspNetCoreMvcContractsModule
2022-11-03 14:10:23.830 G - Volo.Abp.UI.Navigation.AbpUiNavigationModule
2022-11-03 14:10:23.830 G - Volo.Abp.UI.AbpUiModule
2022-11-03 14:10:23.831 G - Win.Sfs.SettleAccount.SettleAccountEntityFrameworkCoreModule
2022-11-03 14:10:23.831 G - Volo.Abp.PermissionManagement.EntityFrameworkCore.AbpPermissionManagementEntityFrameworkCoreModule
2022-11-03 14:10:23.832 G - Volo.Abp.PermissionManagement.AbpPermissionManagementDomainModule
2022-11-03 14:10:23.833 G - Volo.Abp.SettingManagement.EntityFrameworkCore.AbpSettingManagementEntityFrameworkCoreModule
2022-11-03 14:10:23.833 G - Volo.Abp.SettingManagement.AbpSettingManagementDomainModule
2022-11-03 14:10:23.834 G - Volo.Abp.SettingManagement.AbpSettingManagementDomainSharedModule
2022-11-03 14:10:23.834 G - Volo.Abp.AuditLogging.EntityFrameworkCore.AbpAuditLoggingEntityFrameworkCoreModule
2022-11-03 14:10:23.836 G - Volo.Abp.AuditLogging.AbpAuditLoggingDomainModule
2022-11-03 14:10:23.837 G - Volo.Abp.AuditLogging.AbpAuditLoggingDomainSharedModule
2022-11-03 14:10:23.840 G - Volo.Abp.TenantManagement.EntityFrameworkCore.AbpTenantManagementEntityFrameworkCoreModule
2022-11-03 14:10:23.840 G - Volo.Abp.TenantManagement.AbpTenantManagementDomainModule
2022-11-03 14:10:23.841 G - Volo.Abp.TenantManagement.AbpTenantManagementDomainSharedModule
2022-11-03 14:10:23.842 G - Win.Sfs.SettleAccount.SettleAccountHttpApiModule
2022-11-03 14:10:23.842 G - Volo.Abp.Autofac.AbpAutofacModule
2022-11-03 14:10:23.843 G - Volo.Abp.EntityFrameworkCore.SqlServer.AbpEntityFrameworkCoreSqlServerModule
2022-11-03 14:10:23.844 G - Volo.Abp.AspNetCore.Serilog.AbpAspNetCoreSerilogModule
2022-11-03 14:10:23.844 G - Volo.Abp.BlobStoring.AbpBlobStoringModule
2022-11-03 14:10:23.846 G - Volo.Abp.BlobStoring.FileSystem.AbpBlobStoringFileSystemModule
2022-11-03 14:10:23.846 G - Volo.Abp.BackgroundJobs.Hangfire.AbpBackgroundJobsHangfireModule
2022-11-03 14:10:23.848 G - Volo.Abp.BackgroundJobs.AbpBackgroundJobsAbstractionsModule
2022-11-03 14:10:23.849 G - Volo.Abp.Hangfire.AbpHangfireModule
2022-11-03 14:10:23.933 G Start installing Hangfire SQL objects...
2022-11-03 14:10:24.186 G Hangfire SQL objects installed.
2022-11-03 14:10:24.197 G Starting Hangfire Server using job storage: 'SQL Server: 127.0.0.1@SettleAccountService'
2022-11-03 14:10:24.198 G Using the following options for SQL Server job storage: Queue poll interval: 00:00:15.
2022-11-03 14:10:24.199 G Using the following options for Hangfire Server:
Worker count: 20
Listening queues: 'default'
Shutdown timeout: 00:00:15
Schedule polling interval: 00:00:15
2022-11-03 14:10:24.245 G Starting Hangfire Server using job storage: 'SQL Server: 127.0.0.1@SettleAccountService'
2022-11-03 14:10:24.246 G Using the following options for SQL Server job storage: Queue poll interval: 00:00:15.
2022-11-03 14:10:24.247 G Using the following options for Hangfire Server:
Worker count: 20
Listening queues: 'default'
Shutdown timeout: 00:00:15
Schedule polling interval: 00:00:15
2022-11-03 14:10:24.463 G Server win102022aywttw:5260:7ab13985 successfully announced in 241.6047 ms
2022-11-03 14:10:24.463 G Server win102022aywttw:5260:b9010a5f successfully announced in 211.6305 ms
2022-11-03 14:10:24.476 G Server win102022aywttw:5260:b9010a5f is starting the registered dispatchers: ServerWatchdog, ServerJobCancellationWatcher, ExpirationManager, CountersAggregator, Worker, DelayedJobScheduler, RecurringJobScheduler...
2022-11-03 14:10:24.476 G Server win102022aywttw:5260:7ab13985 is starting the registered dispatchers: ServerWatchdog, ServerJobCancellationWatcher, ExpirationManager, CountersAggregator, Worker, DelayedJobScheduler, RecurringJobScheduler...
2022-11-03 14:10:24.517 G 2 servers were removed due to timeout
2022-11-03 14:10:24.732 G Server win102022aywttw:5260:7ab13985 all the dispatchers started
2022-11-03 14:10:24.742 G Server win102022aywttw:5260:b9010a5f all the dispatchers started
2022-11-03 14:10:26.121 G Entity Framework Core "5.0.8" initialized '"PermissionManagementDbContext"' using provider '"Microsoft.EntityFrameworkCore.SqlServer"' with options: "QuerySplittingBehavior=SplitQuery "
2022-11-03 14:10:26.470 G Executed DbCommand ("35"ms) [Parameters=["@__ef_filter__p_0='?' (DbType = Boolean), @__name_0='?' (Size = 128), @__providerName_1='?' (Size = 64), @__providerKey_2='?' (Size = 64)"], CommandType='Text', CommandTimeout='30']"
""SELECT TOP(1) [a].[Id], [a].[Name], [a].[ProviderKey], [a].[ProviderName], [a].[TenantId]
FROM [AbpPermissionGrants] AS [a]
WHERE ((@__ef_filter__p_0 = CAST(1 AS bit)) OR [a].[TenantId] IS NULL) AND ((([a].[Name] = @__name_0) AND ([a].[ProviderName] = @__providerName_1)) AND ([a].[ProviderKey] = @__providerKey_2))
ORDER BY [a].[Id]"
2022-11-03 14:10:26.569 G Executed DbCommand ("1"ms) [Parameters=["@__ef_filter__p_0='?' (DbType = Boolean), @__name_0='?' (Size = 128), @__providerName_1='?' (Size = 64), @__providerKey_2='?' (Size = 64)"], CommandType='Text', CommandTimeout='30']"
""SELECT TOP(1) [a].[Id], [a].[Name], [a].[ProviderKey], [a].[ProviderName], [a].[TenantId]
FROM [AbpPermissionGrants] AS [a]
WHERE ((@__ef_filter__p_0 = CAST(1 AS bit)) OR [a].[TenantId] IS NULL) AND ((([a].[Name] = @__name_0) AND ([a].[ProviderName] = @__providerName_1)) AND ([a].[ProviderKey] = @__providerKey_2))
ORDER BY [a].[Id]"
2022-11-03 14:10:26.573 G Executed DbCommand ("1"ms) [Parameters=["@__ef_filter__p_0='?' (DbType = Boolean), @__name_0='?' (Size = 128), @__providerName_1='?' (Size = 64), @__providerKey_2='?' (Size = 64)"], CommandType='Text', CommandTimeout='30']"
""SELECT TOP(1) [a].[Id], [a].[Name], [a].[ProviderKey], [a].[ProviderName], [a].[TenantId]
FROM [AbpPermissionGrants] AS [a]
WHERE ((@__ef_filter__p_0 = CAST(1 AS bit)) OR [a].[TenantId] IS NULL) AND ((([a].[Name] = @__name_0) AND ([a].[ProviderName] = @__providerName_1)) AND ([a].[ProviderKey] = @__providerKey_2))
ORDER BY [a].[Id]"
2022-11-03 14:10:26.579 G Executed DbCommand ("1"ms) [Parameters=["@__ef_filter__p_0='?' (DbType = Boolean), @__name_0='?' (Size = 128), @__providerName_1='?' (Size = 64), @__providerKey_2='?' (Size = 64)"], CommandType='Text', CommandTimeout='30']"
""SELECT TOP(1) [a].[Id], [a].[Name], [a].[ProviderKey], [a].[ProviderName], [a].[TenantId]
FROM [AbpPermissionGrants] AS [a]
WHERE ((@__ef_filter__p_0 = CAST(1 AS bit)) OR [a].[TenantId] IS NULL) AND ((([a].[Name] = @__name_0) AND ([a].[ProviderName] = @__providerName_1)) AND ([a].[ProviderKey] = @__providerKey_2))
ORDER BY [a].[Id]"
2022-11-03 14:10:26.584 G Executed DbCommand ("1"ms) [Parameters=["@__ef_filter__p_0='?' (DbType = Boolean), @__name_0='?' (Size = 128), @__providerName_1='?' (Size = 64), @__providerKey_2='?' (Size = 64)"], CommandType='Text', CommandTimeout='30']"
""SELECT TOP(1) [a].[Id], [a].[Name], [a].[ProviderKey], [a].[ProviderName], [a].[TenantId]
FROM [AbpPermissionGrants] AS [a]
WHERE ((@__ef_filter__p_0 = CAST(1 AS bit)) OR [a].[TenantId] IS NULL) AND ((([a].[Name] = @__name_0) AND ([a].[ProviderName] = @__providerName_1)) AND ([a].[ProviderKey] = @__providerKey_2))
ORDER BY [a].[Id]"
2022-11-03 14:10:26.591 G Executed DbCommand ("1"ms) [Parameters=["@__ef_filter__p_0='?' (DbType = Boolean), @__name_0='?' (Size = 128), @__providerName_1='?' (Size = 64), @__providerKey_2='?' (Size = 64)"], CommandType='Text', CommandTimeout='30']"
""SELECT TOP(1) [a].[Id], [a].[Name], [a].[ProviderKey], [a].[ProviderName], [a].[TenantId]
FROM [AbpPermissionGrants] AS [a]
WHERE ((@__ef_filter__p_0 = CAST(1 AS bit)) OR [a].[TenantId] IS NULL) AND ((([a].[Name] = @__name_0) AND ([a].[ProviderName] = @__providerName_1)) AND ([a].[ProviderKey] = @__providerKey_2))
ORDER BY [a].[Id]"
2022-11-03 14:10:26.596 G Executed DbCommand ("2"ms) [Parameters=["@__ef_filter__p_0='?' (DbType = Boolean), @__name_0='?' (Size = 128), @__providerName_1='?' (Size = 64), @__providerKey_2='?' (Size = 64)"], CommandType='Text', CommandTimeout='30']"
""SELECT TOP(1) [a].[Id], [a].[Name], [a].[ProviderKey], [a].[ProviderName], [a].[TenantId]
FROM [AbpPermissionGrants] AS [a]
WHERE ((@__ef_filter__p_0 = CAST(1 AS bit)) OR [a].[TenantId] IS NULL) AND ((([a].[Name] = @__name_0) AND ([a].[ProviderName] = @__providerName_1)) AND ([a].[ProviderKey] = @__providerKey_2))
ORDER BY [a].[Id]"
2022-11-03 14:10:26.603 G Executed DbCommand ("1"ms) [Parameters=["@__ef_filter__p_0='?' (DbType = Boolean), @__name_0='?' (Size = 128), @__providerName_1='?' (Size = 64), @__providerKey_2='?' (Size = 64)"], CommandType='Text', CommandTimeout='30']"
""SELECT TOP(1) [a].[Id], [a].[Name], [a].[ProviderKey], [a].[ProviderName], [a].[TenantId]
FROM [AbpPermissionGrants] AS [a]
WHERE ((@__ef_filter__p_0 = CAST(1 AS bit)) OR [a].[TenantId] IS NULL) AND ((([a].[Name] = @__name_0) AND ([a].[ProviderName] = @__providerName_1)) AND ([a].[ProviderKey] = @__providerKey_2))
ORDER BY [a].[Id]"
2022-11-03 14:10:26.609 G Executed DbCommand ("1"ms) [Parameters=["@__ef_filter__p_0='?' (DbType = Boolean), @__name_0='?' (Size = 128), @__providerName_1='?' (Size = 64), @__providerKey_2='?' (Size = 64)"], CommandType='Text', CommandTimeout='30']"
""SELECT TOP(1) [a].[Id], [a].[Name], [a].[ProviderKey], [a].[ProviderName], [a].[TenantId]
FROM [AbpPermissionGrants] AS [a]
WHERE ((@__ef_filter__p_0 = CAST(1 AS bit)) OR [a].[TenantId] IS NULL) AND ((([a].[Name] = @__name_0) AND ([a].[ProviderName] = @__providerName_1)) AND ([a].[ProviderKey] = @__providerKey_2))
ORDER BY [a].[Id]"
2022-11-03 14:10:26.614 G Executed DbCommand ("1"ms) [Parameters=["@__ef_filter__p_0='?' (DbType = Boolean), @__name_0='?' (Size = 128), @__providerName_1='?' (Size = 64), @__providerKey_2='?' (Size = 64)"], CommandType='Text', CommandTimeout='30']"
""SELECT TOP(1) [a].[Id], [a].[Name], [a].[ProviderKey], [a].[ProviderName], [a].[TenantId]
FROM [AbpPermissionGrants] AS [a]
WHERE ((@__ef_filter__p_0 = CAST(1 AS bit)) OR [a].[TenantId] IS NULL) AND ((([a].[Name] = @__name_0) AND ([a].[ProviderName] = @__providerName_1)) AND ([a].[ProviderKey] = @__providerKey_2))
ORDER BY [a].[Id]"
2022-11-03 14:10:26.618 G Executed DbCommand ("1"ms) [Parameters=["@__ef_filter__p_0='?' (DbType = Boolean), @__name_0='?' (Size = 128), @__providerName_1='?' (Size = 64), @__providerKey_2='?' (Size = 64)"], CommandType='Text', CommandTimeout='30']"
""SELECT TOP(1) [a].[Id], [a].[Name], [a].[ProviderKey], [a].[ProviderName], [a].[TenantId]
FROM [AbpPermissionGrants] AS [a]
WHERE ((@__ef_filter__p_0 = CAST(1 AS bit)) OR [a].[TenantId] IS NULL) AND ((([a].[Name] = @__name_0) AND ([a].[ProviderName] = @__providerName_1)) AND ([a].[ProviderKey] = @__providerKey_2))
ORDER BY [a].[Id]"
2022-11-03 14:10:26.624 G Executed DbCommand ("1"ms) [Parameters=["@__ef_filter__p_0='?' (DbType = Boolean), @__name_0='?' (Size = 128), @__providerName_1='?' (Size = 64), @__providerKey_2='?' (Size = 64)"], CommandType='Text', CommandTimeout='30']"
""SELECT TOP(1) [a].[Id], [a].[Name], [a].[ProviderKey], [a].[ProviderName], [a].[TenantId]
FROM [AbpPermissionGrants] AS [a]
WHERE ((@__ef_filter__p_0 = CAST(1 AS bit)) OR [a].[TenantId] IS NULL) AND ((([a].[Name] = @__name_0) AND ([a].[ProviderName] = @__providerName_1)) AND ([a].[ProviderKey] = @__providerKey_2))
ORDER BY [a].[Id]"
2022-11-03 14:10:26.627 G Executed DbCommand ("1"ms) [Parameters=["@__ef_filter__p_0='?' (DbType = Boolean), @__name_0='?' (Size = 128), @__providerName_1='?' (Size = 64), @__providerKey_2='?' (Size = 64)"], CommandType='Text', CommandTimeout='30']"
""SELECT TOP(1) [a].[Id], [a].[Name], [a].[ProviderKey], [a].[ProviderName], [a].[TenantId]
FROM [AbpPermissionGrants] AS [a]
WHERE ((@__ef_filter__p_0 = CAST(1 AS bit)) OR [a].[TenantId] IS NULL) AND ((([a].[Name] = @__name_0) AND ([a].[ProviderName] = @__providerName_1)) AND ([a].[ProviderKey] = @__providerKey_2))
ORDER BY [a].[Id]"
2022-11-03 14:10:26.633 G Executed DbCommand ("1"ms) [Parameters=["@__ef_filter__p_0='?' (DbType = Boolean), @__name_0='?' (Size = 128), @__providerName_1='?' (Size = 64), @__providerKey_2='?' (Size = 64)"], CommandType='Text', CommandTimeout='30']"
""SELECT TOP(1) [a].[Id], [a].[Name], [a].[ProviderKey], [a].[ProviderName], [a].[TenantId]
FROM [AbpPermissionGrants] AS [a]
WHERE ((@__ef_filter__p_0 = CAST(1 AS bit)) OR [a].[TenantId] IS NULL) AND ((([a].[Name] = @__name_0) AND ([a].[ProviderName] = @__providerName_1)) AND ([a].[ProviderKey] = @__providerKey_2))
ORDER BY [a].[Id]"
2022-11-03 14:10:26.638 G Executed DbCommand ("1"ms) [Parameters=["@__ef_filter__p_0='?' (DbType = Boolean), @__name_0='?' (Size = 128), @__providerName_1='?' (Size = 64), @__providerKey_2='?' (Size = 64)"], CommandType='Text', CommandTimeout='30']"
""SELECT TOP(1) [a].[Id], [a].[Name], [a].[ProviderKey], [a].[ProviderName], [a].[TenantId]
FROM [AbpPermissionGrants] AS [a]
WHERE ((@__ef_filter__p_0 = CAST(1 AS bit)) OR [a].[TenantId] IS NULL) AND ((([a].[Name] = @__name_0) AND ([a].[ProviderName] = @__providerName_1)) AND ([a].[ProviderKey] = @__providerKey_2))
ORDER BY [a].[Id]"
2022-11-03 14:10:26.644 G Executed DbCommand ("1"ms) [Parameters=["@__ef_filter__p_0='?' (DbType = Boolean), @__name_0='?' (Size = 128), @__providerName_1='?' (Size = 64), @__providerKey_2='?' (Size = 64)"], CommandType='Text', CommandTimeout='30']"
""SELECT TOP(1) [a].[Id], [a].[Name], [a].[ProviderKey], [a].[ProviderName], [a].[TenantId]
FROM [AbpPermissionGrants] AS [a]
WHERE ((@__ef_filter__p_0 = CAST(1 AS bit)) OR [a].[TenantId] IS NULL) AND ((([a].[Name] = @__name_0) AND ([a].[ProviderName] = @__providerName_1)) AND ([a].[ProviderKey] = @__providerKey_2))
ORDER BY [a].[Id]"
2022-11-03 14:10:26.648 G Executed DbCommand ("1"ms) [Parameters=["@__ef_filter__p_0='?' (DbType = Boolean), @__name_0='?' (Size = 128), @__providerName_1='?' (Size = 64), @__providerKey_2='?' (Size = 64)"], CommandType='Text', CommandTimeout='30']"
""SELECT TOP(1) [a].[Id], [a].[Name], [a].[ProviderKey], [a].[ProviderName], [a].[TenantId]
FROM [AbpPermissionGrants] AS [a]
WHERE ((@__ef_filter__p_0 = CAST(1 AS bit)) OR [a].[TenantId] IS NULL) AND ((([a].[Name] = @__name_0) AND ([a].[ProviderName] = @__providerName_1)) AND ([a].[ProviderKey] = @__providerKey_2))
ORDER BY [a].[Id]"
2022-11-03 14:10:26.653 G Executed DbCommand ("1"ms) [Parameters=["@__ef_filter__p_0='?' (DbType = Boolean), @__name_0='?' (Size = 128), @__providerName_1='?' (Size = 64), @__providerKey_2='?' (Size = 64)"], CommandType='Text', CommandTimeout='30']"
""SELECT TOP(1) [a].[Id], [a].[Name], [a].[ProviderKey], [a].[ProviderName], [a].[TenantId]
FROM [AbpPermissionGrants] AS [a]
WHERE ((@__ef_filter__p_0 = CAST(1 AS bit)) OR [a].[TenantId] IS NULL) AND ((([a].[Name] = @__name_0) AND ([a].[ProviderName] = @__providerName_1)) AND ([a].[ProviderKey] = @__providerKey_2))
ORDER BY [a].[Id]"
2022-11-03 14:10:26.657 G Executed DbCommand ("1"ms) [Parameters=["@__ef_filter__p_0='?' (DbType = Boolean), @__name_0='?' (Size = 128), @__providerName_1='?' (Size = 64), @__providerKey_2='?' (Size = 64)"], CommandType='Text', CommandTimeout='30']"
""SELECT TOP(1) [a].[Id], [a].[Name], [a].[ProviderKey], [a].[ProviderName], [a].[TenantId]
FROM [AbpPermissionGrants] AS [a]
WHERE ((@__ef_filter__p_0 = CAST(1 AS bit)) OR [a].[TenantId] IS NULL) AND ((([a].[Name] = @__name_0) AND ([a].[ProviderName] = @__providerName_1)) AND ([a].[ProviderKey] = @__providerKey_2))
ORDER BY [a].[Id]"
2022-11-03 14:10:26.663 G Executed DbCommand ("1"ms) [Parameters=["@__ef_filter__p_0='?' (DbType = Boolean), @__name_0='?' (Size = 128), @__providerName_1='?' (Size = 64), @__providerKey_2='?' (Size = 64)"], CommandType='Text', CommandTimeout='30']"
""SELECT TOP(1) [a].[Id], [a].[Name], [a].[ProviderKey], [a].[ProviderName], [a].[TenantId]
FROM [AbpPermissionGrants] AS [a]
WHERE ((@__ef_filter__p_0 = CAST(1 AS bit)) OR [a].[TenantId] IS NULL) AND ((([a].[Name] = @__name_0) AND ([a].[ProviderName] = @__providerName_1)) AND ([a].[ProviderKey] = @__providerKey_2))
ORDER BY [a].[Id]"
2022-11-03 14:10:26.666 G Executed DbCommand ("1"ms) [Parameters=["@__ef_filter__p_0='?' (DbType = Boolean), @__name_0='?' (Size = 128), @__providerName_1='?' (Size = 64), @__providerKey_2='?' (Size = 64)"], CommandType='Text', CommandTimeout='30']"
""SELECT TOP(1) [a].[Id], [a].[Name], [a].[ProviderKey], [a].[ProviderName], [a].[TenantId]
FROM [AbpPermissionGrants] AS [a]
WHERE ((@__ef_filter__p_0 = CAST(1 AS bit)) OR [a].[TenantId] IS NULL) AND ((([a].[Name] = @__name_0) AND ([a].[ProviderName] = @__providerName_1)) AND ([a].[ProviderKey] = @__providerKey_2))
ORDER BY [a].[Id]"
2022-11-03 14:10:26.674 G Executed DbCommand ("1"ms) [Parameters=["@__ef_filter__p_0='?' (DbType = Boolean), @__name_0='?' (Size = 128), @__providerName_1='?' (Size = 64), @__providerKey_2='?' (Size = 64)"], CommandType='Text', CommandTimeout='30']"
""SELECT TOP(1) [a].[Id], [a].[Name], [a].[ProviderKey], [a].[ProviderName], [a].[TenantId]
FROM [AbpPermissionGrants] AS [a]
WHERE ((@__ef_filter__p_0 = CAST(1 AS bit)) OR [a].[TenantId] IS NULL) AND ((([a].[Name] = @__name_0) AND ([a].[ProviderName] = @__providerName_1)) AND ([a].[ProviderKey] = @__providerKey_2))
ORDER BY [a].[Id]"
2022-11-03 14:10:26.681 G Executed DbCommand ("1"ms) [Parameters=["@__ef_filter__p_0='?' (DbType = Boolean), @__name_0='?' (Size = 128), @__providerName_1='?' (Size = 64), @__providerKey_2='?' (Size = 64)"], CommandType='Text', CommandTimeout='30']"
""SELECT TOP(1) [a].[Id], [a].[Name], [a].[ProviderKey], [a].[ProviderName], [a].[TenantId]
FROM [AbpPermissionGrants] AS [a]
WHERE ((@__ef_filter__p_0 = CAST(1 AS bit)) OR [a].[TenantId] IS NULL) AND ((([a].[Name] = @__name_0) AND ([a].[ProviderName] = @__providerName_1)) AND ([a].[ProviderKey] = @__providerKey_2))
ORDER BY [a].[Id]"
2022-11-03 14:10:26.684 G Executed DbCommand ("1"ms) [Parameters=["@__ef_filter__p_0='?' (DbType = Boolean), @__name_0='?' (Size = 128), @__providerName_1='?' (Size = 64), @__providerKey_2='?' (Size = 64)"], CommandType='Text', CommandTimeout='30']"
""SELECT TOP(1) [a].[Id], [a].[Name], [a].[ProviderKey], [a].[ProviderName], [a].[TenantId]
FROM [AbpPermissionGrants] AS [a]
WHERE ((@__ef_filter__p_0 = CAST(1 AS bit)) OR [a].[TenantId] IS NULL) AND ((([a].[Name] = @__name_0) AND ([a].[ProviderName] = @__providerName_1)) AND ([a].[ProviderKey] = @__providerKey_2))
ORDER BY [a].[Id]"
2022-11-03 14:10:26.691 G Executed DbCommand ("1"ms) [Parameters=["@__ef_filter__p_0='?' (DbType = Boolean), @__name_0='?' (Size = 128), @__providerName_1='?' (Size = 64), @__providerKey_2='?' (Size = 64)"], CommandType='Text', CommandTimeout='30']"
""SELECT TOP(1) [a].[Id], [a].[Name], [a].[ProviderKey], [a].[ProviderName], [a].[TenantId]
FROM [AbpPermissionGrants] AS [a]
WHERE ((@__ef_filter__p_0 = CAST(1 AS bit)) OR [a].[TenantId] IS NULL) AND ((([a].[Name] = @__name_0) AND ([a].[ProviderName] = @__providerName_1)) AND ([a].[ProviderKey] = @__providerKey_2))
ORDER BY [a].[Id]"
2022-11-03 14:10:26.695 G Executed DbCommand ("1"ms) [Parameters=["@__ef_filter__p_0='?' (DbType = Boolean), @__name_0='?' (Size = 128), @__providerName_1='?' (Size = 64), @__providerKey_2='?' (Size = 64)"], CommandType='Text', CommandTimeout='30']"
""SELECT TOP(1) [a].[Id], [a].[Name], [a].[ProviderKey], [a].[ProviderName], [a].[TenantId]
FROM [AbpPermissionGrants] AS [a]
WHERE ((@__ef_filter__p_0 = CAST(1 AS bit)) OR [a].[TenantId] IS NULL) AND ((([a].[Name] = @__name_0) AND ([a].[ProviderName] = @__providerName_1)) AND ([a].[ProviderKey] = @__providerKey_2))
ORDER BY [a].[Id]"
2022-11-03 14:10:26.700 G Executed DbCommand ("1"ms) [Parameters=["@__ef_filter__p_0='?' (DbType = Boolean), @__name_0='?' (Size = 128), @__providerName_1='?' (Size = 64), @__providerKey_2='?' (Size = 64)"], CommandType='Text', CommandTimeout='30']"
""SELECT TOP(1) [a].[Id], [a].[Name], [a].[ProviderKey], [a].[ProviderName], [a].[TenantId]
FROM [AbpPermissionGrants] AS [a]
WHERE ((@__ef_filter__p_0 = CAST(1 AS bit)) OR [a].[TenantId] IS NULL) AND ((([a].[Name] = @__name_0) AND ([a].[ProviderName] = @__providerName_1)) AND ([a].[ProviderKey] = @__providerKey_2))
ORDER BY [a].[Id]"
2022-11-03 14:10:26.705 G Executed DbCommand ("1"ms) [Parameters=["@__ef_filter__p_0='?' (DbType = Boolean), @__name_0='?' (Size = 128), @__providerName_1='?' (Size = 64), @__providerKey_2='?' (Size = 64)"], CommandType='Text', CommandTimeout='30']"
""SELECT TOP(1) [a].[Id], [a].[Name], [a].[ProviderKey], [a].[ProviderName], [a].[TenantId]
FROM [AbpPermissionGrants] AS [a]
WHERE ((@__ef_filter__p_0 = CAST(1 AS bit)) OR [a].[TenantId] IS NULL) AND ((([a].[Name] = @__name_0) AND ([a].[ProviderName] = @__providerName_1)) AND ([a].[ProviderKey] = @__providerKey_2))
ORDER BY [a].[Id]"
2022-11-03 14:10:26.711 G Executed DbCommand ("1"ms) [Parameters=["@__ef_filter__p_0='?' (DbType = Boolean), @__name_0='?' (Size = 128), @__providerName_1='?' (Size = 64), @__providerKey_2='?' (Size = 64)"], CommandType='Text', CommandTimeout='30']"
""SELECT TOP(1) [a].[Id], [a].[Name], [a].[ProviderKey], [a].[ProviderName], [a].[TenantId]
FROM [AbpPermissionGrants] AS [a]
WHERE ((@__ef_filter__p_0 = CAST(1 AS bit)) OR [a].[TenantId] IS NULL) AND ((([a].[Name] = @__name_0) AND ([a].[ProviderName] = @__providerName_1)) AND ([a].[ProviderKey] = @__providerKey_2))
ORDER BY [a].[Id]"
2022-11-03 14:10:26.716 G Executed DbCommand ("1"ms) [Parameters=["@__ef_filter__p_0='?' (DbType = Boolean), @__name_0='?' (Size = 128), @__providerName_1='?' (Size = 64), @__providerKey_2='?' (Size = 64)"], CommandType='Text', CommandTimeout='30']"
""SELECT TOP(1) [a].[Id], [a].[Name], [a].[ProviderKey], [a].[ProviderName], [a].[TenantId]
FROM [AbpPermissionGrants] AS [a]
WHERE ((@__ef_filter__p_0 = CAST(1 AS bit)) OR [a].[TenantId] IS NULL) AND ((([a].[Name] = @__name_0) AND ([a].[ProviderName] = @__providerName_1)) AND ([a].[ProviderKey] = @__providerKey_2))
ORDER BY [a].[Id]"
2022-11-03 14:10:26.721 G Executed DbCommand ("1"ms) [Parameters=["@__ef_filter__p_0='?' (DbType = Boolean), @__name_0='?' (Size = 128), @__providerName_1='?' (Size = 64), @__providerKey_2='?' (Size = 64)"], CommandType='Text', CommandTimeout='30']"
""SELECT TOP(1) [a].[Id], [a].[Name], [a].[ProviderKey], [a].[ProviderName], [a].[TenantId]
FROM [AbpPermissionGrants] AS [a]
WHERE ((@__ef_filter__p_0 = CAST(1 AS bit)) OR [a].[TenantId] IS NULL) AND ((([a].[Name] = @__name_0) AND ([a].[ProviderName] = @__providerName_1)) AND ([a].[ProviderKey] = @__providerKey_2))
ORDER BY [a].[Id]"
2022-11-03 14:10:26.725 G Executed DbCommand ("1"ms) [Parameters=["@__ef_filter__p_0='?' (DbType = Boolean), @__name_0='?' (Size = 128), @__providerName_1='?' (Size = 64), @__providerKey_2='?' (Size = 64)"], CommandType='Text', CommandTimeout='30']"
""SELECT TOP(1) [a].[Id], [a].[Name], [a].[ProviderKey], [a].[ProviderName], [a].[TenantId]
FROM [AbpPermissionGrants] AS [a]
WHERE ((@__ef_filter__p_0 = CAST(1 AS bit)) OR [a].[TenantId] IS NULL) AND ((([a].[Name] = @__name_0) AND ([a].[ProviderName] = @__providerName_1)) AND ([a].[ProviderKey] = @__providerKey_2))
ORDER BY [a].[Id]"
2022-11-03 14:10:26.730 G Executed DbCommand ("1"ms) [Parameters=["@__ef_filter__p_0='?' (DbType = Boolean), @__name_0='?' (Size = 128), @__providerName_1='?' (Size = 64), @__providerKey_2='?' (Size = 64)"], CommandType='Text', CommandTimeout='30']"
""SELECT TOP(1) [a].[Id], [a].[Name], [a].[ProviderKey], [a].[ProviderName], [a].[TenantId]
FROM [AbpPermissionGrants] AS [a]
WHERE ((@__ef_filter__p_0 = CAST(1 AS bit)) OR [a].[TenantId] IS NULL) AND ((([a].[Name] = @__name_0) AND ([a].[ProviderName] = @__providerName_1)) AND ([a].[ProviderKey] = @__providerKey_2))
ORDER BY [a].[Id]"
2022-11-03 14:10:26.735 G Executed DbCommand ("1"ms) [Parameters=["@__ef_filter__p_0='?' (DbType = Boolean), @__name_0='?' (Size = 128), @__providerName_1='?' (Size = 64), @__providerKey_2='?' (Size = 64)"], CommandType='Text', CommandTimeout='30']"
""SELECT TOP(1) [a].[Id], [a].[Name], [a].[ProviderKey], [a].[ProviderName], [a].[TenantId]
FROM [AbpPermissionGrants] AS [a]
WHERE ((@__ef_filter__p_0 = CAST(1 AS bit)) OR [a].[TenantId] IS NULL) AND ((([a].[Name] = @__name_0) AND ([a].[ProviderName] = @__providerName_1)) AND ([a].[ProviderKey] = @__providerKey_2))
ORDER BY [a].[Id]"
2022-11-03 14:10:26.742 G Executed DbCommand ("1"ms) [Parameters=["@__ef_filter__p_0='?' (DbType = Boolean), @__name_0='?' (Size = 128), @__providerName_1='?' (Size = 64), @__providerKey_2='?' (Size = 64)"], CommandType='Text', CommandTimeout='30']"
""SELECT TOP(1) [a].[Id], [a].[Name], [a].[ProviderKey], [a].[ProviderName], [a].[TenantId]
FROM [AbpPermissionGrants] AS [a]
WHERE ((@__ef_filter__p_0 = CAST(1 AS bit)) OR [a].[TenantId] IS NULL) AND ((([a].[Name] = @__name_0) AND ([a].[ProviderName] = @__providerName_1)) AND ([a].[ProviderKey] = @__providerKey_2))
ORDER BY [a].[Id]"
2022-11-03 14:10:26.747 G Executed DbCommand ("1"ms) [Parameters=["@__ef_filter__p_0='?' (DbType = Boolean), @__name_0='?' (Size = 128), @__providerName_1='?' (Size = 64), @__providerKey_2='?' (Size = 64)"], CommandType='Text', CommandTimeout='30']"
""SELECT TOP(1) [a].[Id], [a].[Name], [a].[ProviderKey], [a].[ProviderName], [a].[TenantId]
FROM [AbpPermissionGrants] AS [a]
WHERE ((@__ef_filter__p_0 = CAST(1 AS bit)) OR [a].[TenantId] IS NULL) AND ((([a].[Name] = @__name_0) AND ([a].[ProviderName] = @__providerName_1)) AND ([a].[ProviderKey] = @__providerKey_2))
ORDER BY [a].[Id]"
2022-11-03 14:10:26.754 G Executed DbCommand ("1"ms) [Parameters=["@__ef_filter__p_0='?' (DbType = Boolean), @__name_0='?' (Size = 128), @__providerName_1='?' (Size = 64), @__providerKey_2='?' (Size = 64)"], CommandType='Text', CommandTimeout='30']"
""SELECT TOP(1) [a].[Id], [a].[Name], [a].[ProviderKey], [a].[ProviderName], [a].[TenantId]
FROM [AbpPermissionGrants] AS [a]
WHERE ((@__ef_filter__p_0 = CAST(1 AS bit)) OR [a].[TenantId] IS NULL) AND ((([a].[Name] = @__name_0) AND ([a].[ProviderName] = @__providerName_1)) AND ([a].[ProviderKey] = @__providerKey_2))
ORDER BY [a].[Id]"
2022-11-03 14:10:26.763 G Executed DbCommand ("1"ms) [Parameters=["@__ef_filter__p_0='?' (DbType = Boolean), @__name_0='?' (Size = 128), @__providerName_1='?' (Size = 64), @__providerKey_2='?' (Size = 64)"], CommandType='Text', CommandTimeout='30']"
""SELECT TOP(1) [a].[Id], [a].[Name], [a].[ProviderKey], [a].[ProviderName], [a].[TenantId]
FROM [AbpPermissionGrants] AS [a]
WHERE ((@__ef_filter__p_0 = CAST(1 AS bit)) OR [a].[TenantId] IS NULL) AND ((([a].[Name] = @__name_0) AND ([a].[ProviderName] = @__providerName_1)) AND ([a].[ProviderKey] = @__providerKey_2))
ORDER BY [a].[Id]"
2022-11-03 14:10:26.775 G Executed DbCommand ("1"ms) [Parameters=["@__ef_filter__p_0='?' (DbType = Boolean), @__name_0='?' (Size = 128), @__providerName_1='?' (Size = 64), @__providerKey_2='?' (Size = 64)"], CommandType='Text', CommandTimeout='30']"
""SELECT TOP(1) [a].[Id], [a].[Name], [a].[ProviderKey], [a].[ProviderName], [a].[TenantId]
FROM [AbpPermissionGrants] AS [a]
WHERE ((@__ef_filter__p_0 = CAST(1 AS bit)) OR [a].[TenantId] IS NULL) AND ((([a].[Name] = @__name_0) AND ([a].[ProviderName] = @__providerName_1)) AND ([a].[ProviderKey] = @__providerKey_2))
ORDER BY [a].[Id]"
2022-11-03 14:10:26.786 G Executed DbCommand ("2"ms) [Parameters=["@__ef_filter__p_0='?' (DbType = Boolean), @__name_0='?' (Size = 128), @__providerName_1='?' (Size = 64), @__providerKey_2='?' (Size = 64)"], CommandType='Text', CommandTimeout='30']"
""SELECT TOP(1) [a].[Id], [a].[Name], [a].[ProviderKey], [a].[ProviderName], [a].[TenantId]
FROM [AbpPermissionGrants] AS [a]
WHERE ((@__ef_filter__p_0 = CAST(1 AS bit)) OR [a].[TenantId] IS NULL) AND ((([a].[Name] = @__name_0) AND ([a].[ProviderName] = @__providerName_1)) AND ([a].[ProviderKey] = @__providerKey_2))
ORDER BY [a].[Id]"
2022-11-03 14:10:26.794 G Executed DbCommand ("2"ms) [Parameters=["@__ef_filter__p_0='?' (DbType = Boolean), @__name_0='?' (Size = 128), @__providerName_1='?' (Size = 64), @__providerKey_2='?' (Size = 64)"], CommandType='Text', CommandTimeout='30']"
""SELECT TOP(1) [a].[Id], [a].[Name], [a].[ProviderKey], [a].[ProviderName], [a].[TenantId]
FROM [AbpPermissionGrants] AS [a]
WHERE ((@__ef_filter__p_0 = CAST(1 AS bit)) OR [a].[TenantId] IS NULL) AND ((([a].[Name] = @__name_0) AND ([a].[ProviderName] = @__providerName_1)) AND ([a].[ProviderKey] = @__providerKey_2))
ORDER BY [a].[Id]"
2022-11-03 14:10:26.805 G Executed DbCommand ("1"ms) [Parameters=["@__ef_filter__p_0='?' (DbType = Boolean), @__name_0='?' (Size = 128), @__providerName_1='?' (Size = 64), @__providerKey_2='?' (Size = 64)"], CommandType='Text', CommandTimeout='30']"
""SELECT TOP(1) [a].[Id], [a].[Name], [a].[ProviderKey], [a].[ProviderName], [a].[TenantId]
FROM [AbpPermissionGrants] AS [a]
WHERE ((@__ef_filter__p_0 = CAST(1 AS bit)) OR [a].[TenantId] IS NULL) AND ((([a].[Name] = @__name_0) AND ([a].[ProviderName] = @__providerName_1)) AND ([a].[ProviderKey] = @__providerKey_2))
ORDER BY [a].[Id]"
2022-11-03 14:10:26.811 G Executed DbCommand ("1"ms) [Parameters=["@__ef_filter__p_0='?' (DbType = Boolean), @__name_0='?' (Size = 128), @__providerName_1='?' (Size = 64), @__providerKey_2='?' (Size = 64)"], CommandType='Text', CommandTimeout='30']"
""SELECT TOP(1) [a].[Id], [a].[Name], [a].[ProviderKey], [a].[ProviderName], [a].[TenantId]
FROM [AbpPermissionGrants] AS [a]
WHERE ((@__ef_filter__p_0 = CAST(1 AS bit)) OR [a].[TenantId] IS NULL) AND ((([a].[Name] = @__name_0) AND ([a].[ProviderName] = @__providerName_1)) AND ([a].[ProviderKey] = @__providerKey_2))
ORDER BY [a].[Id]"
2022-11-03 14:10:26.822 G Executed DbCommand ("1"ms) [Parameters=["@__ef_filter__p_0='?' (DbType = Boolean), @__name_0='?' (Size = 128), @__providerName_1='?' (Size = 64), @__providerKey_2='?' (Size = 64)"], CommandType='Text', CommandTimeout='30']"
""SELECT TOP(1) [a].[Id], [a].[Name], [a].[ProviderKey], [a].[ProviderName], [a].[TenantId]
FROM [AbpPermissionGrants] AS [a]
WHERE ((@__ef_filter__p_0 = CAST(1 AS bit)) OR [a].[TenantId] IS NULL) AND ((([a].[Name] = @__name_0) AND ([a].[ProviderName] = @__providerName_1)) AND ([a].[ProviderKey] = @__providerKey_2))
ORDER BY [a].[Id]"
2022-11-03 14:10:26.831 G Executed DbCommand ("1"ms) [Parameters=["@__ef_filter__p_0='?' (DbType = Boolean), @__name_0='?' (Size = 128), @__providerName_1='?' (Size = 64), @__providerKey_2='?' (Size = 64)"], CommandType='Text', CommandTimeout='30']"
""SELECT TOP(1) [a].[Id], [a].[Name], [a].[ProviderKey], [a].[ProviderName], [a].[TenantId]
FROM [AbpPermissionGrants] AS [a]
WHERE ((@__ef_filter__p_0 = CAST(1 AS bit)) OR [a].[TenantId] IS NULL) AND ((([a].[Name] = @__name_0) AND ([a].[ProviderName] = @__providerName_1)) AND ([a].[ProviderKey] = @__providerKey_2))
ORDER BY [a].[Id]"
2022-11-03 14:10:26.836 G Executed DbCommand ("1"ms) [Parameters=["@__ef_filter__p_0='?' (DbType = Boolean), @__name_0='?' (Size = 128), @__providerName_1='?' (Size = 64), @__providerKey_2='?' (Size = 64)"], CommandType='Text', CommandTimeout='30']"
""SELECT TOP(1) [a].[Id], [a].[Name], [a].[ProviderKey], [a].[ProviderName], [a].[TenantId]
FROM [AbpPermissionGrants] AS [a]
WHERE ((@__ef_filter__p_0 = CAST(1 AS bit)) OR [a].[TenantId] IS NULL) AND ((([a].[Name] = @__name_0) AND ([a].[ProviderName] = @__providerName_1)) AND ([a].[ProviderKey] = @__providerKey_2))
ORDER BY [a].[Id]"
2022-11-03 14:10:26.843 G Executed DbCommand ("1"ms) [Parameters=["@__ef_filter__p_0='?' (DbType = Boolean), @__name_0='?' (Size = 128), @__providerName_1='?' (Size = 64), @__providerKey_2='?' (Size = 64)"], CommandType='Text', CommandTimeout='30']"
""SELECT TOP(1) [a].[Id], [a].[Name], [a].[ProviderKey], [a].[ProviderName], [a].[TenantId]
FROM [AbpPermissionGrants] AS [a]
WHERE ((@__ef_filter__p_0 = CAST(1 AS bit)) OR [a].[TenantId] IS NULL) AND ((([a].[Name] = @__name_0) AND ([a].[ProviderName] = @__providerName_1)) AND ([a].[ProviderKey] = @__providerKey_2))
ORDER BY [a].[Id]"
2022-11-03 14:10:26.851 G Executed DbCommand ("1"ms) [Parameters=["@__ef_filter__p_0='?' (DbType = Boolean), @__name_0='?' (Size = 128), @__providerName_1='?' (Size = 64), @__providerKey_2='?' (Size = 64)"], CommandType='Text', CommandTimeout='30']"
""SELECT TOP(1) [a].[Id], [a].[Name], [a].[ProviderKey], [a].[ProviderName], [a].[TenantId]
FROM [AbpPermissionGrants] AS [a]
WHERE ((@__ef_filter__p_0 = CAST(1 AS bit)) OR [a].[TenantId] IS NULL) AND ((([a].[Name] = @__name_0) AND ([a].[ProviderName] = @__providerName_1)) AND ([a].[ProviderKey] = @__providerKey_2))
ORDER BY [a].[Id]"
2022-11-03 14:10:26.856 G Executed DbCommand ("1"ms) [Parameters=["@__ef_filter__p_0='?' (DbType = Boolean), @__name_0='?' (Size = 128), @__providerName_1='?' (Size = 64), @__providerKey_2='?' (Size = 64)"], CommandType='Text', CommandTimeout='30']"
""SELECT TOP(1) [a].[Id], [a].[Name], [a].[ProviderKey], [a].[ProviderName], [a].[TenantId]
FROM [AbpPermissionGrants] AS [a]
WHERE ((@__ef_filter__p_0 = CAST(1 AS bit)) OR [a].[TenantId] IS NULL) AND ((([a].[Name] = @__name_0) AND ([a].[ProviderName] = @__providerName_1)) AND ([a].[ProviderKey] = @__providerKey_2))
ORDER BY [a].[Id]"
2022-11-03 14:10:26.864 G Executed DbCommand ("1"ms) [Parameters=["@__ef_filter__p_0='?' (DbType = Boolean), @__name_0='?' (Size = 128), @__providerName_1='?' (Size = 64), @__providerKey_2='?' (Size = 64)"], CommandType='Text', CommandTimeout='30']"
""SELECT TOP(1) [a].[Id], [a].[Name], [a].[ProviderKey], [a].[ProviderName], [a].[TenantId]
FROM [AbpPermissionGrants] AS [a]
WHERE ((@__ef_filter__p_0 = CAST(1 AS bit)) OR [a].[TenantId] IS NULL) AND ((([a].[Name] = @__name_0) AND ([a].[ProviderName] = @__providerName_1)) AND ([a].[ProviderKey] = @__providerKey_2))
ORDER BY [a].[Id]"
2022-11-03 14:10:26.872 G Executed DbCommand ("1"ms) [Parameters=["@__ef_filter__p_0='?' (DbType = Boolean), @__name_0='?' (Size = 128), @__providerName_1='?' (Size = 64), @__providerKey_2='?' (Size = 64)"], CommandType='Text', CommandTimeout='30']"
""SELECT TOP(1) [a].[Id], [a].[Name], [a].[ProviderKey], [a].[ProviderName], [a].[TenantId]
FROM [AbpPermissionGrants] AS [a]
WHERE ((@__ef_filter__p_0 = CAST(1 AS bit)) OR [a].[TenantId] IS NULL) AND ((([a].[Name] = @__name_0) AND ([a].[ProviderName] = @__providerName_1)) AND ([a].[ProviderKey] = @__providerKey_2))
ORDER BY [a].[Id]"
2022-11-03 14:10:26.880 G Executed DbCommand ("1"ms) [Parameters=["@__ef_filter__p_0='?' (DbType = Boolean), @__name_0='?' (Size = 128), @__providerName_1='?' (Size = 64), @__providerKey_2='?' (Size = 64)"], CommandType='Text', CommandTimeout='30']"
""SELECT TOP(1) [a].[Id], [a].[Name], [a].[ProviderKey], [a].[ProviderName], [a].[TenantId]
FROM [AbpPermissionGrants] AS [a]
WHERE ((@__ef_filter__p_0 = CAST(1 AS bit)) OR [a].[TenantId] IS NULL) AND ((([a].[Name] = @__name_0) AND ([a].[ProviderName] = @__providerName_1)) AND ([a].[ProviderKey] = @__providerKey_2))
ORDER BY [a].[Id]"
2022-11-03 14:10:26.887 G Executed DbCommand ("1"ms) [Parameters=["@__ef_filter__p_0='?' (DbType = Boolean), @__name_0='?' (Size = 128), @__providerName_1='?' (Size = 64), @__providerKey_2='?' (Size = 64)"], CommandType='Text', CommandTimeout='30']"
""SELECT TOP(1) [a].[Id], [a].[Name], [a].[ProviderKey], [a].[ProviderName], [a].[TenantId]
FROM [AbpPermissionGrants] AS [a]
WHERE ((@__ef_filter__p_0 = CAST(1 AS bit)) OR [a].[TenantId] IS NULL) AND ((([a].[Name] = @__name_0) AND ([a].[ProviderName] = @__providerName_1)) AND ([a].[ProviderKey] = @__providerKey_2))
ORDER BY [a].[Id]"
2022-11-03 14:10:26.898 G Executed DbCommand ("1"ms) [Parameters=["@__ef_filter__p_0='?' (DbType = Boolean), @__name_0='?' (Size = 128), @__providerName_1='?' (Size = 64), @__providerKey_2='?' (Size = 64)"], CommandType='Text', CommandTimeout='30']"
""SELECT TOP(1) [a].[Id], [a].[Name], [a].[ProviderKey], [a].[ProviderName], [a].[TenantId]
FROM [AbpPermissionGrants] AS [a]
WHERE ((@__ef_filter__p_0 = CAST(1 AS bit)) OR [a].[TenantId] IS NULL) AND ((([a].[Name] = @__name_0) AND ([a].[ProviderName] = @__providerName_1)) AND ([a].[ProviderKey] = @__providerKey_2))
ORDER BY [a].[Id]"
2022-11-03 14:10:26.904 G Executed DbCommand ("1"ms) [Parameters=["@__ef_filter__p_0='?' (DbType = Boolean), @__name_0='?' (Size = 128), @__providerName_1='?' (Size = 64), @__providerKey_2='?' (Size = 64)"], CommandType='Text', CommandTimeout='30']"
""SELECT TOP(1) [a].[Id], [a].[Name], [a].[ProviderKey], [a].[ProviderName], [a].[TenantId]
FROM [AbpPermissionGrants] AS [a]
WHERE ((@__ef_filter__p_0 = CAST(1 AS bit)) OR [a].[TenantId] IS NULL) AND ((([a].[Name] = @__name_0) AND ([a].[ProviderName] = @__providerName_1)) AND ([a].[ProviderKey] = @__providerKey_2))
ORDER BY [a].[Id]"
2022-11-03 14:10:26.912 G Executed DbCommand ("1"ms) [Parameters=["@__ef_filter__p_0='?' (DbType = Boolean), @__name_0='?' (Size = 128), @__providerName_1='?' (Size = 64), @__providerKey_2='?' (Size = 64)"], CommandType='Text', CommandTimeout='30']"
""SELECT TOP(1) [a].[Id], [a].[Name], [a].[ProviderKey], [a].[ProviderName], [a].[TenantId]
FROM [AbpPermissionGrants] AS [a]
WHERE ((@__ef_filter__p_0 = CAST(1 AS bit)) OR [a].[TenantId] IS NULL) AND ((([a].[Name] = @__name_0) AND ([a].[ProviderName] = @__providerName_1)) AND ([a].[ProviderKey] = @__providerKey_2))
ORDER BY [a].[Id]"
2022-11-03 14:10:26.917 G Executed DbCommand ("1"ms) [Parameters=["@__ef_filter__p_0='?' (DbType = Boolean), @__name_0='?' (Size = 128), @__providerName_1='?' (Size = 64), @__providerKey_2='?' (Size = 64)"], CommandType='Text', CommandTimeout='30']"
""SELECT TOP(1) [a].[Id], [a].[Name], [a].[ProviderKey], [a].[ProviderName], [a].[TenantId]
FROM [AbpPermissionGrants] AS [a]
WHERE ((@__ef_filter__p_0 = CAST(1 AS bit)) OR [a].[TenantId] IS NULL) AND ((([a].[Name] = @__name_0) AND ([a].[ProviderName] = @__providerName_1)) AND ([a].[ProviderKey] = @__providerKey_2))
ORDER BY [a].[Id]"
2022-11-03 14:10:26.926 G Executed DbCommand ("1"ms) [Parameters=["@__ef_filter__p_0='?' (DbType = Boolean), @__name_0='?' (Size = 128), @__providerName_1='?' (Size = 64), @__providerKey_2='?' (Size = 64)"], CommandType='Text', CommandTimeout='30']"
""SELECT TOP(1) [a].[Id], [a].[Name], [a].[ProviderKey], [a].[ProviderName], [a].[TenantId]
FROM [AbpPermissionGrants] AS [a]
WHERE ((@__ef_filter__p_0 = CAST(1 AS bit)) OR [a].[TenantId] IS NULL) AND ((([a].[Name] = @__name_0) AND ([a].[ProviderName] = @__providerName_1)) AND ([a].[ProviderKey] = @__providerKey_2))
ORDER BY [a].[Id]"
2022-11-03 14:10:26.932 G Executed DbCommand ("1"ms) [Parameters=["@__ef_filter__p_0='?' (DbType = Boolean), @__name_0='?' (Size = 128), @__providerName_1='?' (Size = 64), @__providerKey_2='?' (Size = 64)"], CommandType='Text', CommandTimeout='30']"
""SELECT TOP(1) [a].[Id], [a].[Name], [a].[ProviderKey], [a].[ProviderName], [a].[TenantId]
FROM [AbpPermissionGrants] AS [a]
WHERE ((@__ef_filter__p_0 = CAST(1 AS bit)) OR [a].[TenantId] IS NULL) AND ((([a].[Name] = @__name_0) AND ([a].[ProviderName] = @__providerName_1)) AND ([a].[ProviderKey] = @__providerKey_2))
ORDER BY [a].[Id]"
2022-11-03 14:10:26.939 G Executed DbCommand ("1"ms) [Parameters=["@__ef_filter__p_0='?' (DbType = Boolean), @__name_0='?' (Size = 128), @__providerName_1='?' (Size = 64), @__providerKey_2='?' (Size = 64)"], CommandType='Text', CommandTimeout='30']"
""SELECT TOP(1) [a].[Id], [a].[Name], [a].[ProviderKey], [a].[ProviderName], [a].[TenantId]
FROM [AbpPermissionGrants] AS [a]
WHERE ((@__ef_filter__p_0 = CAST(1 AS bit)) OR [a].[TenantId] IS NULL) AND ((([a].[Name] = @__name_0) AND ([a].[ProviderName] = @__providerName_1)) AND ([a].[ProviderKey] = @__providerKey_2))
ORDER BY [a].[Id]"
2022-11-03 14:10:26.945 G Executed DbCommand ("1"ms) [Parameters=["@__ef_filter__p_0='?' (DbType = Boolean), @__name_0='?' (Size = 128), @__providerName_1='?' (Size = 64), @__providerKey_2='?' (Size = 64)"], CommandType='Text', CommandTimeout='30']"
""SELECT TOP(1) [a].[Id], [a].[Name], [a].[ProviderKey], [a].[ProviderName], [a].[TenantId]
FROM [AbpPermissionGrants] AS [a]
WHERE ((@__ef_filter__p_0 = CAST(1 AS bit)) OR [a].[TenantId] IS NULL) AND ((([a].[Name] = @__name_0) AND ([a].[ProviderName] = @__providerName_1)) AND ([a].[ProviderKey] = @__providerKey_2))
ORDER BY [a].[Id]"
2022-11-03 14:10:26.950 G Executed DbCommand ("1"ms) [Parameters=["@__ef_filter__p_0='?' (DbType = Boolean), @__name_0='?' (Size = 128), @__providerName_1='?' (Size = 64), @__providerKey_2='?' (Size = 64)"], CommandType='Text', CommandTimeout='30']"
""SELECT TOP(1) [a].[Id], [a].[Name], [a].[ProviderKey], [a].[ProviderName], [a].[TenantId]
FROM [AbpPermissionGrants] AS [a]
WHERE ((@__ef_filter__p_0 = CAST(1 AS bit)) OR [a].[TenantId] IS NULL) AND ((([a].[Name] = @__name_0) AND ([a].[ProviderName] = @__providerName_1)) AND ([a].[ProviderKey] = @__providerKey_2))
ORDER BY [a].[Id]"
2022-11-03 14:10:26.957 G Executed DbCommand ("1"ms) [Parameters=["@__ef_filter__p_0='?' (DbType = Boolean), @__name_0='?' (Size = 128), @__providerName_1='?' (Size = 64), @__providerKey_2='?' (Size = 64)"], CommandType='Text', CommandTimeout='30']"
""SELECT TOP(1) [a].[Id], [a].[Name], [a].[ProviderKey], [a].[ProviderName], [a].[TenantId]
FROM [AbpPermissionGrants] AS [a]
WHERE ((@__ef_filter__p_0 = CAST(1 AS bit)) OR [a].[TenantId] IS NULL) AND ((([a].[Name] = @__name_0) AND ([a].[ProviderName] = @__providerName_1)) AND ([a].[ProviderKey] = @__providerKey_2))
ORDER BY [a].[Id]"
2022-11-03 14:10:26.963 G Executed DbCommand ("1"ms) [Parameters=["@__ef_filter__p_0='?' (DbType = Boolean), @__name_0='?' (Size = 128), @__providerName_1='?' (Size = 64), @__providerKey_2='?' (Size = 64)"], CommandType='Text', CommandTimeout='30']"
""SELECT TOP(1) [a].[Id], [a].[Name], [a].[ProviderKey], [a].[ProviderName], [a].[TenantId]
FROM [AbpPermissionGrants] AS [a]
WHERE ((@__ef_filter__p_0 = CAST(1 AS bit)) OR [a].[TenantId] IS NULL) AND ((([a].[Name] = @__name_0) AND ([a].[ProviderName] = @__providerName_1)) AND ([a].[ProviderKey] = @__providerKey_2))
ORDER BY [a].[Id]"
2022-11-03 14:10:26.967 G Executed DbCommand ("1"ms) [Parameters=["@__ef_filter__p_0='?' (DbType = Boolean), @__name_0='?' (Size = 128), @__providerName_1='?' (Size = 64), @__providerKey_2='?' (Size = 64)"], CommandType='Text', CommandTimeout='30']"
""SELECT TOP(1) [a].[Id], [a].[Name], [a].[ProviderKey], [a].[ProviderName], [a].[TenantId]
FROM [AbpPermissionGrants] AS [a]
WHERE ((@__ef_filter__p_0 = CAST(1 AS bit)) OR [a].[TenantId] IS NULL) AND ((([a].[Name] = @__name_0) AND ([a].[ProviderName] = @__providerName_1)) AND ([a].[ProviderKey] = @__providerKey_2))
ORDER BY [a].[Id]"
2022-11-03 14:10:26.975 G Executed DbCommand ("1"ms) [Parameters=["@__ef_filter__p_0='?' (DbType = Boolean), @__name_0='?' (Size = 128), @__providerName_1='?' (Size = 64), @__providerKey_2='?' (Size = 64)"], CommandType='Text', CommandTimeout='30']"
""SELECT TOP(1) [a].[Id], [a].[Name], [a].[ProviderKey], [a].[ProviderName], [a].[TenantId]
FROM [AbpPermissionGrants] AS [a]
WHERE ((@__ef_filter__p_0 = CAST(1 AS bit)) OR [a].[TenantId] IS NULL) AND ((([a].[Name] = @__name_0) AND ([a].[ProviderName] = @__providerName_1)) AND ([a].[ProviderKey] = @__providerKey_2))
ORDER BY [a].[Id]"
2022-11-03 14:10:26.980 G Executed DbCommand ("2"ms) [Parameters=["@__ef_filter__p_0='?' (DbType = Boolean), @__name_0='?' (Size = 128), @__providerName_1='?' (Size = 64), @__providerKey_2='?' (Size = 64)"], CommandType='Text', CommandTimeout='30']"
""SELECT TOP(1) [a].[Id], [a].[Name], [a].[ProviderKey], [a].[ProviderName], [a].[TenantId]
FROM [AbpPermissionGrants] AS [a]
WHERE ((@__ef_filter__p_0 = CAST(1 AS bit)) OR [a].[TenantId] IS NULL) AND ((([a].[Name] = @__name_0) AND ([a].[ProviderName] = @__providerName_1)) AND ([a].[ProviderKey] = @__providerKey_2))
ORDER BY [a].[Id]"
2022-11-03 14:10:26.991 G Executed DbCommand ("1"ms) [Parameters=["@__ef_filter__p_0='?' (DbType = Boolean), @__name_0='?' (Size = 128), @__providerName_1='?' (Size = 64), @__providerKey_2='?' (Size = 64)"], CommandType='Text', CommandTimeout='30']"
""SELECT TOP(1) [a].[Id], [a].[Name], [a].[ProviderKey], [a].[ProviderName], [a].[TenantId]
FROM [AbpPermissionGrants] AS [a]
WHERE ((@__ef_filter__p_0 = CAST(1 AS bit)) OR [a].[TenantId] IS NULL) AND ((([a].[Name] = @__name_0) AND ([a].[ProviderName] = @__providerName_1)) AND ([a].[ProviderKey] = @__providerKey_2))
ORDER BY [a].[Id]"
2022-11-03 14:10:26.999 G Executed DbCommand ("1"ms) [Parameters=["@__ef_filter__p_0='?' (DbType = Boolean), @__name_0='?' (Size = 128), @__providerName_1='?' (Size = 64), @__providerKey_2='?' (Size = 64)"], CommandType='Text', CommandTimeout='30']"
""SELECT TOP(1) [a].[Id], [a].[Name], [a].[ProviderKey], [a].[ProviderName], [a].[TenantId]
FROM [AbpPermissionGrants] AS [a]
WHERE ((@__ef_filter__p_0 = CAST(1 AS bit)) OR [a].[TenantId] IS NULL) AND ((([a].[Name] = @__name_0) AND ([a].[ProviderName] = @__providerName_1)) AND ([a].[ProviderKey] = @__providerKey_2))
ORDER BY [a].[Id]"
2022-11-03 14:10:27.007 G Executed DbCommand ("1"ms) [Parameters=["@__ef_filter__p_0='?' (DbType = Boolean), @__name_0='?' (Size = 128), @__providerName_1='?' (Size = 64), @__providerKey_2='?' (Size = 64)"], CommandType='Text', CommandTimeout='30']"
""SELECT TOP(1) [a].[Id], [a].[Name], [a].[ProviderKey], [a].[ProviderName], [a].[TenantId]
FROM [AbpPermissionGrants] AS [a]
WHERE ((@__ef_filter__p_0 = CAST(1 AS bit)) OR [a].[TenantId] IS NULL) AND ((([a].[Name] = @__name_0) AND ([a].[ProviderName] = @__providerName_1)) AND ([a].[ProviderKey] = @__providerKey_2))
ORDER BY [a].[Id]"
2022-11-03 14:10:27.011 G Executed DbCommand ("1"ms) [Parameters=["@__ef_filter__p_0='?' (DbType = Boolean), @__name_0='?' (Size = 128), @__providerName_1='?' (Size = 64), @__providerKey_2='?' (Size = 64)"], CommandType='Text', CommandTimeout='30']"
""SELECT TOP(1) [a].[Id], [a].[Name], [a].[ProviderKey], [a].[ProviderName], [a].[TenantId]
FROM [AbpPermissionGrants] AS [a]
WHERE ((@__ef_filter__p_0 = CAST(1 AS bit)) OR [a].[TenantId] IS NULL) AND ((([a].[Name] = @__name_0) AND ([a].[ProviderName] = @__providerName_1)) AND ([a].[ProviderKey] = @__providerKey_2))
ORDER BY [a].[Id]"
2022-11-03 14:10:27.017 G Executed DbCommand ("1"ms) [Parameters=["@__ef_filter__p_0='?' (DbType = Boolean), @__name_0='?' (Size = 128), @__providerName_1='?' (Size = 64), @__providerKey_2='?' (Size = 64)"], CommandType='Text', CommandTimeout='30']"
""SELECT TOP(1) [a].[Id], [a].[Name], [a].[ProviderKey], [a].[ProviderName], [a].[TenantId]
FROM [AbpPermissionGrants] AS [a]
WHERE ((@__ef_filter__p_0 = CAST(1 AS bit)) OR [a].[TenantId] IS NULL) AND ((([a].[Name] = @__name_0) AND ([a].[ProviderName] = @__providerName_1)) AND ([a].[ProviderKey] = @__providerKey_2))
ORDER BY [a].[Id]"
2022-11-03 14:10:27.022 G Executed DbCommand ("1"ms) [Parameters=["@__ef_filter__p_0='?' (DbType = Boolean), @__name_0='?' (Size = 128), @__providerName_1='?' (Size = 64), @__providerKey_2='?' (Size = 64)"], CommandType='Text', CommandTimeout='30']"
""SELECT TOP(1) [a].[Id], [a].[Name], [a].[ProviderKey], [a].[ProviderName], [a].[TenantId]
FROM [AbpPermissionGrants] AS [a]
WHERE ((@__ef_filter__p_0 = CAST(1 AS bit)) OR [a].[TenantId] IS NULL) AND ((([a].[Name] = @__name_0) AND ([a].[ProviderName] = @__providerName_1)) AND ([a].[ProviderKey] = @__providerKey_2))
ORDER BY [a].[Id]"
2022-11-03 14:10:27.028 G Executed DbCommand ("1"ms) [Parameters=["@__ef_filter__p_0='?' (DbType = Boolean), @__name_0='?' (Size = 128), @__providerName_1='?' (Size = 64), @__providerKey_2='?' (Size = 64)"], CommandType='Text', CommandTimeout='30']"
""SELECT TOP(1) [a].[Id], [a].[Name], [a].[ProviderKey], [a].[ProviderName], [a].[TenantId]
FROM [AbpPermissionGrants] AS [a]
WHERE ((@__ef_filter__p_0 = CAST(1 AS bit)) OR [a].[TenantId] IS NULL) AND ((([a].[Name] = @__name_0) AND ([a].[ProviderName] = @__providerName_1)) AND ([a].[ProviderKey] = @__providerKey_2))
ORDER BY [a].[Id]"
2022-11-03 14:10:27.036 G Executed DbCommand ("1"ms) [Parameters=["@__ef_filter__p_0='?' (DbType = Boolean), @__name_0='?' (Size = 128), @__providerName_1='?' (Size = 64), @__providerKey_2='?' (Size = 64)"], CommandType='Text', CommandTimeout='30']"
""SELECT TOP(1) [a].[Id], [a].[Name], [a].[ProviderKey], [a].[ProviderName], [a].[TenantId]
FROM [AbpPermissionGrants] AS [a]
WHERE ((@__ef_filter__p_0 = CAST(1 AS bit)) OR [a].[TenantId] IS NULL) AND ((([a].[Name] = @__name_0) AND ([a].[ProviderName] = @__providerName_1)) AND ([a].[ProviderKey] = @__providerKey_2))
ORDER BY [a].[Id]"
2022-11-03 14:10:27.041 G Executed DbCommand ("1"ms) [Parameters=["@__ef_filter__p_0='?' (DbType = Boolean), @__name_0='?' (Size = 128), @__providerName_1='?' (Size = 64), @__providerKey_2='?' (Size = 64)"], CommandType='Text', CommandTimeout='30']"
""SELECT TOP(1) [a].[Id], [a].[Name], [a].[ProviderKey], [a].[ProviderName], [a].[TenantId]
FROM [AbpPermissionGrants] AS [a]
WHERE ((@__ef_filter__p_0 = CAST(1 AS bit)) OR [a].[TenantId] IS NULL) AND ((([a].[Name] = @__name_0) AND ([a].[ProviderName] = @__providerName_1)) AND ([a].[ProviderKey] = @__providerKey_2))
ORDER BY [a].[Id]"
2022-11-03 14:10:27.047 G Executed DbCommand ("1"ms) [Parameters=["@__ef_filter__p_0='?' (DbType = Boolean), @__name_0='?' (Size = 128), @__providerName_1='?' (Size = 64), @__providerKey_2='?' (Size = 64)"], CommandType='Text', CommandTimeout='30']"
""SELECT TOP(1) [a].[Id], [a].[Name], [a].[ProviderKey], [a].[ProviderName], [a].[TenantId]
FROM [AbpPermissionGrants] AS [a]
WHERE ((@__ef_filter__p_0 = CAST(1 AS bit)) OR [a].[TenantId] IS NULL) AND ((([a].[Name] = @__name_0) AND ([a].[ProviderName] = @__providerName_1)) AND ([a].[ProviderKey] = @__providerKey_2))
ORDER BY [a].[Id]"
2022-11-03 14:10:27.051 G Executed DbCommand ("1"ms) [Parameters=["@__ef_filter__p_0='?' (DbType = Boolean), @__name_0='?' (Size = 128), @__providerName_1='?' (Size = 64), @__providerKey_2='?' (Size = 64)"], CommandType='Text', CommandTimeout='30']"
""SELECT TOP(1) [a].[Id], [a].[Name], [a].[ProviderKey], [a].[ProviderName], [a].[TenantId]
FROM [AbpPermissionGrants] AS [a]
WHERE ((@__ef_filter__p_0 = CAST(1 AS bit)) OR [a].[TenantId] IS NULL) AND ((([a].[Name] = @__name_0) AND ([a].[ProviderName] = @__providerName_1)) AND ([a].[ProviderKey] = @__providerKey_2))
ORDER BY [a].[Id]"
2022-11-03 14:10:27.057 G Executed DbCommand ("1"ms) [Parameters=["@__ef_filter__p_0='?' (DbType = Boolean), @__name_0='?' (Size = 128), @__providerName_1='?' (Size = 64), @__providerKey_2='?' (Size = 64)"], CommandType='Text', CommandTimeout='30']"
""SELECT TOP(1) [a].[Id], [a].[Name], [a].[ProviderKey], [a].[ProviderName], [a].[TenantId]
FROM [AbpPermissionGrants] AS [a]
WHERE ((@__ef_filter__p_0 = CAST(1 AS bit)) OR [a].[TenantId] IS NULL) AND ((([a].[Name] = @__name_0) AND ([a].[ProviderName] = @__providerName_1)) AND ([a].[ProviderKey] = @__providerKey_2))
ORDER BY [a].[Id]"
2022-11-03 14:10:27.061 G Executed DbCommand ("1"ms) [Parameters=["@__ef_filter__p_0='?' (DbType = Boolean), @__name_0='?' (Size = 128), @__providerName_1='?' (Size = 64), @__providerKey_2='?' (Size = 64)"], CommandType='Text', CommandTimeout='30']"
""SELECT TOP(1) [a].[Id], [a].[Name], [a].[ProviderKey], [a].[ProviderName], [a].[TenantId]
FROM [AbpPermissionGrants] AS [a]
WHERE ((@__ef_filter__p_0 = CAST(1 AS bit)) OR [a].[TenantId] IS NULL) AND ((([a].[Name] = @__name_0) AND ([a].[ProviderName] = @__providerName_1)) AND ([a].[ProviderKey] = @__providerKey_2))
ORDER BY [a].[Id]"
2022-11-03 14:10:27.068 G Executed DbCommand ("1"ms) [Parameters=["@__ef_filter__p_0='?' (DbType = Boolean), @__name_0='?' (Size = 128), @__providerName_1='?' (Size = 64), @__providerKey_2='?' (Size = 64)"], CommandType='Text', CommandTimeout='30']"
""SELECT TOP(1) [a].[Id], [a].[Name], [a].[ProviderKey], [a].[ProviderName], [a].[TenantId]
FROM [AbpPermissionGrants] AS [a]
WHERE ((@__ef_filter__p_0 = CAST(1 AS bit)) OR [a].[TenantId] IS NULL) AND ((([a].[Name] = @__name_0) AND ([a].[ProviderName] = @__providerName_1)) AND ([a].[ProviderKey] = @__providerKey_2))
ORDER BY [a].[Id]"
2022-11-03 14:10:27.073 G Executed DbCommand ("1"ms) [Parameters=["@__ef_filter__p_0='?' (DbType = Boolean), @__name_0='?' (Size = 128), @__providerName_1='?' (Size = 64), @__providerKey_2='?' (Size = 64)"], CommandType='Text', CommandTimeout='30']"
""SELECT TOP(1) [a].[Id], [a].[Name], [a].[ProviderKey], [a].[ProviderName], [a].[TenantId]
FROM [AbpPermissionGrants] AS [a]
WHERE ((@__ef_filter__p_0 = CAST(1 AS bit)) OR [a].[TenantId] IS NULL) AND ((([a].[Name] = @__name_0) AND ([a].[ProviderName] = @__providerName_1)) AND ([a].[ProviderKey] = @__providerKey_2))
ORDER BY [a].[Id]"
2022-11-03 14:10:27.394 G Initialized all ABP modules.
2022-11-03 14:10:27.493 G Now listening on: "http://localhost:44378"
2022-11-03 14:10:27.494 G Application started. Press Ctrl+C to shut down.
2022-11-03 14:10:27.495 G Hosting environment: "Development"
2022-11-03 14:10:27.496 G Content root path: "D:\pg\src\Modules\SettleAccount\host\SettleAccount.HttpApi.Host"
2022-11-03 14:10:30.528 G Request starting HTTP/1.1 GET http://localhost:44378/ - -
2022-11-03 14:10:40.574 G It was not possible to connect to the redis server(s). UnableToConnect on 127.0.0.1:6379/Interactive, Initializing/NotStarted, last: NONE, origin: BeginConnectAsync, outstanding: 0, last-read: 2s ago, last-write: 2s ago, keep-alive: 60s, state: Connecting, mgr: 10 of 10 available, last-heartbeat: never, global: 7s ago, v: 2.0.593.37019
StackExchange.Redis.RedisConnectionException: It was not possible to connect to the redis server(s). UnableToConnect on 127.0.0.1:6379/Interactive, Initializing/NotStarted, last: NONE, origin: BeginConnectAsync, outstanding: 0, last-read: 2s ago, last-write: 2s ago, keep-alive: 60s, state: Connecting, mgr: 10 of 10 available, last-heartbeat: never, global: 7s ago, v: 2.0.593.37019
at StackExchange.Redis.ConnectionMultiplexer.ConnectImplAsync(Object configuration, TextWriter log) in C:\projects\stackexchange-redis\src\StackExchange.Redis\ConnectionMultiplexer.cs:line 823
at Microsoft.Extensions.Caching.StackExchangeRedis.RedisCache.ConnectAsync(CancellationToken token)
at Microsoft.Extensions.Caching.StackExchangeRedis.RedisCache.GetAndRefreshAsync(String key, Boolean getData, CancellationToken token)
at Microsoft.Extensions.Caching.StackExchangeRedis.RedisCache.GetAsync(String key, CancellationToken token)
at Volo.Abp.Caching.DistributedCache`2.GetAsync(TCacheKey key, Nullable`1 hideErrors, Boolean considerUow, CancellationToken token)
2022-11-03 14:10:40.696 G Entity Framework Core "5.0.8" initialized '"SettingManagementDbContext"' using provider '"Microsoft.EntityFrameworkCore.SqlServer"' with options: "QuerySplittingBehavior=SplitQuery "
2022-11-03 14:10:40.711 G Executed DbCommand ("3"ms) [Parameters=["@__providerName_0='?' (Size = 64)"], CommandType='Text', CommandTimeout='30']"
""SELECT [a].[Id], [a].[Name], [a].[ProviderKey], [a].[ProviderName], [a].[Value]
FROM [AbpSettings] AS [a]
WHERE ([a].[ProviderName] = @__providerName_0) AND [a].[ProviderKey] IS NULL"
2022-11-03 14:10:49.846 G Connection id ""0HMLTC8D9PL83"", Request id ""0HMLTC8D9PL83:00000002"": An unhandled exception was thrown by the application.
StackExchange.Redis.RedisConnectionException: It was not possible to connect to the redis server(s). UnableToConnect on 127.0.0.1:6379/Interactive, Initializing/NotStarted, last: NONE, origin: BeginConnectAsync, outstanding: 0, last-read: 2s ago, last-write: 2s ago, keep-alive: 60s, state: Connecting, mgr: 10 of 10 available, last-heartbeat: never, global: 16s ago, v: 2.0.593.37019
at StackExchange.Redis.ConnectionMultiplexer.ConnectImplAsync(Object configuration, TextWriter log) in C:\projects\stackexchange-redis\src\StackExchange.Redis\ConnectionMultiplexer.cs:line 823
at Microsoft.Extensions.Caching.StackExchangeRedis.RedisCache.ConnectAsync(CancellationToken token)
at Microsoft.Extensions.Caching.StackExchangeRedis.RedisCache.SetAsync(String key, Byte[] value, DistributedCacheEntryOptions options, CancellationToken token)
at Volo.Abp.Caching.DistributedCache`2.<>c__DisplayClass51_0.<<SetAsync>g__SetRealCache|0>d.MoveNext()
--- End of stack trace from previous location ---
at Volo.Abp.Caching.DistributedCache`2.<>c__DisplayClass51_0.<<SetAsync>g__SetRealCache|0>d.MoveNext()
--- End of stack trace from previous location ---
at Volo.Abp.Uow.UnitOfWork.OnCompletedAsync()
at Volo.Abp.Uow.UnitOfWork.CompleteAsync(CancellationToken cancellationToken)
at Volo.Abp.Uow.UnitOfWorkInterceptor.InterceptAsync(IAbpMethodInvocation invocation)
at Volo.Abp.Castle.DynamicProxy.CastleAsyncAbpInterceptorAdapter`1.InterceptAsync[TResult](IInvocation invocation, IInvocationProceedInfo proceedInfo, Func`3 proceed)
at Volo.Abp.Settings.TenantSettingValueProvider.GetOrNullAsync(SettingDefinition setting)
at Volo.Abp.Settings.SettingProvider.GetOrNullValueFromProvidersAsync(IEnumerable`1 providers, SettingDefinition setting)
at Volo.Abp.Settings.SettingProvider.GetOrNullAsync(String name)
at Microsoft.AspNetCore.RequestLocalization.DefaultAbpRequestLocalizationOptionsProvider.GetLocalizationOptionsAsync()
at Microsoft.AspNetCore.RequestLocalization.AbpRequestLocalizationMiddleware.InvokeAsync(HttpContext context, RequestDelegate next)
at Microsoft.AspNetCore.Builder.UseMiddlewareExtensions.<>c__DisplayClass6_1.<<UseMiddlewareInterface>b__1>d.MoveNext()
--- End of stack trace from previous location ---
at Volo.Abp.AspNetCore.Security.Claims.AbpClaimsMapMiddleware.InvokeAsync(HttpContext context, RequestDelegate next)
at Microsoft.AspNetCore.Builder.UseMiddlewareExtensions.<>c__DisplayClass6_1.<<UseMiddlewareInterface>b__1>d.MoveNext()
--- End of stack trace from previous location ---
at Microsoft.AspNetCore.Authorization.AuthorizationMiddleware.Invoke(HttpContext context)
at Microsoft.AspNetCore.Authentication.AuthenticationMiddleware.Invoke(HttpContext context)
at Volo.Abp.AspNetCore.Tracing.AbpCorrelationIdMiddleware.InvokeAsync(HttpContext context, RequestDelegate next)
at Microsoft.AspNetCore.Builder.UseMiddlewareExtensions.<>c__DisplayClass6_1.<<UseMiddlewareInterface>b__1>d.MoveNext()
--- End of stack trace from previous location ---
at Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http.HttpProtocol.ProcessRequests[TContext](IHttpApplication`1 application)
2022-11-03 14:10:49.892 G Request finished HTTP/1.1 GET http://localhost:44378/ - - - 500 0 - 19364.3751ms
2022-11-03 14:11:22.748 G Request starting HTTP/1.1 GET http://localhost:44378/ - -
2022-11-03 14:11:47.790 G Request starting HTTP/1.1 GET http://localhost:44378/ - -
2022-11-03 14:11:36.507 G Request starting HTTP/1.1 GET http://localhost:44378/ - -
2022-11-03 14:12:39.793 G The operation was canceled.
System.OperationCanceledException: The operation was canceled.
at System.Threading.CancellationToken.ThrowOperationCanceledException()
at Microsoft.Extensions.Caching.StackExchangeRedis.RedisCache.GetAsync(String key, CancellationToken token)
at Volo.Abp.Caching.DistributedCache`2.GetAsync(TCacheKey key, Nullable`1 hideErrors, Boolean considerUow, CancellationToken token)
2022-11-03 14:12:39.827 G Entity Framework Core "5.0.8" initialized '"SettingManagementDbContext"' using provider '"Microsoft.EntityFrameworkCore.SqlServer"' with options: "QuerySplittingBehavior=SplitQuery "
2022-11-03 14:12:39.830 G An error occurred using the connection to database '"ABP"' on server '"127.0.0.1"'.
2022-11-03 14:12:39.839 G An exception occurred while iterating over the results of a query for context type '"Volo.Abp.SettingManagement.EntityFrameworkCore.SettingManagementDbContext"'."
""System.Threading.Tasks.TaskCanceledException: A task was canceled.
at Microsoft.EntityFrameworkCore.Storage.RelationalConnection.OpenInternalAsync(Boolean errorsExpected, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.Storage.RelationalConnection.OpenInternalAsync(Boolean errorsExpected, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.Storage.RelationalConnection.OpenAsync(CancellationToken cancellationToken, Boolean errorsExpected)
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()"
System.Threading.Tasks.TaskCanceledException: A task was canceled.
at Microsoft.EntityFrameworkCore.Storage.RelationalConnection.OpenInternalAsync(Boolean errorsExpected, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.Storage.RelationalConnection.OpenInternalAsync(Boolean errorsExpected, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.Storage.RelationalConnection.OpenAsync(CancellationToken cancellationToken, Boolean errorsExpected)
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()
2022-11-03 14:12:39.852 G Connection id ""0HMLTC8D9PL83"", Request id ""0HMLTC8D9PL83:00000003"": An unhandled exception was thrown by the application.
System.Threading.Tasks.TaskCanceledException: A task was canceled.
at Microsoft.EntityFrameworkCore.Storage.RelationalConnection.OpenInternalAsync(Boolean errorsExpected, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.Storage.RelationalConnection.OpenInternalAsync(Boolean errorsExpected, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.Storage.RelationalConnection.OpenAsync(CancellationToken cancellationToken, Boolean errorsExpected)
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.EntityFrameworkQueryableExtensions.ToListAsync[TSource](IQueryable`1 source, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.EntityFrameworkQueryableExtensions.ToListAsync[TSource](IQueryable`1 source, CancellationToken cancellationToken)
at Volo.Abp.SettingManagement.EntityFrameworkCore.EfCoreSettingRepository.GetListAsync(String providerName, String providerKey, CancellationToken cancellationToken)
at Castle.DynamicProxy.AsyncInterceptorBase.ProceedAsynchronous[TResult](IInvocation invocation, IInvocationProceedInfo proceedInfo)
at Volo.Abp.Castle.DynamicProxy.CastleAbpMethodInvocationAdapterWithReturnValue`1.ProceedAsync()
at Volo.Abp.Uow.UnitOfWorkInterceptor.InterceptAsync(IAbpMethodInvocation invocation)
at Volo.Abp.Castle.DynamicProxy.CastleAsyncAbpInterceptorAdapter`1.InterceptAsync[TResult](IInvocation invocation, IInvocationProceedInfo proceedInfo, Func`3 proceed)
at Volo.Abp.SettingManagement.SettingManagementStore.SetCacheItemsAsync(String providerName, String providerKey, String currentName, SettingCacheItem currentCacheItem)
at Volo.Abp.SettingManagement.SettingManagementStore.GetCacheItemAsync(String name, String providerName, String providerKey)
at Volo.Abp.SettingManagement.SettingManagementStore.GetOrNullAsync(String name, String providerName, String providerKey)
at Castle.DynamicProxy.AsyncInterceptorBase.ProceedAsynchronous[TResult](IInvocation invocation, IInvocationProceedInfo proceedInfo)
at Volo.Abp.Castle.DynamicProxy.CastleAbpMethodInvocationAdapterWithReturnValue`1.ProceedAsync()
at Volo.Abp.Uow.UnitOfWorkInterceptor.InterceptAsync(IAbpMethodInvocation invocation)
at Volo.Abp.Castle.DynamicProxy.CastleAsyncAbpInterceptorAdapter`1.InterceptAsync[TResult](IInvocation invocation, IInvocationProceedInfo proceedInfo, Func`3 proceed)
at Volo.Abp.Settings.TenantSettingValueProvider.GetOrNullAsync(SettingDefinition setting)
at Volo.Abp.Settings.SettingProvider.GetOrNullValueFromProvidersAsync(IEnumerable`1 providers, SettingDefinition setting)
at Volo.Abp.Settings.SettingProvider.GetOrNullAsync(String name)
at Microsoft.AspNetCore.RequestLocalization.DefaultAbpRequestLocalizationOptionsProvider.GetLocalizationOptionsAsync()
at Microsoft.AspNetCore.RequestLocalization.AbpRequestLocalizationMiddleware.InvokeAsync(HttpContext context, RequestDelegate next)
at Microsoft.AspNetCore.Builder.UseMiddlewareExtensions.<>c__DisplayClass6_1.<<UseMiddlewareInterface>b__1>d.MoveNext()
--- End of stack trace from previous location ---
at Volo.Abp.AspNetCore.Security.Claims.AbpClaimsMapMiddleware.InvokeAsync(HttpContext context, RequestDelegate next)
at Microsoft.AspNetCore.Builder.UseMiddlewareExtensions.<>c__DisplayClass6_1.<<UseMiddlewareInterface>b__1>d.MoveNext()
--- End of stack trace from previous location ---
at Microsoft.AspNetCore.Authorization.AuthorizationMiddleware.Invoke(HttpContext context)
at Microsoft.AspNetCore.Authentication.AuthenticationMiddleware.Invoke(HttpContext context)
at Volo.Abp.AspNetCore.Tracing.AbpCorrelationIdMiddleware.InvokeAsync(HttpContext context, RequestDelegate next)
at Microsoft.AspNetCore.Builder.UseMiddlewareExtensions.<>c__DisplayClass6_1.<<UseMiddlewareInterface>b__1>d.MoveNext()
--- End of stack trace from previous location ---
at Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http.HttpProtocol.ProcessRequests[TContext](IHttpApplication`1 application)
2022-11-03 14:12:39.891 G Request finished HTTP/1.1 GET http://localhost:44378/ - - - 0 - - 77142.6484ms
2022-11-03 14:12:39.941 G Entity Framework Core "5.0.8" initialized '"SettingManagementDbContext"' using provider '"Microsoft.EntityFrameworkCore.SqlServer"' with options: "QuerySplittingBehavior=SplitQuery "
2022-11-03 14:12:39.944 G Executed DbCommand ("1"ms) [Parameters=["@__providerName_0='?' (Size = 64)"], CommandType='Text', CommandTimeout='30']"
""SELECT [a].[Id], [a].[Name], [a].[ProviderKey], [a].[ProviderName], [a].[Value]
FROM [AbpSettings] AS [a]
WHERE ([a].[ProviderName] = @__providerName_0) AND [a].[ProviderKey] IS NULL"
2022-11-03 14:12:39.957 G Entity Framework Core "5.0.8" initialized '"SettingManagementDbContext"' using provider '"Microsoft.EntityFrameworkCore.SqlServer"' with options: "QuerySplittingBehavior=SplitQuery "
2022-11-03 14:12:39.959 G Executed DbCommand ("1"ms) [Parameters=["@__providerName_0='?' (Size = 64)"], CommandType='Text', CommandTimeout='30']"
""SELECT [a].[Id], [a].[Name], [a].[ProviderKey], [a].[ProviderName], [a].[Value]
FROM [AbpSettings] AS [a]
WHERE ([a].[ProviderName] = @__providerName_0) AND [a].[ProviderKey] IS NULL"
2022-11-03 14:12:40.042 G Executing endpoint '"Win.Sfs.SettleAccount.Controllers.HomeController.Index (SettleAccount.HttpApi.Host)"'
2022-11-03 14:12:40.042 G Executing endpoint '"Win.Sfs.SettleAccount.Controllers.HomeController.Index (SettleAccount.HttpApi.Host)"'
2022-11-03 14:12:40.080 G Route matched with "{action = \"Index\", controller = \"Home\", area = \"\"}". Executing controller action with signature "Microsoft.AspNetCore.Mvc.ActionResult Index()" on controller "Win.Sfs.SettleAccount.Controllers.HomeController" ("SettleAccount.HttpApi.Host").
2022-11-03 14:12:40.080 G Route matched with "{action = \"Index\", controller = \"Home\", area = \"\"}". Executing controller action with signature "Microsoft.AspNetCore.Mvc.ActionResult Index()" on controller "Win.Sfs.SettleAccount.Controllers.HomeController" ("SettleAccount.HttpApi.Host").
2022-11-03 14:12:40.105 G Executing RedirectResult, redirecting to "/swagger".
2022-11-03 14:12:40.105 G Executing RedirectResult, redirecting to "/swagger".
2022-11-03 14:12:40.110 G Executed action "Win.Sfs.SettleAccount.Controllers.HomeController.Index (SettleAccount.HttpApi.Host)" in 22.9151ms
2022-11-03 14:12:40.110 G Executed action "Win.Sfs.SettleAccount.Controllers.HomeController.Index (SettleAccount.HttpApi.Host)" in 24.2072ms
2022-11-03 14:12:40.111 G Executed endpoint '"Win.Sfs.SettleAccount.Controllers.HomeController.Index (SettleAccount.HttpApi.Host)"'
2022-11-03 14:12:40.112 G Executed endpoint '"Win.Sfs.SettleAccount.Controllers.HomeController.Index (SettleAccount.HttpApi.Host)"'
2022-11-03 14:12:40.115 G Request finished HTTP/1.1 GET http://localhost:44378/ - - - 0 - - 63607.7569ms
2022-11-03 14:12:40.116 G Request finished HTTP/1.1 GET http://localhost:44378/ - - - 302 0 - 52326.6081ms
2022-11-03 14:12:40.122 G Request starting HTTP/1.1 GET http://localhost:44378/swagger - -
2022-11-03 14:12:40.125 G Request finished HTTP/1.1 GET http://localhost:44378/swagger - - - 301 0 - 3.0091ms
2022-11-03 14:12:40.131 G Request starting HTTP/1.1 GET http://localhost:44378/swagger/index.html - -
2022-11-03 14:12:40.175 G Request finished HTTP/1.1 GET http://localhost:44378/swagger/index.html - - - 200 - text/html;charset=utf-8 44.2447ms
2022-11-03 14:12:40.234 G Request starting HTTP/1.1 GET http://localhost:44378/swagger/swagger-ui-bundle.js - -
2022-11-03 14:12:40.236 G Request starting HTTP/1.1 GET http://localhost:44378/swagger/swagger-ui.css - -
2022-11-03 14:12:40.236 G Request starting HTTP/1.1 GET http://localhost:44378/swagger/swagger-ui-standalone-preset.js - -
2022-11-03 14:12:40.275 G Sending file. Request path: '"/swagger-ui.css"'. Physical path: '"N/A"'
2022-11-03 14:12:40.281 G Sending file. Request path: '"/swagger-ui-standalone-preset.js"'. Physical path: '"N/A"'
2022-11-03 14:12:40.287 G Request finished HTTP/1.1 GET http://localhost:44378/swagger/swagger-ui-standalone-preset.js - - - 200 336841 application/javascript 50.4756ms
2022-11-03 14:12:40.287 G Request finished HTTP/1.1 GET http://localhost:44378/swagger/swagger-ui.css - - - 200 143410 text/css 51.1849ms
2022-11-03 14:12:40.307 G Sending file. Request path: '"/swagger-ui-bundle.js"'. Physical path: '"N/A"'
2022-11-03 14:12:40.308 G Request finished HTTP/1.1 GET http://localhost:44378/swagger/swagger-ui-bundle.js - - - 200 1097461 application/javascript 74.0431ms
2022-11-03 14:12:40.532 G Request starting HTTP/1.1 GET http://localhost:44378/swagger/v1/swagger.json - -
2022-11-03 14:12:40.547 G Request starting HTTP/1.1 GET http://localhost:44378/swagger/favicon-32x32.png - -
2022-11-03 14:12:40.549 G Sending file. Request path: '"/favicon-32x32.png"'. Physical path: '"N/A"'
2022-11-03 14:12:40.549 G Request finished HTTP/1.1 GET http://localhost:44378/swagger/favicon-32x32.png - - - 200 628 image/png 2.4141ms
2022-11-03 14:12:42.724 G Request finished HTTP/1.1 GET http://localhost:44378/swagger/v1/swagger.json - - - 200 - application/json;charset=utf-8 2191.5570ms
2022-11-03 14:13:17.338 G Request starting HTTP/1.1 GET http://localhost:44378/ - -
2022-11-03 14:13:17.354 G Executing endpoint '"Win.Sfs.SettleAccount.Controllers.HomeController.Index (SettleAccount.HttpApi.Host)"'
2022-11-03 14:13:17.357 G Route matched with "{action = \"Index\", controller = \"Home\", area = \"\"}". Executing controller action with signature "Microsoft.AspNetCore.Mvc.ActionResult Index()" on controller "Win.Sfs.SettleAccount.Controllers.HomeController" ("SettleAccount.HttpApi.Host").
2022-11-03 14:13:17.363 G Executing RedirectResult, redirecting to "/swagger".
2022-11-03 14:13:17.365 G Executed action "Win.Sfs.SettleAccount.Controllers.HomeController.Index (SettleAccount.HttpApi.Host)" in 4.4175ms
2022-11-03 14:13:17.369 G Executed endpoint '"Win.Sfs.SettleAccount.Controllers.HomeController.Index (SettleAccount.HttpApi.Host)"'
2022-11-03 14:13:17.376 G Request finished HTTP/1.1 GET http://localhost:44378/ - - - 302 0 - 46.2766ms
2022-11-03 14:13:17.387 G Request starting HTTP/1.1 GET http://localhost:44378/swagger - -
2022-11-03 14:13:17.389 G Request finished HTTP/1.1 GET http://localhost:44378/swagger - - - 301 0 - 1.6160ms
2022-11-03 14:13:17.391 G Request starting HTTP/1.1 GET http://localhost:44378/swagger/index.html - -
2022-11-03 14:13:17.394 G Request finished HTTP/1.1 GET http://localhost:44378/swagger/index.html - - - 200 - text/html;charset=utf-8 2.9154ms
2022-11-03 14:13:17.410 G Request starting HTTP/1.1 GET http://localhost:44378/swagger/swagger-ui-bundle.js - -
2022-11-03 14:13:17.410 G Request starting HTTP/1.1 GET http://localhost:44378/swagger/swagger-ui.css - -
2022-11-03 14:13:17.413 G Request starting HTTP/1.1 GET http://localhost:44378/swagger/swagger-ui-standalone-preset.js - -
2022-11-03 14:13:17.433 G Sending file. Request path: '"/swagger-ui.css"'. Physical path: '"N/A"'
2022-11-03 14:13:17.439 G Request finished HTTP/1.1 GET http://localhost:44378/swagger/swagger-ui.css - - - 200 143410 text/css 28.5081ms
2022-11-03 14:13:17.442 G Sending file. Request path: '"/swagger-ui-standalone-preset.js"'. Physical path: '"N/A"'
2022-11-03 14:13:17.451 G Sending file. Request path: '"/swagger-ui-bundle.js"'. Physical path: '"N/A"'
2022-11-03 14:13:17.455 G Request finished HTTP/1.1 GET http://localhost:44378/swagger/swagger-ui-standalone-preset.js - - - 200 336841 application/javascript 42.6502ms
2022-11-03 14:13:17.457 G Request finished HTTP/1.1 GET http://localhost:44378/swagger/swagger-ui-bundle.js - - - 200 1097461 application/javascript 47.0985ms
2022-11-03 14:13:17.652 G Request starting HTTP/1.1 GET http://localhost:44378/swagger/v1/swagger.json - -
2022-11-03 14:13:17.679 G Request starting HTTP/1.1 GET http://localhost:44378/swagger/favicon-32x32.png - -
2022-11-03 14:13:17.688 G Sending file. Request path: '"/favicon-32x32.png"'. Physical path: '"N/A"'
2022-11-03 14:13:17.689 G Request finished HTTP/1.1 GET http://localhost:44378/swagger/favicon-32x32.png - - - 200 628 image/png 10.7023ms
2022-11-03 14:13:20.217 G Request finished HTTP/1.1 GET http://localhost:44378/swagger/v1/swagger.json - - - 200 - application/json;charset=utf-8 2565.2381ms

485
code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/Logs/log-20230208.txt

@ -1,485 +0,0 @@
2023-02-08 10:20:44.794 G Starting web host.
2023-02-08 10:20:53.910 G User profile is available. Using '"C:\Users\Administrator\AppData\Local\ASP.NET\DataProtection-Keys"' as key repository and Windows DPAPI to encrypt keys at rest.
2023-02-08 10:20:54.039 G Loaded ABP modules:
2023-02-08 10:20:54.041 G - Win.Sfs.SettleAccount.SettleAccountHttpApiHostModule
2023-02-08 10:20:54.042 G - Win.Sfs.SettleAccount.SettleAccountApplicationModule
2023-02-08 10:20:54.043 G - Win.Sfs.SettleAccount.SettleAccountJobModule
2023-02-08 10:20:54.043 G - Win.Sfs.SettleAccount.SettleAccountDomainModule
2023-02-08 10:20:54.045 G - Volo.Abp.Domain.AbpDddDomainModule
2023-02-08 10:20:54.047 G - Volo.Abp.Auditing.AbpAuditingModule
2023-02-08 10:20:54.048 G - Volo.Abp.Data.AbpDataModule
2023-02-08 10:20:54.048 G - Volo.Abp.ObjectExtending.AbpObjectExtendingModule
2023-02-08 10:20:54.049 G - Volo.Abp.Localization.AbpLocalizationAbstractionsModule
2023-02-08 10:20:54.051 G - Volo.Abp.Validation.AbpValidationAbstractionsModule
2023-02-08 10:20:54.053 G - Volo.Abp.Uow.AbpUnitOfWorkModule
2023-02-08 10:20:54.054 G - Volo.Abp.EventBus.Abstractions.AbpEventBusAbstractionsModule
2023-02-08 10:20:54.055 G - Volo.Abp.Json.AbpJsonModule
2023-02-08 10:20:54.056 G - Volo.Abp.Timing.AbpTimingModule
2023-02-08 10:20:54.057 G - Volo.Abp.Localization.AbpLocalizationModule
2023-02-08 10:20:54.058 G - Volo.Abp.VirtualFileSystem.AbpVirtualFileSystemModule
2023-02-08 10:20:54.059 G - Volo.Abp.Settings.AbpSettingsModule
2023-02-08 10:20:54.059 G - Volo.Abp.Security.AbpSecurityModule
2023-02-08 10:20:54.060 G - Volo.Abp.MultiTenancy.AbpMultiTenancyModule
2023-02-08 10:20:54.060 G - Volo.Abp.Threading.AbpThreadingModule
2023-02-08 10:20:54.061 G - Volo.Abp.EventBus.AbpEventBusModule
2023-02-08 10:20:54.062 G - Volo.Abp.Guids.AbpGuidsModule
2023-02-08 10:20:54.065 G - Volo.Abp.ObjectMapping.AbpObjectMappingModule
2023-02-08 10:20:54.066 G - Volo.Abp.ExceptionHandling.AbpExceptionHandlingModule
2023-02-08 10:20:54.067 G - Volo.Abp.Specifications.AbpSpecificationsModule
2023-02-08 10:20:54.067 G - Win.Sfs.SettleAccount.SettleAccountDomainSharedModule
2023-02-08 10:20:54.068 G - Volo.Abp.Validation.AbpValidationModule
2023-02-08 10:20:54.069 G - Win.Sfs.SettleAccount.SettleAccountApplicationContractsModule
2023-02-08 10:20:54.070 G - Volo.Abp.Application.AbpDddApplicationContractsModule
2023-02-08 10:20:54.070 G - Volo.Abp.Authorization.AbpAuthorizationModule
2023-02-08 10:20:54.071 G - Volo.Abp.Authorization.AbpAuthorizationAbstractionsModule
2023-02-08 10:20:54.074 G - Volo.Abp.AutoMapper.AbpAutoMapperModule
2023-02-08 10:20:54.075 G - Volo.Abp.Dapper.AbpDapperModule
2023-02-08 10:20:54.076 G - Volo.Abp.EntityFrameworkCore.AbpEntityFrameworkCoreModule
2023-02-08 10:20:54.077 G - Win.Abp.Snowflakes.AbpSnowflakeGeneratorModule
2023-02-08 10:20:54.079 G - Volo.Abp.Http.Client.IdentityModel.AbpHttpClientIdentityModelModule
2023-02-08 10:20:54.080 G - Volo.Abp.Http.Client.AbpHttpClientModule
2023-02-08 10:20:54.081 G - Volo.Abp.Http.AbpHttpModule
2023-02-08 10:20:54.081 G - Volo.Abp.Http.AbpHttpAbstractionsModule
2023-02-08 10:20:54.083 G - Volo.Abp.Minify.AbpMinifyModule
2023-02-08 10:20:54.083 G - Volo.Abp.Castle.AbpCastleCoreModule
2023-02-08 10:20:54.084 G - Volo.Abp.IdentityModel.AbpIdentityModelModule
2023-02-08 10:20:54.085 G - Volo.Abp.Caching.AbpCachingModule
2023-02-08 10:20:54.086 G - Volo.Abp.Serialization.AbpSerializationModule
2023-02-08 10:20:54.087 G - Volo.Abp.Identity.AbpIdentityHttpApiClientModule
2023-02-08 10:20:54.088 G - Volo.Abp.Identity.AbpIdentityApplicationContractsModule
2023-02-08 10:20:54.090 G - Volo.Abp.Identity.AbpIdentityDomainSharedModule
2023-02-08 10:20:54.093 G - Volo.Abp.Users.AbpUsersDomainSharedModule
2023-02-08 10:20:54.095 G - Volo.Abp.Features.AbpFeaturesModule
2023-02-08 10:20:54.095 G - Volo.Abp.Users.AbpUsersAbstractionModule
2023-02-08 10:20:54.096 G - Volo.Abp.Application.AbpDddApplicationModule
2023-02-08 10:20:54.097 G - Volo.Abp.GlobalFeatures.AbpGlobalFeaturesModule
2023-02-08 10:20:54.098 G - Volo.Abp.PermissionManagement.AbpPermissionManagementApplicationContractsModule
2023-02-08 10:20:54.098 G - Volo.Abp.PermissionManagement.AbpPermissionManagementDomainSharedModule
2023-02-08 10:20:54.099 G - Volo.Abp.AspNetCore.Mvc.AbpAspNetCoreMvcModule
2023-02-08 10:20:54.100 G - Volo.Abp.AspNetCore.AbpAspNetCoreModule
2023-02-08 10:20:54.100 G - Volo.Abp.ApiVersioning.AbpApiVersioningAbstractionsModule
2023-02-08 10:20:54.101 G - Volo.Abp.AspNetCore.Mvc.AbpAspNetCoreMvcContractsModule
2023-02-08 10:20:54.102 G - Volo.Abp.UI.Navigation.AbpUiNavigationModule
2023-02-08 10:20:54.102 G - Volo.Abp.UI.AbpUiModule
2023-02-08 10:20:54.103 G - Win.Sfs.SettleAccount.SettleAccountEntityFrameworkCoreModule
2023-02-08 10:20:54.104 G - Volo.Abp.PermissionManagement.EntityFrameworkCore.AbpPermissionManagementEntityFrameworkCoreModule
2023-02-08 10:20:54.104 G - Volo.Abp.PermissionManagement.AbpPermissionManagementDomainModule
2023-02-08 10:20:54.106 G - Volo.Abp.SettingManagement.EntityFrameworkCore.AbpSettingManagementEntityFrameworkCoreModule
2023-02-08 10:20:54.107 G - Volo.Abp.SettingManagement.AbpSettingManagementDomainModule
2023-02-08 10:20:54.109 G - Volo.Abp.SettingManagement.AbpSettingManagementDomainSharedModule
2023-02-08 10:20:54.110 G - Volo.Abp.AuditLogging.EntityFrameworkCore.AbpAuditLoggingEntityFrameworkCoreModule
2023-02-08 10:20:54.110 G - Volo.Abp.AuditLogging.AbpAuditLoggingDomainModule
2023-02-08 10:20:54.111 G - Volo.Abp.AuditLogging.AbpAuditLoggingDomainSharedModule
2023-02-08 10:20:54.112 G - Volo.Abp.TenantManagement.EntityFrameworkCore.AbpTenantManagementEntityFrameworkCoreModule
2023-02-08 10:20:54.112 G - Volo.Abp.TenantManagement.AbpTenantManagementDomainModule
2023-02-08 10:20:54.113 G - Volo.Abp.TenantManagement.AbpTenantManagementDomainSharedModule
2023-02-08 10:20:54.114 G - Win.Sfs.SettleAccount.SettleAccountHttpApiModule
2023-02-08 10:20:54.114 G - Volo.Abp.Autofac.AbpAutofacModule
2023-02-08 10:20:54.115 G - Volo.Abp.EntityFrameworkCore.SqlServer.AbpEntityFrameworkCoreSqlServerModule
2023-02-08 10:20:54.116 G - Volo.Abp.AspNetCore.Serilog.AbpAspNetCoreSerilogModule
2023-02-08 10:20:54.116 G - Volo.Abp.BlobStoring.AbpBlobStoringModule
2023-02-08 10:20:54.118 G - Volo.Abp.BlobStoring.FileSystem.AbpBlobStoringFileSystemModule
2023-02-08 10:20:54.119 G - Volo.Abp.BackgroundJobs.Hangfire.AbpBackgroundJobsHangfireModule
2023-02-08 10:20:54.120 G - Volo.Abp.BackgroundJobs.AbpBackgroundJobsAbstractionsModule
2023-02-08 10:20:54.121 G - Volo.Abp.Hangfire.AbpHangfireModule
2023-02-08 10:20:54.192 G Start installing Hangfire SQL objects...
2023-02-08 10:21:46.319 G An exception occurred while trying to perform the migration. Retrying...
System.Data.SqlClient.SqlException (0x80131904): A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server)
---> System.ComponentModel.Win32Exception (53): 找不到网络路径。
at System.Data.SqlClient.SqlInternalConnectionTds..ctor(DbConnectionPoolIdentity identity, SqlConnectionString connectionOptions, SqlCredential credential, Object providerInfo, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance, SqlConnectionString userConnectionOptions, SessionData reconnectSessionData, Boolean applyTransientFaultHandling, String accessToken)
at System.Data.SqlClient.SqlConnectionFactory.CreateConnection(DbConnectionOptions options, DbConnectionPoolKey poolKey, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningConnection, DbConnectionOptions userOptions)
at System.Data.ProviderBase.DbConnectionFactory.CreatePooledConnection(DbConnectionPool pool, DbConnection owningObject, DbConnectionOptions options, DbConnectionPoolKey poolKey, DbConnectionOptions userOptions)
at System.Data.ProviderBase.DbConnectionPool.CreateObject(DbConnection owningObject, DbConnectionOptions userOptions, DbConnectionInternal oldConnection)
at System.Data.ProviderBase.DbConnectionPool.UserCreateRequest(DbConnection owningObject, DbConnectionOptions userOptions, DbConnectionInternal oldConnection)
at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection)
at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection)
at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection)
at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions)
at System.Data.ProviderBase.DbConnectionClosed.TryOpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions)
at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry)
at System.Data.SqlClient.SqlConnection.Open()
at Hangfire.SqlServer.SqlServerStorage.CreateAndOpenConnection()
at Hangfire.SqlServer.SqlServerStorage.UseConnection[T](DbConnection dedicatedConnection, Func`2 func)
at Hangfire.SqlServer.SqlServerStorage.UseConnection(DbConnection dedicatedConnection, Action`1 action)
at Hangfire.SqlServer.SqlServerStorage.Initialize()
ClientConnectionId:00000000-0000-0000-0000-000000000000
Error Number:53,State:0,Class:20
2023-02-08 10:23:21.353 G An exception occurred while trying to perform the migration. Retrying...
System.Data.SqlClient.SqlException (0x80131904): A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server)
---> System.ComponentModel.Win32Exception (53): 找不到网络路径。
at System.Data.SqlClient.SqlInternalConnectionTds..ctor(DbConnectionPoolIdentity identity, SqlConnectionString connectionOptions, SqlCredential credential, Object providerInfo, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance, SqlConnectionString userConnectionOptions, SessionData reconnectSessionData, Boolean applyTransientFaultHandling, String accessToken)
at System.Data.SqlClient.SqlConnectionFactory.CreateConnection(DbConnectionOptions options, DbConnectionPoolKey poolKey, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningConnection, DbConnectionOptions userOptions)
at System.Data.ProviderBase.DbConnectionFactory.CreatePooledConnection(DbConnectionPool pool, DbConnection owningObject, DbConnectionOptions options, DbConnectionPoolKey poolKey, DbConnectionOptions userOptions)
at System.Data.ProviderBase.DbConnectionPool.CreateObject(DbConnection owningObject, DbConnectionOptions userOptions, DbConnectionInternal oldConnection)
at System.Data.ProviderBase.DbConnectionPool.UserCreateRequest(DbConnection owningObject, DbConnectionOptions userOptions, DbConnectionInternal oldConnection)
at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection)
at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection)
at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection)
at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions)
at System.Data.ProviderBase.DbConnectionClosed.TryOpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions)
at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry)
at System.Data.SqlClient.SqlConnection.Open()
at Hangfire.SqlServer.SqlServerStorage.CreateAndOpenConnection()
at Hangfire.SqlServer.SqlServerStorage.UseConnection[T](DbConnection dedicatedConnection, Func`2 func)
at Hangfire.SqlServer.SqlServerStorage.UseConnection(DbConnection dedicatedConnection, Action`1 action)
at Hangfire.SqlServer.SqlServerStorage.Initialize()
ClientConnectionId:00000000-0000-0000-0000-000000000000
Error Number:53,State:0,Class:20
2023-02-08 10:23:21.381 G An exception occurred while trying to perform the migration.
System.Data.SqlClient.SqlException (0x80131904): A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server)
---> System.ComponentModel.Win32Exception (53): 找不到网络路径。
at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection)
at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection)
at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection)
at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions)
at System.Data.ProviderBase.DbConnectionClosed.TryOpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions)
at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry)
at System.Data.SqlClient.SqlConnection.Open()
at Hangfire.SqlServer.SqlServerStorage.CreateAndOpenConnection()
at Hangfire.SqlServer.SqlServerStorage.UseConnection[T](DbConnection dedicatedConnection, Func`2 func)
at Hangfire.SqlServer.SqlServerStorage.UseConnection(DbConnection dedicatedConnection, Action`1 action)
at Hangfire.SqlServer.SqlServerStorage.Initialize()
ClientConnectionId:00000000-0000-0000-0000-000000000000
Error Number:53,State:0,Class:20
2023-02-08 10:23:21.395 G Was unable to perform the Hangfire schema migration due to an exception. Ignore this message unless you've just installed or upgraded Hangfire.
System.Data.SqlClient.SqlException (0x80131904): A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server)
---> System.ComponentModel.Win32Exception (53): 找不到网络路径。
at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection)
at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection)
at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection)
at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions)
at System.Data.ProviderBase.DbConnectionClosed.TryOpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions)
at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry)
at System.Data.SqlClient.SqlConnection.Open()
at Hangfire.SqlServer.SqlServerStorage.CreateAndOpenConnection()
at Hangfire.SqlServer.SqlServerStorage.UseConnection[T](DbConnection dedicatedConnection, Func`2 func)
at Hangfire.SqlServer.SqlServerStorage.UseConnection(DbConnection dedicatedConnection, Action`1 action)
at Hangfire.SqlServer.SqlServerStorage.Initialize()
ClientConnectionId:00000000-0000-0000-0000-000000000000
Error Number:53,State:0,Class:20
2023-02-08 10:23:21.419 G Starting Hangfire Server using job storage: 'SQL Server: 192.168.0.140@SettleAccountService'
2023-02-08 10:23:21.420 G Using the following options for SQL Server job storage: Queue poll interval: 00:00:15.
2023-02-08 10:23:21.423 G Using the following options for Hangfire Server:
Worker count: 20
Listening queues: 'default'
Shutdown timeout: 00:00:15
Schedule polling interval: 00:00:15
2023-02-08 10:23:21.480 G Execution BackgroundServerProcess is in the Failed state now due to an exception, execution will be retried no more than in 00:00:15
System.Data.SqlClient.SqlException (0x80131904): A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server)
---> System.ComponentModel.Win32Exception (53): 找不到网络路径。
at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection)
at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection)
at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection)
at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions)
at System.Data.ProviderBase.DbConnectionClosed.TryOpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions)
at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry)
at System.Data.SqlClient.SqlConnection.Open()
at Hangfire.SqlServer.SqlServerStorage.CreateAndOpenConnection()
at Hangfire.SqlServer.SqlServerStorage.UseConnection[T](DbConnection dedicatedConnection, Func`2 func)
at Hangfire.SqlServer.SqlServerStorage.UseConnection(DbConnection dedicatedConnection, Action`1 action)
at Hangfire.SqlServer.SqlServerConnection.AnnounceServer(String serverId, ServerContext context)
at Hangfire.Server.BackgroundServerProcess.CreateServer(BackgroundServerContext context)
at Hangfire.Server.BackgroundServerProcess.Execute(Guid executionId, BackgroundExecution execution, CancellationToken stoppingToken, CancellationToken stoppedToken, CancellationToken shutdownToken)
at Hangfire.Server.BackgroundProcessingServer.RunServer(Guid executionId, Object state)
at Hangfire.Processing.BackgroundExecution.Run(Action`2 callback, Object state)
ClientConnectionId:00000000-0000-0000-0000-000000000000
Error Number:53,State:0,Class:20
2023-02-08 10:23:21.495 G Starting Hangfire Server using job storage: 'SQL Server: 192.168.0.140@SettleAccountService'
2023-02-08 10:23:21.508 G Using the following options for SQL Server job storage: Queue poll interval: 00:00:15.
2023-02-08 10:23:21.511 G Using the following options for Hangfire Server:
Worker count: 20
Listening queues: 'default'
Shutdown timeout: 00:00:15
Schedule polling interval: 00:00:15
2023-02-08 10:23:21.519 G Execution BackgroundServerProcess is in the Failed state now due to an exception, execution will be retried no more than in 00:00:15
System.Data.SqlClient.SqlException (0x80131904): A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server)
---> System.ComponentModel.Win32Exception (53): 找不到网络路径。
at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection)
at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection)
at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection)
at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions)
at System.Data.ProviderBase.DbConnectionClosed.TryOpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions)
at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry)
at System.Data.SqlClient.SqlConnection.Open()
at Hangfire.SqlServer.SqlServerStorage.CreateAndOpenConnection()
at Hangfire.SqlServer.SqlServerStorage.UseConnection[T](DbConnection dedicatedConnection, Func`2 func)
at Hangfire.SqlServer.SqlServerStorage.UseConnection(DbConnection dedicatedConnection, Action`1 action)
at Hangfire.SqlServer.SqlServerConnection.AnnounceServer(String serverId, ServerContext context)
at Hangfire.Server.BackgroundServerProcess.CreateServer(BackgroundServerContext context)
at Hangfire.Server.BackgroundServerProcess.Execute(Guid executionId, BackgroundExecution execution, CancellationToken stoppingToken, CancellationToken stoppedToken, CancellationToken shutdownToken)
at Hangfire.Server.BackgroundProcessingServer.RunServer(Guid executionId, Object state)
at Hangfire.Processing.BackgroundExecution.Run(Action`2 callback, Object state)
ClientConnectionId:00000000-0000-0000-0000-000000000000
Error Number:53,State:0,Class:20
2023-02-08 10:23:23.398 G Entity Framework Core "5.0.8" initialized '"PermissionManagementDbContext"' using provider '"Microsoft.EntityFrameworkCore.SqlServer"' with options: "QuerySplittingBehavior=SplitQuery "
2023-02-08 10:23:23.420 G An error occurred using the connection to database '"ABP"' on server '"192.168.0.140"'.
2023-02-08 10:25:41.938 G Starting web host.
2023-02-08 10:25:49.279 G User profile is available. Using '"C:\Users\Administrator\AppData\Local\ASP.NET\DataProtection-Keys"' as key repository and Windows DPAPI to encrypt keys at rest.
2023-02-08 10:25:49.373 G Loaded ABP modules:
2023-02-08 10:25:49.374 G - Win.Sfs.SettleAccount.SettleAccountHttpApiHostModule
2023-02-08 10:25:49.375 G - Win.Sfs.SettleAccount.SettleAccountApplicationModule
2023-02-08 10:25:49.375 G - Win.Sfs.SettleAccount.SettleAccountJobModule
2023-02-08 10:25:49.376 G - Win.Sfs.SettleAccount.SettleAccountDomainModule
2023-02-08 10:25:49.376 G - Volo.Abp.Domain.AbpDddDomainModule
2023-02-08 10:25:49.376 G - Volo.Abp.Auditing.AbpAuditingModule
2023-02-08 10:25:49.377 G - Volo.Abp.Data.AbpDataModule
2023-02-08 10:25:49.377 G - Volo.Abp.ObjectExtending.AbpObjectExtendingModule
2023-02-08 10:25:49.378 G - Volo.Abp.Localization.AbpLocalizationAbstractionsModule
2023-02-08 10:25:49.378 G - Volo.Abp.Validation.AbpValidationAbstractionsModule
2023-02-08 10:25:49.378 G - Volo.Abp.Uow.AbpUnitOfWorkModule
2023-02-08 10:25:49.379 G - Volo.Abp.EventBus.Abstractions.AbpEventBusAbstractionsModule
2023-02-08 10:25:49.379 G - Volo.Abp.Json.AbpJsonModule
2023-02-08 10:25:49.380 G - Volo.Abp.Timing.AbpTimingModule
2023-02-08 10:25:49.380 G - Volo.Abp.Localization.AbpLocalizationModule
2023-02-08 10:25:49.381 G - Volo.Abp.VirtualFileSystem.AbpVirtualFileSystemModule
2023-02-08 10:25:49.381 G - Volo.Abp.Settings.AbpSettingsModule
2023-02-08 10:25:49.382 G - Volo.Abp.Security.AbpSecurityModule
2023-02-08 10:25:49.384 G - Volo.Abp.MultiTenancy.AbpMultiTenancyModule
2023-02-08 10:25:49.385 G - Volo.Abp.Threading.AbpThreadingModule
2023-02-08 10:25:49.385 G - Volo.Abp.EventBus.AbpEventBusModule
2023-02-08 10:25:49.385 G - Volo.Abp.Guids.AbpGuidsModule
2023-02-08 10:25:49.386 G - Volo.Abp.ObjectMapping.AbpObjectMappingModule
2023-02-08 10:25:49.386 G - Volo.Abp.ExceptionHandling.AbpExceptionHandlingModule
2023-02-08 10:25:49.387 G - Volo.Abp.Specifications.AbpSpecificationsModule
2023-02-08 10:25:49.387 G - Win.Sfs.SettleAccount.SettleAccountDomainSharedModule
2023-02-08 10:25:49.388 G - Volo.Abp.Validation.AbpValidationModule
2023-02-08 10:25:49.388 G - Win.Sfs.SettleAccount.SettleAccountApplicationContractsModule
2023-02-08 10:25:49.389 G - Volo.Abp.Application.AbpDddApplicationContractsModule
2023-02-08 10:25:49.390 G - Volo.Abp.Authorization.AbpAuthorizationModule
2023-02-08 10:25:49.391 G - Volo.Abp.Authorization.AbpAuthorizationAbstractionsModule
2023-02-08 10:25:49.392 G - Volo.Abp.AutoMapper.AbpAutoMapperModule
2023-02-08 10:25:49.393 G - Volo.Abp.Dapper.AbpDapperModule
2023-02-08 10:25:49.395 G - Volo.Abp.EntityFrameworkCore.AbpEntityFrameworkCoreModule
2023-02-08 10:25:49.396 G - Win.Abp.Snowflakes.AbpSnowflakeGeneratorModule
2023-02-08 10:25:49.397 G - Volo.Abp.Http.Client.IdentityModel.AbpHttpClientIdentityModelModule
2023-02-08 10:25:49.398 G - Volo.Abp.Http.Client.AbpHttpClientModule
2023-02-08 10:25:49.399 G - Volo.Abp.Http.AbpHttpModule
2023-02-08 10:25:49.399 G - Volo.Abp.Http.AbpHttpAbstractionsModule
2023-02-08 10:25:49.400 G - Volo.Abp.Minify.AbpMinifyModule
2023-02-08 10:25:49.400 G - Volo.Abp.Castle.AbpCastleCoreModule
2023-02-08 10:25:49.402 G - Volo.Abp.IdentityModel.AbpIdentityModelModule
2023-02-08 10:25:49.407 G - Volo.Abp.Caching.AbpCachingModule
2023-02-08 10:25:49.408 G - Volo.Abp.Serialization.AbpSerializationModule
2023-02-08 10:25:49.410 G - Volo.Abp.Identity.AbpIdentityHttpApiClientModule
2023-02-08 10:25:49.410 G - Volo.Abp.Identity.AbpIdentityApplicationContractsModule
2023-02-08 10:25:49.411 G - Volo.Abp.Identity.AbpIdentityDomainSharedModule
2023-02-08 10:25:49.412 G - Volo.Abp.Users.AbpUsersDomainSharedModule
2023-02-08 10:25:49.412 G - Volo.Abp.Features.AbpFeaturesModule
2023-02-08 10:25:49.413 G - Volo.Abp.Users.AbpUsersAbstractionModule
2023-02-08 10:25:49.414 G - Volo.Abp.Application.AbpDddApplicationModule
2023-02-08 10:25:49.414 G - Volo.Abp.GlobalFeatures.AbpGlobalFeaturesModule
2023-02-08 10:25:49.415 G - Volo.Abp.PermissionManagement.AbpPermissionManagementApplicationContractsModule
2023-02-08 10:25:49.417 G - Volo.Abp.PermissionManagement.AbpPermissionManagementDomainSharedModule
2023-02-08 10:25:49.419 G - Volo.Abp.AspNetCore.Mvc.AbpAspNetCoreMvcModule
2023-02-08 10:25:49.420 G - Volo.Abp.AspNetCore.AbpAspNetCoreModule
2023-02-08 10:25:49.421 G - Volo.Abp.ApiVersioning.AbpApiVersioningAbstractionsModule
2023-02-08 10:25:49.422 G - Volo.Abp.AspNetCore.Mvc.AbpAspNetCoreMvcContractsModule
2023-02-08 10:25:49.424 G - Volo.Abp.UI.Navigation.AbpUiNavigationModule
2023-02-08 10:25:49.425 G - Volo.Abp.UI.AbpUiModule
2023-02-08 10:25:49.426 G - Win.Sfs.SettleAccount.SettleAccountEntityFrameworkCoreModule
2023-02-08 10:25:49.427 G - Volo.Abp.PermissionManagement.EntityFrameworkCore.AbpPermissionManagementEntityFrameworkCoreModule
2023-02-08 10:25:49.429 G - Volo.Abp.PermissionManagement.AbpPermissionManagementDomainModule
2023-02-08 10:25:49.430 G - Volo.Abp.SettingManagement.EntityFrameworkCore.AbpSettingManagementEntityFrameworkCoreModule
2023-02-08 10:25:49.430 G - Volo.Abp.SettingManagement.AbpSettingManagementDomainModule
2023-02-08 10:25:49.431 G - Volo.Abp.SettingManagement.AbpSettingManagementDomainSharedModule
2023-02-08 10:25:49.432 G - Volo.Abp.AuditLogging.EntityFrameworkCore.AbpAuditLoggingEntityFrameworkCoreModule
2023-02-08 10:25:49.432 G - Volo.Abp.AuditLogging.AbpAuditLoggingDomainModule
2023-02-08 10:25:49.435 G - Volo.Abp.AuditLogging.AbpAuditLoggingDomainSharedModule
2023-02-08 10:25:49.436 G - Volo.Abp.TenantManagement.EntityFrameworkCore.AbpTenantManagementEntityFrameworkCoreModule
2023-02-08 10:25:49.438 G - Volo.Abp.TenantManagement.AbpTenantManagementDomainModule
2023-02-08 10:25:49.439 G - Volo.Abp.TenantManagement.AbpTenantManagementDomainSharedModule
2023-02-08 10:25:49.441 G - Win.Sfs.SettleAccount.SettleAccountHttpApiModule
2023-02-08 10:25:49.442 G - Volo.Abp.Autofac.AbpAutofacModule
2023-02-08 10:25:49.443 G - Volo.Abp.EntityFrameworkCore.SqlServer.AbpEntityFrameworkCoreSqlServerModule
2023-02-08 10:25:49.443 G - Volo.Abp.AspNetCore.Serilog.AbpAspNetCoreSerilogModule
2023-02-08 10:25:49.445 G - Volo.Abp.BlobStoring.AbpBlobStoringModule
2023-02-08 10:25:49.446 G - Volo.Abp.BlobStoring.FileSystem.AbpBlobStoringFileSystemModule
2023-02-08 10:25:49.448 G - Volo.Abp.BackgroundJobs.Hangfire.AbpBackgroundJobsHangfireModule
2023-02-08 10:25:49.449 G - Volo.Abp.BackgroundJobs.AbpBackgroundJobsAbstractionsModule
2023-02-08 10:25:49.450 G - Volo.Abp.Hangfire.AbpHangfireModule
2023-02-08 10:25:49.516 G Start installing Hangfire SQL objects...
2023-02-08 10:26:10.573 G An exception occurred while trying to perform the migration. Retrying...
System.Data.SqlClient.SqlException (0x80131904): A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server)
---> System.ComponentModel.Win32Exception (53): 找不到网络路径。
at System.Data.SqlClient.SqlInternalConnectionTds..ctor(DbConnectionPoolIdentity identity, SqlConnectionString connectionOptions, SqlCredential credential, Object providerInfo, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance, SqlConnectionString userConnectionOptions, SessionData reconnectSessionData, Boolean applyTransientFaultHandling, String accessToken)
at System.Data.SqlClient.SqlConnectionFactory.CreateConnection(DbConnectionOptions options, DbConnectionPoolKey poolKey, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningConnection, DbConnectionOptions userOptions)
at System.Data.ProviderBase.DbConnectionFactory.CreatePooledConnection(DbConnectionPool pool, DbConnection owningObject, DbConnectionOptions options, DbConnectionPoolKey poolKey, DbConnectionOptions userOptions)
at System.Data.ProviderBase.DbConnectionPool.CreateObject(DbConnection owningObject, DbConnectionOptions userOptions, DbConnectionInternal oldConnection)
at System.Data.ProviderBase.DbConnectionPool.UserCreateRequest(DbConnection owningObject, DbConnectionOptions userOptions, DbConnectionInternal oldConnection)
at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection)
at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection)
at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection)
at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions)
at System.Data.ProviderBase.DbConnectionClosed.TryOpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions)
at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry)
at System.Data.SqlClient.SqlConnection.Open()
at Hangfire.SqlServer.SqlServerStorage.CreateAndOpenConnection()
at Hangfire.SqlServer.SqlServerStorage.UseConnection[T](DbConnection dedicatedConnection, Func`2 func)
at Hangfire.SqlServer.SqlServerStorage.UseConnection(DbConnection dedicatedConnection, Action`1 action)
at Hangfire.SqlServer.SqlServerStorage.Initialize()
ClientConnectionId:00000000-0000-0000-0000-000000000000
Error Number:53,State:0,Class:20
2023-02-08 10:26:10.586 G An exception occurred while trying to perform the migration. Retrying...
System.Data.SqlClient.SqlException (0x80131904): A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server)
---> System.ComponentModel.Win32Exception (53): 找不到网络路径。
at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection)
at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection)
at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection)
at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions)
at System.Data.ProviderBase.DbConnectionClosed.TryOpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions)
at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry)
at System.Data.SqlClient.SqlConnection.Open()
at Hangfire.SqlServer.SqlServerStorage.CreateAndOpenConnection()
at Hangfire.SqlServer.SqlServerStorage.UseConnection[T](DbConnection dedicatedConnection, Func`2 func)
at Hangfire.SqlServer.SqlServerStorage.UseConnection(DbConnection dedicatedConnection, Action`1 action)
at Hangfire.SqlServer.SqlServerStorage.Initialize()
ClientConnectionId:00000000-0000-0000-0000-000000000000
Error Number:53,State:0,Class:20
2023-02-08 10:26:10.594 G An exception occurred while trying to perform the migration.
System.Data.SqlClient.SqlException (0x80131904): A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server)
---> System.ComponentModel.Win32Exception (53): 找不到网络路径。
at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection)
at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection)
at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection)
at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions)
at System.Data.ProviderBase.DbConnectionClosed.TryOpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions)
at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry)
at System.Data.SqlClient.SqlConnection.Open()
at Hangfire.SqlServer.SqlServerStorage.CreateAndOpenConnection()
at Hangfire.SqlServer.SqlServerStorage.UseConnection[T](DbConnection dedicatedConnection, Func`2 func)
at Hangfire.SqlServer.SqlServerStorage.UseConnection(DbConnection dedicatedConnection, Action`1 action)
at Hangfire.SqlServer.SqlServerStorage.Initialize()
ClientConnectionId:00000000-0000-0000-0000-000000000000
Error Number:53,State:0,Class:20
2023-02-08 10:26:10.599 G Was unable to perform the Hangfire schema migration due to an exception. Ignore this message unless you've just installed or upgraded Hangfire.
System.Data.SqlClient.SqlException (0x80131904): A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server)
---> System.ComponentModel.Win32Exception (53): 找不到网络路径。
at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection)
at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection)
at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection)
at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions)
at System.Data.ProviderBase.DbConnectionClosed.TryOpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions)
at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry)
at System.Data.SqlClient.SqlConnection.Open()
at Hangfire.SqlServer.SqlServerStorage.CreateAndOpenConnection()
at Hangfire.SqlServer.SqlServerStorage.UseConnection[T](DbConnection dedicatedConnection, Func`2 func)
at Hangfire.SqlServer.SqlServerStorage.UseConnection(DbConnection dedicatedConnection, Action`1 action)
at Hangfire.SqlServer.SqlServerStorage.Initialize()
ClientConnectionId:00000000-0000-0000-0000-000000000000
Error Number:53,State:0,Class:20
2023-02-08 10:26:10.618 G Starting Hangfire Server using job storage: 'SQL Server: 192.168.0.140@SettleAccountService'
2023-02-08 10:26:10.620 G Using the following options for SQL Server job storage: Queue poll interval: 00:00:15.
2023-02-08 10:26:10.621 G Using the following options for Hangfire Server:
Worker count: 20
Listening queues: 'default'
Shutdown timeout: 00:00:15
Schedule polling interval: 00:00:15
2023-02-08 10:26:10.666 G Execution BackgroundServerProcess is in the Failed state now due to an exception, execution will be retried no more than in 00:00:15
System.Data.SqlClient.SqlException (0x80131904): A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server)
---> System.ComponentModel.Win32Exception (53): 找不到网络路径。
at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection)
at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection)
at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection)
at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions)
at System.Data.ProviderBase.DbConnectionClosed.TryOpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions)
at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry)
at System.Data.SqlClient.SqlConnection.Open()
at Hangfire.SqlServer.SqlServerStorage.CreateAndOpenConnection()
at Hangfire.SqlServer.SqlServerStorage.UseConnection[T](DbConnection dedicatedConnection, Func`2 func)
at Hangfire.SqlServer.SqlServerStorage.UseConnection(DbConnection dedicatedConnection, Action`1 action)
at Hangfire.SqlServer.SqlServerConnection.AnnounceServer(String serverId, ServerContext context)
at Hangfire.Server.BackgroundServerProcess.CreateServer(BackgroundServerContext context)
at Hangfire.Server.BackgroundServerProcess.Execute(Guid executionId, BackgroundExecution execution, CancellationToken stoppingToken, CancellationToken stoppedToken, CancellationToken shutdownToken)
at Hangfire.Server.BackgroundProcessingServer.RunServer(Guid executionId, Object state)
at Hangfire.Processing.BackgroundExecution.Run(Action`2 callback, Object state)
ClientConnectionId:00000000-0000-0000-0000-000000000000
Error Number:53,State:0,Class:20
2023-02-08 10:26:10.673 G Starting Hangfire Server using job storage: 'SQL Server: 192.168.0.140@SettleAccountService'
2023-02-08 10:26:10.678 G Using the following options for SQL Server job storage: Queue poll interval: 00:00:15.
2023-02-08 10:26:10.679 G Using the following options for Hangfire Server:
Worker count: 20
Listening queues: 'default'
Shutdown timeout: 00:00:15
Schedule polling interval: 00:00:15
2023-02-08 10:26:10.683 G Execution BackgroundServerProcess is in the Failed state now due to an exception, execution will be retried no more than in 00:00:15
System.Data.SqlClient.SqlException (0x80131904): A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server)
---> System.ComponentModel.Win32Exception (53): 找不到网络路径。
at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection)
at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection)
at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection)
at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions)
at System.Data.ProviderBase.DbConnectionClosed.TryOpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions)
at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry)
at System.Data.SqlClient.SqlConnection.Open()
at Hangfire.SqlServer.SqlServerStorage.CreateAndOpenConnection()
at Hangfire.SqlServer.SqlServerStorage.UseConnection[T](DbConnection dedicatedConnection, Func`2 func)
at Hangfire.SqlServer.SqlServerStorage.UseConnection(DbConnection dedicatedConnection, Action`1 action)
at Hangfire.SqlServer.SqlServerConnection.AnnounceServer(String serverId, ServerContext context)
at Hangfire.Server.BackgroundServerProcess.CreateServer(BackgroundServerContext context)
at Hangfire.Server.BackgroundServerProcess.Execute(Guid executionId, BackgroundExecution execution, CancellationToken stoppingToken, CancellationToken stoppedToken, CancellationToken shutdownToken)
at Hangfire.Server.BackgroundProcessingServer.RunServer(Guid executionId, Object state)
at Hangfire.Processing.BackgroundExecution.Run(Action`2 callback, Object state)
ClientConnectionId:00000000-0000-0000-0000-000000000000
Error Number:53,State:0,Class:20
2023-02-08 10:26:11.841 G Entity Framework Core "5.0.8" initialized '"PermissionManagementDbContext"' using provider '"Microsoft.EntityFrameworkCore.SqlServer"' with options: "QuerySplittingBehavior=SplitQuery "
2023-02-08 10:26:40.696 G Execution BackgroundServerProcess is still in the Failed state for 00:00:30.0013829 due to an exception, will be retried no more than in 00:00:15
System.InvalidOperationException: Timeout expired. The timeout period elapsed prior to obtaining a connection from the pool. This may have occurred because all pooled connections were in use and max pool size was reached.
at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection)
at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions)
at System.Data.ProviderBase.DbConnectionClosed.TryOpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions)
at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry)
at System.Data.SqlClient.SqlConnection.Open()
at Hangfire.SqlServer.SqlServerStorage.CreateAndOpenConnection()
at Hangfire.SqlServer.SqlServerStorage.UseConnection[T](DbConnection dedicatedConnection, Func`2 func)
at Hangfire.SqlServer.SqlServerStorage.UseConnection(DbConnection dedicatedConnection, Action`1 action)
at Hangfire.SqlServer.SqlServerConnection.AnnounceServer(String serverId, ServerContext context)
at Hangfire.Server.BackgroundServerProcess.CreateServer(BackgroundServerContext context)
at Hangfire.Server.BackgroundServerProcess.Execute(Guid executionId, BackgroundExecution execution, CancellationToken stoppingToken, CancellationToken stoppedToken, CancellationToken shutdownToken)
at Hangfire.Server.BackgroundProcessingServer.RunServer(Guid executionId, Object state)
at Hangfire.Processing.BackgroundExecution.Run(Action`2 callback, Object state)
2023-02-08 10:27:03.885 G Execution BackgroundServerProcess is still in the Failed state for 00:00:53.1901256 due to an exception, will be retried no more than in 00:00:15
System.Data.SqlClient.SqlException (0x80131904): A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server)
---> System.ComponentModel.Win32Exception (53): 找不到网络路径。
at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection)
at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection)
at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection)
at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions)
at System.Data.ProviderBase.DbConnectionClosed.TryOpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions)
at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry)
at System.Data.SqlClient.SqlConnection.Open()
at Hangfire.SqlServer.SqlServerStorage.CreateAndOpenConnection()
at Hangfire.SqlServer.SqlServerStorage.UseConnection[T](DbConnection dedicatedConnection, Func`2 func)
at Hangfire.SqlServer.SqlServerStorage.UseConnection(DbConnection dedicatedConnection, Action`1 action)
at Hangfire.SqlServer.SqlServerConnection.AnnounceServer(String serverId, ServerContext context)
at Hangfire.Server.BackgroundServerProcess.CreateServer(BackgroundServerContext context)
at Hangfire.Server.BackgroundServerProcess.Execute(Guid executionId, BackgroundExecution execution, CancellationToken stoppingToken, CancellationToken stoppedToken, CancellationToken shutdownToken)
at Hangfire.Server.BackgroundProcessingServer.RunServer(Guid executionId, Object state)
at Hangfire.Processing.BackgroundExecution.Run(Action`2 callback, Object state)
ClientConnectionId:00000000-0000-0000-0000-000000000000
Error Number:53,State:0,Class:20
2023-02-08 10:27:03.885 G Execution BackgroundServerProcess is still in the Failed state for 00:00:53.2064215 due to an exception, will be retried no more than in 00:00:15
System.Data.SqlClient.SqlException (0x80131904): A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server)
---> System.ComponentModel.Win32Exception (53): 找不到网络路径。
at System.Data.SqlClient.SqlInternalConnectionTds..ctor(DbConnectionPoolIdentity identity, SqlConnectionString connectionOptions, SqlCredential credential, Object providerInfo, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance, SqlConnectionString userConnectionOptions, SessionData reconnectSessionData, Boolean applyTransientFaultHandling, String accessToken)
at System.Data.SqlClient.SqlConnectionFactory.CreateConnection(DbConnectionOptions options, DbConnectionPoolKey poolKey, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningConnection, DbConnectionOptions userOptions)
at System.Data.ProviderBase.DbConnectionFactory.CreatePooledConnection(DbConnectionPool pool, DbConnection owningObject, DbConnectionOptions options, DbConnectionPoolKey poolKey, DbConnectionOptions userOptions)
at System.Data.ProviderBase.DbConnectionPool.CreateObject(DbConnection owningObject, DbConnectionOptions userOptions, DbConnectionInternal oldConnection)
at System.Data.ProviderBase.DbConnectionPool.UserCreateRequest(DbConnection owningObject, DbConnectionOptions userOptions, DbConnectionInternal oldConnection)
at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection)
at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection)
at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection)
at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions)
at System.Data.ProviderBase.DbConnectionClosed.TryOpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions)
at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry)
at System.Data.SqlClient.SqlConnection.Open()
at Hangfire.SqlServer.SqlServerStorage.CreateAndOpenConnection()
at Hangfire.SqlServer.SqlServerStorage.UseConnection[T](DbConnection dedicatedConnection, Func`2 func)
at Hangfire.SqlServer.SqlServerStorage.UseConnection(DbConnection dedicatedConnection, Action`1 action)
at Hangfire.SqlServer.SqlServerConnection.AnnounceServer(String serverId, ServerContext context)
at Hangfire.Server.BackgroundServerProcess.CreateServer(BackgroundServerContext context)
at Hangfire.Server.BackgroundServerProcess.Execute(Guid executionId, BackgroundExecution execution, CancellationToken stoppingToken, CancellationToken stoppedToken, CancellationToken shutdownToken)
at Hangfire.Server.BackgroundProcessingServer.RunServer(Guid executionId, Object state)
at Hangfire.Processing.BackgroundExecution.Run(Action`2 callback, Object state)
ClientConnectionId:00000000-0000-0000-0000-000000000000
Error Number:53,State:0,Class:20
2023-02-08 10:27:03.893 G An error occurred using the connection to database '"ABP"' on server '"192.168.0.140"'.

900
code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/Logs/log-20230209.txt

@ -1,900 +0,0 @@
2023-02-09 08:51:34.696 G Starting web host.
2023-02-09 08:51:43.123 G User profile is available. Using '"C:\Users\Administrator\AppData\Local\ASP.NET\DataProtection-Keys"' as key repository and Windows DPAPI to encrypt keys at rest.
2023-02-09 08:51:43.244 G Loaded ABP modules:
2023-02-09 08:51:43.246 G - Win.Sfs.SettleAccount.SettleAccountHttpApiHostModule
2023-02-09 08:51:43.247 G - Win.Sfs.SettleAccount.SettleAccountApplicationModule
2023-02-09 08:51:43.247 G - Win.Sfs.SettleAccount.SettleAccountJobModule
2023-02-09 08:51:43.248 G - Win.Sfs.SettleAccount.SettleAccountDomainModule
2023-02-09 08:51:43.249 G - Volo.Abp.Domain.AbpDddDomainModule
2023-02-09 08:51:43.250 G - Volo.Abp.Auditing.AbpAuditingModule
2023-02-09 08:51:43.250 G - Volo.Abp.Data.AbpDataModule
2023-02-09 08:51:43.251 G - Volo.Abp.ObjectExtending.AbpObjectExtendingModule
2023-02-09 08:51:43.252 G - Volo.Abp.Localization.AbpLocalizationAbstractionsModule
2023-02-09 08:51:43.253 G - Volo.Abp.Validation.AbpValidationAbstractionsModule
2023-02-09 08:51:43.255 G - Volo.Abp.Uow.AbpUnitOfWorkModule
2023-02-09 08:51:43.256 G - Volo.Abp.EventBus.Abstractions.AbpEventBusAbstractionsModule
2023-02-09 08:51:43.257 G - Volo.Abp.Json.AbpJsonModule
2023-02-09 08:51:43.257 G - Volo.Abp.Timing.AbpTimingModule
2023-02-09 08:51:43.257 G - Volo.Abp.Localization.AbpLocalizationModule
2023-02-09 08:51:43.258 G - Volo.Abp.VirtualFileSystem.AbpVirtualFileSystemModule
2023-02-09 08:51:43.258 G - Volo.Abp.Settings.AbpSettingsModule
2023-02-09 08:51:43.259 G - Volo.Abp.Security.AbpSecurityModule
2023-02-09 08:51:43.259 G - Volo.Abp.MultiTenancy.AbpMultiTenancyModule
2023-02-09 08:51:43.260 G - Volo.Abp.Threading.AbpThreadingModule
2023-02-09 08:51:43.260 G - Volo.Abp.EventBus.AbpEventBusModule
2023-02-09 08:51:43.261 G - Volo.Abp.Guids.AbpGuidsModule
2023-02-09 08:51:43.261 G - Volo.Abp.ObjectMapping.AbpObjectMappingModule
2023-02-09 08:51:43.262 G - Volo.Abp.ExceptionHandling.AbpExceptionHandlingModule
2023-02-09 08:51:43.262 G - Volo.Abp.Specifications.AbpSpecificationsModule
2023-02-09 08:51:43.263 G - Win.Sfs.SettleAccount.SettleAccountDomainSharedModule
2023-02-09 08:51:43.263 G - Volo.Abp.Validation.AbpValidationModule
2023-02-09 08:51:43.264 G - Win.Sfs.SettleAccount.SettleAccountApplicationContractsModule
2023-02-09 08:51:43.265 G - Volo.Abp.Application.AbpDddApplicationContractsModule
2023-02-09 08:51:43.265 G - Volo.Abp.Authorization.AbpAuthorizationModule
2023-02-09 08:51:43.266 G - Volo.Abp.Authorization.AbpAuthorizationAbstractionsModule
2023-02-09 08:51:43.267 G - Volo.Abp.AutoMapper.AbpAutoMapperModule
2023-02-09 08:51:43.267 G - Volo.Abp.Dapper.AbpDapperModule
2023-02-09 08:51:43.268 G - Volo.Abp.EntityFrameworkCore.AbpEntityFrameworkCoreModule
2023-02-09 08:51:43.270 G - Win.Abp.Snowflakes.AbpSnowflakeGeneratorModule
2023-02-09 08:51:43.271 G - Volo.Abp.Http.Client.IdentityModel.AbpHttpClientIdentityModelModule
2023-02-09 08:51:43.272 G - Volo.Abp.Http.Client.AbpHttpClientModule
2023-02-09 08:51:43.273 G - Volo.Abp.Http.AbpHttpModule
2023-02-09 08:51:43.273 G - Volo.Abp.Http.AbpHttpAbstractionsModule
2023-02-09 08:51:43.274 G - Volo.Abp.Minify.AbpMinifyModule
2023-02-09 08:51:43.275 G - Volo.Abp.Castle.AbpCastleCoreModule
2023-02-09 08:51:43.275 G - Volo.Abp.IdentityModel.AbpIdentityModelModule
2023-02-09 08:51:43.276 G - Volo.Abp.Caching.AbpCachingModule
2023-02-09 08:51:43.277 G - Volo.Abp.Serialization.AbpSerializationModule
2023-02-09 08:51:43.277 G - Volo.Abp.Identity.AbpIdentityHttpApiClientModule
2023-02-09 08:51:43.278 G - Volo.Abp.Identity.AbpIdentityApplicationContractsModule
2023-02-09 08:51:43.279 G - Volo.Abp.Identity.AbpIdentityDomainSharedModule
2023-02-09 08:51:43.279 G - Volo.Abp.Users.AbpUsersDomainSharedModule
2023-02-09 08:51:43.280 G - Volo.Abp.Features.AbpFeaturesModule
2023-02-09 08:51:43.281 G - Volo.Abp.Users.AbpUsersAbstractionModule
2023-02-09 08:51:43.282 G - Volo.Abp.Application.AbpDddApplicationModule
2023-02-09 08:51:43.282 G - Volo.Abp.GlobalFeatures.AbpGlobalFeaturesModule
2023-02-09 08:51:43.283 G - Volo.Abp.PermissionManagement.AbpPermissionManagementApplicationContractsModule
2023-02-09 08:51:43.286 G - Volo.Abp.PermissionManagement.AbpPermissionManagementDomainSharedModule
2023-02-09 08:51:43.288 G - Volo.Abp.AspNetCore.Mvc.AbpAspNetCoreMvcModule
2023-02-09 08:51:43.289 G - Volo.Abp.AspNetCore.AbpAspNetCoreModule
2023-02-09 08:51:43.289 G - Volo.Abp.ApiVersioning.AbpApiVersioningAbstractionsModule
2023-02-09 08:51:43.290 G - Volo.Abp.AspNetCore.Mvc.AbpAspNetCoreMvcContractsModule
2023-02-09 08:51:43.290 G - Volo.Abp.UI.Navigation.AbpUiNavigationModule
2023-02-09 08:51:43.291 G - Volo.Abp.UI.AbpUiModule
2023-02-09 08:51:43.291 G - Win.Sfs.SettleAccount.SettleAccountEntityFrameworkCoreModule
2023-02-09 08:51:43.292 G - Volo.Abp.PermissionManagement.EntityFrameworkCore.AbpPermissionManagementEntityFrameworkCoreModule
2023-02-09 08:51:43.292 G - Volo.Abp.PermissionManagement.AbpPermissionManagementDomainModule
2023-02-09 08:51:43.293 G - Volo.Abp.SettingManagement.EntityFrameworkCore.AbpSettingManagementEntityFrameworkCoreModule
2023-02-09 08:51:43.294 G - Volo.Abp.SettingManagement.AbpSettingManagementDomainModule
2023-02-09 08:51:43.294 G - Volo.Abp.SettingManagement.AbpSettingManagementDomainSharedModule
2023-02-09 08:51:43.295 G - Volo.Abp.AuditLogging.EntityFrameworkCore.AbpAuditLoggingEntityFrameworkCoreModule
2023-02-09 08:51:43.295 G - Volo.Abp.AuditLogging.AbpAuditLoggingDomainModule
2023-02-09 08:51:43.296 G - Volo.Abp.AuditLogging.AbpAuditLoggingDomainSharedModule
2023-02-09 08:51:43.297 G - Volo.Abp.TenantManagement.EntityFrameworkCore.AbpTenantManagementEntityFrameworkCoreModule
2023-02-09 08:51:43.297 G - Volo.Abp.TenantManagement.AbpTenantManagementDomainModule
2023-02-09 08:51:43.298 G - Volo.Abp.TenantManagement.AbpTenantManagementDomainSharedModule
2023-02-09 08:51:43.298 G - Win.Sfs.SettleAccount.SettleAccountHttpApiModule
2023-02-09 08:51:43.299 G - Volo.Abp.Autofac.AbpAutofacModule
2023-02-09 08:51:43.300 G - Volo.Abp.EntityFrameworkCore.SqlServer.AbpEntityFrameworkCoreSqlServerModule
2023-02-09 08:51:43.302 G - Volo.Abp.AspNetCore.Serilog.AbpAspNetCoreSerilogModule
2023-02-09 08:51:43.303 G - Volo.Abp.BlobStoring.AbpBlobStoringModule
2023-02-09 08:51:43.303 G - Volo.Abp.BlobStoring.FileSystem.AbpBlobStoringFileSystemModule
2023-02-09 08:51:43.304 G - Volo.Abp.BackgroundJobs.Hangfire.AbpBackgroundJobsHangfireModule
2023-02-09 08:51:43.305 G - Volo.Abp.BackgroundJobs.AbpBackgroundJobsAbstractionsModule
2023-02-09 08:51:43.305 G - Volo.Abp.Hangfire.AbpHangfireModule
2023-02-09 08:51:43.386 G Start installing Hangfire SQL objects...
2023-02-09 08:52:04.515 G An exception occurred while trying to perform the migration. Retrying...
System.Data.SqlClient.SqlException (0x80131904): A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server)
---> System.ComponentModel.Win32Exception (53): 找不到网络路径。
at System.Data.SqlClient.SqlInternalConnectionTds..ctor(DbConnectionPoolIdentity identity, SqlConnectionString connectionOptions, SqlCredential credential, Object providerInfo, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance, SqlConnectionString userConnectionOptions, SessionData reconnectSessionData, Boolean applyTransientFaultHandling, String accessToken)
at System.Data.SqlClient.SqlConnectionFactory.CreateConnection(DbConnectionOptions options, DbConnectionPoolKey poolKey, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningConnection, DbConnectionOptions userOptions)
at System.Data.ProviderBase.DbConnectionFactory.CreatePooledConnection(DbConnectionPool pool, DbConnection owningObject, DbConnectionOptions options, DbConnectionPoolKey poolKey, DbConnectionOptions userOptions)
at System.Data.ProviderBase.DbConnectionPool.CreateObject(DbConnection owningObject, DbConnectionOptions userOptions, DbConnectionInternal oldConnection)
at System.Data.ProviderBase.DbConnectionPool.UserCreateRequest(DbConnection owningObject, DbConnectionOptions userOptions, DbConnectionInternal oldConnection)
at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection)
at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection)
at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection)
at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions)
at System.Data.ProviderBase.DbConnectionClosed.TryOpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions)
at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry)
at System.Data.SqlClient.SqlConnection.Open()
at Hangfire.SqlServer.SqlServerStorage.CreateAndOpenConnection()
at Hangfire.SqlServer.SqlServerStorage.UseConnection[T](DbConnection dedicatedConnection, Func`2 func)
at Hangfire.SqlServer.SqlServerStorage.UseConnection(DbConnection dedicatedConnection, Action`1 action)
at Hangfire.SqlServer.SqlServerStorage.Initialize()
ClientConnectionId:00000000-0000-0000-0000-000000000000
Error Number:53,State:0,Class:20
2023-02-09 08:52:04.528 G An exception occurred while trying to perform the migration. Retrying...
System.Data.SqlClient.SqlException (0x80131904): A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server)
---> System.ComponentModel.Win32Exception (53): 找不到网络路径。
at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection)
at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection)
at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection)
at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions)
at System.Data.ProviderBase.DbConnectionClosed.TryOpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions)
at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry)
at System.Data.SqlClient.SqlConnection.Open()
at Hangfire.SqlServer.SqlServerStorage.CreateAndOpenConnection()
at Hangfire.SqlServer.SqlServerStorage.UseConnection[T](DbConnection dedicatedConnection, Func`2 func)
at Hangfire.SqlServer.SqlServerStorage.UseConnection(DbConnection dedicatedConnection, Action`1 action)
at Hangfire.SqlServer.SqlServerStorage.Initialize()
ClientConnectionId:00000000-0000-0000-0000-000000000000
Error Number:53,State:0,Class:20
2023-02-09 08:52:04.535 G An exception occurred while trying to perform the migration.
System.Data.SqlClient.SqlException (0x80131904): A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server)
---> System.ComponentModel.Win32Exception (53): 找不到网络路径。
at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection)
at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection)
at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection)
at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions)
at System.Data.ProviderBase.DbConnectionClosed.TryOpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions)
at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry)
at System.Data.SqlClient.SqlConnection.Open()
at Hangfire.SqlServer.SqlServerStorage.CreateAndOpenConnection()
at Hangfire.SqlServer.SqlServerStorage.UseConnection[T](DbConnection dedicatedConnection, Func`2 func)
at Hangfire.SqlServer.SqlServerStorage.UseConnection(DbConnection dedicatedConnection, Action`1 action)
at Hangfire.SqlServer.SqlServerStorage.Initialize()
ClientConnectionId:00000000-0000-0000-0000-000000000000
Error Number:53,State:0,Class:20
2023-02-09 08:52:04.539 G Was unable to perform the Hangfire schema migration due to an exception. Ignore this message unless you've just installed or upgraded Hangfire.
System.Data.SqlClient.SqlException (0x80131904): A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server)
---> System.ComponentModel.Win32Exception (53): 找不到网络路径。
at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection)
at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection)
at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection)
at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions)
at System.Data.ProviderBase.DbConnectionClosed.TryOpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions)
at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry)
at System.Data.SqlClient.SqlConnection.Open()
at Hangfire.SqlServer.SqlServerStorage.CreateAndOpenConnection()
at Hangfire.SqlServer.SqlServerStorage.UseConnection[T](DbConnection dedicatedConnection, Func`2 func)
at Hangfire.SqlServer.SqlServerStorage.UseConnection(DbConnection dedicatedConnection, Action`1 action)
at Hangfire.SqlServer.SqlServerStorage.Initialize()
ClientConnectionId:00000000-0000-0000-0000-000000000000
Error Number:53,State:0,Class:20
2023-02-09 08:52:04.554 G Starting Hangfire Server using job storage: 'SQL Server: 192.168.0.140@SettleAccountService'
2023-02-09 08:52:04.555 G Using the following options for SQL Server job storage: Queue poll interval: 00:00:15.
2023-02-09 08:52:04.556 G Using the following options for Hangfire Server:
Worker count: 20
Listening queues: 'default'
Shutdown timeout: 00:00:15
Schedule polling interval: 00:00:15
2023-02-09 08:52:04.588 G Execution BackgroundServerProcess is in the Failed state now due to an exception, execution will be retried no more than in 00:00:15
System.Data.SqlClient.SqlException (0x80131904): A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server)
---> System.ComponentModel.Win32Exception (53): 找不到网络路径。
at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection)
at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection)
at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection)
at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions)
at System.Data.ProviderBase.DbConnectionClosed.TryOpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions)
at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry)
at System.Data.SqlClient.SqlConnection.Open()
at Hangfire.SqlServer.SqlServerStorage.CreateAndOpenConnection()
at Hangfire.SqlServer.SqlServerStorage.UseConnection[T](DbConnection dedicatedConnection, Func`2 func)
at Hangfire.SqlServer.SqlServerStorage.UseConnection(DbConnection dedicatedConnection, Action`1 action)
at Hangfire.SqlServer.SqlServerConnection.AnnounceServer(String serverId, ServerContext context)
at Hangfire.Server.BackgroundServerProcess.CreateServer(BackgroundServerContext context)
at Hangfire.Server.BackgroundServerProcess.Execute(Guid executionId, BackgroundExecution execution, CancellationToken stoppingToken, CancellationToken stoppedToken, CancellationToken shutdownToken)
at Hangfire.Server.BackgroundProcessingServer.RunServer(Guid executionId, Object state)
at Hangfire.Processing.BackgroundExecution.Run(Action`2 callback, Object state)
ClientConnectionId:00000000-0000-0000-0000-000000000000
Error Number:53,State:0,Class:20
2023-02-09 08:52:04.598 G Starting Hangfire Server using job storage: 'SQL Server: 192.168.0.140@SettleAccountService'
2023-02-09 08:52:04.601 G Using the following options for SQL Server job storage: Queue poll interval: 00:00:15.
2023-02-09 08:52:04.602 G Using the following options for Hangfire Server:
Worker count: 20
Listening queues: 'default'
Shutdown timeout: 00:00:15
Schedule polling interval: 00:00:15
2023-02-09 08:52:04.607 G Execution BackgroundServerProcess is in the Failed state now due to an exception, execution will be retried no more than in 00:00:15
System.Data.SqlClient.SqlException (0x80131904): A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server)
---> System.ComponentModel.Win32Exception (53): 找不到网络路径。
at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection)
at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection)
at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection)
at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions)
at System.Data.ProviderBase.DbConnectionClosed.TryOpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions)
at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry)
at System.Data.SqlClient.SqlConnection.Open()
at Hangfire.SqlServer.SqlServerStorage.CreateAndOpenConnection()
at Hangfire.SqlServer.SqlServerStorage.UseConnection[T](DbConnection dedicatedConnection, Func`2 func)
at Hangfire.SqlServer.SqlServerStorage.UseConnection(DbConnection dedicatedConnection, Action`1 action)
at Hangfire.SqlServer.SqlServerConnection.AnnounceServer(String serverId, ServerContext context)
at Hangfire.Server.BackgroundServerProcess.CreateServer(BackgroundServerContext context)
at Hangfire.Server.BackgroundServerProcess.Execute(Guid executionId, BackgroundExecution execution, CancellationToken stoppingToken, CancellationToken stoppedToken, CancellationToken shutdownToken)
at Hangfire.Server.BackgroundProcessingServer.RunServer(Guid executionId, Object state)
at Hangfire.Processing.BackgroundExecution.Run(Action`2 callback, Object state)
ClientConnectionId:00000000-0000-0000-0000-000000000000
Error Number:53,State:0,Class:20
2023-02-09 08:52:06.219 G Entity Framework Core "5.0.8" initialized '"PermissionManagementDbContext"' using provider '"Microsoft.EntityFrameworkCore.SqlServer"' with options: "QuerySplittingBehavior=SplitQuery "
2023-02-09 08:52:34.633 G Execution BackgroundServerProcess is still in the Failed state for 00:00:30.0190220 due to an exception, will be retried no more than in 00:00:15
System.InvalidOperationException: Timeout expired. The timeout period elapsed prior to obtaining a connection from the pool. This may have occurred because all pooled connections were in use and max pool size was reached.
at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection)
at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions)
at System.Data.ProviderBase.DbConnectionClosed.TryOpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions)
at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry)
at System.Data.SqlClient.SqlConnection.Open()
at Hangfire.SqlServer.SqlServerStorage.CreateAndOpenConnection()
at Hangfire.SqlServer.SqlServerStorage.UseConnection[T](DbConnection dedicatedConnection, Func`2 func)
at Hangfire.SqlServer.SqlServerStorage.UseConnection(DbConnection dedicatedConnection, Action`1 action)
at Hangfire.SqlServer.SqlServerConnection.AnnounceServer(String serverId, ServerContext context)
at Hangfire.Server.BackgroundServerProcess.CreateServer(BackgroundServerContext context)
at Hangfire.Server.BackgroundServerProcess.Execute(Guid executionId, BackgroundExecution execution, CancellationToken stoppingToken, CancellationToken stoppedToken, CancellationToken shutdownToken)
at Hangfire.Server.BackgroundProcessingServer.RunServer(Guid executionId, Object state)
at Hangfire.Processing.BackgroundExecution.Run(Action`2 callback, Object state)
2023-02-09 08:52:57.100 G Execution BackgroundServerProcess is still in the Failed state for 00:00:52.4862824 due to an exception, will be retried no more than in 00:00:15
System.Data.SqlClient.SqlException (0x80131904): A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server)
---> System.ComponentModel.Win32Exception (53): 找不到网络路径。
at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection)
at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection)
at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection)
at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions)
at System.Data.ProviderBase.DbConnectionClosed.TryOpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions)
at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry)
at System.Data.SqlClient.SqlConnection.Open()
at Hangfire.SqlServer.SqlServerStorage.CreateAndOpenConnection()
at Hangfire.SqlServer.SqlServerStorage.UseConnection[T](DbConnection dedicatedConnection, Func`2 func)
at Hangfire.SqlServer.SqlServerStorage.UseConnection(DbConnection dedicatedConnection, Action`1 action)
at Hangfire.SqlServer.SqlServerConnection.AnnounceServer(String serverId, ServerContext context)
at Hangfire.Server.BackgroundServerProcess.CreateServer(BackgroundServerContext context)
at Hangfire.Server.BackgroundServerProcess.Execute(Guid executionId, BackgroundExecution execution, CancellationToken stoppingToken, CancellationToken stoppedToken, CancellationToken shutdownToken)
at Hangfire.Server.BackgroundProcessingServer.RunServer(Guid executionId, Object state)
at Hangfire.Processing.BackgroundExecution.Run(Action`2 callback, Object state)
ClientConnectionId:00000000-0000-0000-0000-000000000000
Error Number:53,State:0,Class:20
2023-02-09 08:52:57.109 G An error occurred using the connection to database '"ABP"' on server '"192.168.0.140"'.
2023-02-09 08:52:57.101 G Execution BackgroundServerProcess is still in the Failed state for 00:00:52.4997857 due to an exception, will be retried no more than in 00:00:15
System.Data.SqlClient.SqlException (0x80131904): A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server)
---> System.ComponentModel.Win32Exception (53): 找不到网络路径。
at System.Data.SqlClient.SqlInternalConnectionTds..ctor(DbConnectionPoolIdentity identity, SqlConnectionString connectionOptions, SqlCredential credential, Object providerInfo, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance, SqlConnectionString userConnectionOptions, SessionData reconnectSessionData, Boolean applyTransientFaultHandling, String accessToken)
at System.Data.SqlClient.SqlConnectionFactory.CreateConnection(DbConnectionOptions options, DbConnectionPoolKey poolKey, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningConnection, DbConnectionOptions userOptions)
at System.Data.ProviderBase.DbConnectionFactory.CreatePooledConnection(DbConnectionPool pool, DbConnection owningObject, DbConnectionOptions options, DbConnectionPoolKey poolKey, DbConnectionOptions userOptions)
at System.Data.ProviderBase.DbConnectionPool.CreateObject(DbConnection owningObject, DbConnectionOptions userOptions, DbConnectionInternal oldConnection)
at System.Data.ProviderBase.DbConnectionPool.UserCreateRequest(DbConnection owningObject, DbConnectionOptions userOptions, DbConnectionInternal oldConnection)
at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection)
at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection)
at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection)
at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions)
at System.Data.ProviderBase.DbConnectionClosed.TryOpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions)
at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry)
at System.Data.SqlClient.SqlConnection.Open()
at Hangfire.SqlServer.SqlServerStorage.CreateAndOpenConnection()
at Hangfire.SqlServer.SqlServerStorage.UseConnection[T](DbConnection dedicatedConnection, Func`2 func)
at Hangfire.SqlServer.SqlServerStorage.UseConnection(DbConnection dedicatedConnection, Action`1 action)
at Hangfire.SqlServer.SqlServerConnection.AnnounceServer(String serverId, ServerContext context)
at Hangfire.Server.BackgroundServerProcess.CreateServer(BackgroundServerContext context)
at Hangfire.Server.BackgroundServerProcess.Execute(Guid executionId, BackgroundExecution execution, CancellationToken stoppingToken, CancellationToken stoppedToken, CancellationToken shutdownToken)
at Hangfire.Server.BackgroundProcessingServer.RunServer(Guid executionId, Object state)
at Hangfire.Processing.BackgroundExecution.Run(Action`2 callback, Object state)
ClientConnectionId:00000000-0000-0000-0000-000000000000
Error Number:53,State:0,Class:20
2023-02-09 13:30:28.897 G Starting web host.
2023-02-09 13:30:38.638 G User profile is available. Using '"C:\Users\Administrator\AppData\Local\ASP.NET\DataProtection-Keys"' as key repository and Windows DPAPI to encrypt keys at rest.
2023-02-09 13:30:38.837 G Loaded ABP modules:
2023-02-09 13:30:38.839 G - Win.Sfs.SettleAccount.SettleAccountHttpApiHostModule
2023-02-09 13:30:38.839 G - Win.Sfs.SettleAccount.SettleAccountApplicationModule
2023-02-09 13:30:38.840 G - Win.Sfs.SettleAccount.SettleAccountJobModule
2023-02-09 13:30:38.840 G - Win.Sfs.SettleAccount.SettleAccountDomainModule
2023-02-09 13:30:38.841 G - Volo.Abp.Domain.AbpDddDomainModule
2023-02-09 13:30:38.841 G - Volo.Abp.Auditing.AbpAuditingModule
2023-02-09 13:30:38.841 G - Volo.Abp.Data.AbpDataModule
2023-02-09 13:30:38.842 G - Volo.Abp.ObjectExtending.AbpObjectExtendingModule
2023-02-09 13:30:38.842 G - Volo.Abp.Localization.AbpLocalizationAbstractionsModule
2023-02-09 13:30:38.842 G - Volo.Abp.Validation.AbpValidationAbstractionsModule
2023-02-09 13:30:38.843 G - Volo.Abp.Uow.AbpUnitOfWorkModule
2023-02-09 13:30:38.843 G - Volo.Abp.EventBus.Abstractions.AbpEventBusAbstractionsModule
2023-02-09 13:30:38.844 G - Volo.Abp.Json.AbpJsonModule
2023-02-09 13:30:38.844 G - Volo.Abp.Timing.AbpTimingModule
2023-02-09 13:30:38.844 G - Volo.Abp.Localization.AbpLocalizationModule
2023-02-09 13:30:38.845 G - Volo.Abp.VirtualFileSystem.AbpVirtualFileSystemModule
2023-02-09 13:30:38.845 G - Volo.Abp.Settings.AbpSettingsModule
2023-02-09 13:30:38.846 G - Volo.Abp.Security.AbpSecurityModule
2023-02-09 13:30:38.850 G - Volo.Abp.MultiTenancy.AbpMultiTenancyModule
2023-02-09 13:30:38.851 G - Volo.Abp.Threading.AbpThreadingModule
2023-02-09 13:30:38.851 G - Volo.Abp.EventBus.AbpEventBusModule
2023-02-09 13:30:38.852 G - Volo.Abp.Guids.AbpGuidsModule
2023-02-09 13:30:38.852 G - Volo.Abp.ObjectMapping.AbpObjectMappingModule
2023-02-09 13:30:38.853 G - Volo.Abp.ExceptionHandling.AbpExceptionHandlingModule
2023-02-09 13:30:38.853 G - Volo.Abp.Specifications.AbpSpecificationsModule
2023-02-09 13:30:38.854 G - Win.Sfs.SettleAccount.SettleAccountDomainSharedModule
2023-02-09 13:30:38.854 G - Volo.Abp.Validation.AbpValidationModule
2023-02-09 13:30:38.855 G - Win.Sfs.SettleAccount.SettleAccountApplicationContractsModule
2023-02-09 13:30:38.856 G - Volo.Abp.Application.AbpDddApplicationContractsModule
2023-02-09 13:30:38.856 G - Volo.Abp.Authorization.AbpAuthorizationModule
2023-02-09 13:30:38.857 G - Volo.Abp.Authorization.AbpAuthorizationAbstractionsModule
2023-02-09 13:30:38.858 G - Volo.Abp.AutoMapper.AbpAutoMapperModule
2023-02-09 13:30:38.860 G - Volo.Abp.Dapper.AbpDapperModule
2023-02-09 13:30:38.862 G - Volo.Abp.EntityFrameworkCore.AbpEntityFrameworkCoreModule
2023-02-09 13:30:38.863 G - Win.Abp.Snowflakes.AbpSnowflakeGeneratorModule
2023-02-09 13:30:38.864 G - Volo.Abp.Http.Client.IdentityModel.AbpHttpClientIdentityModelModule
2023-02-09 13:30:38.864 G - Volo.Abp.Http.Client.AbpHttpClientModule
2023-02-09 13:30:38.866 G - Volo.Abp.Http.AbpHttpModule
2023-02-09 13:30:38.866 G - Volo.Abp.Http.AbpHttpAbstractionsModule
2023-02-09 13:30:38.867 G - Volo.Abp.Minify.AbpMinifyModule
2023-02-09 13:30:38.868 G - Volo.Abp.Castle.AbpCastleCoreModule
2023-02-09 13:30:38.870 G - Volo.Abp.IdentityModel.AbpIdentityModelModule
2023-02-09 13:30:38.871 G - Volo.Abp.Caching.AbpCachingModule
2023-02-09 13:30:38.874 G - Volo.Abp.Serialization.AbpSerializationModule
2023-02-09 13:30:38.877 G - Volo.Abp.Identity.AbpIdentityHttpApiClientModule
2023-02-09 13:30:38.880 G - Volo.Abp.Identity.AbpIdentityApplicationContractsModule
2023-02-09 13:30:38.881 G - Volo.Abp.Identity.AbpIdentityDomainSharedModule
2023-02-09 13:30:38.883 G - Volo.Abp.Users.AbpUsersDomainSharedModule
2023-02-09 13:30:38.885 G - Volo.Abp.Features.AbpFeaturesModule
2023-02-09 13:30:38.886 G - Volo.Abp.Users.AbpUsersAbstractionModule
2023-02-09 13:30:38.888 G - Volo.Abp.Application.AbpDddApplicationModule
2023-02-09 13:30:38.891 G - Volo.Abp.GlobalFeatures.AbpGlobalFeaturesModule
2023-02-09 13:30:38.894 G - Volo.Abp.PermissionManagement.AbpPermissionManagementApplicationContractsModule
2023-02-09 13:30:38.895 G - Volo.Abp.PermissionManagement.AbpPermissionManagementDomainSharedModule
2023-02-09 13:30:38.896 G - Volo.Abp.AspNetCore.Mvc.AbpAspNetCoreMvcModule
2023-02-09 13:30:38.897 G - Volo.Abp.AspNetCore.AbpAspNetCoreModule
2023-02-09 13:30:38.898 G - Volo.Abp.ApiVersioning.AbpApiVersioningAbstractionsModule
2023-02-09 13:30:38.898 G - Volo.Abp.AspNetCore.Mvc.AbpAspNetCoreMvcContractsModule
2023-02-09 13:30:38.900 G - Volo.Abp.UI.Navigation.AbpUiNavigationModule
2023-02-09 13:30:38.901 G - Volo.Abp.UI.AbpUiModule
2023-02-09 13:30:38.903 G - Win.Sfs.SettleAccount.SettleAccountEntityFrameworkCoreModule
2023-02-09 13:30:38.904 G - Volo.Abp.PermissionManagement.EntityFrameworkCore.AbpPermissionManagementEntityFrameworkCoreModule
2023-02-09 13:30:38.905 G - Volo.Abp.PermissionManagement.AbpPermissionManagementDomainModule
2023-02-09 13:30:38.906 G - Volo.Abp.SettingManagement.EntityFrameworkCore.AbpSettingManagementEntityFrameworkCoreModule
2023-02-09 13:30:38.908 G - Volo.Abp.SettingManagement.AbpSettingManagementDomainModule
2023-02-09 13:30:38.912 G - Volo.Abp.SettingManagement.AbpSettingManagementDomainSharedModule
2023-02-09 13:30:38.912 G - Volo.Abp.AuditLogging.EntityFrameworkCore.AbpAuditLoggingEntityFrameworkCoreModule
2023-02-09 13:30:38.914 G - Volo.Abp.AuditLogging.AbpAuditLoggingDomainModule
2023-02-09 13:30:38.915 G - Volo.Abp.AuditLogging.AbpAuditLoggingDomainSharedModule
2023-02-09 13:30:38.916 G - Volo.Abp.TenantManagement.EntityFrameworkCore.AbpTenantManagementEntityFrameworkCoreModule
2023-02-09 13:30:38.916 G - Volo.Abp.TenantManagement.AbpTenantManagementDomainModule
2023-02-09 13:30:38.917 G - Volo.Abp.TenantManagement.AbpTenantManagementDomainSharedModule
2023-02-09 13:30:38.918 G - Win.Sfs.SettleAccount.SettleAccountHttpApiModule
2023-02-09 13:30:38.919 G - Volo.Abp.Autofac.AbpAutofacModule
2023-02-09 13:30:38.921 G - Volo.Abp.EntityFrameworkCore.SqlServer.AbpEntityFrameworkCoreSqlServerModule
2023-02-09 13:30:38.922 G - Volo.Abp.AspNetCore.Serilog.AbpAspNetCoreSerilogModule
2023-02-09 13:30:38.923 G - Volo.Abp.BlobStoring.AbpBlobStoringModule
2023-02-09 13:30:38.925 G - Volo.Abp.BlobStoring.FileSystem.AbpBlobStoringFileSystemModule
2023-02-09 13:30:38.925 G - Volo.Abp.BackgroundJobs.Hangfire.AbpBackgroundJobsHangfireModule
2023-02-09 13:30:38.926 G - Volo.Abp.BackgroundJobs.AbpBackgroundJobsAbstractionsModule
2023-02-09 13:30:38.927 G - Volo.Abp.Hangfire.AbpHangfireModule
2023-02-09 13:30:39.011 G Start installing Hangfire SQL objects...
2023-02-09 13:31:31.118 G An exception occurred while trying to perform the migration. Retrying...
System.Data.SqlClient.SqlException (0x80131904): A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server)
---> System.ComponentModel.Win32Exception (53): 找不到网络路径。
at System.Data.SqlClient.SqlInternalConnectionTds..ctor(DbConnectionPoolIdentity identity, SqlConnectionString connectionOptions, SqlCredential credential, Object providerInfo, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance, SqlConnectionString userConnectionOptions, SessionData reconnectSessionData, Boolean applyTransientFaultHandling, String accessToken)
at System.Data.SqlClient.SqlConnectionFactory.CreateConnection(DbConnectionOptions options, DbConnectionPoolKey poolKey, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningConnection, DbConnectionOptions userOptions)
at System.Data.ProviderBase.DbConnectionFactory.CreatePooledConnection(DbConnectionPool pool, DbConnection owningObject, DbConnectionOptions options, DbConnectionPoolKey poolKey, DbConnectionOptions userOptions)
at System.Data.ProviderBase.DbConnectionPool.CreateObject(DbConnection owningObject, DbConnectionOptions userOptions, DbConnectionInternal oldConnection)
at System.Data.ProviderBase.DbConnectionPool.UserCreateRequest(DbConnection owningObject, DbConnectionOptions userOptions, DbConnectionInternal oldConnection)
at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection)
at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection)
at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection)
at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions)
at System.Data.ProviderBase.DbConnectionClosed.TryOpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions)
at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry)
at System.Data.SqlClient.SqlConnection.Open()
at Hangfire.SqlServer.SqlServerStorage.CreateAndOpenConnection()
at Hangfire.SqlServer.SqlServerStorage.UseConnection[T](DbConnection dedicatedConnection, Func`2 func)
at Hangfire.SqlServer.SqlServerStorage.UseConnection(DbConnection dedicatedConnection, Action`1 action)
at Hangfire.SqlServer.SqlServerStorage.Initialize()
ClientConnectionId:00000000-0000-0000-0000-000000000000
Error Number:53,State:0,Class:20
2023-02-09 13:31:31.138 G An exception occurred while trying to perform the migration. Retrying...
System.Data.SqlClient.SqlException (0x80131904): A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server)
---> System.ComponentModel.Win32Exception (53): 找不到网络路径。
at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection)
at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection)
at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection)
at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions)
at System.Data.ProviderBase.DbConnectionClosed.TryOpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions)
at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry)
at System.Data.SqlClient.SqlConnection.Open()
at Hangfire.SqlServer.SqlServerStorage.CreateAndOpenConnection()
at Hangfire.SqlServer.SqlServerStorage.UseConnection[T](DbConnection dedicatedConnection, Func`2 func)
at Hangfire.SqlServer.SqlServerStorage.UseConnection(DbConnection dedicatedConnection, Action`1 action)
at Hangfire.SqlServer.SqlServerStorage.Initialize()
ClientConnectionId:00000000-0000-0000-0000-000000000000
Error Number:53,State:0,Class:20
2023-02-09 13:31:31.153 G An exception occurred while trying to perform the migration.
System.Data.SqlClient.SqlException (0x80131904): A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server)
---> System.ComponentModel.Win32Exception (53): 找不到网络路径。
at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection)
at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection)
at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection)
at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions)
at System.Data.ProviderBase.DbConnectionClosed.TryOpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions)
at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry)
at System.Data.SqlClient.SqlConnection.Open()
at Hangfire.SqlServer.SqlServerStorage.CreateAndOpenConnection()
at Hangfire.SqlServer.SqlServerStorage.UseConnection[T](DbConnection dedicatedConnection, Func`2 func)
at Hangfire.SqlServer.SqlServerStorage.UseConnection(DbConnection dedicatedConnection, Action`1 action)
at Hangfire.SqlServer.SqlServerStorage.Initialize()
ClientConnectionId:00000000-0000-0000-0000-000000000000
Error Number:53,State:0,Class:20
2023-02-09 13:31:31.169 G Was unable to perform the Hangfire schema migration due to an exception. Ignore this message unless you've just installed or upgraded Hangfire.
System.Data.SqlClient.SqlException (0x80131904): A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server)
---> System.ComponentModel.Win32Exception (53): 找不到网络路径。
at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection)
at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection)
at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection)
at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions)
at System.Data.ProviderBase.DbConnectionClosed.TryOpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions)
at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry)
at System.Data.SqlClient.SqlConnection.Open()
at Hangfire.SqlServer.SqlServerStorage.CreateAndOpenConnection()
at Hangfire.SqlServer.SqlServerStorage.UseConnection[T](DbConnection dedicatedConnection, Func`2 func)
at Hangfire.SqlServer.SqlServerStorage.UseConnection(DbConnection dedicatedConnection, Action`1 action)
at Hangfire.SqlServer.SqlServerStorage.Initialize()
ClientConnectionId:00000000-0000-0000-0000-000000000000
Error Number:53,State:0,Class:20
2023-02-09 13:31:31.202 G Starting Hangfire Server using job storage: 'SQL Server: 192.168.0.140@SettleAccountService'
2023-02-09 13:31:31.204 G Using the following options for SQL Server job storage: Queue poll interval: 00:00:15.
2023-02-09 13:31:31.205 G Using the following options for Hangfire Server:
Worker count: 20
Listening queues: 'default'
Shutdown timeout: 00:00:15
Schedule polling interval: 00:00:15
2023-02-09 13:31:31.255 G Execution BackgroundServerProcess is in the Failed state now due to an exception, execution will be retried no more than in 00:00:15
System.Data.SqlClient.SqlException (0x80131904): A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server)
---> System.ComponentModel.Win32Exception (53): 找不到网络路径。
at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection)
at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection)
at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection)
at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions)
at System.Data.ProviderBase.DbConnectionClosed.TryOpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions)
at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry)
at System.Data.SqlClient.SqlConnection.Open()
at Hangfire.SqlServer.SqlServerStorage.CreateAndOpenConnection()
at Hangfire.SqlServer.SqlServerStorage.UseConnection[T](DbConnection dedicatedConnection, Func`2 func)
at Hangfire.SqlServer.SqlServerStorage.UseConnection(DbConnection dedicatedConnection, Action`1 action)
at Hangfire.SqlServer.SqlServerConnection.AnnounceServer(String serverId, ServerContext context)
at Hangfire.Server.BackgroundServerProcess.CreateServer(BackgroundServerContext context)
at Hangfire.Server.BackgroundServerProcess.Execute(Guid executionId, BackgroundExecution execution, CancellationToken stoppingToken, CancellationToken stoppedToken, CancellationToken shutdownToken)
at Hangfire.Server.BackgroundProcessingServer.RunServer(Guid executionId, Object state)
at Hangfire.Processing.BackgroundExecution.Run(Action`2 callback, Object state)
ClientConnectionId:00000000-0000-0000-0000-000000000000
Error Number:53,State:0,Class:20
2023-02-09 13:31:31.271 G Starting Hangfire Server using job storage: 'SQL Server: 192.168.0.140@SettleAccountService'
2023-02-09 13:31:31.276 G Using the following options for SQL Server job storage: Queue poll interval: 00:00:15.
2023-02-09 13:31:31.279 G Using the following options for Hangfire Server:
Worker count: 20
Listening queues: 'default'
Shutdown timeout: 00:00:15
Schedule polling interval: 00:00:15
2023-02-09 13:31:31.290 G Execution BackgroundServerProcess is in the Failed state now due to an exception, execution will be retried no more than in 00:00:15
System.Data.SqlClient.SqlException (0x80131904): A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server)
---> System.ComponentModel.Win32Exception (53): 找不到网络路径。
at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection)
at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection)
at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection)
at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions)
at System.Data.ProviderBase.DbConnectionClosed.TryOpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions)
at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry)
at System.Data.SqlClient.SqlConnection.Open()
at Hangfire.SqlServer.SqlServerStorage.CreateAndOpenConnection()
at Hangfire.SqlServer.SqlServerStorage.UseConnection[T](DbConnection dedicatedConnection, Func`2 func)
at Hangfire.SqlServer.SqlServerStorage.UseConnection(DbConnection dedicatedConnection, Action`1 action)
at Hangfire.SqlServer.SqlServerConnection.AnnounceServer(String serverId, ServerContext context)
at Hangfire.Server.BackgroundServerProcess.CreateServer(BackgroundServerContext context)
at Hangfire.Server.BackgroundServerProcess.Execute(Guid executionId, BackgroundExecution execution, CancellationToken stoppingToken, CancellationToken stoppedToken, CancellationToken shutdownToken)
at Hangfire.Server.BackgroundProcessingServer.RunServer(Guid executionId, Object state)
at Hangfire.Processing.BackgroundExecution.Run(Action`2 callback, Object state)
ClientConnectionId:00000000-0000-0000-0000-000000000000
Error Number:53,State:0,Class:20
2023-02-09 13:31:34.112 G Entity Framework Core "5.0.8" initialized '"PermissionManagementDbContext"' using provider '"Microsoft.EntityFrameworkCore.SqlServer"' with options: "QuerySplittingBehavior=SplitQuery "
2023-02-09 13:31:34.135 G An error occurred using the connection to database '"ABP"' on server '"192.168.0.140"'.
2023-02-09 14:54:12.395 G Starting web host.
2023-02-09 14:54:22.190 G User profile is available. Using '"C:\Users\Administrator\AppData\Local\ASP.NET\DataProtection-Keys"' as key repository and Windows DPAPI to encrypt keys at rest.
2023-02-09 14:54:22.306 G Loaded ABP modules:
2023-02-09 14:54:22.307 G - Win.Sfs.SettleAccount.SettleAccountHttpApiHostModule
2023-02-09 14:54:22.308 G - Win.Sfs.SettleAccount.SettleAccountApplicationModule
2023-02-09 14:54:22.309 G - Win.Sfs.SettleAccount.SettleAccountJobModule
2023-02-09 14:54:22.310 G - Win.Sfs.SettleAccount.SettleAccountDomainModule
2023-02-09 14:54:22.311 G - Volo.Abp.Domain.AbpDddDomainModule
2023-02-09 14:54:22.311 G - Volo.Abp.Auditing.AbpAuditingModule
2023-02-09 14:54:22.312 G - Volo.Abp.Data.AbpDataModule
2023-02-09 14:54:22.313 G - Volo.Abp.ObjectExtending.AbpObjectExtendingModule
2023-02-09 14:54:22.313 G - Volo.Abp.Localization.AbpLocalizationAbstractionsModule
2023-02-09 14:54:22.314 G - Volo.Abp.Validation.AbpValidationAbstractionsModule
2023-02-09 14:54:22.315 G - Volo.Abp.Uow.AbpUnitOfWorkModule
2023-02-09 14:54:22.316 G - Volo.Abp.EventBus.Abstractions.AbpEventBusAbstractionsModule
2023-02-09 14:54:22.318 G - Volo.Abp.Json.AbpJsonModule
2023-02-09 14:54:22.318 G - Volo.Abp.Timing.AbpTimingModule
2023-02-09 14:54:22.319 G - Volo.Abp.Localization.AbpLocalizationModule
2023-02-09 14:54:22.320 G - Volo.Abp.VirtualFileSystem.AbpVirtualFileSystemModule
2023-02-09 14:54:22.320 G - Volo.Abp.Settings.AbpSettingsModule
2023-02-09 14:54:22.321 G - Volo.Abp.Security.AbpSecurityModule
2023-02-09 14:54:22.322 G - Volo.Abp.MultiTenancy.AbpMultiTenancyModule
2023-02-09 14:54:22.322 G - Volo.Abp.Threading.AbpThreadingModule
2023-02-09 14:54:22.323 G - Volo.Abp.EventBus.AbpEventBusModule
2023-02-09 14:54:22.323 G - Volo.Abp.Guids.AbpGuidsModule
2023-02-09 14:54:22.324 G - Volo.Abp.ObjectMapping.AbpObjectMappingModule
2023-02-09 14:54:22.324 G - Volo.Abp.ExceptionHandling.AbpExceptionHandlingModule
2023-02-09 14:54:22.325 G - Volo.Abp.Specifications.AbpSpecificationsModule
2023-02-09 14:54:22.325 G - Win.Sfs.SettleAccount.SettleAccountDomainSharedModule
2023-02-09 14:54:22.326 G - Volo.Abp.Validation.AbpValidationModule
2023-02-09 14:54:22.326 G - Win.Sfs.SettleAccount.SettleAccountApplicationContractsModule
2023-02-09 14:54:22.327 G - Volo.Abp.Application.AbpDddApplicationContractsModule
2023-02-09 14:54:22.327 G - Volo.Abp.Authorization.AbpAuthorizationModule
2023-02-09 14:54:22.328 G - Volo.Abp.Authorization.AbpAuthorizationAbstractionsModule
2023-02-09 14:54:22.329 G - Volo.Abp.AutoMapper.AbpAutoMapperModule
2023-02-09 14:54:22.329 G - Volo.Abp.Dapper.AbpDapperModule
2023-02-09 14:54:22.330 G - Volo.Abp.EntityFrameworkCore.AbpEntityFrameworkCoreModule
2023-02-09 14:54:22.330 G - Win.Abp.Snowflakes.AbpSnowflakeGeneratorModule
2023-02-09 14:54:22.332 G - Volo.Abp.Http.Client.IdentityModel.AbpHttpClientIdentityModelModule
2023-02-09 14:54:22.336 G - Volo.Abp.Http.Client.AbpHttpClientModule
2023-02-09 14:54:22.338 G - Volo.Abp.Http.AbpHttpModule
2023-02-09 14:54:22.338 G - Volo.Abp.Http.AbpHttpAbstractionsModule
2023-02-09 14:54:22.339 G - Volo.Abp.Minify.AbpMinifyModule
2023-02-09 14:54:22.340 G - Volo.Abp.Castle.AbpCastleCoreModule
2023-02-09 14:54:22.340 G - Volo.Abp.IdentityModel.AbpIdentityModelModule
2023-02-09 14:54:22.341 G - Volo.Abp.Caching.AbpCachingModule
2023-02-09 14:54:22.341 G - Volo.Abp.Serialization.AbpSerializationModule
2023-02-09 14:54:22.342 G - Volo.Abp.Identity.AbpIdentityHttpApiClientModule
2023-02-09 14:54:22.344 G - Volo.Abp.Identity.AbpIdentityApplicationContractsModule
2023-02-09 14:54:22.344 G - Volo.Abp.Identity.AbpIdentityDomainSharedModule
2023-02-09 14:54:22.345 G - Volo.Abp.Users.AbpUsersDomainSharedModule
2023-02-09 14:54:22.346 G - Volo.Abp.Features.AbpFeaturesModule
2023-02-09 14:54:22.346 G - Volo.Abp.Users.AbpUsersAbstractionModule
2023-02-09 14:54:22.347 G - Volo.Abp.Application.AbpDddApplicationModule
2023-02-09 14:54:22.348 G - Volo.Abp.GlobalFeatures.AbpGlobalFeaturesModule
2023-02-09 14:54:22.350 G - Volo.Abp.PermissionManagement.AbpPermissionManagementApplicationContractsModule
2023-02-09 14:54:22.350 G - Volo.Abp.PermissionManagement.AbpPermissionManagementDomainSharedModule
2023-02-09 14:54:22.351 G - Volo.Abp.AspNetCore.Mvc.AbpAspNetCoreMvcModule
2023-02-09 14:54:22.351 G - Volo.Abp.AspNetCore.AbpAspNetCoreModule
2023-02-09 14:54:22.352 G - Volo.Abp.ApiVersioning.AbpApiVersioningAbstractionsModule
2023-02-09 14:54:22.352 G - Volo.Abp.AspNetCore.Mvc.AbpAspNetCoreMvcContractsModule
2023-02-09 14:54:22.353 G - Volo.Abp.UI.Navigation.AbpUiNavigationModule
2023-02-09 14:54:22.354 G - Volo.Abp.UI.AbpUiModule
2023-02-09 14:54:22.354 G - Win.Sfs.SettleAccount.SettleAccountEntityFrameworkCoreModule
2023-02-09 14:54:22.355 G - Volo.Abp.PermissionManagement.EntityFrameworkCore.AbpPermissionManagementEntityFrameworkCoreModule
2023-02-09 14:54:22.356 G - Volo.Abp.PermissionManagement.AbpPermissionManagementDomainModule
2023-02-09 14:54:22.356 G - Volo.Abp.SettingManagement.EntityFrameworkCore.AbpSettingManagementEntityFrameworkCoreModule
2023-02-09 14:54:22.357 G - Volo.Abp.SettingManagement.AbpSettingManagementDomainModule
2023-02-09 14:54:22.357 G - Volo.Abp.SettingManagement.AbpSettingManagementDomainSharedModule
2023-02-09 14:54:22.358 G - Volo.Abp.AuditLogging.EntityFrameworkCore.AbpAuditLoggingEntityFrameworkCoreModule
2023-02-09 14:54:22.359 G - Volo.Abp.AuditLogging.AbpAuditLoggingDomainModule
2023-02-09 14:54:22.359 G - Volo.Abp.AuditLogging.AbpAuditLoggingDomainSharedModule
2023-02-09 14:54:22.361 G - Volo.Abp.TenantManagement.EntityFrameworkCore.AbpTenantManagementEntityFrameworkCoreModule
2023-02-09 14:54:22.365 G - Volo.Abp.TenantManagement.AbpTenantManagementDomainModule
2023-02-09 14:54:22.366 G - Volo.Abp.TenantManagement.AbpTenantManagementDomainSharedModule
2023-02-09 14:54:22.367 G - Win.Sfs.SettleAccount.SettleAccountHttpApiModule
2023-02-09 14:54:22.368 G - Volo.Abp.Autofac.AbpAutofacModule
2023-02-09 14:54:22.369 G - Volo.Abp.EntityFrameworkCore.SqlServer.AbpEntityFrameworkCoreSqlServerModule
2023-02-09 14:54:22.369 G - Volo.Abp.AspNetCore.Serilog.AbpAspNetCoreSerilogModule
2023-02-09 14:54:22.370 G - Volo.Abp.BlobStoring.AbpBlobStoringModule
2023-02-09 14:54:22.371 G - Volo.Abp.BlobStoring.FileSystem.AbpBlobStoringFileSystemModule
2023-02-09 14:54:22.371 G - Volo.Abp.BackgroundJobs.Hangfire.AbpBackgroundJobsHangfireModule
2023-02-09 14:54:22.372 G - Volo.Abp.BackgroundJobs.AbpBackgroundJobsAbstractionsModule
2023-02-09 14:54:22.373 G - Volo.Abp.Hangfire.AbpHangfireModule
2023-02-09 14:54:22.454 G Start installing Hangfire SQL objects...
2023-02-09 14:55:14.579 G An exception occurred while trying to perform the migration. Retrying...
System.Data.SqlClient.SqlException (0x80131904): A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server)
---> System.ComponentModel.Win32Exception (53): 找不到网络路径。
at System.Data.SqlClient.SqlInternalConnectionTds..ctor(DbConnectionPoolIdentity identity, SqlConnectionString connectionOptions, SqlCredential credential, Object providerInfo, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance, SqlConnectionString userConnectionOptions, SessionData reconnectSessionData, Boolean applyTransientFaultHandling, String accessToken)
at System.Data.SqlClient.SqlConnectionFactory.CreateConnection(DbConnectionOptions options, DbConnectionPoolKey poolKey, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningConnection, DbConnectionOptions userOptions)
at System.Data.ProviderBase.DbConnectionFactory.CreatePooledConnection(DbConnectionPool pool, DbConnection owningObject, DbConnectionOptions options, DbConnectionPoolKey poolKey, DbConnectionOptions userOptions)
at System.Data.ProviderBase.DbConnectionPool.CreateObject(DbConnection owningObject, DbConnectionOptions userOptions, DbConnectionInternal oldConnection)
at System.Data.ProviderBase.DbConnectionPool.UserCreateRequest(DbConnection owningObject, DbConnectionOptions userOptions, DbConnectionInternal oldConnection)
at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection)
at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection)
at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection)
at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions)
at System.Data.ProviderBase.DbConnectionClosed.TryOpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions)
at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry)
at System.Data.SqlClient.SqlConnection.Open()
at Hangfire.SqlServer.SqlServerStorage.CreateAndOpenConnection()
at Hangfire.SqlServer.SqlServerStorage.UseConnection[T](DbConnection dedicatedConnection, Func`2 func)
at Hangfire.SqlServer.SqlServerStorage.UseConnection(DbConnection dedicatedConnection, Action`1 action)
at Hangfire.SqlServer.SqlServerStorage.Initialize()
ClientConnectionId:00000000-0000-0000-0000-000000000000
Error Number:53,State:0,Class:20
2023-02-09 14:55:14.592 G An exception occurred while trying to perform the migration. Retrying...
System.Data.SqlClient.SqlException (0x80131904): A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server)
---> System.ComponentModel.Win32Exception (53): 找不到网络路径。
at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection)
at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection)
at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection)
at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions)
at System.Data.ProviderBase.DbConnectionClosed.TryOpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions)
at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry)
at System.Data.SqlClient.SqlConnection.Open()
at Hangfire.SqlServer.SqlServerStorage.CreateAndOpenConnection()
at Hangfire.SqlServer.SqlServerStorage.UseConnection[T](DbConnection dedicatedConnection, Func`2 func)
at Hangfire.SqlServer.SqlServerStorage.UseConnection(DbConnection dedicatedConnection, Action`1 action)
at Hangfire.SqlServer.SqlServerStorage.Initialize()
ClientConnectionId:00000000-0000-0000-0000-000000000000
Error Number:53,State:0,Class:20
2023-02-09 14:55:14.602 G An exception occurred while trying to perform the migration.
System.Data.SqlClient.SqlException (0x80131904): A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server)
---> System.ComponentModel.Win32Exception (53): 找不到网络路径。
at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection)
at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection)
at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection)
at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions)
at System.Data.ProviderBase.DbConnectionClosed.TryOpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions)
at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry)
at System.Data.SqlClient.SqlConnection.Open()
at Hangfire.SqlServer.SqlServerStorage.CreateAndOpenConnection()
at Hangfire.SqlServer.SqlServerStorage.UseConnection[T](DbConnection dedicatedConnection, Func`2 func)
at Hangfire.SqlServer.SqlServerStorage.UseConnection(DbConnection dedicatedConnection, Action`1 action)
at Hangfire.SqlServer.SqlServerStorage.Initialize()
ClientConnectionId:00000000-0000-0000-0000-000000000000
Error Number:53,State:0,Class:20
2023-02-09 14:55:14.606 G Was unable to perform the Hangfire schema migration due to an exception. Ignore this message unless you've just installed or upgraded Hangfire.
System.Data.SqlClient.SqlException (0x80131904): A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server)
---> System.ComponentModel.Win32Exception (53): 找不到网络路径。
at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection)
at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection)
at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection)
at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions)
at System.Data.ProviderBase.DbConnectionClosed.TryOpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions)
at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry)
at System.Data.SqlClient.SqlConnection.Open()
at Hangfire.SqlServer.SqlServerStorage.CreateAndOpenConnection()
at Hangfire.SqlServer.SqlServerStorage.UseConnection[T](DbConnection dedicatedConnection, Func`2 func)
at Hangfire.SqlServer.SqlServerStorage.UseConnection(DbConnection dedicatedConnection, Action`1 action)
at Hangfire.SqlServer.SqlServerStorage.Initialize()
ClientConnectionId:00000000-0000-0000-0000-000000000000
Error Number:53,State:0,Class:20
2023-02-09 14:55:14.637 G Starting Hangfire Server using job storage: 'SQL Server: 192.168.0.140@SettleAccountService'
2023-02-09 14:55:14.638 G Using the following options for SQL Server job storage: Queue poll interval: 00:00:15.
2023-02-09 14:55:14.639 G Using the following options for Hangfire Server:
Worker count: 20
Listening queues: 'default'
Shutdown timeout: 00:00:15
Schedule polling interval: 00:00:15
2023-02-09 14:55:14.676 G Execution BackgroundServerProcess is in the Failed state now due to an exception, execution will be retried no more than in 00:00:15
System.Data.SqlClient.SqlException (0x80131904): A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server)
---> System.ComponentModel.Win32Exception (53): 找不到网络路径。
at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection)
at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection)
at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection)
at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions)
at System.Data.ProviderBase.DbConnectionClosed.TryOpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions)
at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry)
at System.Data.SqlClient.SqlConnection.Open()
at Hangfire.SqlServer.SqlServerStorage.CreateAndOpenConnection()
at Hangfire.SqlServer.SqlServerStorage.UseConnection[T](DbConnection dedicatedConnection, Func`2 func)
at Hangfire.SqlServer.SqlServerStorage.UseConnection(DbConnection dedicatedConnection, Action`1 action)
at Hangfire.SqlServer.SqlServerConnection.AnnounceServer(String serverId, ServerContext context)
at Hangfire.Server.BackgroundServerProcess.CreateServer(BackgroundServerContext context)
at Hangfire.Server.BackgroundServerProcess.Execute(Guid executionId, BackgroundExecution execution, CancellationToken stoppingToken, CancellationToken stoppedToken, CancellationToken shutdownToken)
at Hangfire.Server.BackgroundProcessingServer.RunServer(Guid executionId, Object state)
at Hangfire.Processing.BackgroundExecution.Run(Action`2 callback, Object state)
ClientConnectionId:00000000-0000-0000-0000-000000000000
Error Number:53,State:0,Class:20
2023-02-09 14:55:14.687 G Starting Hangfire Server using job storage: 'SQL Server: 192.168.0.140@SettleAccountService'
2023-02-09 14:55:14.687 G Using the following options for SQL Server job storage: Queue poll interval: 00:00:15.
2023-02-09 14:55:14.688 G Using the following options for Hangfire Server:
Worker count: 20
Listening queues: 'default'
Shutdown timeout: 00:00:15
Schedule polling interval: 00:00:15
2023-02-09 14:55:14.694 G Execution BackgroundServerProcess is in the Failed state now due to an exception, execution will be retried no more than in 00:00:15
System.Data.SqlClient.SqlException (0x80131904): A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server)
---> System.ComponentModel.Win32Exception (53): 找不到网络路径。
at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection)
at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection)
at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection)
at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions)
at System.Data.ProviderBase.DbConnectionClosed.TryOpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions)
at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry)
at System.Data.SqlClient.SqlConnection.Open()
at Hangfire.SqlServer.SqlServerStorage.CreateAndOpenConnection()
at Hangfire.SqlServer.SqlServerStorage.UseConnection[T](DbConnection dedicatedConnection, Func`2 func)
at Hangfire.SqlServer.SqlServerStorage.UseConnection(DbConnection dedicatedConnection, Action`1 action)
at Hangfire.SqlServer.SqlServerConnection.AnnounceServer(String serverId, ServerContext context)
at Hangfire.Server.BackgroundServerProcess.CreateServer(BackgroundServerContext context)
at Hangfire.Server.BackgroundServerProcess.Execute(Guid executionId, BackgroundExecution execution, CancellationToken stoppingToken, CancellationToken stoppedToken, CancellationToken shutdownToken)
at Hangfire.Server.BackgroundProcessingServer.RunServer(Guid executionId, Object state)
at Hangfire.Processing.BackgroundExecution.Run(Action`2 callback, Object state)
ClientConnectionId:00000000-0000-0000-0000-000000000000
Error Number:53,State:0,Class:20
2023-02-09 14:55:16.621 G Entity Framework Core "5.0.8" initialized '"PermissionManagementDbContext"' using provider '"Microsoft.EntityFrameworkCore.SqlServer"' with options: "QuerySplittingBehavior=SplitQuery "
2023-02-09 14:55:16.649 G An error occurred using the connection to database '"ABP"' on server '"192.168.0.140"'.
2023-02-09 15:02:32.540 G Starting web host.
2023-02-09 15:02:42.968 G User profile is available. Using '"C:\Users\Administrator\AppData\Local\ASP.NET\DataProtection-Keys"' as key repository and Windows DPAPI to encrypt keys at rest.
2023-02-09 15:02:43.086 G Loaded ABP modules:
2023-02-09 15:02:43.088 G - Win.Sfs.SettleAccount.SettleAccountHttpApiHostModule
2023-02-09 15:02:43.088 G - Win.Sfs.SettleAccount.SettleAccountApplicationModule
2023-02-09 15:02:43.089 G - Win.Sfs.SettleAccount.SettleAccountJobModule
2023-02-09 15:02:43.089 G - Win.Sfs.SettleAccount.SettleAccountDomainModule
2023-02-09 15:02:43.090 G - Volo.Abp.Domain.AbpDddDomainModule
2023-02-09 15:02:43.090 G - Volo.Abp.Auditing.AbpAuditingModule
2023-02-09 15:02:43.091 G - Volo.Abp.Data.AbpDataModule
2023-02-09 15:02:43.091 G - Volo.Abp.ObjectExtending.AbpObjectExtendingModule
2023-02-09 15:02:43.092 G - Volo.Abp.Localization.AbpLocalizationAbstractionsModule
2023-02-09 15:02:43.092 G - Volo.Abp.Validation.AbpValidationAbstractionsModule
2023-02-09 15:02:43.093 G - Volo.Abp.Uow.AbpUnitOfWorkModule
2023-02-09 15:02:43.095 G - Volo.Abp.EventBus.Abstractions.AbpEventBusAbstractionsModule
2023-02-09 15:02:43.096 G - Volo.Abp.Json.AbpJsonModule
2023-02-09 15:02:43.097 G - Volo.Abp.Timing.AbpTimingModule
2023-02-09 15:02:43.098 G - Volo.Abp.Localization.AbpLocalizationModule
2023-02-09 15:02:43.098 G - Volo.Abp.VirtualFileSystem.AbpVirtualFileSystemModule
2023-02-09 15:02:43.099 G - Volo.Abp.Settings.AbpSettingsModule
2023-02-09 15:02:43.099 G - Volo.Abp.Security.AbpSecurityModule
2023-02-09 15:02:43.100 G - Volo.Abp.MultiTenancy.AbpMultiTenancyModule
2023-02-09 15:02:43.100 G - Volo.Abp.Threading.AbpThreadingModule
2023-02-09 15:02:43.101 G - Volo.Abp.EventBus.AbpEventBusModule
2023-02-09 15:02:43.101 G - Volo.Abp.Guids.AbpGuidsModule
2023-02-09 15:02:43.102 G - Volo.Abp.ObjectMapping.AbpObjectMappingModule
2023-02-09 15:02:43.102 G - Volo.Abp.ExceptionHandling.AbpExceptionHandlingModule
2023-02-09 15:02:43.103 G - Volo.Abp.Specifications.AbpSpecificationsModule
2023-02-09 15:02:43.103 G - Win.Sfs.SettleAccount.SettleAccountDomainSharedModule
2023-02-09 15:02:43.104 G - Volo.Abp.Validation.AbpValidationModule
2023-02-09 15:02:43.105 G - Win.Sfs.SettleAccount.SettleAccountApplicationContractsModule
2023-02-09 15:02:43.106 G - Volo.Abp.Application.AbpDddApplicationContractsModule
2023-02-09 15:02:43.107 G - Volo.Abp.Authorization.AbpAuthorizationModule
2023-02-09 15:02:43.107 G - Volo.Abp.Authorization.AbpAuthorizationAbstractionsModule
2023-02-09 15:02:43.109 G - Volo.Abp.AutoMapper.AbpAutoMapperModule
2023-02-09 15:02:43.111 G - Volo.Abp.Dapper.AbpDapperModule
2023-02-09 15:02:43.111 G - Volo.Abp.EntityFrameworkCore.AbpEntityFrameworkCoreModule
2023-02-09 15:02:43.112 G - Win.Abp.Snowflakes.AbpSnowflakeGeneratorModule
2023-02-09 15:02:43.113 G - Volo.Abp.Http.Client.IdentityModel.AbpHttpClientIdentityModelModule
2023-02-09 15:02:43.113 G - Volo.Abp.Http.Client.AbpHttpClientModule
2023-02-09 15:02:43.114 G - Volo.Abp.Http.AbpHttpModule
2023-02-09 15:02:43.115 G - Volo.Abp.Http.AbpHttpAbstractionsModule
2023-02-09 15:02:43.116 G - Volo.Abp.Minify.AbpMinifyModule
2023-02-09 15:02:43.117 G - Volo.Abp.Castle.AbpCastleCoreModule
2023-02-09 15:02:43.118 G - Volo.Abp.IdentityModel.AbpIdentityModelModule
2023-02-09 15:02:43.119 G - Volo.Abp.Caching.AbpCachingModule
2023-02-09 15:02:43.119 G - Volo.Abp.Serialization.AbpSerializationModule
2023-02-09 15:02:43.120 G - Volo.Abp.Identity.AbpIdentityHttpApiClientModule
2023-02-09 15:02:43.121 G - Volo.Abp.Identity.AbpIdentityApplicationContractsModule
2023-02-09 15:02:43.121 G - Volo.Abp.Identity.AbpIdentityDomainSharedModule
2023-02-09 15:02:43.122 G - Volo.Abp.Users.AbpUsersDomainSharedModule
2023-02-09 15:02:43.123 G - Volo.Abp.Features.AbpFeaturesModule
2023-02-09 15:02:43.123 G - Volo.Abp.Users.AbpUsersAbstractionModule
2023-02-09 15:02:43.124 G - Volo.Abp.Application.AbpDddApplicationModule
2023-02-09 15:02:43.125 G - Volo.Abp.GlobalFeatures.AbpGlobalFeaturesModule
2023-02-09 15:02:43.125 G - Volo.Abp.PermissionManagement.AbpPermissionManagementApplicationContractsModule
2023-02-09 15:02:43.126 G - Volo.Abp.PermissionManagement.AbpPermissionManagementDomainSharedModule
2023-02-09 15:02:43.127 G - Volo.Abp.AspNetCore.Mvc.AbpAspNetCoreMvcModule
2023-02-09 15:02:43.128 G - Volo.Abp.AspNetCore.AbpAspNetCoreModule
2023-02-09 15:02:43.129 G - Volo.Abp.ApiVersioning.AbpApiVersioningAbstractionsModule
2023-02-09 15:02:43.133 G - Volo.Abp.AspNetCore.Mvc.AbpAspNetCoreMvcContractsModule
2023-02-09 15:02:43.134 G - Volo.Abp.UI.Navigation.AbpUiNavigationModule
2023-02-09 15:02:43.134 G - Volo.Abp.UI.AbpUiModule
2023-02-09 15:02:43.135 G - Win.Sfs.SettleAccount.SettleAccountEntityFrameworkCoreModule
2023-02-09 15:02:43.136 G - Volo.Abp.PermissionManagement.EntityFrameworkCore.AbpPermissionManagementEntityFrameworkCoreModule
2023-02-09 15:02:43.137 G - Volo.Abp.PermissionManagement.AbpPermissionManagementDomainModule
2023-02-09 15:02:43.138 G - Volo.Abp.SettingManagement.EntityFrameworkCore.AbpSettingManagementEntityFrameworkCoreModule
2023-02-09 15:02:43.138 G - Volo.Abp.SettingManagement.AbpSettingManagementDomainModule
2023-02-09 15:02:43.139 G - Volo.Abp.SettingManagement.AbpSettingManagementDomainSharedModule
2023-02-09 15:02:43.140 G - Volo.Abp.AuditLogging.EntityFrameworkCore.AbpAuditLoggingEntityFrameworkCoreModule
2023-02-09 15:02:43.142 G - Volo.Abp.AuditLogging.AbpAuditLoggingDomainModule
2023-02-09 15:02:43.143 G - Volo.Abp.AuditLogging.AbpAuditLoggingDomainSharedModule
2023-02-09 15:02:43.145 G - Volo.Abp.TenantManagement.EntityFrameworkCore.AbpTenantManagementEntityFrameworkCoreModule
2023-02-09 15:02:43.146 G - Volo.Abp.TenantManagement.AbpTenantManagementDomainModule
2023-02-09 15:02:43.147 G - Volo.Abp.TenantManagement.AbpTenantManagementDomainSharedModule
2023-02-09 15:02:43.148 G - Win.Sfs.SettleAccount.SettleAccountHttpApiModule
2023-02-09 15:02:43.149 G - Volo.Abp.Autofac.AbpAutofacModule
2023-02-09 15:02:43.150 G - Volo.Abp.EntityFrameworkCore.SqlServer.AbpEntityFrameworkCoreSqlServerModule
2023-02-09 15:02:43.150 G - Volo.Abp.AspNetCore.Serilog.AbpAspNetCoreSerilogModule
2023-02-09 15:02:43.151 G - Volo.Abp.BlobStoring.AbpBlobStoringModule
2023-02-09 15:02:43.152 G - Volo.Abp.BlobStoring.FileSystem.AbpBlobStoringFileSystemModule
2023-02-09 15:02:43.153 G - Volo.Abp.BackgroundJobs.Hangfire.AbpBackgroundJobsHangfireModule
2023-02-09 15:02:43.154 G - Volo.Abp.BackgroundJobs.AbpBackgroundJobsAbstractionsModule
2023-02-09 15:02:43.155 G - Volo.Abp.Hangfire.AbpHangfireModule
2023-02-09 15:02:43.263 G Start installing Hangfire SQL objects...
2023-02-09 15:03:35.366 G An exception occurred while trying to perform the migration. Retrying...
System.Data.SqlClient.SqlException (0x80131904): A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server)
---> System.ComponentModel.Win32Exception (53): 找不到网络路径。
at System.Data.SqlClient.SqlInternalConnectionTds..ctor(DbConnectionPoolIdentity identity, SqlConnectionString connectionOptions, SqlCredential credential, Object providerInfo, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance, SqlConnectionString userConnectionOptions, SessionData reconnectSessionData, Boolean applyTransientFaultHandling, String accessToken)
at System.Data.SqlClient.SqlConnectionFactory.CreateConnection(DbConnectionOptions options, DbConnectionPoolKey poolKey, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningConnection, DbConnectionOptions userOptions)
at System.Data.ProviderBase.DbConnectionFactory.CreatePooledConnection(DbConnectionPool pool, DbConnection owningObject, DbConnectionOptions options, DbConnectionPoolKey poolKey, DbConnectionOptions userOptions)
at System.Data.ProviderBase.DbConnectionPool.CreateObject(DbConnection owningObject, DbConnectionOptions userOptions, DbConnectionInternal oldConnection)
at System.Data.ProviderBase.DbConnectionPool.UserCreateRequest(DbConnection owningObject, DbConnectionOptions userOptions, DbConnectionInternal oldConnection)
at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection)
at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection)
at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection)
at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions)
at System.Data.ProviderBase.DbConnectionClosed.TryOpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions)
at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry)
at System.Data.SqlClient.SqlConnection.Open()
at Hangfire.SqlServer.SqlServerStorage.CreateAndOpenConnection()
at Hangfire.SqlServer.SqlServerStorage.UseConnection[T](DbConnection dedicatedConnection, Func`2 func)
at Hangfire.SqlServer.SqlServerStorage.UseConnection(DbConnection dedicatedConnection, Action`1 action)
at Hangfire.SqlServer.SqlServerStorage.Initialize()
ClientConnectionId:00000000-0000-0000-0000-000000000000
Error Number:53,State:0,Class:20
2023-02-09 15:03:35.386 G An exception occurred while trying to perform the migration. Retrying...
System.Data.SqlClient.SqlException (0x80131904): A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server)
---> System.ComponentModel.Win32Exception (53): 找不到网络路径。
at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection)
at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection)
at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection)
at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions)
at System.Data.ProviderBase.DbConnectionClosed.TryOpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions)
at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry)
at System.Data.SqlClient.SqlConnection.Open()
at Hangfire.SqlServer.SqlServerStorage.CreateAndOpenConnection()
at Hangfire.SqlServer.SqlServerStorage.UseConnection[T](DbConnection dedicatedConnection, Func`2 func)
at Hangfire.SqlServer.SqlServerStorage.UseConnection(DbConnection dedicatedConnection, Action`1 action)
at Hangfire.SqlServer.SqlServerStorage.Initialize()
ClientConnectionId:00000000-0000-0000-0000-000000000000
Error Number:53,State:0,Class:20
2023-02-09 15:03:35.393 G An exception occurred while trying to perform the migration.
System.Data.SqlClient.SqlException (0x80131904): A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server)
---> System.ComponentModel.Win32Exception (53): 找不到网络路径。
at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection)
at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection)
at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection)
at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions)
at System.Data.ProviderBase.DbConnectionClosed.TryOpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions)
at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry)
at System.Data.SqlClient.SqlConnection.Open()
at Hangfire.SqlServer.SqlServerStorage.CreateAndOpenConnection()
at Hangfire.SqlServer.SqlServerStorage.UseConnection[T](DbConnection dedicatedConnection, Func`2 func)
at Hangfire.SqlServer.SqlServerStorage.UseConnection(DbConnection dedicatedConnection, Action`1 action)
at Hangfire.SqlServer.SqlServerStorage.Initialize()
ClientConnectionId:00000000-0000-0000-0000-000000000000
Error Number:53,State:0,Class:20
2023-02-09 15:03:35.400 G Was unable to perform the Hangfire schema migration due to an exception. Ignore this message unless you've just installed or upgraded Hangfire.
System.Data.SqlClient.SqlException (0x80131904): A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server)
---> System.ComponentModel.Win32Exception (53): 找不到网络路径。
at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection)
at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection)
at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection)
at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions)
at System.Data.ProviderBase.DbConnectionClosed.TryOpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions)
at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry)
at System.Data.SqlClient.SqlConnection.Open()
at Hangfire.SqlServer.SqlServerStorage.CreateAndOpenConnection()
at Hangfire.SqlServer.SqlServerStorage.UseConnection[T](DbConnection dedicatedConnection, Func`2 func)
at Hangfire.SqlServer.SqlServerStorage.UseConnection(DbConnection dedicatedConnection, Action`1 action)
at Hangfire.SqlServer.SqlServerStorage.Initialize()
ClientConnectionId:00000000-0000-0000-0000-000000000000
Error Number:53,State:0,Class:20
2023-02-09 15:03:35.427 G Starting Hangfire Server using job storage: 'SQL Server: 192.168.0.140@SettleAccountService'
2023-02-09 15:03:35.429 G Using the following options for SQL Server job storage: Queue poll interval: 00:00:15.
2023-02-09 15:03:35.430 G Using the following options for Hangfire Server:
Worker count: 20
Listening queues: 'default'
Shutdown timeout: 00:00:15
Schedule polling interval: 00:00:15
2023-02-09 15:03:35.474 G Execution BackgroundServerProcess is in the Failed state now due to an exception, execution will be retried no more than in 00:00:15
System.Data.SqlClient.SqlException (0x80131904): A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server)
---> System.ComponentModel.Win32Exception (53): 找不到网络路径。
at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection)
at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection)
at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection)
at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions)
at System.Data.ProviderBase.DbConnectionClosed.TryOpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions)
at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry)
at System.Data.SqlClient.SqlConnection.Open()
at Hangfire.SqlServer.SqlServerStorage.CreateAndOpenConnection()
at Hangfire.SqlServer.SqlServerStorage.UseConnection[T](DbConnection dedicatedConnection, Func`2 func)
at Hangfire.SqlServer.SqlServerStorage.UseConnection(DbConnection dedicatedConnection, Action`1 action)
at Hangfire.SqlServer.SqlServerConnection.AnnounceServer(String serverId, ServerContext context)
at Hangfire.Server.BackgroundServerProcess.CreateServer(BackgroundServerContext context)
at Hangfire.Server.BackgroundServerProcess.Execute(Guid executionId, BackgroundExecution execution, CancellationToken stoppingToken, CancellationToken stoppedToken, CancellationToken shutdownToken)
at Hangfire.Server.BackgroundProcessingServer.RunServer(Guid executionId, Object state)
at Hangfire.Processing.BackgroundExecution.Run(Action`2 callback, Object state)
ClientConnectionId:00000000-0000-0000-0000-000000000000
Error Number:53,State:0,Class:20
2023-02-09 15:03:35.486 G Starting Hangfire Server using job storage: 'SQL Server: 192.168.0.140@SettleAccountService'
2023-02-09 15:03:35.510 G Using the following options for SQL Server job storage: Queue poll interval: 00:00:15.
2023-02-09 15:03:35.511 G Using the following options for Hangfire Server:
Worker count: 20
Listening queues: 'default'
Shutdown timeout: 00:00:15
Schedule polling interval: 00:00:15
2023-02-09 15:03:35.522 G Execution BackgroundServerProcess is in the Failed state now due to an exception, execution will be retried no more than in 00:00:15
System.Data.SqlClient.SqlException (0x80131904): A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server)
---> System.ComponentModel.Win32Exception (53): 找不到网络路径。
at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection)
at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection)
at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection)
at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions)
at System.Data.ProviderBase.DbConnectionClosed.TryOpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions)
at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry)
at System.Data.SqlClient.SqlConnection.Open()
at Hangfire.SqlServer.SqlServerStorage.CreateAndOpenConnection()
at Hangfire.SqlServer.SqlServerStorage.UseConnection[T](DbConnection dedicatedConnection, Func`2 func)
at Hangfire.SqlServer.SqlServerStorage.UseConnection(DbConnection dedicatedConnection, Action`1 action)
at Hangfire.SqlServer.SqlServerConnection.AnnounceServer(String serverId, ServerContext context)
at Hangfire.Server.BackgroundServerProcess.CreateServer(BackgroundServerContext context)
at Hangfire.Server.BackgroundServerProcess.Execute(Guid executionId, BackgroundExecution execution, CancellationToken stoppingToken, CancellationToken stoppedToken, CancellationToken shutdownToken)
at Hangfire.Server.BackgroundProcessingServer.RunServer(Guid executionId, Object state)
at Hangfire.Processing.BackgroundExecution.Run(Action`2 callback, Object state)
ClientConnectionId:00000000-0000-0000-0000-000000000000
Error Number:53,State:0,Class:20
2023-02-09 15:03:37.510 G Entity Framework Core "5.0.8" initialized '"PermissionManagementDbContext"' using provider '"Microsoft.EntityFrameworkCore.SqlServer"' with options: "QuerySplittingBehavior=SplitQuery "
2023-02-09 15:03:37.543 G An error occurred using the connection to database '"ABP"' on server '"192.168.0.140"'.

270
code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/Logs/log-20230504.txt

@ -1,270 +0,0 @@
2023-05-04 10:03:49.435 G Starting web host.
2023-05-04 10:03:56.895 G User profile is available. Using '"C:\Users\Administrator\AppData\Local\ASP.NET\DataProtection-Keys"' as key repository and Windows DPAPI to encrypt keys at rest.
2023-05-04 10:03:57.001 G Loaded ABP modules:
2023-05-04 10:03:57.002 G - Win.Sfs.SettleAccount.SettleAccountHttpApiHostModule
2023-05-04 10:03:57.003 G - Win.Sfs.SettleAccount.SettleAccountApplicationModule
2023-05-04 10:03:57.003 G - Win.Sfs.SettleAccount.SettleAccountJobModule
2023-05-04 10:03:57.004 G - Win.Sfs.SettleAccount.SettleAccountDomainModule
2023-05-04 10:03:57.004 G - Volo.Abp.Domain.AbpDddDomainModule
2023-05-04 10:03:57.005 G - Volo.Abp.Auditing.AbpAuditingModule
2023-05-04 10:03:57.006 G - Volo.Abp.Data.AbpDataModule
2023-05-04 10:03:57.006 G - Volo.Abp.ObjectExtending.AbpObjectExtendingModule
2023-05-04 10:03:57.006 G - Volo.Abp.Localization.AbpLocalizationAbstractionsModule
2023-05-04 10:03:57.007 G - Volo.Abp.Validation.AbpValidationAbstractionsModule
2023-05-04 10:03:57.007 G - Volo.Abp.Uow.AbpUnitOfWorkModule
2023-05-04 10:03:57.008 G - Volo.Abp.EventBus.Abstractions.AbpEventBusAbstractionsModule
2023-05-04 10:03:57.008 G - Volo.Abp.Json.AbpJsonModule
2023-05-04 10:03:57.008 G - Volo.Abp.Timing.AbpTimingModule
2023-05-04 10:03:57.009 G - Volo.Abp.Localization.AbpLocalizationModule
2023-05-04 10:03:57.009 G - Volo.Abp.VirtualFileSystem.AbpVirtualFileSystemModule
2023-05-04 10:03:57.010 G - Volo.Abp.Settings.AbpSettingsModule
2023-05-04 10:03:57.010 G - Volo.Abp.Security.AbpSecurityModule
2023-05-04 10:03:57.010 G - Volo.Abp.MultiTenancy.AbpMultiTenancyModule
2023-05-04 10:03:57.011 G - Volo.Abp.Threading.AbpThreadingModule
2023-05-04 10:03:57.011 G - Volo.Abp.EventBus.AbpEventBusModule
2023-05-04 10:03:57.012 G - Volo.Abp.Guids.AbpGuidsModule
2023-05-04 10:03:57.012 G - Volo.Abp.ObjectMapping.AbpObjectMappingModule
2023-05-04 10:03:57.012 G - Volo.Abp.ExceptionHandling.AbpExceptionHandlingModule
2023-05-04 10:03:57.013 G - Volo.Abp.Specifications.AbpSpecificationsModule
2023-05-04 10:03:57.013 G - Win.Sfs.SettleAccount.SettleAccountDomainSharedModule
2023-05-04 10:03:57.014 G - Volo.Abp.Validation.AbpValidationModule
2023-05-04 10:03:57.014 G - Win.Sfs.SettleAccount.SettleAccountApplicationContractsModule
2023-05-04 10:03:57.016 G - Volo.Abp.Application.AbpDddApplicationContractsModule
2023-05-04 10:03:57.017 G - Volo.Abp.Authorization.AbpAuthorizationModule
2023-05-04 10:03:57.018 G - Volo.Abp.Authorization.AbpAuthorizationAbstractionsModule
2023-05-04 10:03:57.018 G - Volo.Abp.AutoMapper.AbpAutoMapperModule
2023-05-04 10:03:57.019 G - Volo.Abp.Dapper.AbpDapperModule
2023-05-04 10:03:57.019 G - Volo.Abp.EntityFrameworkCore.AbpEntityFrameworkCoreModule
2023-05-04 10:03:57.020 G - Win.Abp.Snowflakes.AbpSnowflakeGeneratorModule
2023-05-04 10:03:57.020 G - Volo.Abp.Http.Client.IdentityModel.AbpHttpClientIdentityModelModule
2023-05-04 10:03:57.020 G - Volo.Abp.Http.Client.AbpHttpClientModule
2023-05-04 10:03:57.021 G - Volo.Abp.Http.AbpHttpModule
2023-05-04 10:03:57.021 G - Volo.Abp.Http.AbpHttpAbstractionsModule
2023-05-04 10:03:57.022 G - Volo.Abp.Minify.AbpMinifyModule
2023-05-04 10:03:57.022 G - Volo.Abp.Castle.AbpCastleCoreModule
2023-05-04 10:03:57.023 G - Volo.Abp.IdentityModel.AbpIdentityModelModule
2023-05-04 10:03:57.023 G - Volo.Abp.Caching.AbpCachingModule
2023-05-04 10:03:57.023 G - Volo.Abp.Serialization.AbpSerializationModule
2023-05-04 10:03:57.024 G - Volo.Abp.Identity.AbpIdentityHttpApiClientModule
2023-05-04 10:03:57.024 G - Volo.Abp.Identity.AbpIdentityApplicationContractsModule
2023-05-04 10:03:57.025 G - Volo.Abp.Identity.AbpIdentityDomainSharedModule
2023-05-04 10:03:57.025 G - Volo.Abp.Users.AbpUsersDomainSharedModule
2023-05-04 10:03:57.026 G - Volo.Abp.Features.AbpFeaturesModule
2023-05-04 10:03:57.026 G - Volo.Abp.Users.AbpUsersAbstractionModule
2023-05-04 10:03:57.027 G - Volo.Abp.Application.AbpDddApplicationModule
2023-05-04 10:03:57.027 G - Volo.Abp.GlobalFeatures.AbpGlobalFeaturesModule
2023-05-04 10:03:57.027 G - Volo.Abp.PermissionManagement.AbpPermissionManagementApplicationContractsModule
2023-05-04 10:03:57.028 G - Volo.Abp.PermissionManagement.AbpPermissionManagementDomainSharedModule
2023-05-04 10:03:57.028 G - Volo.Abp.AspNetCore.Mvc.AbpAspNetCoreMvcModule
2023-05-04 10:03:57.029 G - Volo.Abp.AspNetCore.AbpAspNetCoreModule
2023-05-04 10:03:57.029 G - Volo.Abp.ApiVersioning.AbpApiVersioningAbstractionsModule
2023-05-04 10:03:57.030 G - Volo.Abp.AspNetCore.Mvc.AbpAspNetCoreMvcContractsModule
2023-05-04 10:03:57.030 G - Volo.Abp.UI.Navigation.AbpUiNavigationModule
2023-05-04 10:03:57.031 G - Volo.Abp.UI.AbpUiModule
2023-05-04 10:03:57.031 G - Win.Sfs.SettleAccount.SettleAccountEntityFrameworkCoreModule
2023-05-04 10:03:57.032 G - Volo.Abp.PermissionManagement.EntityFrameworkCore.AbpPermissionManagementEntityFrameworkCoreModule
2023-05-04 10:03:57.033 G - Volo.Abp.PermissionManagement.AbpPermissionManagementDomainModule
2023-05-04 10:03:57.033 G - Volo.Abp.SettingManagement.EntityFrameworkCore.AbpSettingManagementEntityFrameworkCoreModule
2023-05-04 10:03:57.034 G - Volo.Abp.SettingManagement.AbpSettingManagementDomainModule
2023-05-04 10:03:57.034 G - Volo.Abp.SettingManagement.AbpSettingManagementDomainSharedModule
2023-05-04 10:03:57.035 G - Volo.Abp.AuditLogging.EntityFrameworkCore.AbpAuditLoggingEntityFrameworkCoreModule
2023-05-04 10:03:57.035 G - Volo.Abp.AuditLogging.AbpAuditLoggingDomainModule
2023-05-04 10:03:57.036 G - Volo.Abp.AuditLogging.AbpAuditLoggingDomainSharedModule
2023-05-04 10:03:57.036 G - Volo.Abp.TenantManagement.EntityFrameworkCore.AbpTenantManagementEntityFrameworkCoreModule
2023-05-04 10:03:57.037 G - Volo.Abp.TenantManagement.AbpTenantManagementDomainModule
2023-05-04 10:03:57.037 G - Volo.Abp.TenantManagement.AbpTenantManagementDomainSharedModule
2023-05-04 10:03:57.038 G - Win.Sfs.SettleAccount.SettleAccountHttpApiModule
2023-05-04 10:03:57.039 G - Volo.Abp.Autofac.AbpAutofacModule
2023-05-04 10:03:57.039 G - Volo.Abp.EntityFrameworkCore.SqlServer.AbpEntityFrameworkCoreSqlServerModule
2023-05-04 10:03:57.040 G - Volo.Abp.AspNetCore.Serilog.AbpAspNetCoreSerilogModule
2023-05-04 10:03:57.040 G - Volo.Abp.BlobStoring.AbpBlobStoringModule
2023-05-04 10:03:57.041 G - Volo.Abp.BlobStoring.FileSystem.AbpBlobStoringFileSystemModule
2023-05-04 10:03:57.042 G - Volo.Abp.BackgroundJobs.Hangfire.AbpBackgroundJobsHangfireModule
2023-05-04 10:03:57.042 G - Volo.Abp.BackgroundJobs.AbpBackgroundJobsAbstractionsModule
2023-05-04 10:03:57.043 G - Volo.Abp.Hangfire.AbpHangfireModule
2023-05-04 10:03:57.118 G Start installing Hangfire SQL objects...
2023-05-04 10:04:18.239 G An exception occurred while trying to perform the migration. Retrying...
System.Data.SqlClient.SqlException (0x80131904): A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server)
---> System.ComponentModel.Win32Exception (53): 找不到网络路径。
at System.Data.SqlClient.SqlInternalConnectionTds..ctor(DbConnectionPoolIdentity identity, SqlConnectionString connectionOptions, SqlCredential credential, Object providerInfo, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance, SqlConnectionString userConnectionOptions, SessionData reconnectSessionData, Boolean applyTransientFaultHandling, String accessToken)
at System.Data.SqlClient.SqlConnectionFactory.CreateConnection(DbConnectionOptions options, DbConnectionPoolKey poolKey, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningConnection, DbConnectionOptions userOptions)
at System.Data.ProviderBase.DbConnectionFactory.CreatePooledConnection(DbConnectionPool pool, DbConnection owningObject, DbConnectionOptions options, DbConnectionPoolKey poolKey, DbConnectionOptions userOptions)
at System.Data.ProviderBase.DbConnectionPool.CreateObject(DbConnection owningObject, DbConnectionOptions userOptions, DbConnectionInternal oldConnection)
at System.Data.ProviderBase.DbConnectionPool.UserCreateRequest(DbConnection owningObject, DbConnectionOptions userOptions, DbConnectionInternal oldConnection)
at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection)
at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection)
at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection)
at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions)
at System.Data.ProviderBase.DbConnectionClosed.TryOpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions)
at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry)
at System.Data.SqlClient.SqlConnection.Open()
at Hangfire.SqlServer.SqlServerStorage.CreateAndOpenConnection()
at Hangfire.SqlServer.SqlServerStorage.UseConnection[T](DbConnection dedicatedConnection, Func`2 func)
at Hangfire.SqlServer.SqlServerStorage.UseConnection(DbConnection dedicatedConnection, Action`1 action)
at Hangfire.SqlServer.SqlServerStorage.Initialize()
ClientConnectionId:00000000-0000-0000-0000-000000000000
Error Number:53,State:0,Class:20
2023-05-04 10:04:18.257 G An exception occurred while trying to perform the migration. Retrying...
System.Data.SqlClient.SqlException (0x80131904): A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server)
---> System.ComponentModel.Win32Exception (53): 找不到网络路径。
at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection)
at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection)
at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection)
at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions)
at System.Data.ProviderBase.DbConnectionClosed.TryOpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions)
at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry)
at System.Data.SqlClient.SqlConnection.Open()
at Hangfire.SqlServer.SqlServerStorage.CreateAndOpenConnection()
at Hangfire.SqlServer.SqlServerStorage.UseConnection[T](DbConnection dedicatedConnection, Func`2 func)
at Hangfire.SqlServer.SqlServerStorage.UseConnection(DbConnection dedicatedConnection, Action`1 action)
at Hangfire.SqlServer.SqlServerStorage.Initialize()
ClientConnectionId:00000000-0000-0000-0000-000000000000
Error Number:53,State:0,Class:20
2023-05-04 10:04:18.265 G An exception occurred while trying to perform the migration.
System.Data.SqlClient.SqlException (0x80131904): A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server)
---> System.ComponentModel.Win32Exception (53): 找不到网络路径。
at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection)
at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection)
at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection)
at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions)
at System.Data.ProviderBase.DbConnectionClosed.TryOpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions)
at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry)
at System.Data.SqlClient.SqlConnection.Open()
at Hangfire.SqlServer.SqlServerStorage.CreateAndOpenConnection()
at Hangfire.SqlServer.SqlServerStorage.UseConnection[T](DbConnection dedicatedConnection, Func`2 func)
at Hangfire.SqlServer.SqlServerStorage.UseConnection(DbConnection dedicatedConnection, Action`1 action)
at Hangfire.SqlServer.SqlServerStorage.Initialize()
ClientConnectionId:00000000-0000-0000-0000-000000000000
Error Number:53,State:0,Class:20
2023-05-04 10:04:18.272 G Was unable to perform the Hangfire schema migration due to an exception. Ignore this message unless you've just installed or upgraded Hangfire.
System.Data.SqlClient.SqlException (0x80131904): A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server)
---> System.ComponentModel.Win32Exception (53): 找不到网络路径。
at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection)
at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection)
at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection)
at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions)
at System.Data.ProviderBase.DbConnectionClosed.TryOpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions)
at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry)
at System.Data.SqlClient.SqlConnection.Open()
at Hangfire.SqlServer.SqlServerStorage.CreateAndOpenConnection()
at Hangfire.SqlServer.SqlServerStorage.UseConnection[T](DbConnection dedicatedConnection, Func`2 func)
at Hangfire.SqlServer.SqlServerStorage.UseConnection(DbConnection dedicatedConnection, Action`1 action)
at Hangfire.SqlServer.SqlServerStorage.Initialize()
ClientConnectionId:00000000-0000-0000-0000-000000000000
Error Number:53,State:0,Class:20
2023-05-04 10:04:18.295 G Starting Hangfire Server using job storage: 'SQL Server: 192.168.0.140@SettleAccountService'
2023-05-04 10:04:18.296 G Using the following options for SQL Server job storage: Queue poll interval: 00:00:15.
2023-05-04 10:04:18.297 G Using the following options for Hangfire Server:
Worker count: 20
Listening queues: 'default'
Shutdown timeout: 00:00:15
Schedule polling interval: 00:00:15
2023-05-04 10:04:18.335 G Execution BackgroundServerProcess is in the Failed state now due to an exception, execution will be retried no more than in 00:00:15
System.Data.SqlClient.SqlException (0x80131904): A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server)
---> System.ComponentModel.Win32Exception (53): 找不到网络路径。
at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection)
at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection)
at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection)
at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions)
at System.Data.ProviderBase.DbConnectionClosed.TryOpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions)
at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry)
at System.Data.SqlClient.SqlConnection.Open()
at Hangfire.SqlServer.SqlServerStorage.CreateAndOpenConnection()
at Hangfire.SqlServer.SqlServerStorage.UseConnection[T](DbConnection dedicatedConnection, Func`2 func)
at Hangfire.SqlServer.SqlServerStorage.UseConnection(DbConnection dedicatedConnection, Action`1 action)
at Hangfire.SqlServer.SqlServerConnection.AnnounceServer(String serverId, ServerContext context)
at Hangfire.Server.BackgroundServerProcess.CreateServer(BackgroundServerContext context)
at Hangfire.Server.BackgroundServerProcess.Execute(Guid executionId, BackgroundExecution execution, CancellationToken stoppingToken, CancellationToken stoppedToken, CancellationToken shutdownToken)
at Hangfire.Server.BackgroundProcessingServer.RunServer(Guid executionId, Object state)
at Hangfire.Processing.BackgroundExecution.Run(Action`2 callback, Object state)
ClientConnectionId:00000000-0000-0000-0000-000000000000
Error Number:53,State:0,Class:20
2023-05-04 10:04:18.342 G Starting Hangfire Server using job storage: 'SQL Server: 192.168.0.140@SettleAccountService'
2023-05-04 10:04:18.343 G Using the following options for SQL Server job storage: Queue poll interval: 00:00:15.
2023-05-04 10:04:18.344 G Using the following options for Hangfire Server:
Worker count: 20
Listening queues: 'default'
Shutdown timeout: 00:00:15
Schedule polling interval: 00:00:15
2023-05-04 10:04:18.349 G Execution BackgroundServerProcess is in the Failed state now due to an exception, execution will be retried no more than in 00:00:15
System.Data.SqlClient.SqlException (0x80131904): A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server)
---> System.ComponentModel.Win32Exception (53): 找不到网络路径。
at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection)
at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection)
at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection)
at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions)
at System.Data.ProviderBase.DbConnectionClosed.TryOpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions)
at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry)
at System.Data.SqlClient.SqlConnection.Open()
at Hangfire.SqlServer.SqlServerStorage.CreateAndOpenConnection()
at Hangfire.SqlServer.SqlServerStorage.UseConnection[T](DbConnection dedicatedConnection, Func`2 func)
at Hangfire.SqlServer.SqlServerStorage.UseConnection(DbConnection dedicatedConnection, Action`1 action)
at Hangfire.SqlServer.SqlServerConnection.AnnounceServer(String serverId, ServerContext context)
at Hangfire.Server.BackgroundServerProcess.CreateServer(BackgroundServerContext context)
at Hangfire.Server.BackgroundServerProcess.Execute(Guid executionId, BackgroundExecution execution, CancellationToken stoppingToken, CancellationToken stoppedToken, CancellationToken shutdownToken)
at Hangfire.Server.BackgroundProcessingServer.RunServer(Guid executionId, Object state)
at Hangfire.Processing.BackgroundExecution.Run(Action`2 callback, Object state)
ClientConnectionId:00000000-0000-0000-0000-000000000000
Error Number:53,State:0,Class:20
2023-05-04 10:04:19.766 G Entity Framework Core "5.0.8" initialized '"PermissionManagementDbContext"' using provider '"Microsoft.EntityFrameworkCore.SqlServer"' with options: "QuerySplittingBehavior=SplitQuery "
2023-05-04 10:04:48.384 G Execution BackgroundServerProcess is still in the Failed state for 00:00:30.0292985 due to an exception, will be retried no more than in 00:00:15
System.InvalidOperationException: Timeout expired. The timeout period elapsed prior to obtaining a connection from the pool. This may have occurred because all pooled connections were in use and max pool size was reached.
at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection)
at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions)
at System.Data.ProviderBase.DbConnectionClosed.TryOpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions)
at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry)
at System.Data.SqlClient.SqlConnection.Open()
at Hangfire.SqlServer.SqlServerStorage.CreateAndOpenConnection()
at Hangfire.SqlServer.SqlServerStorage.UseConnection[T](DbConnection dedicatedConnection, Func`2 func)
at Hangfire.SqlServer.SqlServerStorage.UseConnection(DbConnection dedicatedConnection, Action`1 action)
at Hangfire.SqlServer.SqlServerConnection.AnnounceServer(String serverId, ServerContext context)
at Hangfire.Server.BackgroundServerProcess.CreateServer(BackgroundServerContext context)
at Hangfire.Server.BackgroundServerProcess.Execute(Guid executionId, BackgroundExecution execution, CancellationToken stoppingToken, CancellationToken stoppedToken, CancellationToken shutdownToken)
at Hangfire.Server.BackgroundProcessingServer.RunServer(Guid executionId, Object state)
at Hangfire.Processing.BackgroundExecution.Run(Action`2 callback, Object state)
2023-05-04 10:05:11.811 G Execution BackgroundServerProcess is still in the Failed state for 00:00:53.4677994 due to an exception, will be retried no more than in 00:00:15
System.Data.SqlClient.SqlException (0x80131904): A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server)
---> System.ComponentModel.Win32Exception (53): 找不到网络路径。
at System.Data.SqlClient.SqlInternalConnectionTds..ctor(DbConnectionPoolIdentity identity, SqlConnectionString connectionOptions, SqlCredential credential, Object providerInfo, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance, SqlConnectionString userConnectionOptions, SessionData reconnectSessionData, Boolean applyTransientFaultHandling, String accessToken)
at System.Data.SqlClient.SqlConnectionFactory.CreateConnection(DbConnectionOptions options, DbConnectionPoolKey poolKey, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningConnection, DbConnectionOptions userOptions)
at System.Data.ProviderBase.DbConnectionFactory.CreatePooledConnection(DbConnectionPool pool, DbConnection owningObject, DbConnectionOptions options, DbConnectionPoolKey poolKey, DbConnectionOptions userOptions)
at System.Data.ProviderBase.DbConnectionPool.CreateObject(DbConnection owningObject, DbConnectionOptions userOptions, DbConnectionInternal oldConnection)
at System.Data.ProviderBase.DbConnectionPool.UserCreateRequest(DbConnection owningObject, DbConnectionOptions userOptions, DbConnectionInternal oldConnection)
at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection)
at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection)
at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection)
at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions)
at System.Data.ProviderBase.DbConnectionClosed.TryOpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions)
at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry)
at System.Data.SqlClient.SqlConnection.Open()
at Hangfire.SqlServer.SqlServerStorage.CreateAndOpenConnection()
at Hangfire.SqlServer.SqlServerStorage.UseConnection[T](DbConnection dedicatedConnection, Func`2 func)
at Hangfire.SqlServer.SqlServerStorage.UseConnection(DbConnection dedicatedConnection, Action`1 action)
at Hangfire.SqlServer.SqlServerConnection.AnnounceServer(String serverId, ServerContext context)
at Hangfire.Server.BackgroundServerProcess.CreateServer(BackgroundServerContext context)
at Hangfire.Server.BackgroundServerProcess.Execute(Guid executionId, BackgroundExecution execution, CancellationToken stoppingToken, CancellationToken stoppedToken, CancellationToken shutdownToken)
at Hangfire.Server.BackgroundProcessingServer.RunServer(Guid executionId, Object state)
at Hangfire.Processing.BackgroundExecution.Run(Action`2 callback, Object state)
ClientConnectionId:00000000-0000-0000-0000-000000000000
Error Number:53,State:0,Class:20
2023-05-04 10:05:11.811 G Execution BackgroundServerProcess is still in the Failed state for 00:00:53.4561314 due to an exception, will be retried no more than in 00:00:15
System.Data.SqlClient.SqlException (0x80131904): A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server)
---> System.ComponentModel.Win32Exception (53): 找不到网络路径。
at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection)
at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection)
at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection)
at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions)
at System.Data.ProviderBase.DbConnectionClosed.TryOpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions)
at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry)
at System.Data.SqlClient.SqlConnection.Open()
at Hangfire.SqlServer.SqlServerStorage.CreateAndOpenConnection()
at Hangfire.SqlServer.SqlServerStorage.UseConnection[T](DbConnection dedicatedConnection, Func`2 func)
at Hangfire.SqlServer.SqlServerStorage.UseConnection(DbConnection dedicatedConnection, Action`1 action)
at Hangfire.SqlServer.SqlServerConnection.AnnounceServer(String serverId, ServerContext context)
at Hangfire.Server.BackgroundServerProcess.CreateServer(BackgroundServerContext context)
at Hangfire.Server.BackgroundServerProcess.Execute(Guid executionId, BackgroundExecution execution, CancellationToken stoppingToken, CancellationToken stoppedToken, CancellationToken shutdownToken)
at Hangfire.Server.BackgroundProcessingServer.RunServer(Guid executionId, Object state)
at Hangfire.Processing.BackgroundExecution.Run(Action`2 callback, Object state)
ClientConnectionId:00000000-0000-0000-0000-000000000000
Error Number:53,State:0,Class:20
2023-05-04 10:05:11.819 G An error occurred using the connection to database '"ABP"' on server '"192.168.0.140"'.

85
code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/Logs/log-20230610.txt

@ -1,85 +0,0 @@
2023-06-10 16:17:58.147 G Starting web host.
2023-06-10 16:18:07.496 G User profile is available. Using '"C:\Users\44673\AppData\Local\ASP.NET\DataProtection-Keys"' as key repository and Windows DPAPI to encrypt keys at rest.
2023-06-10 16:18:07.583 G Loaded ABP modules:
2023-06-10 16:18:07.584 G - Win.Sfs.SettleAccount.SettleAccountHttpApiHostModule
2023-06-10 16:18:07.585 G - Win.Sfs.SettleAccount.SettleAccountApplicationModule
2023-06-10 16:18:07.586 G - Win.Sfs.SettleAccount.SettleAccountJobModule
2023-06-10 16:18:07.587 G - Win.Sfs.SettleAccount.SettleAccountDomainModule
2023-06-10 16:18:07.587 G - Volo.Abp.Domain.AbpDddDomainModule
2023-06-10 16:18:07.588 G - Volo.Abp.Auditing.AbpAuditingModule
2023-06-10 16:18:07.589 G - Volo.Abp.Data.AbpDataModule
2023-06-10 16:18:07.589 G - Volo.Abp.ObjectExtending.AbpObjectExtendingModule
2023-06-10 16:18:07.590 G - Volo.Abp.Localization.AbpLocalizationAbstractionsModule
2023-06-10 16:18:07.591 G - Volo.Abp.Validation.AbpValidationAbstractionsModule
2023-06-10 16:18:07.591 G - Volo.Abp.Uow.AbpUnitOfWorkModule
2023-06-10 16:18:07.592 G - Volo.Abp.EventBus.Abstractions.AbpEventBusAbstractionsModule
2023-06-10 16:18:07.593 G - Volo.Abp.Json.AbpJsonModule
2023-06-10 16:18:07.593 G - Volo.Abp.Timing.AbpTimingModule
2023-06-10 16:18:07.594 G - Volo.Abp.Localization.AbpLocalizationModule
2023-06-10 16:18:07.594 G - Volo.Abp.VirtualFileSystem.AbpVirtualFileSystemModule
2023-06-10 16:18:07.595 G - Volo.Abp.Settings.AbpSettingsModule
2023-06-10 16:18:07.596 G - Volo.Abp.Security.AbpSecurityModule
2023-06-10 16:18:07.596 G - Volo.Abp.MultiTenancy.AbpMultiTenancyModule
2023-06-10 16:18:07.597 G - Volo.Abp.Threading.AbpThreadingModule
2023-06-10 16:18:07.598 G - Volo.Abp.EventBus.AbpEventBusModule
2023-06-10 16:18:07.598 G - Volo.Abp.Guids.AbpGuidsModule
2023-06-10 16:18:07.599 G - Volo.Abp.ObjectMapping.AbpObjectMappingModule
2023-06-10 16:18:07.600 G - Volo.Abp.ExceptionHandling.AbpExceptionHandlingModule
2023-06-10 16:18:07.600 G - Volo.Abp.Specifications.AbpSpecificationsModule
2023-06-10 16:18:07.601 G - Win.Sfs.SettleAccount.SettleAccountDomainSharedModule
2023-06-10 16:18:07.602 G - Volo.Abp.Validation.AbpValidationModule
2023-06-10 16:18:07.602 G - Win.Sfs.SettleAccount.SettleAccountApplicationContractsModule
2023-06-10 16:18:07.603 G - Volo.Abp.Application.AbpDddApplicationContractsModule
2023-06-10 16:18:07.604 G - Volo.Abp.Authorization.AbpAuthorizationModule
2023-06-10 16:18:07.604 G - Volo.Abp.Authorization.AbpAuthorizationAbstractionsModule
2023-06-10 16:18:07.605 G - Volo.Abp.AutoMapper.AbpAutoMapperModule
2023-06-10 16:18:07.606 G - Volo.Abp.Dapper.AbpDapperModule
2023-06-10 16:18:07.606 G - Volo.Abp.EntityFrameworkCore.AbpEntityFrameworkCoreModule
2023-06-10 16:18:07.607 G - Win.Abp.Snowflakes.AbpSnowflakeGeneratorModule
2023-06-10 16:18:07.608 G - Volo.Abp.Http.Client.IdentityModel.AbpHttpClientIdentityModelModule
2023-06-10 16:18:07.608 G - Volo.Abp.Http.Client.AbpHttpClientModule
2023-06-10 16:18:07.609 G - Volo.Abp.Http.AbpHttpModule
2023-06-10 16:18:07.609 G - Volo.Abp.Http.AbpHttpAbstractionsModule
2023-06-10 16:18:07.610 G - Volo.Abp.Minify.AbpMinifyModule
2023-06-10 16:18:07.611 G - Volo.Abp.Castle.AbpCastleCoreModule
2023-06-10 16:18:07.611 G - Volo.Abp.IdentityModel.AbpIdentityModelModule
2023-06-10 16:18:07.612 G - Volo.Abp.Caching.AbpCachingModule
2023-06-10 16:18:07.613 G - Volo.Abp.Serialization.AbpSerializationModule
2023-06-10 16:18:07.614 G - Volo.Abp.Identity.AbpIdentityHttpApiClientModule
2023-06-10 16:18:07.614 G - Volo.Abp.Identity.AbpIdentityApplicationContractsModule
2023-06-10 16:18:07.615 G - Volo.Abp.Identity.AbpIdentityDomainSharedModule
2023-06-10 16:18:07.615 G - Volo.Abp.Users.AbpUsersDomainSharedModule
2023-06-10 16:18:07.616 G - Volo.Abp.Features.AbpFeaturesModule
2023-06-10 16:18:07.617 G - Volo.Abp.Users.AbpUsersAbstractionModule
2023-06-10 16:18:07.617 G - Volo.Abp.Application.AbpDddApplicationModule
2023-06-10 16:18:07.618 G - Volo.Abp.GlobalFeatures.AbpGlobalFeaturesModule
2023-06-10 16:18:07.619 G - Volo.Abp.PermissionManagement.AbpPermissionManagementApplicationContractsModule
2023-06-10 16:18:07.619 G - Volo.Abp.PermissionManagement.AbpPermissionManagementDomainSharedModule
2023-06-10 16:18:07.620 G - Volo.Abp.AspNetCore.Mvc.AbpAspNetCoreMvcModule
2023-06-10 16:18:07.621 G - Volo.Abp.AspNetCore.AbpAspNetCoreModule
2023-06-10 16:18:07.622 G - Volo.Abp.ApiVersioning.AbpApiVersioningAbstractionsModule
2023-06-10 16:18:07.622 G - Volo.Abp.AspNetCore.Mvc.AbpAspNetCoreMvcContractsModule
2023-06-10 16:18:07.623 G - Volo.Abp.UI.Navigation.AbpUiNavigationModule
2023-06-10 16:18:07.624 G - Volo.Abp.UI.AbpUiModule
2023-06-10 16:18:07.624 G - Win.Sfs.SettleAccount.SettleAccountEntityFrameworkCoreModule
2023-06-10 16:18:07.625 G - Volo.Abp.PermissionManagement.EntityFrameworkCore.AbpPermissionManagementEntityFrameworkCoreModule
2023-06-10 16:18:07.626 G - Volo.Abp.PermissionManagement.AbpPermissionManagementDomainModule
2023-06-10 16:18:07.626 G - Volo.Abp.SettingManagement.EntityFrameworkCore.AbpSettingManagementEntityFrameworkCoreModule
2023-06-10 16:18:07.627 G - Volo.Abp.SettingManagement.AbpSettingManagementDomainModule
2023-06-10 16:18:07.628 G - Volo.Abp.SettingManagement.AbpSettingManagementDomainSharedModule
2023-06-10 16:18:07.629 G - Volo.Abp.AuditLogging.EntityFrameworkCore.AbpAuditLoggingEntityFrameworkCoreModule
2023-06-10 16:18:07.629 G - Volo.Abp.AuditLogging.AbpAuditLoggingDomainModule
2023-06-10 16:18:07.630 G - Volo.Abp.AuditLogging.AbpAuditLoggingDomainSharedModule
2023-06-10 16:18:07.631 G - Volo.Abp.TenantManagement.EntityFrameworkCore.AbpTenantManagementEntityFrameworkCoreModule
2023-06-10 16:18:07.631 G - Volo.Abp.TenantManagement.AbpTenantManagementDomainModule
2023-06-10 16:18:07.632 G - Volo.Abp.TenantManagement.AbpTenantManagementDomainSharedModule
2023-06-10 16:18:07.633 G - Win.Sfs.SettleAccount.SettleAccountHttpApiModule
2023-06-10 16:18:07.633 G - Volo.Abp.Autofac.AbpAutofacModule
2023-06-10 16:18:07.634 G - Volo.Abp.EntityFrameworkCore.SqlServer.AbpEntityFrameworkCoreSqlServerModule
2023-06-10 16:18:07.635 G - Volo.Abp.AspNetCore.Serilog.AbpAspNetCoreSerilogModule
2023-06-10 16:18:07.635 G - Volo.Abp.BlobStoring.AbpBlobStoringModule
2023-06-10 16:18:07.636 G - Volo.Abp.BlobStoring.FileSystem.AbpBlobStoringFileSystemModule
2023-06-10 16:18:07.637 G - Volo.Abp.BackgroundJobs.Hangfire.AbpBackgroundJobsHangfireModule
2023-06-10 16:18:07.637 G - Volo.Abp.BackgroundJobs.AbpBackgroundJobsAbstractionsModule
2023-06-10 16:18:07.638 G - Volo.Abp.Hangfire.AbpHangfireModule
2023-06-10 16:18:07.746 G Start installing Hangfire SQL objects...

2
code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/Program.cs

@ -17,7 +17,7 @@ public class Program
.Build(); .Build();
try try
{ {
new InfluxHelper(configuration).Start().Query("create database vmi").Wait(); new InfluxHelper(configuration).Start();
} }
catch (Exception ex) catch (Exception ex)
{ {

39
code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/components/table/index.js

@ -0,0 +1,39 @@
import html from "html";
export default {
template: html`<div class="app-table el-table">
<div class="row">
<div class="cell el-table__cell" v-for="item in columns">
<div class="cell">{{item.title}}</div>
</div>
</div>
<div v-for="row in data" class="row">
<template v-for="(val,key) in row">
<div class="cell el-table__cell" v-if="columns.find(o=>o.dataKey===key)">
<div class="cell">{{val}}</div>
</div>
</template>
</div>
</div>`,
styles: html`<style>
.app-table {
display: table;
content-visibility: visible;
}
.app-table .row {
display: table-row;
background-color: var(--el-table-tr-bg-color);
border-top: var(--el-table-border);
border-left: var(--el-table-border);
}
.app-table .cell.el-table__cell {
display: table-cell;
padding: 8px 0;
border-right: var(--el-table-border);
border-bottom: var(--el-table-border);
}
</style>`,
props: ["modelValue", "columns", "data"],
emit: ["update:modelValue"],
setup(props, context) {},
};

56
code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/views/invoice/invoice_map_group.js

@ -1,24 +1,22 @@
import AppList from "../../../components/list/index.js"; import AppList from "../../../components/list/index.js";
import html from "html"; import html from "html";
import { ref } from "vue"; import { ref } from "vue";
import { delay } from "../../../utils/index.js";
import useConfig from "../../../models/invoice/invoice_map_group.js"; import useConfig from "../../../models/invoice/invoice_map_group.js";
import request from "../../../request/index.js"; import request from "../../../request/index.js";
import AppTable from "../../components/table/index.js";
export default { export default {
components: { AppList }, components: { AppList, AppTable },
template: html`<app-list :config="config" @command="onCommand" /> template: html`<app-list :config="config" @command="onCommand" />
<el-drawer v-model="drawer" destroy-on-close size="50%" class="page-drawer"> <el-drawer v-model="drawer" destroy-on-close size="50%" class="page-drawer">
<template #header> <span class="el-dialog__title"> INVOICE_GRP_DETAIL_DTO </span> </template> <template #header> <span class="el-dialog__title"> INVOICE_GRP_DETAIL_DTO </span> </template>
<el-row v-loading="loading"> <el-row style="height:calc(100vh - 160px);" v-loading="loading">
<el-col style="height:calc(100vh - 180px);"> <el-col>
<el-tabs style="width:100%;height:100%;" v-if="drawer&&!loading"> <el-tabs>
<el-tab-pane label="invoicE_WAIT_DETAIL" v-if="model.invoicE_WAIT_DETAIL.length"> <el-tab-pane label="invoicE_WAIT_DETAIL" v-if="model.invoicE_WAIT_DETAIL.length">
<el-auto-resizer> <el-scrollbar>
<template #default="{ height, width }"> <app-table :data="model.invoicE_WAIT_DETAIL" :columns="columns1" />
<el-table-v2 :data="model.invoicE_WAIT_DETAIL" :columns="columns1" :width="width" :height="height" /> </el-scrollbar>
</template>
</el-auto-resizer>
</el-tab-pane> </el-tab-pane>
<el-tab-pane label="invoicE_MAP_GROUP" v-if="model.invoicE_MAP_GROUP.length"> <el-tab-pane label="invoicE_MAP_GROUP" v-if="model.invoicE_MAP_GROUP.length">
<el-auto-resizer> <el-auto-resizer>
@ -46,10 +44,12 @@ export default {
styles: html` <style> styles: html` <style>
.page-drawer .el-tab-pane { .page-drawer .el-tab-pane {
width: 100%; width: 100%;
height: 100%; height: calc(100vh - 160px);
} }
.page-drawer .el-tabs__content { .page-drawer .el-tabs__content,
height: calc(100% - 40px); .page-drawer .el-scrollbar {
width: 100%;
height: calc(100vh - 160px - 40px);
} }
</style>`, </style>`,
setup() { setup() {
@ -67,7 +67,6 @@ export default {
const data = { [item.path]: rows[0][item.path] }; const data = { [item.path]: rows[0][item.path] };
const response = await request("settleaccount/invoice_service/detail-query", data, { method: "POST" }); const response = await request("settleaccount/invoice_service/detail-query", data, { method: "POST" });
model.value = response.data; model.value = response.data;
await delay(1000);
loading.value = false; loading.value = false;
}; };
const columns1 = [ const columns1 = [
@ -75,98 +74,89 @@ export default {
key: "version", key: "version",
dataKey: "version", dataKey: "version",
title: "期间", title: "期间",
width: 100,
}, },
{ {
dataKey: "invbillNum", dataKey: "invbillNum",
title: "发票号", title: "发票号",
width: 100,
}, },
{ {
dataKey: "invGroupNum", dataKey: "invGroupNum",
title: "发票分组号", title: "发票分组号",
width: 100,
}, },
{ {
dataKey: "lu", dataKey: "lu",
title: "零件号", title: "零件号",
width: 100,
}, },
{ {
dataKey: "price", dataKey: "price",
title: "单价", title: "单价",
width: 100,
}, },
{ {
dataKey: "qty", dataKey: "qty",
title: "数量", title: "数量",
width: 100,
}, },
{ {
dataKey: "amt", dataKey: "amt",
title: "金额", title: "金额",
width: 100,
}, },
{ {
dataKey: "bussiessType", dataKey: "bussiessType",
title: "业务分类", title: "业务分类",
width: 100,
}, },
]; ];
const columns2 = [ const columns2 = [
{ {
dataKey: "version", dataKey: "version",
title: "期间", title: "期间",
width: 100,
}, },
{ {
dataKey: "invbillNum", dataKey: "invbillNum",
title: "发票号", title: "发票号",
width: 100,
}, },
{ {
dataKey: "inGroupNum", dataKey: "inGroupNum",
title: "发票分组号", title: "发票分组号",
width: 100,
}, },
{ {
dataKey: "settleGroupNum", dataKey: "settleGroupNum",
title: "结算分组号", title: "结算分组号",
width: 100,
}, },
{ {
dataKey: "amt", dataKey: "amt",
title: "金额", title: "金额",
width: 100,
}, },
]; ];
const columns3 = [ const columns3 = [
{ {
dataKey: "version", dataKey: "version",
title: "期间", title: "期间",
width: 100,
}, },
{ {
dataKey: "invGroupNum", dataKey: "invGroupNum",
title: "发票分组号", title: "发票分组号",
width: 100,
}, },
{ {
dataKey: "settleGroupNum", dataKey: "settleGroupNum",
title: "结算分组号", title: "结算分组号",
width: 100,
}, },
{ {
dataKey: "lu", dataKey: "lu",
title: "可结算分组号", title: "可结算分组号",
width: 100,
}, },
{ {
dataKey: "lu1", dataKey: "lu1",
title: "不可结算分组号", title: "不可结算分组号",
width: 100,
}, },
]; ];
return { config, onCommand, drawer, loading, model, columns1, columns2, columns3 }; return {
config,
onCommand,
drawer,
loading,
model,
columns1,
columns2,
columns3,
};
}, },
}; };

218
code/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/BQ/VmiAppService.cs

@ -8,11 +8,12 @@ using System.Linq.Dynamic.Core;
using System.Reflection; using System.Reflection;
using System.Threading.Tasks; using System.Threading.Tasks;
using ClosedXML.Excel; using ClosedXML.Excel;
using Flurl; using LinqToDB.Data;
using Flurl.Http; using LinqToDB.EntityFrameworkCore;
using InfluxDB.LineProtocol.Client; using Magicodes.ExporterAndImporter.Core;
using Magicodes.ExporterAndImporter.Core.Extension; using Magicodes.ExporterAndImporter.Core.Extension;
using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.SignalR; using Microsoft.AspNetCore.SignalR;
using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore;
@ -21,12 +22,14 @@ using Microsoft.EntityFrameworkCore.Storage;
using Microsoft.Extensions.Configuration; using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.DependencyInjection;
using Microsoft.OpenApi.Extensions; using Microsoft.OpenApi.Extensions;
using Omu.ValueInjecter;
using SettleAccount.Job.SignalR; using SettleAccount.Job.SignalR;
using Volo.Abp.Application.Dtos; using Volo.Abp.Application.Dtos;
using Volo.Abp.Application.Services; using Volo.Abp.Application.Services;
using Volo.Abp.BlobStoring; using Volo.Abp.BlobStoring;
using Volo.Abp.DependencyInjection; using Volo.Abp.DependencyInjection;
using Volo.Abp.Uow; using Volo.Abp.Uow;
using Volo.Abp.Users;
using Volo.Abp.Validation; using Volo.Abp.Validation;
using Win.Sfs.BaseData.ImportExcelCommon; using Win.Sfs.BaseData.ImportExcelCommon;
using Win.Sfs.SettleAccount.Entities.BQ.Dtos; using Win.Sfs.SettleAccount.Entities.BQ.Dtos;
@ -40,11 +43,9 @@ namespace Win.Sfs.SettleAccount.Entities.BQ;
public interface IVmiService : IApplicationService, ITransientDependency, IJobService public interface IVmiService : IApplicationService, ITransientDependency, IJobService
{ {
void In(VmiCategory category, string erpToLoc, string partCode, string lu, decimal count, object message); void Change(VmiLogType logType, VmiType vmiType, string erpToLoc, string partCode, string lu, string number, decimal qty, object source, string groupId);
void Out(VmiCategory category, string erpToLoc, string partCode, string lu, decimal count, object message); void UnDo(string groupId);
void Run(string logGroupId, VmiType type);
} }
[AllowAnonymous] [AllowAnonymous]
@ -57,13 +58,15 @@ public class VmiAppService : ApplicationService, IVmiService, IJobService, ITran
private readonly INormalEfCoreRepository<VmiSnapshot, Guid> _snapshotRepository; private readonly INormalEfCoreRepository<VmiSnapshot, Guid> _snapshotRepository;
private readonly IBlobContainer<MyFileContainer> _fileContainer; private readonly IBlobContainer<MyFileContainer> _fileContainer;
private readonly IHubContext<PageHub> _hubContext; private readonly IHubContext<PageHub> _hubContext;
private readonly ICurrentUser _currentUser;
public VmiAppService(IConfiguration cfg, public VmiAppService(IConfiguration cfg,
INormalEfCoreRepository<VmiBalance, Guid> balanceRepository, INormalEfCoreRepository<VmiBalance, Guid> balanceRepository,
INormalEfCoreRepository<VmiLog, Guid> logRepository, INormalEfCoreRepository<VmiLog, Guid> logRepository,
INormalEfCoreRepository<VmiSnapshot, Guid> snapshotRepository, INormalEfCoreRepository<VmiSnapshot, Guid> snapshotRepository,
IBlobContainer<MyFileContainer> fileContainer, IBlobContainer<MyFileContainer> fileContainer,
IHubContext<PageHub> hubContext) IHubContext<PageHub> hubContext,
ICurrentUser currentUser)
{ {
this._cfg = cfg; this._cfg = cfg;
this._balanceRepository = balanceRepository; this._balanceRepository = balanceRepository;
@ -71,6 +74,49 @@ public class VmiAppService : ApplicationService, IVmiService, IJobService, ITran
this._snapshotRepository = snapshotRepository; this._snapshotRepository = snapshotRepository;
this._fileContainer = fileContainer; this._fileContainer = fileContainer;
this._hubContext = hubContext; this._hubContext = hubContext;
this._currentUser = currentUser;
LinqToDBForEFTools.Initialize();
}
/// <summary>
/// Excel 转 JSON
/// </summary>
[HttpPost, Consumes("multipart/form-data")]
public async Task<List<PUB_ADJ_DETAIL_IMP_DTO>> ExcelToJSONAsync(List<IFormFile> files)
{
using var ms = new MemoryStream();
await files.FirstOrDefault().OpenReadStream().CopyToAsync(ms).ConfigureAwait(false);
return this.ImportInternal<PUB_ADJ_DETAIL_IMP_DTO>(ms.ToArray());
}
private List<T> ImportInternal<T>(byte[] data)
{
var list = new List<T>();
using var workbook = new XLWorkbook(new MemoryStream(data));
var properties = typeof(T).GetProperties(BindingFlags.Instance | BindingFlags.Public | BindingFlags.GetProperty)
.Where(o => o.GetAttributes<ImporterHeaderAttribute>().Any())
.ToDictionary(o => o.GetAttribute<ImporterHeaderAttribute>().Name, o => o);
var ws = workbook.Worksheets.FirstOrDefault();
for (int rowIndex = 2; rowIndex <= ws.RowsUsed().Count(); rowIndex++)
{
var row = ws.Row(rowIndex);
var model = Activator.CreateInstance<T>();
list.Add(model);
for (var columnIndex = 1; columnIndex < ws.ColumnsUsed().Count(); columnIndex++)
{
var cell = row.Cell(columnIndex);
var headerName = ws.Cell(1, columnIndex).Value.ToString().Trim();
if (properties.TryGetValue(headerName, out var property))
{
var value = cell.Value.ToString();
if (!string.IsNullOrEmpty(value))
{
property.SetValue(model, Convert.ChangeType(value, property.PropertyType));
}
}
}
}
return list;
} }
/// <summary> /// <summary>
@ -78,7 +124,7 @@ public class VmiAppService : ApplicationService, IVmiService, IJobService, ITran
/// </summary> /// </summary>
[HttpPost] [HttpPost]
[DisableValidation] [DisableValidation]
public virtual async Task Invoke(IServiceProvider serviceProvider) public virtual Task Invoke(IServiceProvider serviceProvider)
{ {
this._hubContext.Clients.All.ServerToClient("JobItem", "refresh", ""); this._hubContext.Clients.All.ServerToClient("JobItem", "refresh", "");
Directory.CreateDirectory(Path.Combine(Directory.GetCurrentDirectory(), "wwwroot/files/vmi")); Directory.CreateDirectory(Path.Combine(Directory.GetCurrentDirectory(), "wwwroot/files/vmi"));
@ -87,54 +133,98 @@ public class VmiAppService : ApplicationService, IVmiService, IJobService, ITran
using var dbContext = new VmiSqliteContext(connectionString); using var dbContext = new VmiSqliteContext(connectionString);
if (!dbContext.GetService<IRelationalDatabaseCreator>().Exists() && dbContext.Database.EnsureCreated()) if (!dbContext.GetService<IRelationalDatabaseCreator>().Exists() && dbContext.Database.EnsureCreated())
{ {
var list = await serviceProvider.GetRequiredService<SettleAccountDbContext>().Set<VmiBalance>().AsNoTracking().ToListAsync().ConfigureAwait(false); var query = serviceProvider.GetRequiredService<SettleAccountDbContext>().Set<VmiBalance>().AsNoTracking();
foreach (var item in list) var list = new List<VmiBalance>();
using var dc = dbContext.CreateLinqToDBConnection();
dc.BeginTransaction();
try
{
foreach (var item in query)
{ {
dbContext.Set<VmiBalance>().Add(item); list.Add(item);
if (list.Count == 10000)
{
//dbContext.Set<VmiBalance>().AddRange(list);
dc.BulkCopy(new BulkCopyOptions { TableName = "VmiBalance" }, list);
list.Clear();
}
} }
dbContext.SaveChanges(); if (list.Count > 0)
{
dc.BulkCopy(new BulkCopyOptions { TableName = "VmiBalance" }, list);
}
dc.Transaction.Commit();
var snapshot = new VmiSnapshot { Name = date, Path = connectionString }; var snapshot = new VmiSnapshot { Name = date, Path = connectionString };
this._snapshotRepository.InsertAsync(snapshot).Wait(); this._snapshotRepository.InsertAsync(snapshot).Wait();
} }
catch
{
dc.Transaction.Rollback();
throw;
}
}
this._hubContext.Clients.All.ServerToClient("JobItem", "refresh", ""); this._hubContext.Clients.All.ServerToClient("JobItem", "refresh", "");
return Task.CompletedTask;
} }
/// <summary> /// <summary>
/// 入库 /// 入库
/// </summary> /// </summary>
/// <param name="logType">库存事务类型</param>
/// <param name="vmiType">入库出库类型</param>
/// <param name="erpToLoc">唯一索引</param>
/// <param name="partCode">唯一索引</param>
/// <param name="lu">唯一索引</param>
/// <param name="number">关联单号</param>
/// <param name="qty">变动数量</param>
/// <param name="source">来源单据</param>
/// <param name="groupId">分组号</param>
[HttpPost] [HttpPost]
public void In(VmiCategory category, string erpToLoc, string partCode, string lu, decimal count, object message) [UnitOfWork]
public void Change(VmiLogType logType, VmiType vmiType, string erpToLoc, string partCode, string lu, string number, decimal qty, object source, string groupId)
{
var balance = this._balanceRepository.FirstOrDefault(o => o.ErpToLoc == erpToLoc && o.PartCode == partCode && o.LU == lu);
var log = new VmiLog(GuidGenerator.Create())
{
CreatedTime = DateTime.Now,
CreatedBy = _currentUser.UserName,
RelationNumber = number,
Qty = qty,
ChangedType = vmiType,
LogType = logType,
GroupId = groupId
};
log.InjectFrom(source);
if (balance == null)
{ {
balance = new VmiBalance(GuidGenerator.Create()) { ErpToLoc = erpToLoc, PartCode = partCode, LU = lu, Qty = qty };
balance.InjectFrom(source);
this._balanceRepository.InsertAsync(balance).Wait();
} }
else
/// <summary>
/// 出库
/// </summary>
[HttpPost]
public void Out(VmiCategory category, string erpToLoc, string partCode, string lu, decimal count, object message)
{ {
balance.Qty += qty;
this._balanceRepository.UpdateAsync(balance).Wait();
}
this._logRepository.InsertAsync(log);
new InfluxHelper(_cfg).Insert(log);
} }
/// <summary> /// <summary>
/// 库存事务重放 /// 库存事务回滚
/// </summary> /// </summary>
/// <param name="logGroupId"></param>
/// <param name="type"></param>
[NonAction] [NonAction]
public void Run(string logGroupId, VmiType type) [UnitOfWork]
public void UnDo(string groupId)
{ {
} var logs = this._logRepository.Where(o => o.GroupId == groupId).AsNoTracking();
foreach (var item in logs)
/// <summary>
/// InfluxDB Query Test
/// </summary>
/// <param name="q"></param>
/// <returns></returns>
[HttpPost]
public async Task<dynamic> influxdb(string q)
{ {
var helper = new InfluxHelper(_cfg); //var balance = this._balanceRepository.FirstOrDefault(o => o.ErpToLoc == item.ErpToLoc&& o.PartCode == item. && o.LU == item.LogType);
return await helper.GetUrl().AppendPathSegment("query").SetQueryParam("q", q).SetQueryParam("db", "vmi").GetJsonAsync().ConfigureAwait(false); //var log = new VmiLog();
//log.InjectFrom(item);
//log.CreatedTime = item.CreatedTime;
}
} }
/// <summary> /// <summary>
@ -164,6 +254,12 @@ public class VmiAppService : ApplicationService, IVmiService, IJobService, ITran
return fileName; return fileName;
} }
[HttpGet]
public void VmiLogInsertTest()
{
new InfluxHelper(_cfg).Insert(new VmiLog(GuidGenerator.Create()));
}
/// <summary> /// <summary>
/// 库存事务查询 /// 库存事务查询
/// </summary> /// </summary>
@ -172,44 +268,28 @@ public class VmiAppService : ApplicationService, IVmiService, IJobService, ITran
[HttpPost] [HttpPost]
public async Task<PagedResultDto<VmiLog>> Log(RequestDto input) public async Task<PagedResultDto<VmiLog>> Log(RequestDto input)
{ {
var type = typeof(VmiLog); var query = new InfluxHelper(_cfg).Query<VmiLog>().Where(input.Filters.ToLambda<VmiLog>());
var querySql = $"select * from {typeof(VmiLog).Name}"; var count = query.Count();
var countSql = $"select count(*) from {typeof(VmiLog).Name}"; input.Sorting?.Split(',').Select(o => o.Trim()).Where(o => !string.IsNullOrEmpty(o)).ForEach(o =>
var where = "";
if (input.Filters.Any())
{ {
foreach (var item in input.Filters) var values = o.Split(' ').Select(o => o.Trim()).Where(o => !string.IsNullOrEmpty(o)).ToArray();
if (values.Length == 1)
{ {
var property = type.GetProperties().FirstOrDefault(p => p.Name.ToLowerInvariant() == item.Column.ToLowerInvariant()); query = query.OrderBy(values[0]);
if (property != null)
{
var @operator = GetOperator(item.Action);
var value = GetValue(property, item.Value);
where += $" {(string.IsNullOrEmpty(where) ? "where" : "and")} {property.Name}{string.Format(GetOperator(item.Action), item.Value)}";
}
} }
} else if (values.Length == 2)
var herlper = new InfluxHelper(_cfg);
var countResult = await herlper.Query(countSql + where).ConfigureAwait(false);
var count = Convert.ToInt32(countResult.results.FirstOrDefault()?.series.FirstOrDefault()?.values.FirstOrDefault()?.LastOrDefault());
where += $" order by time desc limit {input.MaxResultCount} offset {input.SkipCount} ";
var result = await herlper.Query(querySql + where).ConfigureAwait(false);
var entities = new List<VmiLog>();
result.results.FirstOrDefault()?.series.FirstOrDefault()?.values.ForEach(v =>
{ {
var entity = Activator.CreateInstance<VmiLog>(); if (values[1].ToLowerInvariant() == "desc")
entities.Add(entity);
var i = 0;
result.results.FirstOrDefault().series.FirstOrDefault().columns.ForEach(c =>
{ {
var property = type.GetProperty(c); query = query.OrderByPropertyName(values[0], SqlSugar.OrderByType.Desc);
if (property != null) }
else
{ {
this.SetPropertyValue(property, entity, v[i]); query = query.OrderBy(values[0]);
i++; }
} }
}); });
}); var entities = query.Skip(input.SkipCount).Take(input.MaxResultCount).ToList();
return new PagedResultDto<VmiLog>(count, entities); return new PagedResultDto<VmiLog>(count, entities);
} }
@ -303,12 +383,6 @@ public class VmiAppService : ApplicationService, IVmiService, IJobService, ITran
return stream.ToArray(); return stream.ToArray();
} }
[HttpGet]
public async Task<LineProtocolWriteResult> InfluxInsertTest(string q)
{
return await new InfluxHelper(_cfg).Insert(new VmiLog()).ConfigureAwait(false);
}
private static void SetCell<TExportModel>(TExportModel? model, IXLCell cell, PropertyInfo property) private static void SetCell<TExportModel>(TExportModel? model, IXLCell cell, PropertyInfo property)
{ {
var propertyType = property.PropertyType; var propertyType = property.PropertyType;

2
code/src/Modules/SettleAccount/src/SettleAccount.Application/SettleAccount.Application.csproj

@ -124,9 +124,11 @@
<PackageReference Include="Flurl.Http" Version="3.2.4" /> <PackageReference Include="Flurl.Http" Version="3.2.4" />
<PackageReference Include="InfluxDB.Collector" Version="1.1.1" /> <PackageReference Include="InfluxDB.Collector" Version="1.1.1" />
<PackageReference Include="InfluxDB.LineProtocol" Version="1.1.1" /> <PackageReference Include="InfluxDB.LineProtocol" Version="1.1.1" />
<PackageReference Include="linq2db.EntityFrameworkCore" Version="5.17.0" />
<PackageReference Include="NPOI" Version="2.5.4" /> <PackageReference Include="NPOI" Version="2.5.4" />
<PackageReference Include="Riven.CodeArts.Db.Influx17x" Version="0.1.0" /> <PackageReference Include="Riven.CodeArts.Db.Influx17x" Version="0.1.0" />
<PackageReference Include="Shouldly" Version="4.0.3" /> <PackageReference Include="Shouldly" Version="4.0.3" />
<PackageReference Include="SqlSugarCore" Version="5.1.4.94" />
<PackageReference Include="System.IO.Compression.ZipFile" Version="4.3.0" /> <PackageReference Include="System.IO.Compression.ZipFile" Version="4.3.0" />
<PackageReference Include="ValueInjecter" Version="3.2.0" /> <PackageReference Include="ValueInjecter" Version="3.2.0" />
<PackageReference Include="Volo.Abp.AspNetCore.Mvc" Version="4.3.3" /> <PackageReference Include="Volo.Abp.AspNetCore.Mvc" Version="4.3.3" />

67
code/src/Modules/SettleAccount/src/SettleAccount.Application/influxdb/InfluxHelper.cs

@ -1,17 +1,6 @@
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Linq.Dynamic.Core;
using System.Reflection;
using System.Threading.Tasks;
using Flurl;
using Flurl.Http;
using InfluxDB.LineProtocol.Client;
using InfluxDB.LineProtocol.Payload;
using Microsoft.Extensions.Configuration; using Microsoft.Extensions.Configuration;
using Volo.Abp.Domain.Entities.Auditing; using SqlSugar;
using Win.Sfs.SettleAccount.Entities.BQ.Vmi;
namespace Win.Sfs.SettleAccount.influxdb; namespace Win.Sfs.SettleAccount.influxdb;
@ -25,47 +14,35 @@ public class InfluxHelper
this._configuration = configuration; this._configuration = configuration;
} }
public InfluxHelper Start() public void Start()
{ {
if (!Process.GetProcessesByName("influxd").Any()) var db = GetClient();
{ db.DbMaintenance.CreateDatabase();
var influxPath = Path.Combine(Directory.GetCurrentDirectory(), "wwwroot", "influxdb"); db.CodeFirst.InitTables<VmiLog>();
var process = new Process();
process.StartInfo = new ProcessStartInfo
{
UseShellExecute = false,
CreateNoWindow = true,
WorkingDirectory = influxPath,
FileName = Path.Combine(influxPath, "influxd.exe"),
Arguments = $"-config {Path.Combine(influxPath, "influxdb.conf")}",
};
process.Start();
}
return this;
} }
public async Task<InfluxQueryResult> Query(string q) public ISugarQueryable<T> Query<T>()
{ {
var influxUrl = GetUrl(); var db = GetClient();
var response = await $"{influxUrl}/query".PostUrlEncodedAsync(new { q, db = this._database }).ConfigureAwait(false); return db.Queryable<T>();
return await response.GetJsonAsync<InfluxQueryResult>().ConfigureAwait(false);
} }
public string GetUrl() public void Insert<T>(T entity) where T : class, new()
{ {
return (_configuration.GetConnectionString("influxdb") ?? "http://localhost:8086").TrimEnd('/'); var db = GetClient();
db.Insertable(entity).ExecuteCommand();
} }
public async Task<LineProtocolWriteResult> Insert<T>(T entity) where T : AuditedEntity<Guid> private SqlSugarClient GetClient()
{
var connectionString = _configuration.GetConnectionString("questdb") ?? $"host=localhost;port=8812;username=admin;password=quest;database={this._database};ServerCompatibilityMode=NoTypeLoading;";
var db = new SqlSugarClient(new ConnectionConfig
{ {
var influxUrl = GetUrl(); ConnectionString = connectionString,
var client = new LineProtocolClient(new Uri(influxUrl), this._database); DbType = DbType.QuestDB,
var table = typeof(T).Name; InitKeyType = InitKeyType.Attribute,
var payload = new LineProtocolPayload(); IsAutoCloseConnection = true,
var dictonary = typeof(T).GetProperties(BindingFlags.Public | BindingFlags.Instance | BindingFlags.DeclaredOnly) });
.ToDictionary(o => o.Name, o => o.GetValue(entity, null)); return db;
payload.Add(new LineProtocolPoint(table, dictonary, new Dictionary<string, string> { { "Id", entity.Id.ToString() } }, entity.CreationTime.ToUniversalTime()));
var result = await client.WriteAsync(payload).ConfigureAwait(false);
return result;
} }
} }

21
code/src/Modules/SettleAccount/src/SettleAccount.Domain/Entities/BQ/Vmi/VmiBalance.cs

@ -1,46 +1,37 @@
using System; using System;
using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations;
using Volo.Abp.Domain.Entities; using Volo.Abp.Domain.Entities;
using Win.Sfs.SettleAccount.Entities.BQ.Syncs;
namespace Win.Sfs.SettleAccount.Entities.BQ.Vmi; namespace Win.Sfs.SettleAccount.Entities.BQ.Vmi;
/// <summary> /// <summary>
/// ERP库位+零件号+生产码 /// ERP库位+零件号+生产码
/// </summary> /// </summary>
public class VmiBalance : Entity<Guid> public class VmiBalance : BasicAggregateRoot<Guid>
{ {
public VmiBalance(Guid id) public VmiBalance(Guid id)
{ {
this.Id = id; this.Id = id;
} }
/// <summary>
/// key
/// </summary>
[Display(Name = "ERP库位")] [Display(Name = "ERP库位")]
public string ErpToLoc { get; set; } public string ErpToLoc { get; set; }
/// <summary>
/// key
/// </summary>
[Display(Name = "LU零件号")] [Display(Name = "LU零件号")]
public string LU { get; set; } public string LU { get; set; }
[Display(Name = "客户零件号")] [Display(Name = "客户零件号")]
public string PartCode { get; set; } public string PartCode { get; set; }
/// <summary>
/// key
/// </summary>
[Display(Name = "生产码")] [Display(Name = "生产码")]
public string VinCode { get; set; } public string VinCode { get; set; }
[Display(Name = "客户零件号")] [Display(Name = "生产码类型")]
public string CodeType { get; set; } public EnumDeliverSubBillType DeliverSubBillType { get; set; }
[Display(Name = "发货类型")] [Display(Name = "发货类型")]
public string ProType { get; set; } public EnumDeliverBjBmpBillType DeliverBillType { get; set; }
[Display(Name = "数量")] [Display(Name = "数量")]
public decimal Qty { get; set; } public decimal Qty { get; set; }
@ -67,5 +58,5 @@ public class VmiBalance : Entity<Guid>
public string PjsNum { get; set; } public string PjsNum { get; set; }
[Display(Name = "备注")] [Display(Name = "备注")]
public string Desc { get; set; } public string Remark { get; set; }
} }

21
code/src/Modules/SettleAccount/src/SettleAccount.Domain/Entities/BQ/Vmi/VmiCategory.cs

@ -1,21 +0,0 @@
using System;
using System.Collections.Generic;
using Volo.Abp.Domain.Entities;
namespace Win.Sfs.SettleAccount.Entities.BQ.Vmi;
/// <summary>
/// 寄售库存操作分类
/// </summary>
public class VmiCategory : Entity<Guid>
{
public VmiCategory(Guid id)
{
this.Id = id;
}
public VmiType Type { get; set; }
public string Number { get; set; }
public string Name { get; set; }
public List<VmiLog> Logs { get; set; } = new List<VmiLog>();
}

184
code/src/Modules/SettleAccount/src/SettleAccount.Domain/Entities/BQ/Vmi/VmiLog.cs

@ -1,169 +1,97 @@
using System; using System;
using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations;
using Volo.Abp.Domain.Entities.Auditing; using Volo.Abp.Domain.Entities;
using Win.Sfs.SettleAccount.Entities.BQ.Syncs;
namespace Win.Sfs.SettleAccount.Entities.BQ.Vmi; namespace Win.Sfs.SettleAccount.Entities.BQ.Vmi;
/// <summary> /// <summary>
/// 寄售库存操作记录 /// 寄售库存操作记录
/// </summary> /// </summary>
public class VmiLog : AuditedEntity<Guid> public class VmiLog : BasicAggregateRoot<Guid>
{ {
/// <summary> public VmiLog()
/// 批量操作Id {
/// </summary> }
public string GroupId { get; set; }
/// <summary> public VmiLog(Guid id)
/// 库存事务执行类型 {
/// </summary> this.Id = id;
public VmiLogType VmiType { get; set; } }
/// <summary> #region 非需求显示字段
/// 库存事务分类Number
/// </summary>
public string Category { get; set; }
/// <summary> [Display(Name = "分组编号")]
/// 库存变动 public string GroupId { get; set; }
/// </summary>
[Display(Name = "库存事务分类")]
public VmiLogType LogType { get; set; }
[Display(Name = "库存变动")]
public decimal Count { get; set; } public decimal Count { get; set; }
/// <summary> #endregion 非需求显示字段
/// 变动时间
/// </summary>
public DateTime CreatedDate { get; set; } = DateTime.Now;
/// <summary> [Display(Name = "变动单号")]
/// 便动人 public string RelationNumber { get; set; }
/// </summary>
[Display(Name = "变动时间")]
public DateTime CreatedTime { get; set; } = DateTime.Now;
[Display(Name = "变动类型")]
public VmiType ChangedType { get; set; }
[Display(Name = "便动人")]
public string CreatedBy { get; set; } public string CreatedBy { get; set; }
/// <summary> [Display(Name = "实扣LU零件号")]
/// 变动单号 public string No1 { get; set; }
/// </summary>
public string OrderNumber { get; set; }
#region 变动前库存 [Display(Name = "实扣客户零件号")]
public string No2 { get; set; }
/// <summary> [Display(Name = "结算LU零件号")]
/// Erp目标库位 public string No3 { get; set; }
/// </summary>
public string ErpToLoc { get; set; }
/// <summary> [Display(Name = "结算客户零件号")]
/// LU零件号 public string No4 { get; set; }
/// </summary>
public string LU { get; set; }
/// <summary> [Display(Name = "实扣生产码")]
/// 客户零件号 public string No5 { get; set; }
/// </summary>
public string PartCode { get; set; }
/// <summary> [Display(Name = "结算生产码")]
/// 生产码 public string No6 { get; set; }
/// </summary>
[Display(Name = "", Description = "Key")]
public string VinCode { get; set; }
/// <summary> [Display(Name = "生产码类型")]
/// 生产码类型 public string DeliverSubBillType { get; set; }
/// </summary>
public string CodeType { get; set; }
/// <summary> [Display(Name = "发货类型")]
/// 发货类型 public EnumDeliverBjBmpBillType DeliverBillType { get; set; }
/// </summary>
public string ProType { get; set; }
/// <summary> [Display(Name = "数量")]
/// 数量
/// </summary>
public decimal Qty { get; set; } public decimal Qty { get; set; }
/// <summary> [Display(Name = "发运日期")]
/// 发运日期
/// </summary>
public DateTime ShippingDate { get; set; } public DateTime ShippingDate { get; set; }
/// <summary> [Display(Name = "订单日期")]
/// 订单日期
/// </summary>
public DateTime CreationTime { get; set; } public DateTime CreationTime { get; set; }
/// <summary> [Display(Name = "EDI顺序号")]
/// EDI顺序号
/// </summary>
public string SeqNumber { get; set; } public string SeqNumber { get; set; }
/// <summary> [Display(Name = "客户订单号")]
/// 塑件唯一码 public string CustomOrderNumber { get; set; }
/// </summary>
public string UniqueCode { get; set; }
/// <summary> [Display(Name = "EDI总成号")]
/// EDI总成号
/// </summary>
public string MatchNumber { get; set; } public string MatchNumber { get; set; }
/// <summary> [Display(Name = "PJIS生产顺序号")]
/// PJIS生产顺序号
/// </summary>
public string PjsNum { get; set; } public string PjsNum { get; set; }
/// <summary> [Display(Name = "ERP库位")]
/// 备注 public string ErpToLoc { get; set; }
/// </summary>
public string BalanceDesc { get; set; }
/// <summary> [Display(Name = "备注")]
/// 备注
/// </summary>
public string Desc { get; set; } public string Desc { get; set; }
#endregion 变动前库存
#region 入库附加信息
/// <summary>
/// 客户订单号
/// </summary>
public string Tmpe4 { get; set; }
#endregion 入库附加信息
#region 出库附加信息
/// <summary>
/// 实扣LU零件号
/// </summary>
public string F2 { get; set; }
/// <summary>
/// 实扣客户零件号
/// </summary>
public string G2 { get; set; }
/// <summary>
/// 结算LU零件号
/// </summary>
public string H2 { get; set; }
/// <summary>
/// 结算客户零件号
/// </summary>
public string I2 { get; set; }
/// <summary>
/// 实扣生产码
/// </summary>
public string J2 { get; set; }
/// <summary>
/// 结算生产码
/// </summary>
public string K2 { get; set; }
#endregion 出库附加信息
} }

22
code/src/Modules/SettleAccount/src/SettleAccount.Domain/Entities/BQ/Vmi/VmiType.cs

@ -1,3 +1,5 @@
using System.ComponentModel.DataAnnotations;
namespace Win.Sfs.SettleAccount.Entities.BQ.Vmi; namespace Win.Sfs.SettleAccount.Entities.BQ.Vmi;
/// <summary> /// <summary>
@ -16,7 +18,7 @@ public enum VmiType
Out Out
} }
public enum VmiLogType public enum VmiLogRunType
{ {
/// <summary> /// <summary>
/// 初次执行 /// 初次执行
@ -33,3 +35,21 @@ public enum VmiLogType
/// </summary> /// </summary>
ReDo ReDo
} }
public enum VmiLogType
{
[Display(Name = "发运入库")]
Type100 = 100,
[Display(Name = "结算出库")]
Type200 = 200,
[Display(Name = "客户退货")]
Type300 = 300,
[Display(Name = "调整入库")]
Type400 = 400,
[Display(Name = "调整出库")]
Type500 = 500,
}

30
code/src/Modules/SettleAccount/src/SettleAccount.EntityFrameworkCore/EntityFrameworkCore/SettleAccountDbContextModelCreatingExtensions.cs

@ -1251,15 +1251,15 @@ namespace Win.Sfs.SettleAccount
b.ConfigureByConvention(); b.ConfigureByConvention();
}); });
builder.Entity<VmiCategory>(b => //builder.Entity<VmiCategory>(b =>
{ //{
b.ToTable($"{options.TablePrefix}_VmiCategory", options.Schema); // b.ToTable($"{options.TablePrefix}_VmiCategory", options.Schema);
b.ConfigureByConvention(); // b.ConfigureByConvention();
b.Property(o => o.Number).HasMaxLength(50).IsRequired(); // b.Property(o => o.Number).HasMaxLength(50).IsRequired();
b.HasIndex(o => o.Number).IsUnique(); // b.HasIndex(o => o.Number).IsUnique();
b.Property(o => o.Name).HasMaxLength(50).IsRequired(); // b.Property(o => o.Name).HasMaxLength(50).IsRequired();
b.HasIndex(o => o.Name).IsUnique(); // b.HasIndex(o => o.Name).IsUnique();
}); //});
builder.Entity<VmiBalance>(b => builder.Entity<VmiBalance>(b =>
{ {
@ -1267,7 +1267,7 @@ namespace Win.Sfs.SettleAccount
b.ConfigureByConvention(); b.ConfigureByConvention();
b.HasAlternateKey(o => new { o.ErpToLoc, o.PartCode, o.LU }); b.HasAlternateKey(o => new { o.ErpToLoc, o.PartCode, o.LU });
}); });
builder.Entity<VmiBalance>().HasData(new VmiBalance("test".ToGuid()) { ErpToLoc = "key1", PartCode = "key2", LU = "key3", Desc = "test" }); builder.Entity<VmiBalance>().HasData(new VmiBalance("test".ToGuid()) { ErpToLoc = "key1", PartCode = "key2", LU = "key3", Remark = "test" });
builder.Entity<VmiLog>(b => builder.Entity<VmiLog>(b =>
{ {
@ -1283,11 +1283,11 @@ namespace Win.Sfs.SettleAccount
//seed //seed
builder.Entity<JobItem>().HasData(new JobItem("vmi".ToGuid()) { Name = "库存快照", Cron = "0 0 8 26 *", Service = "Win.Sfs.SettleAccount.Entities.BQ.VmiAppService" }); builder.Entity<JobItem>().HasData(new JobItem("vmi".ToGuid()) { Name = "库存快照", Cron = "0 0 8 26 *", Service = "Win.Sfs.SettleAccount.Entities.BQ.VmiAppService" });
builder.Entity<VmiCategory>().HasData(new VmiCategory("发运入库".ToGuid()) { Type = VmiType.In, Name = "发运入库", Number = "100" }); //builder.Entity<VmiCategory>().HasData(new VmiCategory("发运入库".ToGuid()) { Type = VmiType.In, Name = "发运入库", Number = "100" });
builder.Entity<VmiCategory>().HasData(new VmiCategory("结算出库".ToGuid()) { Type = VmiType.Out, Name = "结算出库", Number = "200" }); //builder.Entity<VmiCategory>().HasData(new VmiCategory("结算出库".ToGuid()) { Type = VmiType.Out, Name = "结算出库", Number = "200" });
builder.Entity<VmiCategory>().HasData(new VmiCategory("客户退货".ToGuid()) { Type = VmiType.Out, Name = "客户退货", Number = "300" }); //builder.Entity<VmiCategory>().HasData(new VmiCategory("客户退货".ToGuid()) { Type = VmiType.Out, Name = "客户退货", Number = "300" });
builder.Entity<VmiCategory>().HasData(new VmiCategory("调整入库".ToGuid()) { Type = VmiType.In, Name = "调整入库", Number = "400" }); //builder.Entity<VmiCategory>().HasData(new VmiCategory("调整入库".ToGuid()) { Type = VmiType.In, Name = "调整入库", Number = "400" });
builder.Entity<VmiCategory>().HasData(new VmiCategory("调整出库".ToGuid()) { Type = VmiType.Out, Name = "调整出库", Number = "500" }); //builder.Entity<VmiCategory>().HasData(new VmiCategory("调整出库".ToGuid()) { Type = VmiType.Out, Name = "调整出库", Number = "500" });
//builder.Entity<VmiCategory>().HasData(new VmiCategory("漏发补货".ToGuid()) { Type = VmiType.In, Name = "漏发补货", Number = "600" }); //builder.Entity<VmiCategory>().HasData(new VmiCategory("漏发补货".ToGuid()) { Type = VmiType.In, Name = "漏发补货", Number = "600" });
//builder.Entity<VmiCategory>().HasData(new VmiCategory("负库存补货".ToGuid()) { Type = VmiType.In, Name = "负库存补货", Number = "700" }); //builder.Entity<VmiCategory>().HasData(new VmiCategory("负库存补货".ToGuid()) { Type = VmiType.In, Name = "负库存补货", Number = "700" });
} }

1
code/src/Modules/SettleAccount/src/SettleAccount.EntityFrameworkCore/EntityFrameworkCore/VmiSqliteContext.cs

@ -21,6 +21,5 @@ public class VmiSqliteContext : DbContext
protected override void OnModelCreating(ModelBuilder modelBuilder) protected override void OnModelCreating(ModelBuilder modelBuilder)
{ {
modelBuilder.Entity<VmiBalance>().HasKey(o => o.Id); modelBuilder.Entity<VmiBalance>().HasKey(o => o.Id);
modelBuilder.Entity<VmiBalance>().Property<DateTime>("BackupDate");
} }
} }

5024
code/src/Modules/SettleAccount/src/SettleAccount.EntityFrameworkCore/Migrations/20230803013930_vmi7.Designer.cs

File diff suppressed because it is too large

384
code/src/Modules/SettleAccount/src/SettleAccount.EntityFrameworkCore/Migrations/20230803013930_vmi7.cs

@ -0,0 +1,384 @@
using System;
using Microsoft.EntityFrameworkCore.Migrations;
namespace Win.Sfs.SettleAccount.Migrations
{
public partial class vmi7 : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropForeignKey(
name: "FK_Set_VmiLog_Set_VmiCategory_VmiCategoryId",
table: "Set_VmiLog");
migrationBuilder.DropTable(
name: "Set_VmiCategory");
migrationBuilder.DropIndex(
name: "IX_Set_VmiLog_VmiCategoryId",
table: "Set_VmiLog");
migrationBuilder.DropColumn(
name: "BalanceDesc",
table: "Set_VmiLog");
migrationBuilder.DropColumn(
name: "Category",
table: "Set_VmiLog");
migrationBuilder.DropColumn(
name: "CodeType",
table: "Set_VmiLog");
migrationBuilder.DropColumn(
name: "CreatorId",
table: "Set_VmiLog");
migrationBuilder.DropColumn(
name: "F2",
table: "Set_VmiLog");
migrationBuilder.DropColumn(
name: "G2",
table: "Set_VmiLog");
migrationBuilder.DropColumn(
name: "H2",
table: "Set_VmiLog");
migrationBuilder.DropColumn(
name: "I2",
table: "Set_VmiLog");
migrationBuilder.DropColumn(
name: "LastModificationTime",
table: "Set_VmiLog");
migrationBuilder.DropColumn(
name: "LastModifierId",
table: "Set_VmiLog");
migrationBuilder.DropColumn(
name: "VmiCategoryId",
table: "Set_VmiLog");
migrationBuilder.DropColumn(
name: "CodeType",
table: "Set_VmiBalance");
migrationBuilder.DropColumn(
name: "Desc",
table: "Set_VmiBalance");
migrationBuilder.RenameColumn(
name: "VmiType",
table: "Set_VmiLog",
newName: "LogType");
migrationBuilder.RenameColumn(
name: "VinCode",
table: "Set_VmiLog",
newName: "RelationNumber");
migrationBuilder.RenameColumn(
name: "UniqueCode",
table: "Set_VmiLog",
newName: "No6");
migrationBuilder.RenameColumn(
name: "Tmpe4",
table: "Set_VmiLog",
newName: "No5");
migrationBuilder.RenameColumn(
name: "ProType",
table: "Set_VmiLog",
newName: "No4");
migrationBuilder.RenameColumn(
name: "PartCode",
table: "Set_VmiLog",
newName: "No3");
migrationBuilder.RenameColumn(
name: "OrderNumber",
table: "Set_VmiLog",
newName: "No2");
migrationBuilder.RenameColumn(
name: "LU",
table: "Set_VmiLog",
newName: "No1");
migrationBuilder.RenameColumn(
name: "K2",
table: "Set_VmiLog",
newName: "DeliverSubBillType");
migrationBuilder.RenameColumn(
name: "J2",
table: "Set_VmiLog",
newName: "CustomOrderNumber");
migrationBuilder.RenameColumn(
name: "CreatedDate",
table: "Set_VmiLog",
newName: "CreatedTime");
migrationBuilder.RenameColumn(
name: "ProType",
table: "Set_VmiBalance",
newName: "Remark");
migrationBuilder.AddColumn<int>(
name: "ChangedType",
table: "Set_VmiLog",
type: "int",
nullable: false,
defaultValue: 0);
migrationBuilder.AddColumn<int>(
name: "DeliverBillType",
table: "Set_VmiLog",
type: "int",
nullable: false,
defaultValue: 0);
migrationBuilder.AddColumn<int>(
name: "DeliverBillType",
table: "Set_VmiBalance",
type: "int",
nullable: false,
defaultValue: 0);
migrationBuilder.AddColumn<int>(
name: "DeliverSubBillType",
table: "Set_VmiBalance",
type: "int",
nullable: false,
defaultValue: 0);
migrationBuilder.UpdateData(
table: "Set_VmiBalance",
keyColumn: "Id",
keyValue: new Guid("cd6b8f09-2146-73d3-cade-4e832627b4f6"),
column: "Remark",
value: "test");
}
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropColumn(
name: "ChangedType",
table: "Set_VmiLog");
migrationBuilder.DropColumn(
name: "DeliverBillType",
table: "Set_VmiLog");
migrationBuilder.DropColumn(
name: "DeliverBillType",
table: "Set_VmiBalance");
migrationBuilder.DropColumn(
name: "DeliverSubBillType",
table: "Set_VmiBalance");
migrationBuilder.RenameColumn(
name: "RelationNumber",
table: "Set_VmiLog",
newName: "VinCode");
migrationBuilder.RenameColumn(
name: "No6",
table: "Set_VmiLog",
newName: "UniqueCode");
migrationBuilder.RenameColumn(
name: "No5",
table: "Set_VmiLog",
newName: "Tmpe4");
migrationBuilder.RenameColumn(
name: "No4",
table: "Set_VmiLog",
newName: "ProType");
migrationBuilder.RenameColumn(
name: "No3",
table: "Set_VmiLog",
newName: "PartCode");
migrationBuilder.RenameColumn(
name: "No2",
table: "Set_VmiLog",
newName: "OrderNumber");
migrationBuilder.RenameColumn(
name: "No1",
table: "Set_VmiLog",
newName: "LU");
migrationBuilder.RenameColumn(
name: "LogType",
table: "Set_VmiLog",
newName: "VmiType");
migrationBuilder.RenameColumn(
name: "DeliverSubBillType",
table: "Set_VmiLog",
newName: "K2");
migrationBuilder.RenameColumn(
name: "CustomOrderNumber",
table: "Set_VmiLog",
newName: "J2");
migrationBuilder.RenameColumn(
name: "CreatedTime",
table: "Set_VmiLog",
newName: "CreatedDate");
migrationBuilder.RenameColumn(
name: "Remark",
table: "Set_VmiBalance",
newName: "ProType");
migrationBuilder.AddColumn<string>(
name: "BalanceDesc",
table: "Set_VmiLog",
type: "nvarchar(max)",
nullable: true);
migrationBuilder.AddColumn<string>(
name: "Category",
table: "Set_VmiLog",
type: "nvarchar(max)",
nullable: true);
migrationBuilder.AddColumn<string>(
name: "CodeType",
table: "Set_VmiLog",
type: "nvarchar(max)",
nullable: true);
migrationBuilder.AddColumn<Guid>(
name: "CreatorId",
table: "Set_VmiLog",
type: "uniqueidentifier",
nullable: true);
migrationBuilder.AddColumn<string>(
name: "F2",
table: "Set_VmiLog",
type: "nvarchar(max)",
nullable: true);
migrationBuilder.AddColumn<string>(
name: "G2",
table: "Set_VmiLog",
type: "nvarchar(max)",
nullable: true);
migrationBuilder.AddColumn<string>(
name: "H2",
table: "Set_VmiLog",
type: "nvarchar(max)",
nullable: true);
migrationBuilder.AddColumn<string>(
name: "I2",
table: "Set_VmiLog",
type: "nvarchar(max)",
nullable: true);
migrationBuilder.AddColumn<DateTime>(
name: "LastModificationTime",
table: "Set_VmiLog",
type: "datetime2",
nullable: true);
migrationBuilder.AddColumn<Guid>(
name: "LastModifierId",
table: "Set_VmiLog",
type: "uniqueidentifier",
nullable: true);
migrationBuilder.AddColumn<Guid>(
name: "VmiCategoryId",
table: "Set_VmiLog",
type: "uniqueidentifier",
nullable: true);
migrationBuilder.AddColumn<string>(
name: "CodeType",
table: "Set_VmiBalance",
type: "nvarchar(max)",
nullable: true);
migrationBuilder.AddColumn<string>(
name: "Desc",
table: "Set_VmiBalance",
type: "nvarchar(max)",
nullable: true);
migrationBuilder.CreateTable(
name: "Set_VmiCategory",
columns: table => new
{
Id = table.Column<Guid>(type: "uniqueidentifier", nullable: false),
Name = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: false),
Number = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: false),
Type = table.Column<int>(type: "int", nullable: false)
},
constraints: table =>
{
table.PrimaryKey("PK_Set_VmiCategory", x => x.Id);
});
migrationBuilder.UpdateData(
table: "Set_VmiBalance",
keyColumn: "Id",
keyValue: new Guid("cd6b8f09-2146-73d3-cade-4e832627b4f6"),
columns: new[] { "Desc", "ProType" },
values: new object[] { "test", null });
migrationBuilder.InsertData(
table: "Set_VmiCategory",
columns: new[] { "Id", "Name", "Number", "Type" },
values: new object[,]
{
{ new Guid("b3b321dd-5e0e-55b0-5548-70a742e9a4db"), "发运入库", "100", 0 },
{ new Guid("a04d00ac-0e9c-064d-b7ce-af0b4d7c8c6b"), "结算出库", "200", 1 },
{ new Guid("c9199f7f-7cc8-7423-d608-f206167ae0b6"), "客户退货", "300", 1 },
{ new Guid("5fda8ad4-f424-a9e1-8174-72c0f29fc225"), "调整入库", "400", 0 },
{ new Guid("42230472-9f26-7484-ff2a-451878e9955f"), "调整出库", "500", 1 }
});
migrationBuilder.CreateIndex(
name: "IX_Set_VmiLog_VmiCategoryId",
table: "Set_VmiLog",
column: "VmiCategoryId");
migrationBuilder.CreateIndex(
name: "IX_Set_VmiCategory_Name",
table: "Set_VmiCategory",
column: "Name",
unique: true);
migrationBuilder.CreateIndex(
name: "IX_Set_VmiCategory_Number",
table: "Set_VmiCategory",
column: "Number",
unique: true);
migrationBuilder.AddForeignKey(
name: "FK_Set_VmiLog_Set_VmiCategory_VmiCategoryId",
table: "Set_VmiLog",
column: "VmiCategoryId",
principalTable: "Set_VmiCategory",
principalColumn: "Id",
onDelete: ReferentialAction.Restrict);
}
}
}

178
code/src/Modules/SettleAccount/src/SettleAccount.EntityFrameworkCore/Migrations/SettleAccountDbContextModelSnapshot.cs

@ -3972,17 +3972,17 @@ namespace Win.Sfs.SettleAccount.Migrations
.ValueGeneratedOnAdd() .ValueGeneratedOnAdd()
.HasColumnType("uniqueidentifier"); .HasColumnType("uniqueidentifier");
b.Property<string>("CodeType")
.HasColumnType("nvarchar(max)");
b.Property<DateTime>("CreationTime") b.Property<DateTime>("CreationTime")
.HasColumnType("datetime2"); .HasColumnType("datetime2");
b.Property<string>("CustomOrderNumber") b.Property<string>("CustomOrderNumber")
.HasColumnType("nvarchar(max)"); .HasColumnType("nvarchar(max)");
b.Property<string>("Desc") b.Property<int>("DeliverBillType")
.HasColumnType("nvarchar(max)"); .HasColumnType("int");
b.Property<int>("DeliverSubBillType")
.HasColumnType("int");
b.Property<string>("ErpToLoc") b.Property<string>("ErpToLoc")
.IsRequired() .IsRequired()
@ -4002,12 +4002,12 @@ namespace Win.Sfs.SettleAccount.Migrations
b.Property<string>("PjsNum") b.Property<string>("PjsNum")
.HasColumnType("nvarchar(max)"); .HasColumnType("nvarchar(max)");
b.Property<string>("ProType")
.HasColumnType("nvarchar(max)");
b.Property<decimal>("Qty") b.Property<decimal>("Qty")
.HasColumnType("decimal(18,2)"); .HasColumnType("decimal(18,2)");
b.Property<string>("Remark")
.HasColumnType("nvarchar(max)");
b.Property<string>("SeqNumber") b.Property<string>("SeqNumber")
.HasColumnType("nvarchar(max)"); .HasColumnType("nvarchar(max)");
@ -4031,96 +4031,25 @@ namespace Win.Sfs.SettleAccount.Migrations
{ {
Id = new Guid("cd6b8f09-2146-73d3-cade-4e832627b4f6"), Id = new Guid("cd6b8f09-2146-73d3-cade-4e832627b4f6"),
CreationTime = new DateTime(1, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified), CreationTime = new DateTime(1, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
Desc = "test", DeliverBillType = 0,
DeliverSubBillType = 0,
ErpToLoc = "key1", ErpToLoc = "key1",
LU = "key3", LU = "key3",
PartCode = "key2", PartCode = "key2",
Qty = 0m, Qty = 0m,
Remark = "test",
ShippingDate = new DateTime(1, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified) ShippingDate = new DateTime(1, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified)
}); });
}); });
modelBuilder.Entity("Win.Sfs.SettleAccount.Entities.BQ.Vmi.VmiCategory", b =>
{
b.Property<Guid>("Id")
.ValueGeneratedOnAdd()
.HasColumnType("uniqueidentifier");
b.Property<string>("Name")
.IsRequired()
.HasMaxLength(50)
.HasColumnType("nvarchar(50)");
b.Property<string>("Number")
.IsRequired()
.HasMaxLength(50)
.HasColumnType("nvarchar(50)");
b.Property<int>("Type")
.HasColumnType("int");
b.HasKey("Id");
b.HasIndex("Name")
.IsUnique();
b.HasIndex("Number")
.IsUnique();
b.ToTable("Set_VmiCategory");
b.HasData(
new
{
Id = new Guid("b3b321dd-5e0e-55b0-5548-70a742e9a4db"),
Name = "发运入库",
Number = "100",
Type = 0
},
new
{
Id = new Guid("a04d00ac-0e9c-064d-b7ce-af0b4d7c8c6b"),
Name = "结算出库",
Number = "200",
Type = 1
},
new
{
Id = new Guid("c9199f7f-7cc8-7423-d608-f206167ae0b6"),
Name = "客户退货",
Number = "300",
Type = 1
},
new
{
Id = new Guid("5fda8ad4-f424-a9e1-8174-72c0f29fc225"),
Name = "调整入库",
Number = "400",
Type = 0
},
new
{
Id = new Guid("42230472-9f26-7484-ff2a-451878e9955f"),
Name = "调整出库",
Number = "500",
Type = 1
});
});
modelBuilder.Entity("Win.Sfs.SettleAccount.Entities.BQ.Vmi.VmiLog", b => modelBuilder.Entity("Win.Sfs.SettleAccount.Entities.BQ.Vmi.VmiLog", b =>
{ {
b.Property<Guid>("Id") b.Property<Guid>("Id")
.ValueGeneratedOnAdd() .ValueGeneratedOnAdd()
.HasColumnType("uniqueidentifier"); .HasColumnType("uniqueidentifier");
b.Property<string>("BalanceDesc") b.Property<int>("ChangedType")
.HasColumnType("nvarchar(max)"); .HasColumnType("int");
b.Property<string>("Category")
.HasColumnType("nvarchar(max)");
b.Property<string>("CodeType")
.HasColumnType("nvarchar(max)");
b.Property<decimal>("Count") b.Property<decimal>("Count")
.HasColumnType("decimal(18,2)"); .HasColumnType("decimal(18,2)");
@ -4128,98 +4057,71 @@ namespace Win.Sfs.SettleAccount.Migrations
b.Property<string>("CreatedBy") b.Property<string>("CreatedBy")
.HasColumnType("nvarchar(max)"); .HasColumnType("nvarchar(max)");
b.Property<DateTime>("CreatedDate") b.Property<DateTime>("CreatedTime")
.HasColumnType("datetime2"); .HasColumnType("datetime2");
b.Property<DateTime>("CreationTime") b.Property<DateTime>("CreationTime")
.HasColumnType("datetime2") .HasColumnType("datetime2");
.HasColumnName("CreationTime");
b.Property<Guid?>("CreatorId")
.HasColumnType("uniqueidentifier")
.HasColumnName("CreatorId");
b.Property<string>("Desc") b.Property<string>("CustomOrderNumber")
.HasColumnType("nvarchar(max)"); .HasColumnType("nvarchar(max)");
b.Property<string>("ErpToLoc") b.Property<int>("DeliverBillType")
.HasColumnType("int");
b.Property<string>("DeliverSubBillType")
.HasColumnType("nvarchar(max)"); .HasColumnType("nvarchar(max)");
b.Property<string>("F2") b.Property<string>("Desc")
.HasColumnType("nvarchar(max)"); .HasColumnType("nvarchar(max)");
b.Property<string>("G2") b.Property<string>("ErpToLoc")
.HasColumnType("nvarchar(max)"); .HasColumnType("nvarchar(max)");
b.Property<string>("GroupId") b.Property<string>("GroupId")
.HasColumnType("nvarchar(max)"); .HasColumnType("nvarchar(max)");
b.Property<string>("H2") b.Property<int>("LogType")
.HasColumnType("nvarchar(max)"); .HasColumnType("int");
b.Property<string>("I2") b.Property<string>("MatchNumber")
.HasColumnType("nvarchar(max)"); .HasColumnType("nvarchar(max)");
b.Property<string>("J2") b.Property<string>("No1")
.HasColumnType("nvarchar(max)"); .HasColumnType("nvarchar(max)");
b.Property<string>("K2") b.Property<string>("No2")
.HasColumnType("nvarchar(max)"); .HasColumnType("nvarchar(max)");
b.Property<string>("LU") b.Property<string>("No3")
.HasColumnType("nvarchar(max)"); .HasColumnType("nvarchar(max)");
b.Property<DateTime?>("LastModificationTime") b.Property<string>("No4")
.HasColumnType("datetime2")
.HasColumnName("LastModificationTime");
b.Property<Guid?>("LastModifierId")
.HasColumnType("uniqueidentifier")
.HasColumnName("LastModifierId");
b.Property<string>("MatchNumber")
.HasColumnType("nvarchar(max)"); .HasColumnType("nvarchar(max)");
b.Property<string>("OrderNumber") b.Property<string>("No5")
.HasColumnType("nvarchar(max)"); .HasColumnType("nvarchar(max)");
b.Property<string>("PartCode") b.Property<string>("No6")
.HasColumnType("nvarchar(max)"); .HasColumnType("nvarchar(max)");
b.Property<string>("PjsNum") b.Property<string>("PjsNum")
.HasColumnType("nvarchar(max)"); .HasColumnType("nvarchar(max)");
b.Property<string>("ProType")
.HasColumnType("nvarchar(max)");
b.Property<decimal>("Qty") b.Property<decimal>("Qty")
.HasColumnType("decimal(18,2)"); .HasColumnType("decimal(18,2)");
b.Property<string>("RelationNumber")
.HasColumnType("nvarchar(max)");
b.Property<string>("SeqNumber") b.Property<string>("SeqNumber")
.HasColumnType("nvarchar(max)"); .HasColumnType("nvarchar(max)");
b.Property<DateTime>("ShippingDate") b.Property<DateTime>("ShippingDate")
.HasColumnType("datetime2"); .HasColumnType("datetime2");
b.Property<string>("Tmpe4")
.HasColumnType("nvarchar(max)");
b.Property<string>("UniqueCode")
.HasColumnType("nvarchar(max)");
b.Property<string>("VinCode")
.HasColumnType("nvarchar(max)");
b.Property<Guid?>("VmiCategoryId")
.HasColumnType("uniqueidentifier");
b.Property<int>("VmiType")
.HasColumnType("int");
b.HasKey("Id"); b.HasKey("Id");
b.HasIndex("VmiCategoryId");
b.ToTable("Set_VmiLog"); b.ToTable("Set_VmiLog");
}); });
@ -5114,18 +5016,6 @@ namespace Win.Sfs.SettleAccount.Migrations
b.Navigation("Job"); b.Navigation("Job");
}); });
modelBuilder.Entity("Win.Sfs.SettleAccount.Entities.BQ.Vmi.VmiLog", b =>
{
b.HasOne("Win.Sfs.SettleAccount.Entities.BQ.Vmi.VmiCategory", null)
.WithMany("Logs")
.HasForeignKey("VmiCategoryId");
});
modelBuilder.Entity("Win.Sfs.SettleAccount.Entities.BQ.Vmi.VmiCategory", b =>
{
b.Navigation("Logs");
});
#pragma warning restore 612, 618 #pragma warning restore 612, 618
} }
} }

Loading…
Cancel
Save