You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

4200 lines
517 KiB

2022-02-14 20:50:15.347 +08:00 [INF] Starting web host.
2022-02-14 20:50:26.075 +08:00 [INF] User profile is available. Using 'C:\Users\lvcj2\AppData\Local\ASP.NET\DataProtection-Keys' as key repository and Windows DPAPI to encrypt keys at rest.
2022-02-14 20:50:26.790 +08:00 [INF] Loaded ABP modules:
2022-02-14 20:50:26.791 +08:00 [INF] - WmsWebApi.WmsWebApiHttpApiHostModule
2022-02-14 20:50:26.791 +08:00 [INF] - WmsWebApi.WmsWebApiApplicationModule
2022-02-14 20:50:26.791 +08:00 [INF] - WmsWebApi.WmsWebApiDomainModule
2022-02-14 20:50:26.791 +08:00 [INF] - Volo.Abp.Domain.AbpDddDomainModule
2022-02-14 20:50:26.791 +08:00 [INF] - Volo.Abp.Auditing.AbpAuditingModule
2022-02-14 20:50:26.791 +08:00 [INF] - Volo.Abp.Data.AbpDataModule
2022-02-14 20:50:26.791 +08:00 [INF] - Volo.Abp.ObjectExtending.AbpObjectExtendingModule
2022-02-14 20:50:26.791 +08:00 [INF] - Volo.Abp.Localization.AbpLocalizationAbstractionsModule
2022-02-14 20:50:26.791 +08:00 [INF] - Volo.Abp.Validation.AbpValidationAbstractionsModule
2022-02-14 20:50:26.791 +08:00 [INF] - Volo.Abp.Uow.AbpUnitOfWorkModule
2022-02-14 20:50:26.791 +08:00 [INF] - Volo.Abp.EventBus.Abstractions.AbpEventBusAbstractionsModule
2022-02-14 20:50:26.791 +08:00 [INF] - Volo.Abp.Json.AbpJsonModule
2022-02-14 20:50:26.791 +08:00 [INF] - Volo.Abp.Timing.AbpTimingModule
2022-02-14 20:50:26.791 +08:00 [INF] - Volo.Abp.Localization.AbpLocalizationModule
2022-02-14 20:50:26.791 +08:00 [INF] - Volo.Abp.VirtualFileSystem.AbpVirtualFileSystemModule
2022-02-14 20:50:26.791 +08:00 [INF] - Volo.Abp.Settings.AbpSettingsModule
2022-02-14 20:50:26.791 +08:00 [INF] - Volo.Abp.Security.AbpSecurityModule
2022-02-14 20:50:26.791 +08:00 [INF] - Volo.Abp.MultiTenancy.AbpMultiTenancyModule
2022-02-14 20:50:26.791 +08:00 [INF] - Volo.Abp.Threading.AbpThreadingModule
2022-02-14 20:50:26.791 +08:00 [INF] - Volo.Abp.EventBus.AbpEventBusModule
2022-02-14 20:50:26.791 +08:00 [INF] - Volo.Abp.Guids.AbpGuidsModule
2022-02-14 20:50:26.791 +08:00 [INF] - Volo.Abp.ObjectMapping.AbpObjectMappingModule
2022-02-14 20:50:26.791 +08:00 [INF] - Volo.Abp.ExceptionHandling.AbpExceptionHandlingModule
2022-02-14 20:50:26.791 +08:00 [INF] - Volo.Abp.Specifications.AbpSpecificationsModule
2022-02-14 20:50:26.791 +08:00 [INF] - WmsWebApi.WmsWebApiDomainSharedModule
2022-02-14 20:50:26.791 +08:00 [INF] - Volo.Abp.Validation.AbpValidationModule
2022-02-14 20:50:26.791 +08:00 [INF] - WmsWebApi.WmsWebApiApplicationContractsModule
2022-02-14 20:50:26.791 +08:00 [INF] - Volo.Abp.Application.AbpDddApplicationContractsModule
2022-02-14 20:50:26.791 +08:00 [INF] - Volo.Abp.Authorization.AbpAuthorizationModule
2022-02-14 20:50:26.791 +08:00 [INF] - Volo.Abp.Authorization.AbpAuthorizationAbstractionsModule
2022-02-14 20:50:26.791 +08:00 [INF] - Volo.Abp.Application.AbpDddApplicationModule
2022-02-14 20:50:26.791 +08:00 [INF] - Volo.Abp.Http.AbpHttpAbstractionsModule
2022-02-14 20:50:26.791 +08:00 [INF] - Volo.Abp.Features.AbpFeaturesModule
2022-02-14 20:50:26.791 +08:00 [INF] - Volo.Abp.GlobalFeatures.AbpGlobalFeaturesModule
2022-02-14 20:50:26.791 +08:00 [INF] - Volo.Abp.AutoMapper.AbpAutoMapperModule
2022-02-14 20:50:26.791 +08:00 [INF] - WmsWebApi.EntityFrameworkCore.WmsWebApiEntityFrameworkCoreModule
2022-02-14 20:50:26.791 +08:00 [INF] - Volo.Abp.EntityFrameworkCore.AbpEntityFrameworkCoreModule
2022-02-14 20:50:26.791 +08:00 [INF] - WmsWebApi.WmsWebApiHttpApiModule
2022-02-14 20:50:26.791 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.AbpAspNetCoreMvcModule
2022-02-14 20:50:26.791 +08:00 [INF] - Volo.Abp.AspNetCore.AbpAspNetCoreModule
2022-02-14 20:50:26.791 +08:00 [INF] - Volo.Abp.Http.AbpHttpModule
2022-02-14 20:50:26.791 +08:00 [INF] - Volo.Abp.Minify.AbpMinifyModule
2022-02-14 20:50:26.791 +08:00 [INF] - Volo.Abp.ApiVersioning.AbpApiVersioningAbstractionsModule
2022-02-14 20:50:26.791 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.AbpAspNetCoreMvcContractsModule
2022-02-14 20:50:26.791 +08:00 [INF] - Volo.Abp.UI.Navigation.AbpUiNavigationModule
2022-02-14 20:50:26.791 +08:00 [INF] - Volo.Abp.UI.AbpUiModule
2022-02-14 20:50:26.791 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.UI.MultiTenancy.AbpAspNetCoreMvcUiMultiTenancyModule
2022-02-14 20:50:26.791 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.UI.Theme.Shared.AbpAspNetCoreMvcUiThemeSharedModule
2022-02-14 20:50:26.791 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.AbpAspNetCoreMvcUiBootstrapModule
2022-02-14 20:50:26.791 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.UI.AbpAspNetCoreMvcUiModule
2022-02-14 20:50:26.791 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.UI.Packages.AbpAspNetCoreMvcUiPackagesModule
2022-02-14 20:50:26.791 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.UI.Bundling.AbpAspNetCoreMvcUiBundlingAbstractionsModule
2022-02-14 20:50:26.791 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.UI.Widgets.AbpAspNetCoreMvcUiWidgetsModule
2022-02-14 20:50:26.791 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.UI.Bundling.AbpAspNetCoreMvcUiBundlingModule
2022-02-14 20:50:26.791 +08:00 [INF] - Volo.Abp.AspNetCore.MultiTenancy.AbpAspNetCoreMultiTenancyModule
2022-02-14 20:50:26.791 +08:00 [INF] - Volo.Abp.Autofac.AbpAutofacModule
2022-02-14 20:50:26.791 +08:00 [INF] - Volo.Abp.Castle.AbpCastleCoreModule
2022-02-14 20:50:26.791 +08:00 [INF] - Volo.Abp.Caching.StackExchangeRedis.AbpCachingStackExchangeRedisModule
2022-02-14 20:50:26.791 +08:00 [INF] - Volo.Abp.Caching.AbpCachingModule
2022-02-14 20:50:26.791 +08:00 [INF] - Volo.Abp.Serialization.AbpSerializationModule
2022-02-14 20:50:26.791 +08:00 [INF] - Volo.Abp.EntityFrameworkCore.SqlServer.AbpEntityFrameworkCoreSqlServerModule
2022-02-14 20:50:26.791 +08:00 [INF] - Volo.Abp.AuditLogging.EntityFrameworkCore.AbpAuditLoggingEntityFrameworkCoreModule
2022-02-14 20:50:26.791 +08:00 [INF] - Volo.Abp.AuditLogging.AbpAuditLoggingDomainModule
2022-02-14 20:50:26.791 +08:00 [INF] - Volo.Abp.AuditLogging.AbpAuditLoggingDomainSharedModule
2022-02-14 20:50:26.791 +08:00 [INF] - Volo.Abp.PermissionManagement.EntityFrameworkCore.AbpPermissionManagementEntityFrameworkCoreModule
2022-02-14 20:50:26.791 +08:00 [INF] - Volo.Abp.PermissionManagement.AbpPermissionManagementDomainModule
2022-02-14 20:50:26.791 +08:00 [INF] - Volo.Abp.PermissionManagement.AbpPermissionManagementDomainSharedModule
2022-02-14 20:50:26.791 +08:00 [INF] - Volo.Abp.SettingManagement.EntityFrameworkCore.AbpSettingManagementEntityFrameworkCoreModule
2022-02-14 20:50:26.791 +08:00 [INF] - Volo.Abp.SettingManagement.AbpSettingManagementDomainModule
2022-02-14 20:50:26.791 +08:00 [INF] - Volo.Abp.SettingManagement.AbpSettingManagementDomainSharedModule
2022-02-14 20:50:26.791 +08:00 [INF] - Volo.Abp.AspNetCore.Serilog.AbpAspNetCoreSerilogModule
2022-02-14 20:50:26.791 +08:00 [INF] - Volo.Abp.Swashbuckle.AbpSwashbuckleModule
2022-02-14 20:50:29.415 +08:00 [INF] Initialized all ABP modules.
2022-02-14 20:50:30.551 +08:00 [INF] Now listening on: https://localhost:5000
2022-02-14 20:50:30.551 +08:00 [INF] Application started. Press Ctrl+C to shut down.
2022-02-14 20:50:30.551 +08:00 [INF] Hosting environment: Development
2022-02-14 20:50:30.552 +08:00 [INF] Content root path: D:\工作\派格\接口程序\WmsWebApi\host\WmsWebApi.HttpApi.Host
2022-02-14 20:50:46.322 +08:00 [INF] Request starting HTTP/2 GET https://localhost:5000/ - -
2022-02-14 20:50:52.414 +08:00 [INF] Entity Framework Core 5.0.13 initialized 'SettingManagementDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: QuerySplittingBehavior=SplitQuery
2022-02-14 20:50:55.131 +08:00 [INF] Executed DbCommand (230ms) [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-02-14 20:50:56.590 +08:00 [INF] Entity Framework Core 5.0.13 initialized 'SettingManagementDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: QuerySplittingBehavior=SplitQuery
2022-02-14 20:50:56.732 +08:00 [INF] Executed DbCommand (124ms) [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-02-14 20:50:57.255 +08:00 [INF] Executing endpoint 'WmsWebApi.Controllers.HomeController.Index (WmsWebApi.HttpApi.Host)'
2022-02-14 20:50:57.556 +08:00 [INF] Route matched with {action = "Index", controller = "Home", area = "", page = ""}. Executing controller action with signature Microsoft.AspNetCore.Mvc.ActionResult Index() on controller WmsWebApi.Controllers.HomeController (WmsWebApi.HttpApi.Host).
2022-02-14 20:50:58.367 +08:00 [INF] Executing action method WmsWebApi.Controllers.HomeController.Index (WmsWebApi.HttpApi.Host) - Validation state: "Valid"
2022-02-14 20:50:58.386 +08:00 [INF] Executed action method WmsWebApi.Controllers.HomeController.Index (WmsWebApi.HttpApi.Host), returned result Microsoft.AspNetCore.Mvc.RedirectResult in 1.3602ms.
2022-02-14 20:50:58.407 +08:00 [INF] Executing RedirectResult, redirecting to /swagger.
2022-02-14 20:50:58.432 +08:00 [INF] Executed action WmsWebApi.Controllers.HomeController.Index (WmsWebApi.HttpApi.Host) in 853.1509ms
2022-02-14 20:50:58.433 +08:00 [INF] Executed endpoint 'WmsWebApi.Controllers.HomeController.Index (WmsWebApi.HttpApi.Host)'
2022-02-14 20:50:58.586 +08:00 [INF] Request starting HTTP/2 GET https://localhost:5000/swagger/index.html - -
2022-02-14 20:50:58.595 +08:00 [INF] Request finished HTTP/2 GET https://localhost:5000/ - - - 302 0 - 12275.9656ms
2022-02-14 20:50:59.318 +08:00 [INF] Request finished HTTP/2 GET https://localhost:5000/swagger/index.html - - - 200 - text/html;charset=utf-8 732.4279ms
2022-02-14 20:51:00.177 +08:00 [INF] Request starting HTTP/2 GET https://localhost:5000/_framework/aspnetcore-browser-refresh.js - -
2022-02-14 20:51:00.226 +08:00 [INF] Request finished HTTP/2 GET https://localhost:5000/_framework/aspnetcore-browser-refresh.js - - - 200 11956 application/javascript;+charset=utf-8 49.9462ms
2022-02-14 20:51:01.048 +08:00 [INF] Request starting HTTP/2 GET https://localhost:5000/swagger/v1/swagger.json - -
2022-02-14 20:51:01.768 +08:00 [INF] Request finished HTTP/2 GET https://localhost:5000/swagger/v1/swagger.json - - - 200 - application/json;charset=utf-8 719.8425ms
2022-02-14 20:53:11.694 +08:00 [INF] Request starting HTTP/2 GET https://localhost:5000/abp/Swashbuckle/SetCsrfCookie application/json -
2022-02-14 20:53:11.771 +08:00 [INF] Executing endpoint 'Volo.Abp.Swashbuckle.AbpSwashbuckleController.SetCsrfCookie (Volo.Abp.Swashbuckle)'
2022-02-14 20:53:11.776 +08:00 [INF] Route matched with {area = "Abp", action = "SetCsrfCookie", controller = "AbpSwashbuckle", page = ""}. Executing controller action with signature Void SetCsrfCookie() on controller Volo.Abp.Swashbuckle.AbpSwashbuckleController (Volo.Abp.Swashbuckle).
2022-02-14 20:53:12.170 +08:00 [INF] Executing action method Volo.Abp.Swashbuckle.AbpSwashbuckleController.SetCsrfCookie (Volo.Abp.Swashbuckle) - Validation state: "Valid"
2022-02-14 20:53:12.208 +08:00 [INF] Executed action method Volo.Abp.Swashbuckle.AbpSwashbuckleController.SetCsrfCookie (Volo.Abp.Swashbuckle), returned result Microsoft.AspNetCore.Mvc.EmptyResult in 38.1394ms.
2022-02-14 20:53:12.210 +08:00 [INF] Executed action Volo.Abp.Swashbuckle.AbpSwashbuckleController.SetCsrfCookie (Volo.Abp.Swashbuckle) in 433.2363ms
2022-02-14 20:53:12.210 +08:00 [INF] Executed endpoint 'Volo.Abp.Swashbuckle.AbpSwashbuckleController.SetCsrfCookie (Volo.Abp.Swashbuckle)'
2022-02-14 20:53:12.211 +08:00 [INF] Request finished HTTP/2 GET https://localhost:5000/abp/Swashbuckle/SetCsrfCookie application/json - - 204 - - 551.4132ms
2022-02-14 20:53:12.563 +08:00 [INF] Request starting HTTP/2 POST https://localhost:5000/api/part/add application/json 3160
2022-02-14 20:53:12.590 +08:00 [INF] CORS policy execution failed.
2022-02-14 20:53:12.591 +08:00 [INF] Request origin https://localhost:5000 does not have permission to access the resource.
2022-02-14 20:53:12.598 +08:00 [INF] Executing endpoint 'WmsWebApi.Parts.PartService.AddAsync (WmsWebApi.Application)'
2022-02-14 20:53:12.654 +08:00 [INF] Route matched with {action = "Add", controller = "Part", area = "", page = ""}. Executing controller action with signature System.Threading.Tasks.Task`1[WmsWebApi.Parts.ReturnResult] AddAsync(System.Object) on controller WmsWebApi.Parts.PartService (WmsWebApi.Application).
2022-02-14 20:53:13.067 +08:00 [ERR] ---------- RemoteServiceErrorInfo ----------
{
"code": null,
"message": "An internal error occurred during your request!",
"details": null,
"data": {
"ActivatorChain": "Castle.Proxies.PartServiceProxy"
},
"validationErrors": null
}
2022-02-14 20:53:13.070 +08:00 [ERR] An exception was thrown while activating Castle.Proxies.PartServiceProxy.
Autofac.Core.DependencyResolutionException: An exception was thrown while activating Castle.Proxies.PartServiceProxy.
---> Autofac.Core.DependencyResolutionException: None of the constructors found with 'Volo.Abp.Autofac.AbpAutofacConstructorFinder' on type 'Castle.Proxies.PartServiceProxy' can be invoked with the available services and parameters:
Cannot resolve parameter 'Volo.Abp.Domain.Repositories.IRepository`2[WmsWebApi.Parts.WmsWebApiPARTDTO,System.Guid] partDtoRepository' of constructor 'Void .ctor(Castle.DynamicProxy.IInterceptor[], WmsWebApi.Wms.ITmPgPartgroupRepository, WmsWebApi.Wms.ITaPartRepository, WmsWebApi.Wms.ITaCustPartRepository, Volo.Abp.Domain.Repositories.IRepository`2[WmsWebApi.Parts.WmsWebApiPARTDTO,System.Guid])'.
at Autofac.Core.Activators.Reflection.ReflectionActivator.GetAllBindings(ConstructorBinder[] availableConstructors, IComponentContext context, IEnumerable`1 parameters)
at Autofac.Core.Activators.Reflection.ReflectionActivator.ActivateInstance(IComponentContext context, IEnumerable`1 parameters)
at Autofac.Core.Activators.Reflection.ReflectionActivator.<ConfigurePipeline>b__11_0(ResolveRequestContext ctxt, Action`1 next)
at Autofac.Core.Resolving.Pipeline.ResolvePipelineBuilder.<>c__DisplayClass14_0.<BuildPipeline>b__1(ResolveRequestContext ctxt)
at Autofac.Core.Resolving.Middleware.DisposalTrackingMiddleware.Execute(ResolveRequestContext context, Action`1 next)
at Autofac.Core.Resolving.Pipeline.ResolvePipelineBuilder.<>c__DisplayClass14_0.<BuildPipeline>b__1(ResolveRequestContext ctxt)
at Autofac.Builder.RegistrationBuilder`3.<>c__DisplayClass41_0.<PropertiesAutowired>b__0(ResolveRequestContext ctxt, Action`1 next)
at Autofac.Core.Resolving.Pipeline.ResolvePipelineBuilder.<>c__DisplayClass14_0.<BuildPipeline>b__1(ResolveRequestContext ctxt)
at Autofac.Core.Resolving.Middleware.ActivatorErrorHandlingMiddleware.Execute(ResolveRequestContext context, Action`1 next)
--- End of inner exception stack trace ---
at Autofac.Core.Resolving.Middleware.ActivatorErrorHandlingMiddleware.Execute(ResolveRequestContext context, Action`1 next)
at Autofac.Core.Resolving.Pipeline.ResolvePipelineBuilder.<>c__DisplayClass14_0.<BuildPipeline>b__1(ResolveRequestContext ctxt)
at Autofac.Builder.RegistrationBuilder`3.<>c__DisplayClass35_0.<OnPreparing>b__0(ResolveRequestContext ctxt, Action`1 next)
at Autofac.Core.Resolving.Middleware.CoreEventMiddleware.Execute(ResolveRequestContext context, Action`1 next)
at Autofac.Core.Resolving.Pipeline.ResolvePipelineBuilder.<>c__DisplayClass14_0.<BuildPipeline>b__1(ResolveRequestContext ctxt)
at Autofac.Core.Resolving.Pipeline.ResolvePipelineBuilder.<>c__DisplayClass14_0.<BuildPipeline>b__1(ResolveRequestContext ctxt)
at Autofac.Core.Resolving.Middleware.SharingMiddleware.Execute(ResolveRequestContext context, Action`1 next)
at Autofac.Core.Resolving.Pipeline.ResolvePipelineBuilder.<>c__DisplayClass14_0.<BuildPipeline>b__1(ResolveRequestContext ctxt)
at Autofac.Core.Resolving.Pipeline.ResolvePipelineBuilder.<>c__DisplayClass14_0.<BuildPipeline>b__1(ResolveRequestContext ctxt)
at Autofac.Core.Resolving.Middleware.CircularDependencyDetectorMiddleware.Execute(ResolveRequestContext context, Action`1 next)
at Autofac.Core.Resolving.Pipeline.ResolvePipelineBuilder.<>c__DisplayClass14_0.<BuildPipeline>b__1(ResolveRequestContext ctxt)
at Autofac.Core.Resolving.ResolveOperation.GetOrCreateInstance(ISharingLifetimeScope currentOperationScope, ResolveRequest request)
at Autofac.Core.Resolving.ResolveOperation.ExecuteOperation(ResolveRequest request)
at Autofac.ResolutionExtensions.TryResolveService(IComponentContext context, Service service, IEnumerable`1 parameters, Object& instance)
at Autofac.ResolutionExtensions.ResolveService(IComponentContext context, Service service, IEnumerable`1 parameters)
at Microsoft.AspNetCore.Mvc.Controllers.ServiceBasedControllerActivator.Create(ControllerContext actionContext)
at Microsoft.AspNetCore.Mvc.Controllers.ControllerFactoryProvider.<>c__DisplayClass5_0.<CreateControllerFactory>g__CreateController|0(ControllerContext controllerContext)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.InvokeInnerFilterAsync()
--- End of stack trace from previous location ---
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeNextExceptionFilterAsync>g__Awaited|25_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
2022-02-14 20:53:13.077 +08:00 [ERR] ---------- Exception Data ----------
ActivatorChain = Castle.Proxies.PartServiceProxy
2022-02-14 20:53:13.111 +08:00 [INF] Executing ObjectResult, writing value of type 'Volo.Abp.Http.RemoteServiceErrorResponse'.
2022-02-14 20:53:13.167 +08:00 [INF] Executed action WmsWebApi.Parts.PartService.AddAsync (WmsWebApi.Application) in 512.9987ms
2022-02-14 20:53:13.167 +08:00 [INF] Executed endpoint 'WmsWebApi.Parts.PartService.AddAsync (WmsWebApi.Application)'
2022-02-14 20:53:14.507 +08:00 [INF] Entity Framework Core 5.0.13 initialized 'AbpAuditLoggingDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: QuerySplittingBehavior=SplitQuery
2022-02-14 20:53:15.642 +08:00 [INF] Executed DbCommand (36ms) [Parameters=[@p0='?' (DbType = Guid), @p1='?' (Size = 96), @p2='?' (Size = 512), @p3='?' (Size = 64), @p4='?' (Size = 64), @p5='?' (Size = 128), @p6='?' (Size = 256), @p7='?' (Size = 40), @p8='?' (Size = 64), @p9='?' (Size = 4000), @p10='?' (DbType = Int32), @p11='?' (DbType = DateTime2), @p12='?' (Size = 4000), @p13='?' (Size = 16), @p14='?' (DbType = Int32), @p15='?' (DbType = Guid), @p16='?' (DbType = Guid), @p17='?' (DbType = Guid), @p18='?' (Size = 4000), @p19='?' (Size = 256), @p20='?' (DbType = Guid), @p21='?' (Size = 256)], CommandType='"Text"', CommandTimeout='30']
SET NOCOUNT ON;
INSERT INTO [AbpAuditLogs] ([Id], [ApplicationName], [BrowserInfo], [ClientId], [ClientIpAddress], [ClientName], [Comments], [ConcurrencyStamp], [CorrelationId], [Exceptions], [ExecutionDuration], [ExecutionTime], [ExtraProperties], [HttpMethod], [HttpStatusCode], [ImpersonatorTenantId], [ImpersonatorUserId], [TenantId], [TenantName], [Url], [UserId], [UserName])
VALUES (@p0, @p1, @p2, @p3, @p4, @p5, @p6, @p7, @p8, @p9, @p10, @p11, @p12, @p13, @p14, @p15, @p16, @p17, @p18, @p19, @p20, @p21);
2022-02-14 20:53:15.818 +08:00 [DBG] Added 0 entity changes to the current audit log
2022-02-14 20:53:15.818 +08:00 [DBG] Added 0 entity changes to the current audit log
2022-02-14 20:53:15.836 +08:00 [INF] Request finished HTTP/2 POST https://localhost:5000/api/part/add application/json 3160 - 500 - application/json;+charset=utf-8 3273.1445ms
2022-02-14 20:54:09.125 +08:00 [INF] Request starting HTTP/2 POST https://localhost:5000/api/part/add application/json 3160
2022-02-14 20:54:09.134 +08:00 [INF] CORS policy execution failed.
2022-02-14 20:54:09.134 +08:00 [INF] Request origin https://localhost:5000 does not have permission to access the resource.
2022-02-14 20:54:09.143 +08:00 [INF] Executing endpoint 'WmsWebApi.Parts.PartService.AddAsync (WmsWebApi.Application)'
2022-02-14 20:54:09.144 +08:00 [INF] Route matched with {action = "Add", controller = "Part", area = "", page = ""}. Executing controller action with signature System.Threading.Tasks.Task`1[WmsWebApi.Parts.ReturnResult] AddAsync(System.Object) on controller WmsWebApi.Parts.PartService (WmsWebApi.Application).
2022-02-14 20:54:09.155 +08:00 [ERR] ---------- RemoteServiceErrorInfo ----------
{
"code": null,
"message": "An internal error occurred during your request!",
"details": null,
"data": {
"ActivatorChain": "Castle.Proxies.PartServiceProxy"
},
"validationErrors": null
}
2022-02-14 20:54:09.156 +08:00 [ERR] An exception was thrown while activating Castle.Proxies.PartServiceProxy.
Autofac.Core.DependencyResolutionException: An exception was thrown while activating Castle.Proxies.PartServiceProxy.
---> Autofac.Core.DependencyResolutionException: None of the constructors found with 'Volo.Abp.Autofac.AbpAutofacConstructorFinder' on type 'Castle.Proxies.PartServiceProxy' can be invoked with the available services and parameters:
Cannot resolve parameter 'Volo.Abp.Domain.Repositories.IRepository`2[WmsWebApi.Parts.WmsWebApiPARTDTO,System.Guid] partDtoRepository' of constructor 'Void .ctor(Castle.DynamicProxy.IInterceptor[], WmsWebApi.Wms.ITmPgPartgroupRepository, WmsWebApi.Wms.ITaPartRepository, WmsWebApi.Wms.ITaCustPartRepository, Volo.Abp.Domain.Repositories.IRepository`2[WmsWebApi.Parts.WmsWebApiPARTDTO,System.Guid])'.
at Autofac.Core.Activators.Reflection.ReflectionActivator.GetAllBindings(ConstructorBinder[] availableConstructors, IComponentContext context, IEnumerable`1 parameters)
at Autofac.Core.Activators.Reflection.ReflectionActivator.ActivateInstance(IComponentContext context, IEnumerable`1 parameters)
at Autofac.Core.Activators.Reflection.ReflectionActivator.<ConfigurePipeline>b__11_0(ResolveRequestContext ctxt, Action`1 next)
at Autofac.Core.Resolving.Pipeline.ResolvePipelineBuilder.<>c__DisplayClass14_0.<BuildPipeline>b__1(ResolveRequestContext ctxt)
at Autofac.Core.Resolving.Middleware.DisposalTrackingMiddleware.Execute(ResolveRequestContext context, Action`1 next)
at Autofac.Core.Resolving.Pipeline.ResolvePipelineBuilder.<>c__DisplayClass14_0.<BuildPipeline>b__1(ResolveRequestContext ctxt)
at Autofac.Builder.RegistrationBuilder`3.<>c__DisplayClass41_0.<PropertiesAutowired>b__0(ResolveRequestContext ctxt, Action`1 next)
at Autofac.Core.Resolving.Pipeline.ResolvePipelineBuilder.<>c__DisplayClass14_0.<BuildPipeline>b__1(ResolveRequestContext ctxt)
at Autofac.Core.Resolving.Middleware.ActivatorErrorHandlingMiddleware.Execute(ResolveRequestContext context, Action`1 next)
--- End of inner exception stack trace ---
at Autofac.Core.Resolving.Middleware.ActivatorErrorHandlingMiddleware.Execute(ResolveRequestContext context, Action`1 next)
at Autofac.Core.Resolving.Pipeline.ResolvePipelineBuilder.<>c__DisplayClass14_0.<BuildPipeline>b__1(ResolveRequestContext ctxt)
at Autofac.Builder.RegistrationBuilder`3.<>c__DisplayClass35_0.<OnPreparing>b__0(ResolveRequestContext ctxt, Action`1 next)
at Autofac.Core.Resolving.Middleware.CoreEventMiddleware.Execute(ResolveRequestContext context, Action`1 next)
at Autofac.Core.Resolving.Pipeline.ResolvePipelineBuilder.<>c__DisplayClass14_0.<BuildPipeline>b__1(ResolveRequestContext ctxt)
at Autofac.Core.Resolving.Pipeline.ResolvePipelineBuilder.<>c__DisplayClass14_0.<BuildPipeline>b__1(ResolveRequestContext ctxt)
at Autofac.Core.Resolving.Middleware.SharingMiddleware.Execute(ResolveRequestContext context, Action`1 next)
at Autofac.Core.Resolving.Pipeline.ResolvePipelineBuilder.<>c__DisplayClass14_0.<BuildPipeline>b__1(ResolveRequestContext ctxt)
at Autofac.Core.Resolving.Pipeline.ResolvePipelineBuilder.<>c__DisplayClass14_0.<BuildPipeline>b__1(ResolveRequestContext ctxt)
at Autofac.Core.Resolving.Middleware.CircularDependencyDetectorMiddleware.Execute(ResolveRequestContext context, Action`1 next)
at Autofac.Core.Resolving.Pipeline.ResolvePipelineBuilder.<>c__DisplayClass14_0.<BuildPipeline>b__1(ResolveRequestContext ctxt)
at Autofac.Core.Resolving.ResolveOperation.GetOrCreateInstance(ISharingLifetimeScope currentOperationScope, ResolveRequest request)
at Autofac.Core.Resolving.ResolveOperation.ExecuteOperation(ResolveRequest request)
at Autofac.ResolutionExtensions.TryResolveService(IComponentContext context, Service service, IEnumerable`1 parameters, Object& instance)
at Autofac.ResolutionExtensions.ResolveService(IComponentContext context, Service service, IEnumerable`1 parameters)
at Microsoft.AspNetCore.Mvc.Controllers.ServiceBasedControllerActivator.Create(ControllerContext actionContext)
at Microsoft.AspNetCore.Mvc.Controllers.ControllerFactoryProvider.<>c__DisplayClass5_0.<CreateControllerFactory>g__CreateController|0(ControllerContext controllerContext)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.InvokeInnerFilterAsync()
--- End of stack trace from previous location ---
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeNextExceptionFilterAsync>g__Awaited|25_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
2022-02-14 20:54:09.156 +08:00 [ERR] ---------- Exception Data ----------
ActivatorChain = Castle.Proxies.PartServiceProxy
2022-02-14 20:54:09.156 +08:00 [INF] Executing ObjectResult, writing value of type 'Volo.Abp.Http.RemoteServiceErrorResponse'.
2022-02-14 20:54:09.158 +08:00 [INF] Executed action WmsWebApi.Parts.PartService.AddAsync (WmsWebApi.Application) in 13.2868ms
2022-02-14 20:54:09.158 +08:00 [INF] Executed endpoint 'WmsWebApi.Parts.PartService.AddAsync (WmsWebApi.Application)'
2022-02-14 20:54:09.210 +08:00 [INF] Entity Framework Core 5.0.13 initialized 'AbpAuditLoggingDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: QuerySplittingBehavior=SplitQuery
2022-02-14 20:54:09.275 +08:00 [INF] Executed DbCommand (28ms) [Parameters=[@p0='?' (DbType = Guid), @p1='?' (Size = 96), @p2='?' (Size = 512), @p3='?' (Size = 64), @p4='?' (Size = 64), @p5='?' (Size = 128), @p6='?' (Size = 256), @p7='?' (Size = 40), @p8='?' (Size = 64), @p9='?' (Size = 4000), @p10='?' (DbType = Int32), @p11='?' (DbType = DateTime2), @p12='?' (Size = 4000), @p13='?' (Size = 16), @p14='?' (DbType = Int32), @p15='?' (DbType = Guid), @p16='?' (DbType = Guid), @p17='?' (DbType = Guid), @p18='?' (Size = 4000), @p19='?' (Size = 256), @p20='?' (DbType = Guid), @p21='?' (Size = 256)], CommandType='"Text"', CommandTimeout='30']
SET NOCOUNT ON;
INSERT INTO [AbpAuditLogs] ([Id], [ApplicationName], [BrowserInfo], [ClientId], [ClientIpAddress], [ClientName], [Comments], [ConcurrencyStamp], [CorrelationId], [Exceptions], [ExecutionDuration], [ExecutionTime], [ExtraProperties], [HttpMethod], [HttpStatusCode], [ImpersonatorTenantId], [ImpersonatorUserId], [TenantId], [TenantName], [Url], [UserId], [UserName])
VALUES (@p0, @p1, @p2, @p3, @p4, @p5, @p6, @p7, @p8, @p9, @p10, @p11, @p12, @p13, @p14, @p15, @p16, @p17, @p18, @p19, @p20, @p21);
2022-02-14 20:54:09.326 +08:00 [DBG] Added 0 entity changes to the current audit log
2022-02-14 20:54:09.326 +08:00 [DBG] Added 0 entity changes to the current audit log
2022-02-14 20:54:09.328 +08:00 [INF] Request finished HTTP/2 POST https://localhost:5000/api/part/add application/json 3160 - 500 - application/json;+charset=utf-8 203.7485ms
2022-02-14 21:00:54.955 +08:00 [INF] Starting web host.
2022-02-14 21:01:03.022 +08:00 [INF] User profile is available. Using 'C:\Users\lvcj2\AppData\Local\ASP.NET\DataProtection-Keys' as key repository and Windows DPAPI to encrypt keys at rest.
2022-02-14 21:01:03.395 +08:00 [INF] Loaded ABP modules:
2022-02-14 21:01:03.395 +08:00 [INF] - WmsWebApi.WmsWebApiHttpApiHostModule
2022-02-14 21:01:03.395 +08:00 [INF] - WmsWebApi.WmsWebApiApplicationModule
2022-02-14 21:01:03.395 +08:00 [INF] - WmsWebApi.WmsWebApiDomainModule
2022-02-14 21:01:03.395 +08:00 [INF] - Volo.Abp.Domain.AbpDddDomainModule
2022-02-14 21:01:03.395 +08:00 [INF] - Volo.Abp.Auditing.AbpAuditingModule
2022-02-14 21:01:03.395 +08:00 [INF] - Volo.Abp.Data.AbpDataModule
2022-02-14 21:01:03.395 +08:00 [INF] - Volo.Abp.ObjectExtending.AbpObjectExtendingModule
2022-02-14 21:01:03.395 +08:00 [INF] - Volo.Abp.Localization.AbpLocalizationAbstractionsModule
2022-02-14 21:01:03.395 +08:00 [INF] - Volo.Abp.Validation.AbpValidationAbstractionsModule
2022-02-14 21:01:03.395 +08:00 [INF] - Volo.Abp.Uow.AbpUnitOfWorkModule
2022-02-14 21:01:03.395 +08:00 [INF] - Volo.Abp.EventBus.Abstractions.AbpEventBusAbstractionsModule
2022-02-14 21:01:03.395 +08:00 [INF] - Volo.Abp.Json.AbpJsonModule
2022-02-14 21:01:03.395 +08:00 [INF] - Volo.Abp.Timing.AbpTimingModule
2022-02-14 21:01:03.395 +08:00 [INF] - Volo.Abp.Localization.AbpLocalizationModule
2022-02-14 21:01:03.395 +08:00 [INF] - Volo.Abp.VirtualFileSystem.AbpVirtualFileSystemModule
2022-02-14 21:01:03.395 +08:00 [INF] - Volo.Abp.Settings.AbpSettingsModule
2022-02-14 21:01:03.395 +08:00 [INF] - Volo.Abp.Security.AbpSecurityModule
2022-02-14 21:01:03.395 +08:00 [INF] - Volo.Abp.MultiTenancy.AbpMultiTenancyModule
2022-02-14 21:01:03.395 +08:00 [INF] - Volo.Abp.Threading.AbpThreadingModule
2022-02-14 21:01:03.395 +08:00 [INF] - Volo.Abp.EventBus.AbpEventBusModule
2022-02-14 21:01:03.395 +08:00 [INF] - Volo.Abp.Guids.AbpGuidsModule
2022-02-14 21:01:03.395 +08:00 [INF] - Volo.Abp.ObjectMapping.AbpObjectMappingModule
2022-02-14 21:01:03.395 +08:00 [INF] - Volo.Abp.ExceptionHandling.AbpExceptionHandlingModule
2022-02-14 21:01:03.395 +08:00 [INF] - Volo.Abp.Specifications.AbpSpecificationsModule
2022-02-14 21:01:03.395 +08:00 [INF] - WmsWebApi.WmsWebApiDomainSharedModule
2022-02-14 21:01:03.395 +08:00 [INF] - Volo.Abp.Validation.AbpValidationModule
2022-02-14 21:01:03.395 +08:00 [INF] - WmsWebApi.WmsWebApiApplicationContractsModule
2022-02-14 21:01:03.395 +08:00 [INF] - Volo.Abp.Application.AbpDddApplicationContractsModule
2022-02-14 21:01:03.395 +08:00 [INF] - Volo.Abp.Authorization.AbpAuthorizationModule
2022-02-14 21:01:03.395 +08:00 [INF] - Volo.Abp.Authorization.AbpAuthorizationAbstractionsModule
2022-02-14 21:01:03.395 +08:00 [INF] - Volo.Abp.Application.AbpDddApplicationModule
2022-02-14 21:01:03.395 +08:00 [INF] - Volo.Abp.Http.AbpHttpAbstractionsModule
2022-02-14 21:01:03.396 +08:00 [INF] - Volo.Abp.Features.AbpFeaturesModule
2022-02-14 21:01:03.396 +08:00 [INF] - Volo.Abp.GlobalFeatures.AbpGlobalFeaturesModule
2022-02-14 21:01:03.396 +08:00 [INF] - Volo.Abp.AutoMapper.AbpAutoMapperModule
2022-02-14 21:01:03.396 +08:00 [INF] - WmsWebApi.EntityFrameworkCore.WmsWebApiEntityFrameworkCoreModule
2022-02-14 21:01:03.396 +08:00 [INF] - Volo.Abp.EntityFrameworkCore.AbpEntityFrameworkCoreModule
2022-02-14 21:01:03.396 +08:00 [INF] - WmsWebApi.WmsWebApiHttpApiModule
2022-02-14 21:01:03.396 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.AbpAspNetCoreMvcModule
2022-02-14 21:01:03.396 +08:00 [INF] - Volo.Abp.AspNetCore.AbpAspNetCoreModule
2022-02-14 21:01:03.396 +08:00 [INF] - Volo.Abp.Http.AbpHttpModule
2022-02-14 21:01:03.396 +08:00 [INF] - Volo.Abp.Minify.AbpMinifyModule
2022-02-14 21:01:03.396 +08:00 [INF] - Volo.Abp.ApiVersioning.AbpApiVersioningAbstractionsModule
2022-02-14 21:01:03.396 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.AbpAspNetCoreMvcContractsModule
2022-02-14 21:01:03.396 +08:00 [INF] - Volo.Abp.UI.Navigation.AbpUiNavigationModule
2022-02-14 21:01:03.396 +08:00 [INF] - Volo.Abp.UI.AbpUiModule
2022-02-14 21:01:03.396 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.UI.MultiTenancy.AbpAspNetCoreMvcUiMultiTenancyModule
2022-02-14 21:01:03.396 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.UI.Theme.Shared.AbpAspNetCoreMvcUiThemeSharedModule
2022-02-14 21:01:03.396 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.AbpAspNetCoreMvcUiBootstrapModule
2022-02-14 21:01:03.396 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.UI.AbpAspNetCoreMvcUiModule
2022-02-14 21:01:03.396 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.UI.Packages.AbpAspNetCoreMvcUiPackagesModule
2022-02-14 21:01:03.396 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.UI.Bundling.AbpAspNetCoreMvcUiBundlingAbstractionsModule
2022-02-14 21:01:03.396 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.UI.Widgets.AbpAspNetCoreMvcUiWidgetsModule
2022-02-14 21:01:03.396 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.UI.Bundling.AbpAspNetCoreMvcUiBundlingModule
2022-02-14 21:01:03.396 +08:00 [INF] - Volo.Abp.AspNetCore.MultiTenancy.AbpAspNetCoreMultiTenancyModule
2022-02-14 21:01:03.396 +08:00 [INF] - Volo.Abp.Autofac.AbpAutofacModule
2022-02-14 21:01:03.396 +08:00 [INF] - Volo.Abp.Castle.AbpCastleCoreModule
2022-02-14 21:01:03.396 +08:00 [INF] - Volo.Abp.Caching.StackExchangeRedis.AbpCachingStackExchangeRedisModule
2022-02-14 21:01:03.396 +08:00 [INF] - Volo.Abp.Caching.AbpCachingModule
2022-02-14 21:01:03.396 +08:00 [INF] - Volo.Abp.Serialization.AbpSerializationModule
2022-02-14 21:01:03.396 +08:00 [INF] - Volo.Abp.EntityFrameworkCore.SqlServer.AbpEntityFrameworkCoreSqlServerModule
2022-02-14 21:01:03.396 +08:00 [INF] - Volo.Abp.AuditLogging.EntityFrameworkCore.AbpAuditLoggingEntityFrameworkCoreModule
2022-02-14 21:01:03.396 +08:00 [INF] - Volo.Abp.AuditLogging.AbpAuditLoggingDomainModule
2022-02-14 21:01:03.396 +08:00 [INF] - Volo.Abp.AuditLogging.AbpAuditLoggingDomainSharedModule
2022-02-14 21:01:03.396 +08:00 [INF] - Volo.Abp.PermissionManagement.EntityFrameworkCore.AbpPermissionManagementEntityFrameworkCoreModule
2022-02-14 21:01:03.396 +08:00 [INF] - Volo.Abp.PermissionManagement.AbpPermissionManagementDomainModule
2022-02-14 21:01:03.396 +08:00 [INF] - Volo.Abp.PermissionManagement.AbpPermissionManagementDomainSharedModule
2022-02-14 21:01:03.396 +08:00 [INF] - Volo.Abp.SettingManagement.EntityFrameworkCore.AbpSettingManagementEntityFrameworkCoreModule
2022-02-14 21:01:03.396 +08:00 [INF] - Volo.Abp.SettingManagement.AbpSettingManagementDomainModule
2022-02-14 21:01:03.396 +08:00 [INF] - Volo.Abp.SettingManagement.AbpSettingManagementDomainSharedModule
2022-02-14 21:01:03.396 +08:00 [INF] - Volo.Abp.AspNetCore.Serilog.AbpAspNetCoreSerilogModule
2022-02-14 21:01:03.396 +08:00 [INF] - Volo.Abp.Swashbuckle.AbpSwashbuckleModule
2022-02-14 21:01:07.105 +08:00 [INF] Initialized all ABP modules.
2022-02-14 21:01:08.416 +08:00 [INF] Now listening on: https://localhost:5000
2022-02-14 21:01:08.417 +08:00 [INF] Application started. Press Ctrl+C to shut down.
2022-02-14 21:01:08.417 +08:00 [INF] Hosting environment: Development
2022-02-14 21:01:08.418 +08:00 [INF] Content root path: D:\工作\派格\接口程序\WmsWebApi\host\WmsWebApi.HttpApi.Host
2022-02-14 21:01:16.092 +08:00 [INF] Request starting HTTP/2 GET https://localhost:5000/ - -
2022-02-14 21:01:20.272 +08:00 [INF] Executing endpoint 'WmsWebApi.Controllers.HomeController.Index (WmsWebApi.HttpApi.Host)'
2022-02-14 21:01:20.452 +08:00 [INF] Route matched with {action = "Index", controller = "Home", area = "", page = ""}. Executing controller action with signature Microsoft.AspNetCore.Mvc.ActionResult Index() on controller WmsWebApi.Controllers.HomeController (WmsWebApi.HttpApi.Host).
2022-02-14 21:01:21.089 +08:00 [INF] Executing action method WmsWebApi.Controllers.HomeController.Index (WmsWebApi.HttpApi.Host) - Validation state: "Valid"
2022-02-14 21:01:21.105 +08:00 [INF] Executed action method WmsWebApi.Controllers.HomeController.Index (WmsWebApi.HttpApi.Host), returned result Microsoft.AspNetCore.Mvc.RedirectResult in 1.0402ms.
2022-02-14 21:01:21.120 +08:00 [INF] Executing RedirectResult, redirecting to /swagger.
2022-02-14 21:01:21.137 +08:00 [INF] Executed action WmsWebApi.Controllers.HomeController.Index (WmsWebApi.HttpApi.Host) in 672.1763ms
2022-02-14 21:01:21.138 +08:00 [INF] Executed endpoint 'WmsWebApi.Controllers.HomeController.Index (WmsWebApi.HttpApi.Host)'
2022-02-14 21:01:21.209 +08:00 [INF] Request starting HTTP/2 GET https://localhost:5000/swagger/index.html - -
2022-02-14 21:01:21.219 +08:00 [INF] Request finished HTTP/2 GET https://localhost:5000/ - - - 302 0 - 5132.1721ms
2022-02-14 21:01:21.863 +08:00 [INF] Request finished HTTP/2 GET https://localhost:5000/swagger/index.html - - - 200 - text/html;charset=utf-8 654.3062ms
2022-02-14 21:01:22.545 +08:00 [INF] Request starting HTTP/2 GET https://localhost:5000/_framework/aspnetcore-browser-refresh.js - -
2022-02-14 21:01:22.552 +08:00 [INF] Request finished HTTP/2 GET https://localhost:5000/_framework/aspnetcore-browser-refresh.js - - - 200 11956 application/javascript;+charset=utf-8 9.3257ms
2022-02-14 21:01:23.247 +08:00 [INF] Request starting HTTP/2 GET https://localhost:5000/swagger/v1/swagger.json - -
2022-02-14 21:01:23.802 +08:00 [INF] Request finished HTTP/2 GET https://localhost:5000/swagger/v1/swagger.json - - - 200 - application/json;charset=utf-8 554.1696ms
2022-02-14 21:01:50.477 +08:00 [INF] Request starting HTTP/2 GET https://localhost:5000/abp/Swashbuckle/SetCsrfCookie application/json -
2022-02-14 21:01:50.487 +08:00 [INF] Executing endpoint 'Volo.Abp.Swashbuckle.AbpSwashbuckleController.SetCsrfCookie (Volo.Abp.Swashbuckle)'
2022-02-14 21:01:50.491 +08:00 [INF] Route matched with {area = "Abp", action = "SetCsrfCookie", controller = "AbpSwashbuckle", page = ""}. Executing controller action with signature Void SetCsrfCookie() on controller Volo.Abp.Swashbuckle.AbpSwashbuckleController (Volo.Abp.Swashbuckle).
2022-02-14 21:01:50.692 +08:00 [INF] Executing action method Volo.Abp.Swashbuckle.AbpSwashbuckleController.SetCsrfCookie (Volo.Abp.Swashbuckle) - Validation state: "Valid"
2022-02-14 21:01:50.732 +08:00 [INF] Executed action method Volo.Abp.Swashbuckle.AbpSwashbuckleController.SetCsrfCookie (Volo.Abp.Swashbuckle), returned result Microsoft.AspNetCore.Mvc.EmptyResult in 39.9961ms.
2022-02-14 21:01:50.733 +08:00 [INF] Executed action Volo.Abp.Swashbuckle.AbpSwashbuckleController.SetCsrfCookie (Volo.Abp.Swashbuckle) in 242.5143ms
2022-02-14 21:01:50.734 +08:00 [INF] Executed endpoint 'Volo.Abp.Swashbuckle.AbpSwashbuckleController.SetCsrfCookie (Volo.Abp.Swashbuckle)'
2022-02-14 21:01:50.734 +08:00 [INF] Request finished HTTP/2 GET https://localhost:5000/abp/Swashbuckle/SetCsrfCookie application/json - - 204 - - 257.3633ms
2022-02-14 21:01:50.954 +08:00 [INF] Request starting HTTP/2 POST https://localhost:5000/api/part/add application/json 3160
2022-02-14 21:01:50.970 +08:00 [INF] CORS policy execution failed.
2022-02-14 21:01:50.970 +08:00 [INF] Request origin https://localhost:5000 does not have permission to access the resource.
2022-02-14 21:01:50.977 +08:00 [INF] Executing endpoint 'WmsWebApi.Parts.PartService.AddAsync (WmsWebApi.Application)'
2022-02-14 21:01:51.040 +08:00 [INF] Route matched with {action = "Add", controller = "Part", area = "", page = ""}. Executing controller action with signature System.Threading.Tasks.Task`1[WmsWebApi.Parts.ReturnResult] AddAsync(System.Object) on controller WmsWebApi.Parts.PartService (WmsWebApi.Application).
2022-02-14 21:01:51.260 +08:00 [ERR] ---------- RemoteServiceErrorInfo ----------
{
"code": null,
"message": "An internal error occurred during your request!",
"details": null,
"data": {
"ActivatorChain": "Castle.Proxies.PartServiceProxy"
},
"validationErrors": null
}
2022-02-14 21:01:51.262 +08:00 [ERR] An exception was thrown while activating Castle.Proxies.PartServiceProxy.
Autofac.Core.DependencyResolutionException: An exception was thrown while activating Castle.Proxies.PartServiceProxy.
---> Autofac.Core.DependencyResolutionException: None of the constructors found with 'Volo.Abp.Autofac.AbpAutofacConstructorFinder' on type 'Castle.Proxies.PartServiceProxy' can be invoked with the available services and parameters:
Cannot resolve parameter 'Volo.Abp.Domain.Repositories.IRepository`2[WmsWebApi.Parts.WmsWebApiPARTDTO,System.Guid] partDtoRepository' of constructor 'Void .ctor(Castle.DynamicProxy.IInterceptor[], WmsWebApi.Wms.ITmPgPartgroupRepository, WmsWebApi.Wms.ITaPartRepository, WmsWebApi.Wms.ITaCustPartRepository, Volo.Abp.Domain.Repositories.IRepository`2[WmsWebApi.Parts.WmsWebApiPARTDTO,System.Guid])'.
at Autofac.Core.Activators.Reflection.ReflectionActivator.GetAllBindings(ConstructorBinder[] availableConstructors, IComponentContext context, IEnumerable`1 parameters)
at Autofac.Core.Activators.Reflection.ReflectionActivator.ActivateInstance(IComponentContext context, IEnumerable`1 parameters)
at Autofac.Core.Activators.Reflection.ReflectionActivator.<ConfigurePipeline>b__11_0(ResolveRequestContext ctxt, Action`1 next)
at Autofac.Core.Resolving.Pipeline.ResolvePipelineBuilder.<>c__DisplayClass14_0.<BuildPipeline>b__1(ResolveRequestContext ctxt)
at Autofac.Core.Resolving.Middleware.DisposalTrackingMiddleware.Execute(ResolveRequestContext context, Action`1 next)
at Autofac.Core.Resolving.Pipeline.ResolvePipelineBuilder.<>c__DisplayClass14_0.<BuildPipeline>b__1(ResolveRequestContext ctxt)
at Autofac.Builder.RegistrationBuilder`3.<>c__DisplayClass41_0.<PropertiesAutowired>b__0(ResolveRequestContext ctxt, Action`1 next)
at Autofac.Core.Resolving.Pipeline.ResolvePipelineBuilder.<>c__DisplayClass14_0.<BuildPipeline>b__1(ResolveRequestContext ctxt)
at Autofac.Core.Resolving.Middleware.ActivatorErrorHandlingMiddleware.Execute(ResolveRequestContext context, Action`1 next)
--- End of inner exception stack trace ---
at Autofac.Core.Resolving.Middleware.ActivatorErrorHandlingMiddleware.Execute(ResolveRequestContext context, Action`1 next)
at Autofac.Core.Resolving.Pipeline.ResolvePipelineBuilder.<>c__DisplayClass14_0.<BuildPipeline>b__1(ResolveRequestContext ctxt)
at Autofac.Builder.RegistrationBuilder`3.<>c__DisplayClass35_0.<OnPreparing>b__0(ResolveRequestContext ctxt, Action`1 next)
at Autofac.Core.Resolving.Middleware.CoreEventMiddleware.Execute(ResolveRequestContext context, Action`1 next)
at Autofac.Core.Resolving.Pipeline.ResolvePipelineBuilder.<>c__DisplayClass14_0.<BuildPipeline>b__1(ResolveRequestContext ctxt)
at Autofac.Core.Resolving.Pipeline.ResolvePipelineBuilder.<>c__DisplayClass14_0.<BuildPipeline>b__1(ResolveRequestContext ctxt)
at Autofac.Core.Resolving.Middleware.SharingMiddleware.Execute(ResolveRequestContext context, Action`1 next)
at Autofac.Core.Resolving.Pipeline.ResolvePipelineBuilder.<>c__DisplayClass14_0.<BuildPipeline>b__1(ResolveRequestContext ctxt)
at Autofac.Core.Resolving.Pipeline.ResolvePipelineBuilder.<>c__DisplayClass14_0.<BuildPipeline>b__1(ResolveRequestContext ctxt)
at Autofac.Core.Resolving.Middleware.CircularDependencyDetectorMiddleware.Execute(ResolveRequestContext context, Action`1 next)
at Autofac.Core.Resolving.Pipeline.ResolvePipelineBuilder.<>c__DisplayClass14_0.<BuildPipeline>b__1(ResolveRequestContext ctxt)
at Autofac.Core.Resolving.ResolveOperation.GetOrCreateInstance(ISharingLifetimeScope currentOperationScope, ResolveRequest request)
at Autofac.Core.Resolving.ResolveOperation.ExecuteOperation(ResolveRequest request)
at Autofac.ResolutionExtensions.TryResolveService(IComponentContext context, Service service, IEnumerable`1 parameters, Object& instance)
at Autofac.ResolutionExtensions.ResolveService(IComponentContext context, Service service, IEnumerable`1 parameters)
at Microsoft.AspNetCore.Mvc.Controllers.ServiceBasedControllerActivator.Create(ControllerContext actionContext)
at Microsoft.AspNetCore.Mvc.Controllers.ControllerFactoryProvider.<>c__DisplayClass5_0.<CreateControllerFactory>g__CreateController|0(ControllerContext controllerContext)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.InvokeInnerFilterAsync()
--- End of stack trace from previous location ---
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeNextExceptionFilterAsync>g__Awaited|25_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
2022-02-14 21:01:51.270 +08:00 [ERR] ---------- Exception Data ----------
ActivatorChain = Castle.Proxies.PartServiceProxy
2022-02-14 21:01:51.298 +08:00 [INF] Executing ObjectResult, writing value of type 'Volo.Abp.Http.RemoteServiceErrorResponse'.
2022-02-14 21:01:51.370 +08:00 [INF] Executed action WmsWebApi.Parts.PartService.AddAsync (WmsWebApi.Application) in 330.4308ms
2022-02-14 21:01:51.370 +08:00 [INF] Executed endpoint 'WmsWebApi.Parts.PartService.AddAsync (WmsWebApi.Application)'
2022-02-14 21:01:54.115 +08:00 [INF] Entity Framework Core 5.0.13 initialized 'AbpAuditLoggingDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: QuerySplittingBehavior=SplitQuery
2022-02-14 21:01:56.084 +08:00 [INF] Executed DbCommand (155ms) [Parameters=[@p0='?' (DbType = Guid), @p1='?' (Size = 96), @p2='?' (Size = 512), @p3='?' (Size = 64), @p4='?' (Size = 64), @p5='?' (Size = 128), @p6='?' (Size = 256), @p7='?' (Size = 40), @p8='?' (Size = 64), @p9='?' (Size = 4000), @p10='?' (DbType = Int32), @p11='?' (DbType = DateTime2), @p12='?' (Size = 4000), @p13='?' (Size = 16), @p14='?' (DbType = Int32), @p15='?' (DbType = Guid), @p16='?' (DbType = Guid), @p17='?' (DbType = Guid), @p18='?' (Size = 4000), @p19='?' (Size = 256), @p20='?' (DbType = Guid), @p21='?' (Size = 256)], CommandType='"Text"', CommandTimeout='30']
SET NOCOUNT ON;
INSERT INTO [AbpAuditLogs] ([Id], [ApplicationName], [BrowserInfo], [ClientId], [ClientIpAddress], [ClientName], [Comments], [ConcurrencyStamp], [CorrelationId], [Exceptions], [ExecutionDuration], [ExecutionTime], [ExtraProperties], [HttpMethod], [HttpStatusCode], [ImpersonatorTenantId], [ImpersonatorUserId], [TenantId], [TenantName], [Url], [UserId], [UserName])
VALUES (@p0, @p1, @p2, @p3, @p4, @p5, @p6, @p7, @p8, @p9, @p10, @p11, @p12, @p13, @p14, @p15, @p16, @p17, @p18, @p19, @p20, @p21);
2022-02-14 21:01:56.437 +08:00 [DBG] Added 0 entity changes to the current audit log
2022-02-14 21:01:56.437 +08:00 [DBG] Added 0 entity changes to the current audit log
2022-02-14 21:01:56.465 +08:00 [INF] Request finished HTTP/2 POST https://localhost:5000/api/part/add application/json 3160 - 500 - application/json;+charset=utf-8 5510.1023ms
2022-02-14 21:16:50.965 +08:00 [INF] Starting web host.
2022-02-14 21:16:59.830 +08:00 [INF] User profile is available. Using 'C:\Users\lvcj2\AppData\Local\ASP.NET\DataProtection-Keys' as key repository and Windows DPAPI to encrypt keys at rest.
2022-02-14 21:16:59.960 +08:00 [INF] Loaded ABP modules:
2022-02-14 21:16:59.961 +08:00 [INF] - WmsWebApi.WmsWebApiHttpApiHostModule
2022-02-14 21:16:59.961 +08:00 [INF] - WmsWebApi.WmsWebApiApplicationModule
2022-02-14 21:16:59.961 +08:00 [INF] - WmsWebApi.WmsWebApiDomainModule
2022-02-14 21:16:59.961 +08:00 [INF] - Volo.Abp.Domain.AbpDddDomainModule
2022-02-14 21:16:59.961 +08:00 [INF] - Volo.Abp.Auditing.AbpAuditingModule
2022-02-14 21:16:59.961 +08:00 [INF] - Volo.Abp.Data.AbpDataModule
2022-02-14 21:16:59.961 +08:00 [INF] - Volo.Abp.ObjectExtending.AbpObjectExtendingModule
2022-02-14 21:16:59.961 +08:00 [INF] - Volo.Abp.Localization.AbpLocalizationAbstractionsModule
2022-02-14 21:16:59.961 +08:00 [INF] - Volo.Abp.Validation.AbpValidationAbstractionsModule
2022-02-14 21:16:59.961 +08:00 [INF] - Volo.Abp.Uow.AbpUnitOfWorkModule
2022-02-14 21:16:59.961 +08:00 [INF] - Volo.Abp.EventBus.Abstractions.AbpEventBusAbstractionsModule
2022-02-14 21:16:59.961 +08:00 [INF] - Volo.Abp.Json.AbpJsonModule
2022-02-14 21:16:59.961 +08:00 [INF] - Volo.Abp.Timing.AbpTimingModule
2022-02-14 21:16:59.961 +08:00 [INF] - Volo.Abp.Localization.AbpLocalizationModule
2022-02-14 21:16:59.961 +08:00 [INF] - Volo.Abp.VirtualFileSystem.AbpVirtualFileSystemModule
2022-02-14 21:16:59.961 +08:00 [INF] - Volo.Abp.Settings.AbpSettingsModule
2022-02-14 21:16:59.961 +08:00 [INF] - Volo.Abp.Security.AbpSecurityModule
2022-02-14 21:16:59.961 +08:00 [INF] - Volo.Abp.MultiTenancy.AbpMultiTenancyModule
2022-02-14 21:16:59.961 +08:00 [INF] - Volo.Abp.Threading.AbpThreadingModule
2022-02-14 21:16:59.961 +08:00 [INF] - Volo.Abp.EventBus.AbpEventBusModule
2022-02-14 21:16:59.961 +08:00 [INF] - Volo.Abp.Guids.AbpGuidsModule
2022-02-14 21:16:59.961 +08:00 [INF] - Volo.Abp.ObjectMapping.AbpObjectMappingModule
2022-02-14 21:16:59.961 +08:00 [INF] - Volo.Abp.ExceptionHandling.AbpExceptionHandlingModule
2022-02-14 21:16:59.961 +08:00 [INF] - Volo.Abp.Specifications.AbpSpecificationsModule
2022-02-14 21:16:59.961 +08:00 [INF] - WmsWebApi.WmsWebApiDomainSharedModule
2022-02-14 21:16:59.961 +08:00 [INF] - Volo.Abp.Validation.AbpValidationModule
2022-02-14 21:16:59.961 +08:00 [INF] - WmsWebApi.WmsWebApiApplicationContractsModule
2022-02-14 21:16:59.961 +08:00 [INF] - Volo.Abp.Application.AbpDddApplicationContractsModule
2022-02-14 21:16:59.961 +08:00 [INF] - Volo.Abp.Authorization.AbpAuthorizationModule
2022-02-14 21:16:59.961 +08:00 [INF] - Volo.Abp.Authorization.AbpAuthorizationAbstractionsModule
2022-02-14 21:16:59.961 +08:00 [INF] - Volo.Abp.Application.AbpDddApplicationModule
2022-02-14 21:16:59.961 +08:00 [INF] - Volo.Abp.Http.AbpHttpAbstractionsModule
2022-02-14 21:16:59.961 +08:00 [INF] - Volo.Abp.Features.AbpFeaturesModule
2022-02-14 21:16:59.961 +08:00 [INF] - Volo.Abp.GlobalFeatures.AbpGlobalFeaturesModule
2022-02-14 21:16:59.961 +08:00 [INF] - Volo.Abp.AutoMapper.AbpAutoMapperModule
2022-02-14 21:16:59.961 +08:00 [INF] - WmsWebApi.EntityFrameworkCore.WmsWebApiEntityFrameworkCoreModule
2022-02-14 21:16:59.961 +08:00 [INF] - Volo.Abp.EntityFrameworkCore.AbpEntityFrameworkCoreModule
2022-02-14 21:16:59.961 +08:00 [INF] - WmsWebApi.WmsWebApiHttpApiModule
2022-02-14 21:16:59.961 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.AbpAspNetCoreMvcModule
2022-02-14 21:16:59.961 +08:00 [INF] - Volo.Abp.AspNetCore.AbpAspNetCoreModule
2022-02-14 21:16:59.961 +08:00 [INF] - Volo.Abp.Http.AbpHttpModule
2022-02-14 21:16:59.961 +08:00 [INF] - Volo.Abp.Minify.AbpMinifyModule
2022-02-14 21:16:59.961 +08:00 [INF] - Volo.Abp.ApiVersioning.AbpApiVersioningAbstractionsModule
2022-02-14 21:16:59.961 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.AbpAspNetCoreMvcContractsModule
2022-02-14 21:16:59.961 +08:00 [INF] - Volo.Abp.UI.Navigation.AbpUiNavigationModule
2022-02-14 21:16:59.961 +08:00 [INF] - Volo.Abp.UI.AbpUiModule
2022-02-14 21:16:59.961 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.UI.MultiTenancy.AbpAspNetCoreMvcUiMultiTenancyModule
2022-02-14 21:16:59.961 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.UI.Theme.Shared.AbpAspNetCoreMvcUiThemeSharedModule
2022-02-14 21:16:59.961 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.AbpAspNetCoreMvcUiBootstrapModule
2022-02-14 21:16:59.961 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.UI.AbpAspNetCoreMvcUiModule
2022-02-14 21:16:59.961 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.UI.Packages.AbpAspNetCoreMvcUiPackagesModule
2022-02-14 21:16:59.961 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.UI.Bundling.AbpAspNetCoreMvcUiBundlingAbstractionsModule
2022-02-14 21:16:59.961 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.UI.Widgets.AbpAspNetCoreMvcUiWidgetsModule
2022-02-14 21:16:59.961 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.UI.Bundling.AbpAspNetCoreMvcUiBundlingModule
2022-02-14 21:16:59.961 +08:00 [INF] - Volo.Abp.AspNetCore.MultiTenancy.AbpAspNetCoreMultiTenancyModule
2022-02-14 21:16:59.961 +08:00 [INF] - Volo.Abp.Autofac.AbpAutofacModule
2022-02-14 21:16:59.961 +08:00 [INF] - Volo.Abp.Castle.AbpCastleCoreModule
2022-02-14 21:16:59.961 +08:00 [INF] - Volo.Abp.Caching.StackExchangeRedis.AbpCachingStackExchangeRedisModule
2022-02-14 21:16:59.961 +08:00 [INF] - Volo.Abp.Caching.AbpCachingModule
2022-02-14 21:16:59.961 +08:00 [INF] - Volo.Abp.Serialization.AbpSerializationModule
2022-02-14 21:16:59.961 +08:00 [INF] - Volo.Abp.EntityFrameworkCore.SqlServer.AbpEntityFrameworkCoreSqlServerModule
2022-02-14 21:16:59.961 +08:00 [INF] - Volo.Abp.AuditLogging.EntityFrameworkCore.AbpAuditLoggingEntityFrameworkCoreModule
2022-02-14 21:16:59.961 +08:00 [INF] - Volo.Abp.AuditLogging.AbpAuditLoggingDomainModule
2022-02-14 21:16:59.961 +08:00 [INF] - Volo.Abp.AuditLogging.AbpAuditLoggingDomainSharedModule
2022-02-14 21:16:59.961 +08:00 [INF] - Volo.Abp.PermissionManagement.EntityFrameworkCore.AbpPermissionManagementEntityFrameworkCoreModule
2022-02-14 21:16:59.961 +08:00 [INF] - Volo.Abp.PermissionManagement.AbpPermissionManagementDomainModule
2022-02-14 21:16:59.961 +08:00 [INF] - Volo.Abp.PermissionManagement.AbpPermissionManagementDomainSharedModule
2022-02-14 21:16:59.961 +08:00 [INF] - Volo.Abp.SettingManagement.EntityFrameworkCore.AbpSettingManagementEntityFrameworkCoreModule
2022-02-14 21:16:59.961 +08:00 [INF] - Volo.Abp.SettingManagement.AbpSettingManagementDomainModule
2022-02-14 21:16:59.961 +08:00 [INF] - Volo.Abp.SettingManagement.AbpSettingManagementDomainSharedModule
2022-02-14 21:16:59.961 +08:00 [INF] - Volo.Abp.AspNetCore.Serilog.AbpAspNetCoreSerilogModule
2022-02-14 21:16:59.961 +08:00 [INF] - Volo.Abp.Swashbuckle.AbpSwashbuckleModule
2022-02-14 21:17:00.986 +08:00 [INF] Initialized all ABP modules.
2022-02-14 21:17:02.929 +08:00 [INF] Now listening on: https://localhost:5000
2022-02-14 21:17:02.930 +08:00 [INF] Application started. Press Ctrl+C to shut down.
2022-02-14 21:17:02.930 +08:00 [INF] Hosting environment: Development
2022-02-14 21:17:02.930 +08:00 [INF] Content root path: D:\工作\派格\接口程序\WmsWebApi\host\WmsWebApi.HttpApi.Host
2022-02-14 21:17:09.928 +08:00 [INF] Request starting HTTP/2 GET https://localhost:5000/ - -
2022-02-14 21:17:14.905 +08:00 [INF] Executing endpoint 'WmsWebApi.Controllers.HomeController.Index (WmsWebApi.HttpApi.Host)'
2022-02-14 21:17:15.185 +08:00 [INF] Route matched with {action = "Index", controller = "Home", area = "", page = ""}. Executing controller action with signature Microsoft.AspNetCore.Mvc.ActionResult Index() on controller WmsWebApi.Controllers.HomeController (WmsWebApi.HttpApi.Host).
2022-02-14 21:17:15.836 +08:00 [INF] Executing action method WmsWebApi.Controllers.HomeController.Index (WmsWebApi.HttpApi.Host) - Validation state: "Valid"
2022-02-14 21:17:15.853 +08:00 [INF] Executed action method WmsWebApi.Controllers.HomeController.Index (WmsWebApi.HttpApi.Host), returned result Microsoft.AspNetCore.Mvc.RedirectResult in 1.2656ms.
2022-02-14 21:17:15.871 +08:00 [INF] Executing RedirectResult, redirecting to /swagger.
2022-02-14 21:17:15.892 +08:00 [INF] Executed action WmsWebApi.Controllers.HomeController.Index (WmsWebApi.HttpApi.Host) in 688.3809ms
2022-02-14 21:17:15.893 +08:00 [INF] Executed endpoint 'WmsWebApi.Controllers.HomeController.Index (WmsWebApi.HttpApi.Host)'
2022-02-14 21:17:15.978 +08:00 [INF] Request finished HTTP/2 GET https://localhost:5000/ - - - 302 0 - 6055.4636ms
2022-02-14 21:17:15.983 +08:00 [INF] Request starting HTTP/2 GET https://localhost:5000/swagger/index.html - -
2022-02-14 21:17:16.716 +08:00 [INF] Request finished HTTP/2 GET https://localhost:5000/swagger/index.html - - - 200 - text/html;charset=utf-8 732.4821ms
2022-02-14 21:17:17.430 +08:00 [INF] Request starting HTTP/2 GET https://localhost:5000/_framework/aspnetcore-browser-refresh.js - -
2022-02-14 21:17:17.441 +08:00 [INF] Request finished HTTP/2 GET https://localhost:5000/_framework/aspnetcore-browser-refresh.js - - - 200 11956 application/javascript;+charset=utf-8 11.9293ms
2022-02-14 21:17:18.149 +08:00 [INF] Request starting HTTP/2 GET https://localhost:5000/swagger/v1/swagger.json - -
2022-02-14 21:17:18.675 +08:00 [INF] Request finished HTTP/2 GET https://localhost:5000/swagger/v1/swagger.json - - - 200 - application/json;charset=utf-8 525.9891ms
2022-02-14 21:17:27.396 +08:00 [INF] Request starting HTTP/2 GET https://localhost:5000/abp/Swashbuckle/SetCsrfCookie application/json -
2022-02-14 21:17:27.411 +08:00 [INF] Executing endpoint 'Volo.Abp.Swashbuckle.AbpSwashbuckleController.SetCsrfCookie (Volo.Abp.Swashbuckle)'
2022-02-14 21:17:27.416 +08:00 [INF] Route matched with {area = "Abp", action = "SetCsrfCookie", controller = "AbpSwashbuckle", page = ""}. Executing controller action with signature Void SetCsrfCookie() on controller Volo.Abp.Swashbuckle.AbpSwashbuckleController (Volo.Abp.Swashbuckle).
2022-02-14 21:17:27.700 +08:00 [INF] Executing action method Volo.Abp.Swashbuckle.AbpSwashbuckleController.SetCsrfCookie (Volo.Abp.Swashbuckle) - Validation state: "Valid"
2022-02-14 21:17:27.726 +08:00 [INF] Executed action method Volo.Abp.Swashbuckle.AbpSwashbuckleController.SetCsrfCookie (Volo.Abp.Swashbuckle), returned result Microsoft.AspNetCore.Mvc.EmptyResult in 26.2171ms.
2022-02-14 21:17:27.727 +08:00 [INF] Executed action Volo.Abp.Swashbuckle.AbpSwashbuckleController.SetCsrfCookie (Volo.Abp.Swashbuckle) in 310.7322ms
2022-02-14 21:17:27.728 +08:00 [INF] Executed endpoint 'Volo.Abp.Swashbuckle.AbpSwashbuckleController.SetCsrfCookie (Volo.Abp.Swashbuckle)'
2022-02-14 21:17:27.730 +08:00 [INF] Request finished HTTP/2 GET https://localhost:5000/abp/Swashbuckle/SetCsrfCookie application/json - - 204 - - 333.7211ms
2022-02-14 21:17:27.933 +08:00 [INF] Request starting HTTP/2 POST https://localhost:5000/api/part/add application/json 8
2022-02-14 21:17:27.954 +08:00 [INF] CORS policy execution failed.
2022-02-14 21:17:27.955 +08:00 [INF] Request origin https://localhost:5000 does not have permission to access the resource.
2022-02-14 21:17:27.964 +08:00 [INF] Executing endpoint 'WmsWebApi.Parts.PartService.AddAsync (WmsWebApi.Application)'
2022-02-14 21:17:28.034 +08:00 [INF] Route matched with {action = "Add", controller = "Part", area = "", page = ""}. Executing controller action with signature System.Threading.Tasks.Task`1[WmsWebApi.Parts.ReturnResult] AddAsync(System.Object) on controller WmsWebApi.Parts.PartService (WmsWebApi.Application).
2022-02-14 21:17:28.293 +08:00 [ERR] ---------- RemoteServiceErrorInfo ----------
{
"code": null,
"message": "An internal error occurred during your request!",
"details": null,
"data": {
"ActivatorChain": "Castle.Proxies.PartServiceProxy"
},
"validationErrors": null
}
2022-02-14 21:17:28.295 +08:00 [ERR] An exception was thrown while activating Castle.Proxies.PartServiceProxy.
Autofac.Core.DependencyResolutionException: An exception was thrown while activating Castle.Proxies.PartServiceProxy.
---> Autofac.Core.DependencyResolutionException: None of the constructors found with 'Volo.Abp.Autofac.AbpAutofacConstructorFinder' on type 'Castle.Proxies.PartServiceProxy' can be invoked with the available services and parameters:
Cannot resolve parameter 'Volo.Abp.Domain.Repositories.IRepository`2[WmsWebApi.Parts.WmsWebApiPARTDTO,System.Guid] partDtoRepository' of constructor 'Void .ctor(Castle.DynamicProxy.IInterceptor[], WmsWebApi.Wms.ITmPgPartgroupRepository, WmsWebApi.Wms.ITaPartRepository, WmsWebApi.Wms.ITaCustPartRepository, Volo.Abp.Domain.Repositories.IRepository`2[WmsWebApi.Parts.WmsWebApiPARTDTO,System.Guid])'.
at Autofac.Core.Activators.Reflection.ReflectionActivator.GetAllBindings(ConstructorBinder[] availableConstructors, IComponentContext context, IEnumerable`1 parameters)
at Autofac.Core.Activators.Reflection.ReflectionActivator.ActivateInstance(IComponentContext context, IEnumerable`1 parameters)
at Autofac.Core.Activators.Reflection.ReflectionActivator.<ConfigurePipeline>b__11_0(ResolveRequestContext ctxt, Action`1 next)
at Autofac.Core.Resolving.Pipeline.ResolvePipelineBuilder.<>c__DisplayClass14_0.<BuildPipeline>b__1(ResolveRequestContext ctxt)
at Autofac.Core.Resolving.Middleware.DisposalTrackingMiddleware.Execute(ResolveRequestContext context, Action`1 next)
at Autofac.Core.Resolving.Pipeline.ResolvePipelineBuilder.<>c__DisplayClass14_0.<BuildPipeline>b__1(ResolveRequestContext ctxt)
at Autofac.Builder.RegistrationBuilder`3.<>c__DisplayClass41_0.<PropertiesAutowired>b__0(ResolveRequestContext ctxt, Action`1 next)
at Autofac.Core.Resolving.Pipeline.ResolvePipelineBuilder.<>c__DisplayClass14_0.<BuildPipeline>b__1(ResolveRequestContext ctxt)
at Autofac.Core.Resolving.Middleware.ActivatorErrorHandlingMiddleware.Execute(ResolveRequestContext context, Action`1 next)
--- End of inner exception stack trace ---
at Autofac.Core.Resolving.Middleware.ActivatorErrorHandlingMiddleware.Execute(ResolveRequestContext context, Action`1 next)
at Autofac.Core.Resolving.Pipeline.ResolvePipelineBuilder.<>c__DisplayClass14_0.<BuildPipeline>b__1(ResolveRequestContext ctxt)
at Autofac.Builder.RegistrationBuilder`3.<>c__DisplayClass35_0.<OnPreparing>b__0(ResolveRequestContext ctxt, Action`1 next)
at Autofac.Core.Resolving.Middleware.CoreEventMiddleware.Execute(ResolveRequestContext context, Action`1 next)
at Autofac.Core.Resolving.Pipeline.ResolvePipelineBuilder.<>c__DisplayClass14_0.<BuildPipeline>b__1(ResolveRequestContext ctxt)
at Autofac.Core.Resolving.Pipeline.ResolvePipelineBuilder.<>c__DisplayClass14_0.<BuildPipeline>b__1(ResolveRequestContext ctxt)
at Autofac.Core.Resolving.Middleware.SharingMiddleware.Execute(ResolveRequestContext context, Action`1 next)
at Autofac.Core.Resolving.Pipeline.ResolvePipelineBuilder.<>c__DisplayClass14_0.<BuildPipeline>b__1(ResolveRequestContext ctxt)
at Autofac.Core.Resolving.Pipeline.ResolvePipelineBuilder.<>c__DisplayClass14_0.<BuildPipeline>b__1(ResolveRequestContext ctxt)
at Autofac.Core.Resolving.Middleware.CircularDependencyDetectorMiddleware.Execute(ResolveRequestContext context, Action`1 next)
at Autofac.Core.Resolving.Pipeline.ResolvePipelineBuilder.<>c__DisplayClass14_0.<BuildPipeline>b__1(ResolveRequestContext ctxt)
at Autofac.Core.Resolving.ResolveOperation.GetOrCreateInstance(ISharingLifetimeScope currentOperationScope, ResolveRequest request)
at Autofac.Core.Resolving.ResolveOperation.ExecuteOperation(ResolveRequest request)
at Autofac.ResolutionExtensions.TryResolveService(IComponentContext context, Service service, IEnumerable`1 parameters, Object& instance)
at Autofac.ResolutionExtensions.ResolveService(IComponentContext context, Service service, IEnumerable`1 parameters)
at Microsoft.AspNetCore.Mvc.Controllers.ServiceBasedControllerActivator.Create(ControllerContext actionContext)
at Microsoft.AspNetCore.Mvc.Controllers.ControllerFactoryProvider.<>c__DisplayClass5_0.<CreateControllerFactory>g__CreateController|0(ControllerContext controllerContext)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.InvokeInnerFilterAsync()
--- End of stack trace from previous location ---
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeNextExceptionFilterAsync>g__Awaited|25_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
2022-02-14 21:17:28.304 +08:00 [ERR] ---------- Exception Data ----------
ActivatorChain = Castle.Proxies.PartServiceProxy
2022-02-14 21:17:28.339 +08:00 [INF] Executing ObjectResult, writing value of type 'Volo.Abp.Http.RemoteServiceErrorResponse'.
2022-02-14 21:17:28.434 +08:00 [INF] Executed action WmsWebApi.Parts.PartService.AddAsync (WmsWebApi.Application) in 400.214ms
2022-02-14 21:17:28.434 +08:00 [INF] Executed endpoint 'WmsWebApi.Parts.PartService.AddAsync (WmsWebApi.Application)'
2022-02-14 21:17:31.828 +08:00 [INF] Entity Framework Core 5.0.13 initialized 'AbpAuditLoggingDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: QuerySplittingBehavior=SplitQuery
2022-02-14 21:17:34.170 +08:00 [INF] Executed DbCommand (238ms) [Parameters=[@p0='?' (DbType = Guid), @p1='?' (Size = 96), @p2='?' (Size = 512), @p3='?' (Size = 64), @p4='?' (Size = 64), @p5='?' (Size = 128), @p6='?' (Size = 256), @p7='?' (Size = 40), @p8='?' (Size = 64), @p9='?' (Size = 4000), @p10='?' (DbType = Int32), @p11='?' (DbType = DateTime2), @p12='?' (Size = 4000), @p13='?' (Size = 16), @p14='?' (DbType = Int32), @p15='?' (DbType = Guid), @p16='?' (DbType = Guid), @p17='?' (DbType = Guid), @p18='?' (Size = 4000), @p19='?' (Size = 256), @p20='?' (DbType = Guid), @p21='?' (Size = 256)], CommandType='"Text"', CommandTimeout='30']
SET NOCOUNT ON;
INSERT INTO [AbpAuditLogs] ([Id], [ApplicationName], [BrowserInfo], [ClientId], [ClientIpAddress], [ClientName], [Comments], [ConcurrencyStamp], [CorrelationId], [Exceptions], [ExecutionDuration], [ExecutionTime], [ExtraProperties], [HttpMethod], [HttpStatusCode], [ImpersonatorTenantId], [ImpersonatorUserId], [TenantId], [TenantName], [Url], [UserId], [UserName])
VALUES (@p0, @p1, @p2, @p3, @p4, @p5, @p6, @p7, @p8, @p9, @p10, @p11, @p12, @p13, @p14, @p15, @p16, @p17, @p18, @p19, @p20, @p21);
2022-02-14 21:17:34.552 +08:00 [DBG] Added 0 entity changes to the current audit log
2022-02-14 21:17:34.553 +08:00 [DBG] Added 0 entity changes to the current audit log
2022-02-14 21:17:34.597 +08:00 [INF] Request finished HTTP/2 POST https://localhost:5000/api/part/add application/json 8 - 500 - application/json;+charset=utf-8 6663.5627ms
2022-02-14 21:19:29.791 +08:00 [INF] Starting web host.
2022-02-14 21:19:37.435 +08:00 [INF] User profile is available. Using 'C:\Users\lvcj2\AppData\Local\ASP.NET\DataProtection-Keys' as key repository and Windows DPAPI to encrypt keys at rest.
2022-02-14 21:19:37.847 +08:00 [INF] Loaded ABP modules:
2022-02-14 21:19:37.848 +08:00 [INF] - WmsWebApi.WmsWebApiHttpApiHostModule
2022-02-14 21:19:37.848 +08:00 [INF] - WmsWebApi.WmsWebApiApplicationModule
2022-02-14 21:19:37.848 +08:00 [INF] - WmsWebApi.WmsWebApiDomainModule
2022-02-14 21:19:37.848 +08:00 [INF] - Volo.Abp.Domain.AbpDddDomainModule
2022-02-14 21:19:37.848 +08:00 [INF] - Volo.Abp.Auditing.AbpAuditingModule
2022-02-14 21:19:37.848 +08:00 [INF] - Volo.Abp.Data.AbpDataModule
2022-02-14 21:19:37.848 +08:00 [INF] - Volo.Abp.ObjectExtending.AbpObjectExtendingModule
2022-02-14 21:19:37.848 +08:00 [INF] - Volo.Abp.Localization.AbpLocalizationAbstractionsModule
2022-02-14 21:19:37.848 +08:00 [INF] - Volo.Abp.Validation.AbpValidationAbstractionsModule
2022-02-14 21:19:37.848 +08:00 [INF] - Volo.Abp.Uow.AbpUnitOfWorkModule
2022-02-14 21:19:37.848 +08:00 [INF] - Volo.Abp.EventBus.Abstractions.AbpEventBusAbstractionsModule
2022-02-14 21:19:37.848 +08:00 [INF] - Volo.Abp.Json.AbpJsonModule
2022-02-14 21:19:37.848 +08:00 [INF] - Volo.Abp.Timing.AbpTimingModule
2022-02-14 21:19:37.848 +08:00 [INF] - Volo.Abp.Localization.AbpLocalizationModule
2022-02-14 21:19:37.848 +08:00 [INF] - Volo.Abp.VirtualFileSystem.AbpVirtualFileSystemModule
2022-02-14 21:19:37.848 +08:00 [INF] - Volo.Abp.Settings.AbpSettingsModule
2022-02-14 21:19:37.848 +08:00 [INF] - Volo.Abp.Security.AbpSecurityModule
2022-02-14 21:19:37.848 +08:00 [INF] - Volo.Abp.MultiTenancy.AbpMultiTenancyModule
2022-02-14 21:19:37.848 +08:00 [INF] - Volo.Abp.Threading.AbpThreadingModule
2022-02-14 21:19:37.848 +08:00 [INF] - Volo.Abp.EventBus.AbpEventBusModule
2022-02-14 21:19:37.848 +08:00 [INF] - Volo.Abp.Guids.AbpGuidsModule
2022-02-14 21:19:37.848 +08:00 [INF] - Volo.Abp.ObjectMapping.AbpObjectMappingModule
2022-02-14 21:19:37.848 +08:00 [INF] - Volo.Abp.ExceptionHandling.AbpExceptionHandlingModule
2022-02-14 21:19:37.848 +08:00 [INF] - Volo.Abp.Specifications.AbpSpecificationsModule
2022-02-14 21:19:37.848 +08:00 [INF] - WmsWebApi.WmsWebApiDomainSharedModule
2022-02-14 21:19:37.848 +08:00 [INF] - Volo.Abp.Validation.AbpValidationModule
2022-02-14 21:19:37.848 +08:00 [INF] - WmsWebApi.WmsWebApiApplicationContractsModule
2022-02-14 21:19:37.851 +08:00 [INF] - Volo.Abp.Application.AbpDddApplicationContractsModule
2022-02-14 21:19:37.851 +08:00 [INF] - Volo.Abp.Authorization.AbpAuthorizationModule
2022-02-14 21:19:37.851 +08:00 [INF] - Volo.Abp.Authorization.AbpAuthorizationAbstractionsModule
2022-02-14 21:19:37.851 +08:00 [INF] - Volo.Abp.Application.AbpDddApplicationModule
2022-02-14 21:19:37.851 +08:00 [INF] - Volo.Abp.Http.AbpHttpAbstractionsModule
2022-02-14 21:19:37.851 +08:00 [INF] - Volo.Abp.Features.AbpFeaturesModule
2022-02-14 21:19:37.851 +08:00 [INF] - Volo.Abp.GlobalFeatures.AbpGlobalFeaturesModule
2022-02-14 21:19:37.851 +08:00 [INF] - Volo.Abp.AutoMapper.AbpAutoMapperModule
2022-02-14 21:19:37.851 +08:00 [INF] - WmsWebApi.EntityFrameworkCore.WmsWebApiEntityFrameworkCoreModule
2022-02-14 21:19:37.851 +08:00 [INF] - Volo.Abp.EntityFrameworkCore.AbpEntityFrameworkCoreModule
2022-02-14 21:19:37.851 +08:00 [INF] - WmsWebApi.WmsWebApiHttpApiModule
2022-02-14 21:19:37.851 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.AbpAspNetCoreMvcModule
2022-02-14 21:19:37.851 +08:00 [INF] - Volo.Abp.AspNetCore.AbpAspNetCoreModule
2022-02-14 21:19:37.851 +08:00 [INF] - Volo.Abp.Http.AbpHttpModule
2022-02-14 21:19:37.851 +08:00 [INF] - Volo.Abp.Minify.AbpMinifyModule
2022-02-14 21:19:37.851 +08:00 [INF] - Volo.Abp.ApiVersioning.AbpApiVersioningAbstractionsModule
2022-02-14 21:19:37.851 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.AbpAspNetCoreMvcContractsModule
2022-02-14 21:19:37.851 +08:00 [INF] - Volo.Abp.UI.Navigation.AbpUiNavigationModule
2022-02-14 21:19:37.851 +08:00 [INF] - Volo.Abp.UI.AbpUiModule
2022-02-14 21:19:37.851 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.UI.MultiTenancy.AbpAspNetCoreMvcUiMultiTenancyModule
2022-02-14 21:19:37.851 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.UI.Theme.Shared.AbpAspNetCoreMvcUiThemeSharedModule
2022-02-14 21:19:37.851 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.AbpAspNetCoreMvcUiBootstrapModule
2022-02-14 21:19:37.851 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.UI.AbpAspNetCoreMvcUiModule
2022-02-14 21:19:37.851 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.UI.Packages.AbpAspNetCoreMvcUiPackagesModule
2022-02-14 21:19:37.851 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.UI.Bundling.AbpAspNetCoreMvcUiBundlingAbstractionsModule
2022-02-14 21:19:37.851 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.UI.Widgets.AbpAspNetCoreMvcUiWidgetsModule
2022-02-14 21:19:37.851 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.UI.Bundling.AbpAspNetCoreMvcUiBundlingModule
2022-02-14 21:19:37.851 +08:00 [INF] - Volo.Abp.AspNetCore.MultiTenancy.AbpAspNetCoreMultiTenancyModule
2022-02-14 21:19:37.851 +08:00 [INF] - Volo.Abp.Autofac.AbpAutofacModule
2022-02-14 21:19:37.851 +08:00 [INF] - Volo.Abp.Castle.AbpCastleCoreModule
2022-02-14 21:19:37.851 +08:00 [INF] - Volo.Abp.Caching.StackExchangeRedis.AbpCachingStackExchangeRedisModule
2022-02-14 21:19:37.851 +08:00 [INF] - Volo.Abp.Caching.AbpCachingModule
2022-02-14 21:19:37.851 +08:00 [INF] - Volo.Abp.Serialization.AbpSerializationModule
2022-02-14 21:19:37.851 +08:00 [INF] - Volo.Abp.EntityFrameworkCore.SqlServer.AbpEntityFrameworkCoreSqlServerModule
2022-02-14 21:19:37.852 +08:00 [INF] - Volo.Abp.AuditLogging.EntityFrameworkCore.AbpAuditLoggingEntityFrameworkCoreModule
2022-02-14 21:19:37.852 +08:00 [INF] - Volo.Abp.AuditLogging.AbpAuditLoggingDomainModule
2022-02-14 21:19:37.852 +08:00 [INF] - Volo.Abp.AuditLogging.AbpAuditLoggingDomainSharedModule
2022-02-14 21:19:37.852 +08:00 [INF] - Volo.Abp.PermissionManagement.EntityFrameworkCore.AbpPermissionManagementEntityFrameworkCoreModule
2022-02-14 21:19:37.852 +08:00 [INF] - Volo.Abp.PermissionManagement.AbpPermissionManagementDomainModule
2022-02-14 21:19:37.852 +08:00 [INF] - Volo.Abp.PermissionManagement.AbpPermissionManagementDomainSharedModule
2022-02-14 21:19:37.852 +08:00 [INF] - Volo.Abp.SettingManagement.EntityFrameworkCore.AbpSettingManagementEntityFrameworkCoreModule
2022-02-14 21:19:37.852 +08:00 [INF] - Volo.Abp.SettingManagement.AbpSettingManagementDomainModule
2022-02-14 21:19:37.852 +08:00 [INF] - Volo.Abp.SettingManagement.AbpSettingManagementDomainSharedModule
2022-02-14 21:19:37.853 +08:00 [INF] - Volo.Abp.AspNetCore.Serilog.AbpAspNetCoreSerilogModule
2022-02-14 21:19:37.853 +08:00 [INF] - Volo.Abp.Swashbuckle.AbpSwashbuckleModule
2022-02-14 21:19:40.985 +08:00 [INF] Initialized all ABP modules.
2022-02-14 21:19:42.213 +08:00 [INF] Now listening on: https://localhost:5000
2022-02-14 21:19:42.214 +08:00 [INF] Application started. Press Ctrl+C to shut down.
2022-02-14 21:19:42.214 +08:00 [INF] Hosting environment: Development
2022-02-14 21:19:42.214 +08:00 [INF] Content root path: D:\工作\派格\接口程序\WmsWebApi\host\WmsWebApi.HttpApi.Host
2022-02-14 21:19:49.540 +08:00 [INF] Request starting HTTP/2 GET https://localhost:5000/ - -
2022-02-14 21:19:53.079 +08:00 [INF] Executing endpoint 'WmsWebApi.Controllers.HomeController.Index (WmsWebApi.HttpApi.Host)'
2022-02-14 21:19:53.219 +08:00 [INF] Route matched with {action = "Index", controller = "Home", area = "", page = ""}. Executing controller action with signature Microsoft.AspNetCore.Mvc.ActionResult Index() on controller WmsWebApi.Controllers.HomeController (WmsWebApi.HttpApi.Host).
2022-02-14 21:19:53.658 +08:00 [INF] Executing action method WmsWebApi.Controllers.HomeController.Index (WmsWebApi.HttpApi.Host) - Validation state: "Valid"
2022-02-14 21:19:53.675 +08:00 [INF] Executed action method WmsWebApi.Controllers.HomeController.Index (WmsWebApi.HttpApi.Host), returned result Microsoft.AspNetCore.Mvc.RedirectResult in 0.9739ms.
2022-02-14 21:19:53.688 +08:00 [INF] Executing RedirectResult, redirecting to /swagger.
2022-02-14 21:19:53.702 +08:00 [INF] Executed action WmsWebApi.Controllers.HomeController.Index (WmsWebApi.HttpApi.Host) in 470.1961ms
2022-02-14 21:19:53.702 +08:00 [INF] Executed endpoint 'WmsWebApi.Controllers.HomeController.Index (WmsWebApi.HttpApi.Host)'
2022-02-14 21:19:53.768 +08:00 [INF] Request finished HTTP/2 GET https://localhost:5000/ - - - 302 0 - 4229.2848ms
2022-02-14 21:19:53.792 +08:00 [INF] Request starting HTTP/2 GET https://localhost:5000/swagger/index.html - -
2022-02-14 21:19:54.396 +08:00 [INF] Request finished HTTP/2 GET https://localhost:5000/swagger/index.html - - - 200 - text/html;charset=utf-8 618.8848ms
2022-02-14 21:19:55.002 +08:00 [INF] Request starting HTTP/2 GET https://localhost:5000/_framework/aspnetcore-browser-refresh.js - -
2022-02-14 21:19:55.011 +08:00 [INF] Request finished HTTP/2 GET https://localhost:5000/_framework/aspnetcore-browser-refresh.js - - - 200 11956 application/javascript;+charset=utf-8 8.4490ms
2022-02-14 21:19:55.576 +08:00 [INF] Request starting HTTP/2 GET https://localhost:5000/swagger/v1/swagger.json - -
2022-02-14 21:19:56.063 +08:00 [INF] Request finished HTTP/2 GET https://localhost:5000/swagger/v1/swagger.json - - - 200 - application/json;charset=utf-8 486.6528ms
2022-02-14 21:20:03.009 +08:00 [INF] Request starting HTTP/2 GET https://localhost:5000/abp/Swashbuckle/SetCsrfCookie application/json -
2022-02-14 21:20:03.012 +08:00 [INF] Executing endpoint 'Volo.Abp.Swashbuckle.AbpSwashbuckleController.SetCsrfCookie (Volo.Abp.Swashbuckle)'
2022-02-14 21:20:03.014 +08:00 [INF] Route matched with {area = "Abp", action = "SetCsrfCookie", controller = "AbpSwashbuckle", page = ""}. Executing controller action with signature Void SetCsrfCookie() on controller Volo.Abp.Swashbuckle.AbpSwashbuckleController (Volo.Abp.Swashbuckle).
2022-02-14 21:20:03.092 +08:00 [INF] Executing action method Volo.Abp.Swashbuckle.AbpSwashbuckleController.SetCsrfCookie (Volo.Abp.Swashbuckle) - Validation state: "Valid"
2022-02-14 21:20:03.103 +08:00 [INF] Executed action method Volo.Abp.Swashbuckle.AbpSwashbuckleController.SetCsrfCookie (Volo.Abp.Swashbuckle), returned result Microsoft.AspNetCore.Mvc.EmptyResult in 10.5721ms.
2022-02-14 21:20:03.103 +08:00 [INF] Executed action Volo.Abp.Swashbuckle.AbpSwashbuckleController.SetCsrfCookie (Volo.Abp.Swashbuckle) in 88.9618ms
2022-02-14 21:20:03.103 +08:00 [INF] Executed endpoint 'Volo.Abp.Swashbuckle.AbpSwashbuckleController.SetCsrfCookie (Volo.Abp.Swashbuckle)'
2022-02-14 21:20:03.103 +08:00 [INF] Request finished HTTP/2 GET https://localhost:5000/abp/Swashbuckle/SetCsrfCookie application/json - - 204 - - 94.7655ms
2022-02-14 21:20:03.165 +08:00 [INF] Request starting HTTP/2 POST https://localhost:5000/api/part/add application/json 8
2022-02-14 21:20:03.171 +08:00 [INF] CORS policy execution failed.
2022-02-14 21:20:03.171 +08:00 [INF] Request origin https://localhost:5000 does not have permission to access the resource.
2022-02-14 21:20:03.176 +08:00 [INF] Executing endpoint 'WmsWebApi.Parts.PartService.AddAsync (WmsWebApi.Application)'
2022-02-14 21:20:03.199 +08:00 [INF] Route matched with {action = "Add", controller = "Part", area = "", page = ""}. Executing controller action with signature System.Threading.Tasks.Task`1[WmsWebApi.Parts.ReturnResult] AddAsync(System.Object) on controller WmsWebApi.Parts.PartService (WmsWebApi.Application).
2022-02-14 21:20:03.284 +08:00 [ERR] ---------- RemoteServiceErrorInfo ----------
{
"code": null,
"message": "An internal error occurred during your request!",
"details": null,
"data": {
"ActivatorChain": "Castle.Proxies.PartServiceProxy"
},
"validationErrors": null
}
2022-02-14 21:20:03.285 +08:00 [ERR] An exception was thrown while activating Castle.Proxies.PartServiceProxy.
Autofac.Core.DependencyResolutionException: An exception was thrown while activating Castle.Proxies.PartServiceProxy.
---> Autofac.Core.DependencyResolutionException: None of the constructors found with 'Volo.Abp.Autofac.AbpAutofacConstructorFinder' on type 'Castle.Proxies.PartServiceProxy' can be invoked with the available services and parameters:
Cannot resolve parameter 'Volo.Abp.Domain.Repositories.IRepository`2[WmsWebApi.Parts.WmsWebApiPARTDTO,System.Guid] partDtoRepository' of constructor 'Void .ctor(Castle.DynamicProxy.IInterceptor[], WmsWebApi.Wms.ITmPgPartgroupRepository, WmsWebApi.Wms.ITaPartRepository, WmsWebApi.Wms.ITaCustPartRepository, Volo.Abp.Domain.Repositories.IRepository`2[WmsWebApi.Parts.WmsWebApiPARTDTO,System.Guid])'.
at Autofac.Core.Activators.Reflection.ReflectionActivator.GetAllBindings(ConstructorBinder[] availableConstructors, IComponentContext context, IEnumerable`1 parameters)
at Autofac.Core.Activators.Reflection.ReflectionActivator.ActivateInstance(IComponentContext context, IEnumerable`1 parameters)
at Autofac.Core.Activators.Reflection.ReflectionActivator.<ConfigurePipeline>b__11_0(ResolveRequestContext ctxt, Action`1 next)
at Autofac.Core.Resolving.Pipeline.ResolvePipelineBuilder.<>c__DisplayClass14_0.<BuildPipeline>b__1(ResolveRequestContext ctxt)
at Autofac.Core.Resolving.Middleware.DisposalTrackingMiddleware.Execute(ResolveRequestContext context, Action`1 next)
at Autofac.Core.Resolving.Pipeline.ResolvePipelineBuilder.<>c__DisplayClass14_0.<BuildPipeline>b__1(ResolveRequestContext ctxt)
at Autofac.Builder.RegistrationBuilder`3.<>c__DisplayClass41_0.<PropertiesAutowired>b__0(ResolveRequestContext ctxt, Action`1 next)
at Autofac.Core.Resolving.Pipeline.ResolvePipelineBuilder.<>c__DisplayClass14_0.<BuildPipeline>b__1(ResolveRequestContext ctxt)
at Autofac.Core.Resolving.Middleware.ActivatorErrorHandlingMiddleware.Execute(ResolveRequestContext context, Action`1 next)
--- End of inner exception stack trace ---
at Autofac.Core.Resolving.Middleware.ActivatorErrorHandlingMiddleware.Execute(ResolveRequestContext context, Action`1 next)
at Autofac.Core.Resolving.Pipeline.ResolvePipelineBuilder.<>c__DisplayClass14_0.<BuildPipeline>b__1(ResolveRequestContext ctxt)
at Autofac.Builder.RegistrationBuilder`3.<>c__DisplayClass35_0.<OnPreparing>b__0(ResolveRequestContext ctxt, Action`1 next)
at Autofac.Core.Resolving.Middleware.CoreEventMiddleware.Execute(ResolveRequestContext context, Action`1 next)
at Autofac.Core.Resolving.Pipeline.ResolvePipelineBuilder.<>c__DisplayClass14_0.<BuildPipeline>b__1(ResolveRequestContext ctxt)
at Autofac.Core.Resolving.Pipeline.ResolvePipelineBuilder.<>c__DisplayClass14_0.<BuildPipeline>b__1(ResolveRequestContext ctxt)
at Autofac.Core.Resolving.Middleware.SharingMiddleware.Execute(ResolveRequestContext context, Action`1 next)
at Autofac.Core.Resolving.Pipeline.ResolvePipelineBuilder.<>c__DisplayClass14_0.<BuildPipeline>b__1(ResolveRequestContext ctxt)
at Autofac.Core.Resolving.Pipeline.ResolvePipelineBuilder.<>c__DisplayClass14_0.<BuildPipeline>b__1(ResolveRequestContext ctxt)
at Autofac.Core.Resolving.Middleware.CircularDependencyDetectorMiddleware.Execute(ResolveRequestContext context, Action`1 next)
at Autofac.Core.Resolving.Pipeline.ResolvePipelineBuilder.<>c__DisplayClass14_0.<BuildPipeline>b__1(ResolveRequestContext ctxt)
at Autofac.Core.Resolving.ResolveOperation.GetOrCreateInstance(ISharingLifetimeScope currentOperationScope, ResolveRequest request)
at Autofac.Core.Resolving.ResolveOperation.ExecuteOperation(ResolveRequest request)
at Autofac.ResolutionExtensions.TryResolveService(IComponentContext context, Service service, IEnumerable`1 parameters, Object& instance)
at Autofac.ResolutionExtensions.ResolveService(IComponentContext context, Service service, IEnumerable`1 parameters)
at Microsoft.AspNetCore.Mvc.Controllers.ServiceBasedControllerActivator.Create(ControllerContext actionContext)
at Microsoft.AspNetCore.Mvc.Controllers.ControllerFactoryProvider.<>c__DisplayClass5_0.<CreateControllerFactory>g__CreateController|0(ControllerContext controllerContext)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.InvokeInnerFilterAsync()
--- End of stack trace from previous location ---
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeNextExceptionFilterAsync>g__Awaited|25_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
2022-02-14 21:20:03.288 +08:00 [ERR] ---------- Exception Data ----------
ActivatorChain = Castle.Proxies.PartServiceProxy
2022-02-14 21:20:03.301 +08:00 [INF] Executing ObjectResult, writing value of type 'Volo.Abp.Http.RemoteServiceErrorResponse'.
2022-02-14 21:20:03.335 +08:00 [INF] Executed action WmsWebApi.Parts.PartService.AddAsync (WmsWebApi.Application) in 136.0641ms
2022-02-14 21:20:03.335 +08:00 [INF] Executed endpoint 'WmsWebApi.Parts.PartService.AddAsync (WmsWebApi.Application)'
2022-02-14 21:20:06.054 +08:00 [INF] Entity Framework Core 5.0.13 initialized 'AbpAuditLoggingDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: QuerySplittingBehavior=SplitQuery
2022-02-14 21:20:08.040 +08:00 [INF] Executed DbCommand (174ms) [Parameters=[@p0='?' (DbType = Guid), @p1='?' (Size = 96), @p2='?' (Size = 512), @p3='?' (Size = 64), @p4='?' (Size = 64), @p5='?' (Size = 128), @p6='?' (Size = 256), @p7='?' (Size = 40), @p8='?' (Size = 64), @p9='?' (Size = 4000), @p10='?' (DbType = Int32), @p11='?' (DbType = DateTime2), @p12='?' (Size = 4000), @p13='?' (Size = 16), @p14='?' (DbType = Int32), @p15='?' (DbType = Guid), @p16='?' (DbType = Guid), @p17='?' (DbType = Guid), @p18='?' (Size = 4000), @p19='?' (Size = 256), @p20='?' (DbType = Guid), @p21='?' (Size = 256)], CommandType='"Text"', CommandTimeout='30']
SET NOCOUNT ON;
INSERT INTO [AbpAuditLogs] ([Id], [ApplicationName], [BrowserInfo], [ClientId], [ClientIpAddress], [ClientName], [Comments], [ConcurrencyStamp], [CorrelationId], [Exceptions], [ExecutionDuration], [ExecutionTime], [ExtraProperties], [HttpMethod], [HttpStatusCode], [ImpersonatorTenantId], [ImpersonatorUserId], [TenantId], [TenantName], [Url], [UserId], [UserName])
VALUES (@p0, @p1, @p2, @p3, @p4, @p5, @p6, @p7, @p8, @p9, @p10, @p11, @p12, @p13, @p14, @p15, @p16, @p17, @p18, @p19, @p20, @p21);
2022-02-14 21:20:08.337 +08:00 [DBG] Added 0 entity changes to the current audit log
2022-02-14 21:20:08.338 +08:00 [DBG] Added 0 entity changes to the current audit log
2022-02-14 21:20:08.363 +08:00 [INF] Request finished HTTP/2 POST https://localhost:5000/api/part/add application/json 8 - 500 - application/json;+charset=utf-8 5197.6666ms
2022-02-14 21:20:15.639 +08:00 [INF] Application is shutting down...
2022-02-14 21:22:42.326 +08:00 [INF] Starting web host.
2022-02-14 21:22:51.392 +08:00 [INF] User profile is available. Using 'C:\Users\lvcj2\AppData\Local\ASP.NET\DataProtection-Keys' as key repository and Windows DPAPI to encrypt keys at rest.
2022-02-14 21:22:51.681 +08:00 [INF] Loaded ABP modules:
2022-02-14 21:22:51.681 +08:00 [INF] - WmsWebApi.WmsWebApiHttpApiHostModule
2022-02-14 21:22:51.681 +08:00 [INF] - WmsWebApi.WmsWebApiApplicationModule
2022-02-14 21:22:51.681 +08:00 [INF] - WmsWebApi.WmsWebApiDomainModule
2022-02-14 21:22:51.681 +08:00 [INF] - Volo.Abp.Domain.AbpDddDomainModule
2022-02-14 21:22:51.681 +08:00 [INF] - Volo.Abp.Auditing.AbpAuditingModule
2022-02-14 21:22:51.681 +08:00 [INF] - Volo.Abp.Data.AbpDataModule
2022-02-14 21:22:51.681 +08:00 [INF] - Volo.Abp.ObjectExtending.AbpObjectExtendingModule
2022-02-14 21:22:51.681 +08:00 [INF] - Volo.Abp.Localization.AbpLocalizationAbstractionsModule
2022-02-14 21:22:51.681 +08:00 [INF] - Volo.Abp.Validation.AbpValidationAbstractionsModule
2022-02-14 21:22:51.681 +08:00 [INF] - Volo.Abp.Uow.AbpUnitOfWorkModule
2022-02-14 21:22:51.681 +08:00 [INF] - Volo.Abp.EventBus.Abstractions.AbpEventBusAbstractionsModule
2022-02-14 21:22:51.681 +08:00 [INF] - Volo.Abp.Json.AbpJsonModule
2022-02-14 21:22:51.681 +08:00 [INF] - Volo.Abp.Timing.AbpTimingModule
2022-02-14 21:22:51.681 +08:00 [INF] - Volo.Abp.Localization.AbpLocalizationModule
2022-02-14 21:22:51.681 +08:00 [INF] - Volo.Abp.VirtualFileSystem.AbpVirtualFileSystemModule
2022-02-14 21:22:51.681 +08:00 [INF] - Volo.Abp.Settings.AbpSettingsModule
2022-02-14 21:22:51.681 +08:00 [INF] - Volo.Abp.Security.AbpSecurityModule
2022-02-14 21:22:51.681 +08:00 [INF] - Volo.Abp.MultiTenancy.AbpMultiTenancyModule
2022-02-14 21:22:51.681 +08:00 [INF] - Volo.Abp.Threading.AbpThreadingModule
2022-02-14 21:22:51.681 +08:00 [INF] - Volo.Abp.EventBus.AbpEventBusModule
2022-02-14 21:22:51.681 +08:00 [INF] - Volo.Abp.Guids.AbpGuidsModule
2022-02-14 21:22:51.681 +08:00 [INF] - Volo.Abp.ObjectMapping.AbpObjectMappingModule
2022-02-14 21:22:51.681 +08:00 [INF] - Volo.Abp.ExceptionHandling.AbpExceptionHandlingModule
2022-02-14 21:22:51.681 +08:00 [INF] - Volo.Abp.Specifications.AbpSpecificationsModule
2022-02-14 21:22:51.681 +08:00 [INF] - WmsWebApi.WmsWebApiDomainSharedModule
2022-02-14 21:22:51.682 +08:00 [INF] - Volo.Abp.Validation.AbpValidationModule
2022-02-14 21:22:51.682 +08:00 [INF] - WmsWebApi.WmsWebApiApplicationContractsModule
2022-02-14 21:22:51.682 +08:00 [INF] - Volo.Abp.Application.AbpDddApplicationContractsModule
2022-02-14 21:22:51.682 +08:00 [INF] - Volo.Abp.Authorization.AbpAuthorizationModule
2022-02-14 21:22:51.682 +08:00 [INF] - Volo.Abp.Authorization.AbpAuthorizationAbstractionsModule
2022-02-14 21:22:51.682 +08:00 [INF] - Volo.Abp.Application.AbpDddApplicationModule
2022-02-14 21:22:51.682 +08:00 [INF] - Volo.Abp.Http.AbpHttpAbstractionsModule
2022-02-14 21:22:51.682 +08:00 [INF] - Volo.Abp.Features.AbpFeaturesModule
2022-02-14 21:22:51.682 +08:00 [INF] - Volo.Abp.GlobalFeatures.AbpGlobalFeaturesModule
2022-02-14 21:22:51.682 +08:00 [INF] - Volo.Abp.AutoMapper.AbpAutoMapperModule
2022-02-14 21:22:51.682 +08:00 [INF] - WmsWebApi.EntityFrameworkCore.WmsWebApiEntityFrameworkCoreModule
2022-02-14 21:22:51.682 +08:00 [INF] - Volo.Abp.EntityFrameworkCore.AbpEntityFrameworkCoreModule
2022-02-14 21:22:51.682 +08:00 [INF] - WmsWebApi.WmsWebApiHttpApiModule
2022-02-14 21:22:51.682 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.AbpAspNetCoreMvcModule
2022-02-14 21:22:51.682 +08:00 [INF] - Volo.Abp.AspNetCore.AbpAspNetCoreModule
2022-02-14 21:22:51.682 +08:00 [INF] - Volo.Abp.Http.AbpHttpModule
2022-02-14 21:22:51.682 +08:00 [INF] - Volo.Abp.Minify.AbpMinifyModule
2022-02-14 21:22:51.682 +08:00 [INF] - Volo.Abp.ApiVersioning.AbpApiVersioningAbstractionsModule
2022-02-14 21:22:51.682 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.AbpAspNetCoreMvcContractsModule
2022-02-14 21:22:51.682 +08:00 [INF] - Volo.Abp.UI.Navigation.AbpUiNavigationModule
2022-02-14 21:22:51.682 +08:00 [INF] - Volo.Abp.UI.AbpUiModule
2022-02-14 21:22:51.682 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.UI.MultiTenancy.AbpAspNetCoreMvcUiMultiTenancyModule
2022-02-14 21:22:51.682 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.UI.Theme.Shared.AbpAspNetCoreMvcUiThemeSharedModule
2022-02-14 21:22:51.682 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.AbpAspNetCoreMvcUiBootstrapModule
2022-02-14 21:22:51.682 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.UI.AbpAspNetCoreMvcUiModule
2022-02-14 21:22:51.682 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.UI.Packages.AbpAspNetCoreMvcUiPackagesModule
2022-02-14 21:22:51.682 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.UI.Bundling.AbpAspNetCoreMvcUiBundlingAbstractionsModule
2022-02-14 21:22:51.682 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.UI.Widgets.AbpAspNetCoreMvcUiWidgetsModule
2022-02-14 21:22:51.682 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.UI.Bundling.AbpAspNetCoreMvcUiBundlingModule
2022-02-14 21:22:51.682 +08:00 [INF] - Volo.Abp.AspNetCore.MultiTenancy.AbpAspNetCoreMultiTenancyModule
2022-02-14 21:22:51.682 +08:00 [INF] - Volo.Abp.Autofac.AbpAutofacModule
2022-02-14 21:22:51.682 +08:00 [INF] - Volo.Abp.Castle.AbpCastleCoreModule
2022-02-14 21:22:51.682 +08:00 [INF] - Volo.Abp.Caching.StackExchangeRedis.AbpCachingStackExchangeRedisModule
2022-02-14 21:22:51.682 +08:00 [INF] - Volo.Abp.Caching.AbpCachingModule
2022-02-14 21:22:51.682 +08:00 [INF] - Volo.Abp.Serialization.AbpSerializationModule
2022-02-14 21:22:51.682 +08:00 [INF] - Volo.Abp.EntityFrameworkCore.SqlServer.AbpEntityFrameworkCoreSqlServerModule
2022-02-14 21:22:51.682 +08:00 [INF] - Volo.Abp.AuditLogging.EntityFrameworkCore.AbpAuditLoggingEntityFrameworkCoreModule
2022-02-14 21:22:51.682 +08:00 [INF] - Volo.Abp.AuditLogging.AbpAuditLoggingDomainModule
2022-02-14 21:22:51.682 +08:00 [INF] - Volo.Abp.AuditLogging.AbpAuditLoggingDomainSharedModule
2022-02-14 21:22:51.682 +08:00 [INF] - Volo.Abp.PermissionManagement.EntityFrameworkCore.AbpPermissionManagementEntityFrameworkCoreModule
2022-02-14 21:22:51.682 +08:00 [INF] - Volo.Abp.PermissionManagement.AbpPermissionManagementDomainModule
2022-02-14 21:22:51.682 +08:00 [INF] - Volo.Abp.PermissionManagement.AbpPermissionManagementDomainSharedModule
2022-02-14 21:22:51.682 +08:00 [INF] - Volo.Abp.SettingManagement.EntityFrameworkCore.AbpSettingManagementEntityFrameworkCoreModule
2022-02-14 21:22:51.682 +08:00 [INF] - Volo.Abp.SettingManagement.AbpSettingManagementDomainModule
2022-02-14 21:22:51.682 +08:00 [INF] - Volo.Abp.SettingManagement.AbpSettingManagementDomainSharedModule
2022-02-14 21:22:51.682 +08:00 [INF] - Volo.Abp.AspNetCore.Serilog.AbpAspNetCoreSerilogModule
2022-02-14 21:22:51.682 +08:00 [INF] - Volo.Abp.Swashbuckle.AbpSwashbuckleModule
2022-02-14 21:22:53.580 +08:00 [INF] Initialized all ABP modules.
2022-02-14 21:22:54.004 +08:00 [INF] Now listening on: https://localhost:5000
2022-02-14 21:22:54.005 +08:00 [INF] Application started. Press Ctrl+C to shut down.
2022-02-14 21:22:54.005 +08:00 [INF] Hosting environment: Development
2022-02-14 21:22:54.005 +08:00 [INF] Content root path: D:\工作\派格\接口程序\WmsWebApi\host\WmsWebApi.HttpApi.Host
2022-02-14 21:23:02.388 +08:00 [INF] Request starting HTTP/2 GET https://localhost:5000/ - -
2022-02-14 21:23:06.395 +08:00 [INF] Executing endpoint 'WmsWebApi.Controllers.HomeController.Index (WmsWebApi.HttpApi.Host)'
2022-02-14 21:23:06.583 +08:00 [INF] Route matched with {action = "Index", controller = "Home", area = "", page = ""}. Executing controller action with signature Microsoft.AspNetCore.Mvc.ActionResult Index() on controller WmsWebApi.Controllers.HomeController (WmsWebApi.HttpApi.Host).
2022-02-14 21:23:07.135 +08:00 [INF] Executing action method WmsWebApi.Controllers.HomeController.Index (WmsWebApi.HttpApi.Host) - Validation state: "Valid"
2022-02-14 21:23:07.150 +08:00 [INF] Executed action method WmsWebApi.Controllers.HomeController.Index (WmsWebApi.HttpApi.Host), returned result Microsoft.AspNetCore.Mvc.RedirectResult in 0.7794ms.
2022-02-14 21:23:07.164 +08:00 [INF] Executing RedirectResult, redirecting to /swagger.
2022-02-14 21:23:07.183 +08:00 [INF] Executed action WmsWebApi.Controllers.HomeController.Index (WmsWebApi.HttpApi.Host) in 583.5474ms
2022-02-14 21:23:07.183 +08:00 [INF] Executed endpoint 'WmsWebApi.Controllers.HomeController.Index (WmsWebApi.HttpApi.Host)'
2022-02-14 21:23:07.251 +08:00 [INF] Request finished HTTP/2 GET https://localhost:5000/ - - - 302 0 - 4865.3733ms
2022-02-14 21:23:07.279 +08:00 [INF] Request starting HTTP/2 GET https://localhost:5000/swagger/index.html - -
2022-02-14 21:23:07.829 +08:00 [INF] Request finished HTTP/2 GET https://localhost:5000/swagger/index.html - - - 200 - text/html;charset=utf-8 562.4192ms
2022-02-14 21:23:08.345 +08:00 [INF] Request starting HTTP/2 GET https://localhost:5000/_framework/aspnetcore-browser-refresh.js - -
2022-02-14 21:23:08.353 +08:00 [INF] Request finished HTTP/2 GET https://localhost:5000/_framework/aspnetcore-browser-refresh.js - - - 200 11956 application/javascript;+charset=utf-8 8.3312ms
2022-02-14 21:23:09.156 +08:00 [INF] Request starting HTTP/2 GET https://localhost:5000/swagger/v1/swagger.json - -
2022-02-14 21:23:09.657 +08:00 [INF] Request finished HTTP/2 GET https://localhost:5000/swagger/v1/swagger.json - - - 200 - application/json;charset=utf-8 501.2894ms
2022-02-14 21:23:17.935 +08:00 [INF] Request starting HTTP/2 GET https://localhost:5000/abp/Swashbuckle/SetCsrfCookie application/json -
2022-02-14 21:23:17.948 +08:00 [INF] Executing endpoint 'Volo.Abp.Swashbuckle.AbpSwashbuckleController.SetCsrfCookie (Volo.Abp.Swashbuckle)'
2022-02-14 21:23:17.957 +08:00 [INF] Route matched with {area = "Abp", action = "SetCsrfCookie", controller = "AbpSwashbuckle", page = ""}. Executing controller action with signature Void SetCsrfCookie() on controller Volo.Abp.Swashbuckle.AbpSwashbuckleController (Volo.Abp.Swashbuckle).
2022-02-14 21:23:18.246 +08:00 [INF] Executing action method Volo.Abp.Swashbuckle.AbpSwashbuckleController.SetCsrfCookie (Volo.Abp.Swashbuckle) - Validation state: "Valid"
2022-02-14 21:23:18.280 +08:00 [INF] Executed action method Volo.Abp.Swashbuckle.AbpSwashbuckleController.SetCsrfCookie (Volo.Abp.Swashbuckle), returned result Microsoft.AspNetCore.Mvc.EmptyResult in 34.1338ms.
2022-02-14 21:23:18.282 +08:00 [INF] Executed action Volo.Abp.Swashbuckle.AbpSwashbuckleController.SetCsrfCookie (Volo.Abp.Swashbuckle) in 324.2502ms
2022-02-14 21:23:18.282 +08:00 [INF] Executed endpoint 'Volo.Abp.Swashbuckle.AbpSwashbuckleController.SetCsrfCookie (Volo.Abp.Swashbuckle)'
2022-02-14 21:23:18.284 +08:00 [INF] Request finished HTTP/2 GET https://localhost:5000/abp/Swashbuckle/SetCsrfCookie application/json - - 204 - - 348.0228ms
2022-02-14 21:23:18.473 +08:00 [INF] Request starting HTTP/2 POST https://localhost:5000/api/part/add application/json 8
2022-02-14 21:23:18.489 +08:00 [INF] CORS policy execution failed.
2022-02-14 21:23:18.489 +08:00 [INF] Request origin https://localhost:5000 does not have permission to access the resource.
2022-02-14 21:23:18.498 +08:00 [INF] Executing endpoint 'WmsWebApi.Parts.PartService.AddAsync (WmsWebApi.Application)'
2022-02-14 21:23:18.554 +08:00 [INF] Route matched with {action = "Add", controller = "Part", area = "", page = ""}. Executing controller action with signature System.Threading.Tasks.Task`1[WmsWebApi.Parts.ReturnResult] AddAsync(System.Object) on controller WmsWebApi.Parts.PartService (WmsWebApi.Application).
2022-02-14 21:23:19.795 +08:00 [ERR] ---------- RemoteServiceErrorInfo ----------
{
"code": null,
"message": "An internal error occurred during your request!",
"details": null,
"data": {
"ActivatorChain": "Castle.Proxies.PartServiceProxy -> WmsWebApi.Parts.PartService"
},
"validationErrors": null
}
2022-02-14 21:23:19.798 +08:00 [ERR] An exception was thrown while activating Castle.Proxies.PartServiceProxy -> WmsWebApi.Parts.PartService.
Autofac.Core.DependencyResolutionException: An exception was thrown while activating Castle.Proxies.PartServiceProxy -> WmsWebApi.Parts.PartService.
---> Autofac.Core.DependencyResolutionException: Circular component dependency detected: Castle.Proxies.PartServiceProxy -> WmsWebApi.Parts.PartService -> WmsWebApi.Parts.PartService.
at Autofac.Core.Resolving.Middleware.CircularDependencyDetectorMiddleware.Execute(ResolveRequestContext context, Action`1 next)
at Autofac.Core.Resolving.Pipeline.ResolvePipelineBuilder.<>c__DisplayClass14_0.<BuildPipeline>b__1(ResolveRequestContext ctxt)
at Autofac.Core.Resolving.ResolveOperation.GetOrCreateInstance(ISharingLifetimeScope currentOperationScope, ResolveRequest request)
at Autofac.Core.Activators.Reflection.AutowiringParameter.<>c__DisplayClass0_0.<CanSupplyValue>b__0()
at Autofac.Core.Activators.Reflection.BoundConstructor.Instantiate()
at Autofac.Core.Activators.Reflection.ReflectionActivator.ActivateInstance(IComponentContext context, IEnumerable`1 parameters)
at Autofac.Core.Activators.Reflection.ReflectionActivator.<ConfigurePipeline>b__11_0(ResolveRequestContext ctxt, Action`1 next)
at Autofac.Core.Resolving.Pipeline.ResolvePipelineBuilder.<>c__DisplayClass14_0.<BuildPipeline>b__1(ResolveRequestContext ctxt)
at Autofac.Core.Resolving.Middleware.DisposalTrackingMiddleware.Execute(ResolveRequestContext context, Action`1 next)
at Autofac.Core.Resolving.Pipeline.ResolvePipelineBuilder.<>c__DisplayClass14_0.<BuildPipeline>b__1(ResolveRequestContext ctxt)
at Autofac.Builder.RegistrationBuilder`3.<>c__DisplayClass41_0.<PropertiesAutowired>b__0(ResolveRequestContext ctxt, Action`1 next)
at Autofac.Core.Resolving.Pipeline.ResolvePipelineBuilder.<>c__DisplayClass14_0.<BuildPipeline>b__1(ResolveRequestContext ctxt)
at Autofac.Extras.DynamicProxy.RegistrationExtensions.<>c__DisplayClass8_0`3.<EnableInterfaceInterceptors>b__1(ResolveRequestContext ctxt, Action`1 next)
at Autofac.Core.Resolving.Pipeline.ResolvePipelineBuilder.<>c__DisplayClass14_0.<BuildPipeline>b__1(ResolveRequestContext ctxt)
at Autofac.Core.Resolving.Middleware.ActivatorErrorHandlingMiddleware.Execute(ResolveRequestContext context, Action`1 next)
--- End of inner exception stack trace ---
at Autofac.Core.Resolving.Middleware.ActivatorErrorHandlingMiddleware.Execute(ResolveRequestContext context, Action`1 next)
at Autofac.Core.Resolving.Pipeline.ResolvePipelineBuilder.<>c__DisplayClass14_0.<BuildPipeline>b__1(ResolveRequestContext ctxt)
at Autofac.Builder.RegistrationBuilder`3.<>c__DisplayClass35_0.<OnPreparing>b__0(ResolveRequestContext ctxt, Action`1 next)
at Autofac.Core.Resolving.Middleware.CoreEventMiddleware.Execute(ResolveRequestContext context, Action`1 next)
at Autofac.Core.Resolving.Pipeline.ResolvePipelineBuilder.<>c__DisplayClass14_0.<BuildPipeline>b__1(ResolveRequestContext ctxt)
at Autofac.Core.Resolving.Pipeline.ResolvePipelineBuilder.<>c__DisplayClass14_0.<BuildPipeline>b__1(ResolveRequestContext ctxt)
at Autofac.Core.Resolving.Middleware.SharingMiddleware.Execute(ResolveRequestContext context, Action`1 next)
at Autofac.Core.Resolving.Pipeline.ResolvePipelineBuilder.<>c__DisplayClass14_0.<BuildPipeline>b__1(ResolveRequestContext ctxt)
at Autofac.Core.Resolving.Pipeline.ResolvePipelineBuilder.<>c__DisplayClass14_0.<BuildPipeline>b__1(ResolveRequestContext ctxt)
at Autofac.Core.Resolving.Middleware.CircularDependencyDetectorMiddleware.Execute(ResolveRequestContext context, Action`1 next)
at Autofac.Core.Resolving.Pipeline.ResolvePipelineBuilder.<>c__DisplayClass14_0.<BuildPipeline>b__1(ResolveRequestContext ctxt)
at Autofac.Core.Resolving.ResolveOperation.GetOrCreateInstance(ISharingLifetimeScope currentOperationScope, ResolveRequest request)
at Autofac.Core.Resolving.ResolveOperation.ExecuteOperation(ResolveRequest request)
at Autofac.ResolutionExtensions.TryResolveService(IComponentContext context, Service service, IEnumerable`1 parameters, Object& instance)
at Autofac.ResolutionExtensions.ResolveService(IComponentContext context, Service service, IEnumerable`1 parameters)
at Microsoft.AspNetCore.Mvc.Controllers.ServiceBasedControllerActivator.Create(ControllerContext actionContext)
at Microsoft.AspNetCore.Mvc.Controllers.ControllerFactoryProvider.<>c__DisplayClass5_0.<CreateControllerFactory>g__CreateController|0(ControllerContext controllerContext)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.InvokeInnerFilterAsync()
--- End of stack trace from previous location ---
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeNextExceptionFilterAsync>g__Awaited|25_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
2022-02-14 21:23:19.807 +08:00 [ERR] ---------- Exception Data ----------
ActivatorChain = Castle.Proxies.PartServiceProxy -> WmsWebApi.Parts.PartService
2022-02-14 21:23:19.858 +08:00 [INF] Executing ObjectResult, writing value of type 'Volo.Abp.Http.RemoteServiceErrorResponse'.
2022-02-14 21:23:19.952 +08:00 [INF] Executed action WmsWebApi.Parts.PartService.AddAsync (WmsWebApi.Application) in 1396.9269ms
2022-02-14 21:23:19.952 +08:00 [INF] Executed endpoint 'WmsWebApi.Parts.PartService.AddAsync (WmsWebApi.Application)'
2022-02-14 21:23:23.337 +08:00 [INF] Entity Framework Core 5.0.13 initialized 'AbpAuditLoggingDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: QuerySplittingBehavior=SplitQuery
2022-02-14 21:23:25.420 +08:00 [INF] Executed DbCommand (165ms) [Parameters=[@p0='?' (DbType = Guid), @p1='?' (Size = 96), @p2='?' (Size = 512), @p3='?' (Size = 64), @p4='?' (Size = 64), @p5='?' (Size = 128), @p6='?' (Size = 256), @p7='?' (Size = 40), @p8='?' (Size = 64), @p9='?' (Size = 4000), @p10='?' (DbType = Int32), @p11='?' (DbType = DateTime2), @p12='?' (Size = 4000), @p13='?' (Size = 16), @p14='?' (DbType = Int32), @p15='?' (DbType = Guid), @p16='?' (DbType = Guid), @p17='?' (DbType = Guid), @p18='?' (Size = 4000), @p19='?' (Size = 256), @p20='?' (DbType = Guid), @p21='?' (Size = 256)], CommandType='"Text"', CommandTimeout='30']
SET NOCOUNT ON;
INSERT INTO [AbpAuditLogs] ([Id], [ApplicationName], [BrowserInfo], [ClientId], [ClientIpAddress], [ClientName], [Comments], [ConcurrencyStamp], [CorrelationId], [Exceptions], [ExecutionDuration], [ExecutionTime], [ExtraProperties], [HttpMethod], [HttpStatusCode], [ImpersonatorTenantId], [ImpersonatorUserId], [TenantId], [TenantName], [Url], [UserId], [UserName])
VALUES (@p0, @p1, @p2, @p3, @p4, @p5, @p6, @p7, @p8, @p9, @p10, @p11, @p12, @p13, @p14, @p15, @p16, @p17, @p18, @p19, @p20, @p21);
2022-02-14 21:23:25.682 +08:00 [DBG] Added 0 entity changes to the current audit log
2022-02-14 21:23:25.683 +08:00 [DBG] Added 0 entity changes to the current audit log
2022-02-14 21:23:25.703 +08:00 [INF] Request finished HTTP/2 POST https://localhost:5000/api/part/add application/json 8 - 500 - application/json;+charset=utf-8 7230.4731ms
2022-02-14 21:28:31.850 +08:00 [INF] Starting web host.
2022-02-14 21:28:40.131 +08:00 [INF] User profile is available. Using 'C:\Users\lvcj2\AppData\Local\ASP.NET\DataProtection-Keys' as key repository and Windows DPAPI to encrypt keys at rest.
2022-02-14 21:28:40.447 +08:00 [INF] Loaded ABP modules:
2022-02-14 21:28:40.447 +08:00 [INF] - WmsWebApi.WmsWebApiHttpApiHostModule
2022-02-14 21:28:40.447 +08:00 [INF] - WmsWebApi.WmsWebApiApplicationModule
2022-02-14 21:28:40.447 +08:00 [INF] - WmsWebApi.WmsWebApiDomainModule
2022-02-14 21:28:40.447 +08:00 [INF] - Volo.Abp.Domain.AbpDddDomainModule
2022-02-14 21:28:40.447 +08:00 [INF] - Volo.Abp.Auditing.AbpAuditingModule
2022-02-14 21:28:40.447 +08:00 [INF] - Volo.Abp.Data.AbpDataModule
2022-02-14 21:28:40.447 +08:00 [INF] - Volo.Abp.ObjectExtending.AbpObjectExtendingModule
2022-02-14 21:28:40.447 +08:00 [INF] - Volo.Abp.Localization.AbpLocalizationAbstractionsModule
2022-02-14 21:28:40.447 +08:00 [INF] - Volo.Abp.Validation.AbpValidationAbstractionsModule
2022-02-14 21:28:40.447 +08:00 [INF] - Volo.Abp.Uow.AbpUnitOfWorkModule
2022-02-14 21:28:40.447 +08:00 [INF] - Volo.Abp.EventBus.Abstractions.AbpEventBusAbstractionsModule
2022-02-14 21:28:40.447 +08:00 [INF] - Volo.Abp.Json.AbpJsonModule
2022-02-14 21:28:40.447 +08:00 [INF] - Volo.Abp.Timing.AbpTimingModule
2022-02-14 21:28:40.447 +08:00 [INF] - Volo.Abp.Localization.AbpLocalizationModule
2022-02-14 21:28:40.447 +08:00 [INF] - Volo.Abp.VirtualFileSystem.AbpVirtualFileSystemModule
2022-02-14 21:28:40.447 +08:00 [INF] - Volo.Abp.Settings.AbpSettingsModule
2022-02-14 21:28:40.447 +08:00 [INF] - Volo.Abp.Security.AbpSecurityModule
2022-02-14 21:28:40.447 +08:00 [INF] - Volo.Abp.MultiTenancy.AbpMultiTenancyModule
2022-02-14 21:28:40.447 +08:00 [INF] - Volo.Abp.Threading.AbpThreadingModule
2022-02-14 21:28:40.447 +08:00 [INF] - Volo.Abp.EventBus.AbpEventBusModule
2022-02-14 21:28:40.447 +08:00 [INF] - Volo.Abp.Guids.AbpGuidsModule
2022-02-14 21:28:40.447 +08:00 [INF] - Volo.Abp.ObjectMapping.AbpObjectMappingModule
2022-02-14 21:28:40.447 +08:00 [INF] - Volo.Abp.ExceptionHandling.AbpExceptionHandlingModule
2022-02-14 21:28:40.447 +08:00 [INF] - Volo.Abp.Specifications.AbpSpecificationsModule
2022-02-14 21:28:40.447 +08:00 [INF] - WmsWebApi.WmsWebApiDomainSharedModule
2022-02-14 21:28:40.447 +08:00 [INF] - Volo.Abp.Validation.AbpValidationModule
2022-02-14 21:28:40.447 +08:00 [INF] - WmsWebApi.WmsWebApiApplicationContractsModule
2022-02-14 21:28:40.447 +08:00 [INF] - Volo.Abp.Application.AbpDddApplicationContractsModule
2022-02-14 21:28:40.447 +08:00 [INF] - Volo.Abp.Authorization.AbpAuthorizationModule
2022-02-14 21:28:40.447 +08:00 [INF] - Volo.Abp.Authorization.AbpAuthorizationAbstractionsModule
2022-02-14 21:28:40.447 +08:00 [INF] - Volo.Abp.Application.AbpDddApplicationModule
2022-02-14 21:28:40.448 +08:00 [INF] - Volo.Abp.Http.AbpHttpAbstractionsModule
2022-02-14 21:28:40.448 +08:00 [INF] - Volo.Abp.Features.AbpFeaturesModule
2022-02-14 21:28:40.448 +08:00 [INF] - Volo.Abp.GlobalFeatures.AbpGlobalFeaturesModule
2022-02-14 21:28:40.448 +08:00 [INF] - Volo.Abp.AutoMapper.AbpAutoMapperModule
2022-02-14 21:28:40.448 +08:00 [INF] - WmsWebApi.EntityFrameworkCore.WmsWebApiEntityFrameworkCoreModule
2022-02-14 21:28:40.448 +08:00 [INF] - Volo.Abp.EntityFrameworkCore.AbpEntityFrameworkCoreModule
2022-02-14 21:28:40.448 +08:00 [INF] - WmsWebApi.WmsWebApiHttpApiModule
2022-02-14 21:28:40.448 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.AbpAspNetCoreMvcModule
2022-02-14 21:28:40.448 +08:00 [INF] - Volo.Abp.AspNetCore.AbpAspNetCoreModule
2022-02-14 21:28:40.448 +08:00 [INF] - Volo.Abp.Http.AbpHttpModule
2022-02-14 21:28:40.448 +08:00 [INF] - Volo.Abp.Minify.AbpMinifyModule
2022-02-14 21:28:40.448 +08:00 [INF] - Volo.Abp.ApiVersioning.AbpApiVersioningAbstractionsModule
2022-02-14 21:28:40.448 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.AbpAspNetCoreMvcContractsModule
2022-02-14 21:28:40.448 +08:00 [INF] - Volo.Abp.UI.Navigation.AbpUiNavigationModule
2022-02-14 21:28:40.448 +08:00 [INF] - Volo.Abp.UI.AbpUiModule
2022-02-14 21:28:40.448 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.UI.MultiTenancy.AbpAspNetCoreMvcUiMultiTenancyModule
2022-02-14 21:28:40.448 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.UI.Theme.Shared.AbpAspNetCoreMvcUiThemeSharedModule
2022-02-14 21:28:40.448 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.AbpAspNetCoreMvcUiBootstrapModule
2022-02-14 21:28:40.448 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.UI.AbpAspNetCoreMvcUiModule
2022-02-14 21:28:40.448 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.UI.Packages.AbpAspNetCoreMvcUiPackagesModule
2022-02-14 21:28:40.448 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.UI.Bundling.AbpAspNetCoreMvcUiBundlingAbstractionsModule
2022-02-14 21:28:40.448 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.UI.Widgets.AbpAspNetCoreMvcUiWidgetsModule
2022-02-14 21:28:40.448 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.UI.Bundling.AbpAspNetCoreMvcUiBundlingModule
2022-02-14 21:28:40.448 +08:00 [INF] - Volo.Abp.AspNetCore.MultiTenancy.AbpAspNetCoreMultiTenancyModule
2022-02-14 21:28:40.448 +08:00 [INF] - Volo.Abp.Autofac.AbpAutofacModule
2022-02-14 21:28:40.448 +08:00 [INF] - Volo.Abp.Castle.AbpCastleCoreModule
2022-02-14 21:28:40.448 +08:00 [INF] - Volo.Abp.Caching.StackExchangeRedis.AbpCachingStackExchangeRedisModule
2022-02-14 21:28:40.448 +08:00 [INF] - Volo.Abp.Caching.AbpCachingModule
2022-02-14 21:28:40.448 +08:00 [INF] - Volo.Abp.Serialization.AbpSerializationModule
2022-02-14 21:28:40.448 +08:00 [INF] - Volo.Abp.EntityFrameworkCore.SqlServer.AbpEntityFrameworkCoreSqlServerModule
2022-02-14 21:28:40.448 +08:00 [INF] - Volo.Abp.AuditLogging.EntityFrameworkCore.AbpAuditLoggingEntityFrameworkCoreModule
2022-02-14 21:28:40.448 +08:00 [INF] - Volo.Abp.AuditLogging.AbpAuditLoggingDomainModule
2022-02-14 21:28:40.448 +08:00 [INF] - Volo.Abp.AuditLogging.AbpAuditLoggingDomainSharedModule
2022-02-14 21:28:40.448 +08:00 [INF] - Volo.Abp.PermissionManagement.EntityFrameworkCore.AbpPermissionManagementEntityFrameworkCoreModule
2022-02-14 21:28:40.448 +08:00 [INF] - Volo.Abp.PermissionManagement.AbpPermissionManagementDomainModule
2022-02-14 21:28:40.448 +08:00 [INF] - Volo.Abp.PermissionManagement.AbpPermissionManagementDomainSharedModule
2022-02-14 21:28:40.448 +08:00 [INF] - Volo.Abp.SettingManagement.EntityFrameworkCore.AbpSettingManagementEntityFrameworkCoreModule
2022-02-14 21:28:40.448 +08:00 [INF] - Volo.Abp.SettingManagement.AbpSettingManagementDomainModule
2022-02-14 21:28:40.448 +08:00 [INF] - Volo.Abp.SettingManagement.AbpSettingManagementDomainSharedModule
2022-02-14 21:28:40.448 +08:00 [INF] - Volo.Abp.AspNetCore.Serilog.AbpAspNetCoreSerilogModule
2022-02-14 21:28:40.448 +08:00 [INF] - Volo.Abp.Swashbuckle.AbpSwashbuckleModule
2022-02-14 21:28:42.208 +08:00 [INF] Initialized all ABP modules.
2022-02-14 21:28:44.080 +08:00 [INF] Now listening on: https://localhost:5000
2022-02-14 21:28:44.082 +08:00 [INF] Application started. Press Ctrl+C to shut down.
2022-02-14 21:28:44.082 +08:00 [INF] Hosting environment: Development
2022-02-14 21:28:44.082 +08:00 [INF] Content root path: D:\工作\派格\接口程序\WmsWebApi\host\WmsWebApi.HttpApi.Host
2022-02-14 21:28:55.201 +08:00 [INF] Request starting HTTP/2 GET https://localhost:5000/ - -
2022-02-14 21:28:59.858 +08:00 [INF] Executing endpoint 'WmsWebApi.Controllers.HomeController.Index (WmsWebApi.HttpApi.Host)'
2022-02-14 21:29:00.165 +08:00 [INF] Route matched with {action = "Index", controller = "Home", area = "", page = ""}. Executing controller action with signature Microsoft.AspNetCore.Mvc.ActionResult Index() on controller WmsWebApi.Controllers.HomeController (WmsWebApi.HttpApi.Host).
2022-02-14 21:29:00.830 +08:00 [INF] Executing action method WmsWebApi.Controllers.HomeController.Index (WmsWebApi.HttpApi.Host) - Validation state: "Valid"
2022-02-14 21:29:00.847 +08:00 [INF] Executed action method WmsWebApi.Controllers.HomeController.Index (WmsWebApi.HttpApi.Host), returned result Microsoft.AspNetCore.Mvc.RedirectResult in 0.826ms.
2022-02-14 21:29:00.866 +08:00 [INF] Executing RedirectResult, redirecting to /swagger.
2022-02-14 21:29:00.888 +08:00 [INF] Executed action WmsWebApi.Controllers.HomeController.Index (WmsWebApi.HttpApi.Host) in 702.3263ms
2022-02-14 21:29:00.889 +08:00 [INF] Executed endpoint 'WmsWebApi.Controllers.HomeController.Index (WmsWebApi.HttpApi.Host)'
2022-02-14 21:29:00.955 +08:00 [INF] Request starting HTTP/2 GET https://localhost:5000/swagger/index.html - -
2022-02-14 21:29:00.957 +08:00 [INF] Request finished HTTP/2 GET https://localhost:5000/ - - - 302 0 - 5763.8340ms
2022-02-14 21:29:01.578 +08:00 [INF] Request finished HTTP/2 GET https://localhost:5000/swagger/index.html - - - 200 - text/html;charset=utf-8 622.2871ms
2022-02-14 21:29:02.149 +08:00 [INF] Request starting HTTP/2 GET https://localhost:5000/_framework/aspnetcore-browser-refresh.js - -
2022-02-14 21:29:02.157 +08:00 [INF] Request finished HTTP/2 GET https://localhost:5000/_framework/aspnetcore-browser-refresh.js - - - 200 11956 application/javascript;+charset=utf-8 7.7220ms
2022-02-14 21:29:02.871 +08:00 [INF] Request starting HTTP/2 GET https://localhost:5000/swagger/v1/swagger.json - -
2022-02-14 21:29:03.409 +08:00 [INF] Request finished HTTP/2 GET https://localhost:5000/swagger/v1/swagger.json - - - 200 - application/json;charset=utf-8 537.7136ms
2022-02-14 21:29:15.186 +08:00 [INF] Request starting HTTP/2 GET https://localhost:5000/abp/Swashbuckle/SetCsrfCookie application/json -
2022-02-14 21:29:15.195 +08:00 [INF] Executing endpoint 'Volo.Abp.Swashbuckle.AbpSwashbuckleController.SetCsrfCookie (Volo.Abp.Swashbuckle)'
2022-02-14 21:29:15.201 +08:00 [INF] Route matched with {area = "Abp", action = "SetCsrfCookie", controller = "AbpSwashbuckle", page = ""}. Executing controller action with signature Void SetCsrfCookie() on controller Volo.Abp.Swashbuckle.AbpSwashbuckleController (Volo.Abp.Swashbuckle).
2022-02-14 21:29:15.400 +08:00 [INF] Executing action method Volo.Abp.Swashbuckle.AbpSwashbuckleController.SetCsrfCookie (Volo.Abp.Swashbuckle) - Validation state: "Valid"
2022-02-14 21:29:15.426 +08:00 [INF] Executed action method Volo.Abp.Swashbuckle.AbpSwashbuckleController.SetCsrfCookie (Volo.Abp.Swashbuckle), returned result Microsoft.AspNetCore.Mvc.EmptyResult in 26.0971ms.
2022-02-14 21:29:15.427 +08:00 [INF] Executed action Volo.Abp.Swashbuckle.AbpSwashbuckleController.SetCsrfCookie (Volo.Abp.Swashbuckle) in 225.8707ms
2022-02-14 21:29:15.427 +08:00 [INF] Executed endpoint 'Volo.Abp.Swashbuckle.AbpSwashbuckleController.SetCsrfCookie (Volo.Abp.Swashbuckle)'
2022-02-14 21:29:15.428 +08:00 [INF] Request finished HTTP/2 GET https://localhost:5000/abp/Swashbuckle/SetCsrfCookie application/json - - 204 - - 241.9343ms
2022-02-14 21:29:15.616 +08:00 [INF] Request starting HTTP/2 POST https://localhost:5000/api/part/add application/json 8
2022-02-14 21:29:15.634 +08:00 [INF] CORS policy execution failed.
2022-02-14 21:29:15.634 +08:00 [INF] Request origin https://localhost:5000 does not have permission to access the resource.
2022-02-14 21:29:15.644 +08:00 [INF] Executing endpoint 'WmsWebApi.Parts.PartService.AddAsync (WmsWebApi.Application)'
2022-02-14 21:29:15.725 +08:00 [INF] Route matched with {action = "Add", controller = "Part", area = "", page = ""}. Executing controller action with signature System.Threading.Tasks.Task`1[WmsWebApi.Parts.ReturnResult] AddAsync(System.Object) on controller WmsWebApi.Parts.PartService (WmsWebApi.Application).
2022-02-14 21:29:16.852 +08:00 [ERR] ---------- RemoteServiceErrorInfo ----------
{
"code": null,
"message": "An internal error occurred during your request!",
"details": null,
"data": {
"ActivatorChain": "Castle.Proxies.PartServiceProxy -> WmsWebApi.Parts.PartManager"
},
"validationErrors": null
}
2022-02-14 21:29:16.856 +08:00 [ERR] An exception was thrown while activating Castle.Proxies.PartServiceProxy -> WmsWebApi.Parts.PartManager.
Autofac.Core.DependencyResolutionException: An exception was thrown while activating Castle.Proxies.PartServiceProxy -> WmsWebApi.Parts.PartManager.
---> Autofac.Core.DependencyResolutionException: None of the constructors found with 'Volo.Abp.Autofac.AbpAutofacConstructorFinder' on type 'WmsWebApi.Parts.PartManager' can be invoked with the available services and parameters:
Cannot resolve parameter 'Volo.Abp.Domain.Repositories.IRepository`2[WmsWebApi.Parts.WmsWebApiPARTDTO,System.Guid] partDtoRepository' of constructor 'Void .ctor(Volo.Abp.Domain.Repositories.IRepository`2[WmsWebApi.Parts.WmsWebApiPARTDTO,System.Guid])'.
at Autofac.Core.Activators.Reflection.ReflectionActivator.GetAllBindings(ConstructorBinder[] availableConstructors, IComponentContext context, IEnumerable`1 parameters)
at Autofac.Core.Activators.Reflection.ReflectionActivator.ActivateInstance(IComponentContext context, IEnumerable`1 parameters)
at Autofac.Core.Activators.Reflection.ReflectionActivator.<ConfigurePipeline>b__11_0(ResolveRequestContext ctxt, Action`1 next)
at Autofac.Core.Resolving.Pipeline.ResolvePipelineBuilder.<>c__DisplayClass14_0.<BuildPipeline>b__1(ResolveRequestContext ctxt)
at Autofac.Core.Resolving.Middleware.DisposalTrackingMiddleware.Execute(ResolveRequestContext context, Action`1 next)
at Autofac.Core.Resolving.Pipeline.ResolvePipelineBuilder.<>c__DisplayClass14_0.<BuildPipeline>b__1(ResolveRequestContext ctxt)
at Autofac.Builder.RegistrationBuilder`3.<>c__DisplayClass41_0.<PropertiesAutowired>b__0(ResolveRequestContext ctxt, Action`1 next)
at Autofac.Core.Resolving.Pipeline.ResolvePipelineBuilder.<>c__DisplayClass14_0.<BuildPipeline>b__1(ResolveRequestContext ctxt)
at Autofac.Core.Resolving.Middleware.ActivatorErrorHandlingMiddleware.Execute(ResolveRequestContext context, Action`1 next)
--- End of inner exception stack trace ---
at Autofac.Core.Resolving.Middleware.ActivatorErrorHandlingMiddleware.Execute(ResolveRequestContext context, Action`1 next)
at Autofac.Core.Resolving.Pipeline.ResolvePipelineBuilder.<>c__DisplayClass14_0.<BuildPipeline>b__1(ResolveRequestContext ctxt)
at Autofac.Builder.RegistrationBuilder`3.<>c__DisplayClass35_0.<OnPreparing>b__0(ResolveRequestContext ctxt, Action`1 next)
at Autofac.Core.Resolving.Middleware.CoreEventMiddleware.Execute(ResolveRequestContext context, Action`1 next)
at Autofac.Core.Resolving.Pipeline.ResolvePipelineBuilder.<>c__DisplayClass14_0.<BuildPipeline>b__1(ResolveRequestContext ctxt)
at Autofac.Core.Resolving.Pipeline.ResolvePipelineBuilder.<>c__DisplayClass14_0.<BuildPipeline>b__1(ResolveRequestContext ctxt)
at Autofac.Core.Resolving.Middleware.SharingMiddleware.Execute(ResolveRequestContext context, Action`1 next)
at Autofac.Core.Resolving.Pipeline.ResolvePipelineBuilder.<>c__DisplayClass14_0.<BuildPipeline>b__1(ResolveRequestContext ctxt)
at Autofac.Core.Resolving.Pipeline.ResolvePipelineBuilder.<>c__DisplayClass14_0.<BuildPipeline>b__1(ResolveRequestContext ctxt)
at Autofac.Core.Resolving.Middleware.CircularDependencyDetectorMiddleware.Execute(ResolveRequestContext context, Action`1 next)
at Autofac.Core.Resolving.Pipeline.ResolvePipelineBuilder.<>c__DisplayClass14_0.<BuildPipeline>b__1(ResolveRequestContext ctxt)
at Autofac.Core.Resolving.ResolveOperation.GetOrCreateInstance(ISharingLifetimeScope currentOperationScope, ResolveRequest request)
at Autofac.Core.Resolving.ResolveOperation.ExecuteOperation(ResolveRequest request)
at Autofac.ResolutionExtensions.TryResolveService(IComponentContext context, Service service, IEnumerable`1 parameters, Object& instance)
at Autofac.ResolutionExtensions.ResolveService(IComponentContext context, Service service, IEnumerable`1 parameters)
at Microsoft.AspNetCore.Mvc.Controllers.ServiceBasedControllerActivator.Create(ControllerContext actionContext)
at Microsoft.AspNetCore.Mvc.Controllers.ControllerFactoryProvider.<>c__DisplayClass5_0.<CreateControllerFactory>g__CreateController|0(ControllerContext controllerContext)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.InvokeInnerFilterAsync()
--- End of stack trace from previous location ---
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeNextExceptionFilterAsync>g__Awaited|25_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
2022-02-14 21:29:16.863 +08:00 [ERR] ---------- Exception Data ----------
ActivatorChain = Castle.Proxies.PartServiceProxy -> WmsWebApi.Parts.PartManager
2022-02-14 21:29:16.899 +08:00 [INF] Executing ObjectResult, writing value of type 'Volo.Abp.Http.RemoteServiceErrorResponse'.
2022-02-14 21:29:16.963 +08:00 [INF] Executed action WmsWebApi.Parts.PartService.AddAsync (WmsWebApi.Application) in 1238.5858ms
2022-02-14 21:29:16.964 +08:00 [INF] Executed endpoint 'WmsWebApi.Parts.PartService.AddAsync (WmsWebApi.Application)'
2022-02-14 21:29:19.695 +08:00 [INF] Entity Framework Core 5.0.13 initialized 'AbpAuditLoggingDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: QuerySplittingBehavior=SplitQuery
2022-02-14 21:29:20.894 +08:00 [INF] Executed DbCommand (80ms) [Parameters=[@p0='?' (DbType = Guid), @p1='?' (Size = 96), @p2='?' (Size = 512), @p3='?' (Size = 64), @p4='?' (Size = 64), @p5='?' (Size = 128), @p6='?' (Size = 256), @p7='?' (Size = 40), @p8='?' (Size = 64), @p9='?' (Size = 4000), @p10='?' (DbType = Int32), @p11='?' (DbType = DateTime2), @p12='?' (Size = 4000), @p13='?' (Size = 16), @p14='?' (DbType = Int32), @p15='?' (DbType = Guid), @p16='?' (DbType = Guid), @p17='?' (DbType = Guid), @p18='?' (Size = 4000), @p19='?' (Size = 256), @p20='?' (DbType = Guid), @p21='?' (Size = 256)], CommandType='"Text"', CommandTimeout='30']
SET NOCOUNT ON;
INSERT INTO [AbpAuditLogs] ([Id], [ApplicationName], [BrowserInfo], [ClientId], [ClientIpAddress], [ClientName], [Comments], [ConcurrencyStamp], [CorrelationId], [Exceptions], [ExecutionDuration], [ExecutionTime], [ExtraProperties], [HttpMethod], [HttpStatusCode], [ImpersonatorTenantId], [ImpersonatorUserId], [TenantId], [TenantName], [Url], [UserId], [UserName])
VALUES (@p0, @p1, @p2, @p3, @p4, @p5, @p6, @p7, @p8, @p9, @p10, @p11, @p12, @p13, @p14, @p15, @p16, @p17, @p18, @p19, @p20, @p21);
2022-02-14 21:29:21.030 +08:00 [DBG] Added 0 entity changes to the current audit log
2022-02-14 21:29:21.031 +08:00 [DBG] Added 0 entity changes to the current audit log
2022-02-14 21:29:21.042 +08:00 [INF] Request finished HTTP/2 POST https://localhost:5000/api/part/add application/json 8 - 500 - application/json;+charset=utf-8 5425.9529ms
2022-02-14 21:31:48.532 +08:00 [INF] Starting web host.
2022-02-14 21:31:56.535 +08:00 [INF] User profile is available. Using 'C:\Users\lvcj2\AppData\Local\ASP.NET\DataProtection-Keys' as key repository and Windows DPAPI to encrypt keys at rest.
2022-02-14 21:31:56.839 +08:00 [INF] Loaded ABP modules:
2022-02-14 21:31:56.839 +08:00 [INF] - WmsWebApi.WmsWebApiHttpApiHostModule
2022-02-14 21:31:56.839 +08:00 [INF] - WmsWebApi.WmsWebApiApplicationModule
2022-02-14 21:31:56.839 +08:00 [INF] - WmsWebApi.WmsWebApiDomainModule
2022-02-14 21:31:56.839 +08:00 [INF] - Volo.Abp.Domain.AbpDddDomainModule
2022-02-14 21:31:56.839 +08:00 [INF] - Volo.Abp.Auditing.AbpAuditingModule
2022-02-14 21:31:56.839 +08:00 [INF] - Volo.Abp.Data.AbpDataModule
2022-02-14 21:31:56.839 +08:00 [INF] - Volo.Abp.ObjectExtending.AbpObjectExtendingModule
2022-02-14 21:31:56.839 +08:00 [INF] - Volo.Abp.Localization.AbpLocalizationAbstractionsModule
2022-02-14 21:31:56.839 +08:00 [INF] - Volo.Abp.Validation.AbpValidationAbstractionsModule
2022-02-14 21:31:56.839 +08:00 [INF] - Volo.Abp.Uow.AbpUnitOfWorkModule
2022-02-14 21:31:56.839 +08:00 [INF] - Volo.Abp.EventBus.Abstractions.AbpEventBusAbstractionsModule
2022-02-14 21:31:56.839 +08:00 [INF] - Volo.Abp.Json.AbpJsonModule
2022-02-14 21:31:56.839 +08:00 [INF] - Volo.Abp.Timing.AbpTimingModule
2022-02-14 21:31:56.839 +08:00 [INF] - Volo.Abp.Localization.AbpLocalizationModule
2022-02-14 21:31:56.839 +08:00 [INF] - Volo.Abp.VirtualFileSystem.AbpVirtualFileSystemModule
2022-02-14 21:31:56.839 +08:00 [INF] - Volo.Abp.Settings.AbpSettingsModule
2022-02-14 21:31:56.839 +08:00 [INF] - Volo.Abp.Security.AbpSecurityModule
2022-02-14 21:31:56.839 +08:00 [INF] - Volo.Abp.MultiTenancy.AbpMultiTenancyModule
2022-02-14 21:31:56.839 +08:00 [INF] - Volo.Abp.Threading.AbpThreadingModule
2022-02-14 21:31:56.839 +08:00 [INF] - Volo.Abp.EventBus.AbpEventBusModule
2022-02-14 21:31:56.839 +08:00 [INF] - Volo.Abp.Guids.AbpGuidsModule
2022-02-14 21:31:56.840 +08:00 [INF] - Volo.Abp.ObjectMapping.AbpObjectMappingModule
2022-02-14 21:31:56.840 +08:00 [INF] - Volo.Abp.ExceptionHandling.AbpExceptionHandlingModule
2022-02-14 21:31:56.840 +08:00 [INF] - Volo.Abp.Specifications.AbpSpecificationsModule
2022-02-14 21:31:56.840 +08:00 [INF] - WmsWebApi.WmsWebApiDomainSharedModule
2022-02-14 21:31:56.840 +08:00 [INF] - Volo.Abp.Validation.AbpValidationModule
2022-02-14 21:31:56.840 +08:00 [INF] - WmsWebApi.WmsWebApiApplicationContractsModule
2022-02-14 21:31:56.840 +08:00 [INF] - Volo.Abp.Application.AbpDddApplicationContractsModule
2022-02-14 21:31:56.840 +08:00 [INF] - Volo.Abp.Authorization.AbpAuthorizationModule
2022-02-14 21:31:56.840 +08:00 [INF] - Volo.Abp.Authorization.AbpAuthorizationAbstractionsModule
2022-02-14 21:31:56.840 +08:00 [INF] - Volo.Abp.Application.AbpDddApplicationModule
2022-02-14 21:31:56.840 +08:00 [INF] - Volo.Abp.Http.AbpHttpAbstractionsModule
2022-02-14 21:31:56.840 +08:00 [INF] - Volo.Abp.Features.AbpFeaturesModule
2022-02-14 21:31:56.840 +08:00 [INF] - Volo.Abp.GlobalFeatures.AbpGlobalFeaturesModule
2022-02-14 21:31:56.840 +08:00 [INF] - Volo.Abp.AutoMapper.AbpAutoMapperModule
2022-02-14 21:31:56.840 +08:00 [INF] - WmsWebApi.EntityFrameworkCore.WmsWebApiEntityFrameworkCoreModule
2022-02-14 21:31:56.840 +08:00 [INF] - Volo.Abp.EntityFrameworkCore.AbpEntityFrameworkCoreModule
2022-02-14 21:31:56.840 +08:00 [INF] - WmsWebApi.WmsWebApiHttpApiModule
2022-02-14 21:31:56.840 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.AbpAspNetCoreMvcModule
2022-02-14 21:31:56.840 +08:00 [INF] - Volo.Abp.AspNetCore.AbpAspNetCoreModule
2022-02-14 21:31:56.840 +08:00 [INF] - Volo.Abp.Http.AbpHttpModule
2022-02-14 21:31:56.840 +08:00 [INF] - Volo.Abp.Minify.AbpMinifyModule
2022-02-14 21:31:56.840 +08:00 [INF] - Volo.Abp.ApiVersioning.AbpApiVersioningAbstractionsModule
2022-02-14 21:31:56.840 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.AbpAspNetCoreMvcContractsModule
2022-02-14 21:31:56.840 +08:00 [INF] - Volo.Abp.UI.Navigation.AbpUiNavigationModule
2022-02-14 21:31:56.840 +08:00 [INF] - Volo.Abp.UI.AbpUiModule
2022-02-14 21:31:56.840 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.UI.MultiTenancy.AbpAspNetCoreMvcUiMultiTenancyModule
2022-02-14 21:31:56.840 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.UI.Theme.Shared.AbpAspNetCoreMvcUiThemeSharedModule
2022-02-14 21:31:56.840 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.AbpAspNetCoreMvcUiBootstrapModule
2022-02-14 21:31:56.840 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.UI.AbpAspNetCoreMvcUiModule
2022-02-14 21:31:56.840 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.UI.Packages.AbpAspNetCoreMvcUiPackagesModule
2022-02-14 21:31:56.840 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.UI.Bundling.AbpAspNetCoreMvcUiBundlingAbstractionsModule
2022-02-14 21:31:56.840 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.UI.Widgets.AbpAspNetCoreMvcUiWidgetsModule
2022-02-14 21:31:56.840 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.UI.Bundling.AbpAspNetCoreMvcUiBundlingModule
2022-02-14 21:31:56.840 +08:00 [INF] - Volo.Abp.AspNetCore.MultiTenancy.AbpAspNetCoreMultiTenancyModule
2022-02-14 21:31:56.840 +08:00 [INF] - Volo.Abp.Autofac.AbpAutofacModule
2022-02-14 21:31:56.840 +08:00 [INF] - Volo.Abp.Castle.AbpCastleCoreModule
2022-02-14 21:31:56.840 +08:00 [INF] - Volo.Abp.Caching.StackExchangeRedis.AbpCachingStackExchangeRedisModule
2022-02-14 21:31:56.840 +08:00 [INF] - Volo.Abp.Caching.AbpCachingModule
2022-02-14 21:31:56.840 +08:00 [INF] - Volo.Abp.Serialization.AbpSerializationModule
2022-02-14 21:31:56.840 +08:00 [INF] - Volo.Abp.EntityFrameworkCore.SqlServer.AbpEntityFrameworkCoreSqlServerModule
2022-02-14 21:31:56.840 +08:00 [INF] - Volo.Abp.AuditLogging.EntityFrameworkCore.AbpAuditLoggingEntityFrameworkCoreModule
2022-02-14 21:31:56.840 +08:00 [INF] - Volo.Abp.AuditLogging.AbpAuditLoggingDomainModule
2022-02-14 21:31:56.840 +08:00 [INF] - Volo.Abp.AuditLogging.AbpAuditLoggingDomainSharedModule
2022-02-14 21:31:56.840 +08:00 [INF] - Volo.Abp.PermissionManagement.EntityFrameworkCore.AbpPermissionManagementEntityFrameworkCoreModule
2022-02-14 21:31:56.840 +08:00 [INF] - Volo.Abp.PermissionManagement.AbpPermissionManagementDomainModule
2022-02-14 21:31:56.840 +08:00 [INF] - Volo.Abp.PermissionManagement.AbpPermissionManagementDomainSharedModule
2022-02-14 21:31:56.840 +08:00 [INF] - Volo.Abp.SettingManagement.EntityFrameworkCore.AbpSettingManagementEntityFrameworkCoreModule
2022-02-14 21:31:56.840 +08:00 [INF] - Volo.Abp.SettingManagement.AbpSettingManagementDomainModule
2022-02-14 21:31:56.840 +08:00 [INF] - Volo.Abp.SettingManagement.AbpSettingManagementDomainSharedModule
2022-02-14 21:31:56.840 +08:00 [INF] - Volo.Abp.AspNetCore.Serilog.AbpAspNetCoreSerilogModule
2022-02-14 21:31:56.840 +08:00 [INF] - Volo.Abp.Swashbuckle.AbpSwashbuckleModule
2022-02-14 21:32:00.109 +08:00 [INF] Initialized all ABP modules.
2022-02-14 21:32:01.298 +08:00 [INF] Now listening on: https://localhost:5000
2022-02-14 21:32:01.298 +08:00 [INF] Application started. Press Ctrl+C to shut down.
2022-02-14 21:32:01.299 +08:00 [INF] Hosting environment: Development
2022-02-14 21:32:01.299 +08:00 [INF] Content root path: D:\工作\派格\接口程序\WmsWebApi\host\WmsWebApi.HttpApi.Host
2022-02-14 21:32:07.856 +08:00 [INF] Request starting HTTP/2 GET https://localhost:5000/ - -
2022-02-14 21:32:12.184 +08:00 [INF] Executing endpoint 'WmsWebApi.Controllers.HomeController.Index (WmsWebApi.HttpApi.Host)'
2022-02-14 21:32:12.325 +08:00 [INF] Route matched with {action = "Index", controller = "Home", area = "", page = ""}. Executing controller action with signature Microsoft.AspNetCore.Mvc.ActionResult Index() on controller WmsWebApi.Controllers.HomeController (WmsWebApi.HttpApi.Host).
2022-02-14 21:32:12.842 +08:00 [INF] Executing action method WmsWebApi.Controllers.HomeController.Index (WmsWebApi.HttpApi.Host) - Validation state: "Valid"
2022-02-14 21:32:12.859 +08:00 [INF] Executed action method WmsWebApi.Controllers.HomeController.Index (WmsWebApi.HttpApi.Host), returned result Microsoft.AspNetCore.Mvc.RedirectResult in 0.8392ms.
2022-02-14 21:32:12.877 +08:00 [INF] Executing RedirectResult, redirecting to /swagger.
2022-02-14 21:32:12.899 +08:00 [INF] Executed action WmsWebApi.Controllers.HomeController.Index (WmsWebApi.HttpApi.Host) in 557.5699ms
2022-02-14 21:32:12.899 +08:00 [INF] Executed endpoint 'WmsWebApi.Controllers.HomeController.Index (WmsWebApi.HttpApi.Host)'
2022-02-14 21:32:12.998 +08:00 [INF] Request finished HTTP/2 GET https://localhost:5000/ - - - 302 0 - 5141.1570ms
2022-02-14 21:32:13.155 +08:00 [INF] Request starting HTTP/2 GET https://localhost:5000/swagger/index.html - -
2022-02-14 21:32:13.695 +08:00 [INF] Request finished HTTP/2 GET https://localhost:5000/swagger/index.html - - - 200 - text/html;charset=utf-8 539.7802ms
2022-02-14 21:32:14.319 +08:00 [INF] Request starting HTTP/2 GET https://localhost:5000/_framework/aspnetcore-browser-refresh.js - -
2022-02-14 21:32:14.326 +08:00 [INF] Request finished HTTP/2 GET https://localhost:5000/_framework/aspnetcore-browser-refresh.js - - - 200 11956 application/javascript;+charset=utf-8 6.8105ms
2022-02-14 21:32:14.939 +08:00 [INF] Request starting HTTP/2 GET https://localhost:5000/swagger/v1/swagger.json - -
2022-02-14 21:32:15.467 +08:00 [INF] Request finished HTTP/2 GET https://localhost:5000/swagger/v1/swagger.json - - - 200 - application/json;charset=utf-8 528.4611ms
2022-02-14 21:32:22.862 +08:00 [INF] Request starting HTTP/2 GET https://localhost:5000/abp/Swashbuckle/SetCsrfCookie application/json -
2022-02-14 21:32:22.872 +08:00 [INF] Executing endpoint 'Volo.Abp.Swashbuckle.AbpSwashbuckleController.SetCsrfCookie (Volo.Abp.Swashbuckle)'
2022-02-14 21:32:22.878 +08:00 [INF] Route matched with {area = "Abp", action = "SetCsrfCookie", controller = "AbpSwashbuckle", page = ""}. Executing controller action with signature Void SetCsrfCookie() on controller Volo.Abp.Swashbuckle.AbpSwashbuckleController (Volo.Abp.Swashbuckle).
2022-02-14 21:32:23.120 +08:00 [INF] Executing action method Volo.Abp.Swashbuckle.AbpSwashbuckleController.SetCsrfCookie (Volo.Abp.Swashbuckle) - Validation state: "Valid"
2022-02-14 21:32:23.150 +08:00 [INF] Executed action method Volo.Abp.Swashbuckle.AbpSwashbuckleController.SetCsrfCookie (Volo.Abp.Swashbuckle), returned result Microsoft.AspNetCore.Mvc.EmptyResult in 29.5968ms.
2022-02-14 21:32:23.150 +08:00 [INF] Executed action Volo.Abp.Swashbuckle.AbpSwashbuckleController.SetCsrfCookie (Volo.Abp.Swashbuckle) in 271.9645ms
2022-02-14 21:32:23.150 +08:00 [INF] Executed endpoint 'Volo.Abp.Swashbuckle.AbpSwashbuckleController.SetCsrfCookie (Volo.Abp.Swashbuckle)'
2022-02-14 21:32:23.151 +08:00 [INF] Request finished HTTP/2 GET https://localhost:5000/abp/Swashbuckle/SetCsrfCookie application/json - - 204 - - 289.5914ms
2022-02-14 21:32:23.310 +08:00 [INF] Request starting HTTP/2 POST https://localhost:5000/api/part/add application/json 8
2022-02-14 21:32:23.326 +08:00 [INF] CORS policy execution failed.
2022-02-14 21:32:23.327 +08:00 [INF] Request origin https://localhost:5000 does not have permission to access the resource.
2022-02-14 21:32:23.333 +08:00 [INF] Executing endpoint 'WmsWebApi.Parts.PartService.AddAsync (WmsWebApi.Application)'
2022-02-14 21:32:23.392 +08:00 [INF] Route matched with {action = "Add", controller = "Part", area = "", page = ""}. Executing controller action with signature System.Threading.Tasks.Task`1[WmsWebApi.Parts.ReturnResult] AddAsync(System.Object) on controller WmsWebApi.Parts.PartService (WmsWebApi.Application).
2022-02-14 21:32:24.416 +08:00 [ERR] ---------- RemoteServiceErrorInfo ----------
{
"code": null,
"message": "An internal error occurred during your request!",
"details": null,
"data": {
"ActivatorChain": "Castle.Proxies.PartServiceProxy -> WmsWebApi.Parts.PartManager"
},
"validationErrors": null
}
2022-02-14 21:32:24.417 +08:00 [ERR] An exception was thrown while activating Castle.Proxies.PartServiceProxy -> WmsWebApi.Parts.PartManager.
Autofac.Core.DependencyResolutionException: An exception was thrown while activating Castle.Proxies.PartServiceProxy -> WmsWebApi.Parts.PartManager.
---> Autofac.Core.DependencyResolutionException: None of the constructors found with 'Volo.Abp.Autofac.AbpAutofacConstructorFinder' on type 'WmsWebApi.Parts.PartManager' can be invoked with the available services and parameters:
Cannot resolve parameter 'Volo.Abp.Domain.Repositories.IRepository`2[WmsWebApi.Parts.WmsWebApiPARTDTO,System.Guid] partDtoRepository' of constructor 'Void .ctor(Volo.Abp.Domain.Repositories.IRepository`2[WmsWebApi.Parts.WmsWebApiPARTDTO,System.Guid])'.
at Autofac.Core.Activators.Reflection.ReflectionActivator.GetAllBindings(ConstructorBinder[] availableConstructors, IComponentContext context, IEnumerable`1 parameters)
at Autofac.Core.Activators.Reflection.ReflectionActivator.ActivateInstance(IComponentContext context, IEnumerable`1 parameters)
at Autofac.Core.Activators.Reflection.ReflectionActivator.<ConfigurePipeline>b__11_0(ResolveRequestContext ctxt, Action`1 next)
at Autofac.Core.Resolving.Pipeline.ResolvePipelineBuilder.<>c__DisplayClass14_0.<BuildPipeline>b__1(ResolveRequestContext ctxt)
at Autofac.Core.Resolving.Middleware.DisposalTrackingMiddleware.Execute(ResolveRequestContext context, Action`1 next)
at Autofac.Core.Resolving.Pipeline.ResolvePipelineBuilder.<>c__DisplayClass14_0.<BuildPipeline>b__1(ResolveRequestContext ctxt)
at Autofac.Builder.RegistrationBuilder`3.<>c__DisplayClass41_0.<PropertiesAutowired>b__0(ResolveRequestContext ctxt, Action`1 next)
at Autofac.Core.Resolving.Pipeline.ResolvePipelineBuilder.<>c__DisplayClass14_0.<BuildPipeline>b__1(ResolveRequestContext ctxt)
at Autofac.Core.Resolving.Middleware.ActivatorErrorHandlingMiddleware.Execute(ResolveRequestContext context, Action`1 next)
--- End of inner exception stack trace ---
at Autofac.Core.Resolving.Middleware.ActivatorErrorHandlingMiddleware.Execute(ResolveRequestContext context, Action`1 next)
at Autofac.Core.Resolving.Pipeline.ResolvePipelineBuilder.<>c__DisplayClass14_0.<BuildPipeline>b__1(ResolveRequestContext ctxt)
at Autofac.Builder.RegistrationBuilder`3.<>c__DisplayClass35_0.<OnPreparing>b__0(ResolveRequestContext ctxt, Action`1 next)
at Autofac.Core.Resolving.Middleware.CoreEventMiddleware.Execute(ResolveRequestContext context, Action`1 next)
at Autofac.Core.Resolving.Pipeline.ResolvePipelineBuilder.<>c__DisplayClass14_0.<BuildPipeline>b__1(ResolveRequestContext ctxt)
at Autofac.Core.Resolving.Pipeline.ResolvePipelineBuilder.<>c__DisplayClass14_0.<BuildPipeline>b__1(ResolveRequestContext ctxt)
at Autofac.Core.Resolving.Middleware.SharingMiddleware.Execute(ResolveRequestContext context, Action`1 next)
at Autofac.Core.Resolving.Pipeline.ResolvePipelineBuilder.<>c__DisplayClass14_0.<BuildPipeline>b__1(ResolveRequestContext ctxt)
at Autofac.Core.Resolving.Pipeline.ResolvePipelineBuilder.<>c__DisplayClass14_0.<BuildPipeline>b__1(ResolveRequestContext ctxt)
at Autofac.Core.Resolving.Middleware.CircularDependencyDetectorMiddleware.Execute(ResolveRequestContext context, Action`1 next)
at Autofac.Core.Resolving.Pipeline.ResolvePipelineBuilder.<>c__DisplayClass14_0.<BuildPipeline>b__1(ResolveRequestContext ctxt)
at Autofac.Core.Resolving.ResolveOperation.GetOrCreateInstance(ISharingLifetimeScope currentOperationScope, ResolveRequest request)
at Autofac.Core.Resolving.ResolveOperation.ExecuteOperation(ResolveRequest request)
at Autofac.ResolutionExtensions.TryResolveService(IComponentContext context, Service service, IEnumerable`1 parameters, Object& instance)
at Autofac.ResolutionExtensions.ResolveService(IComponentContext context, Service service, IEnumerable`1 parameters)
at Microsoft.AspNetCore.Mvc.Controllers.ServiceBasedControllerActivator.Create(ControllerContext actionContext)
at Microsoft.AspNetCore.Mvc.Controllers.ControllerFactoryProvider.<>c__DisplayClass5_0.<CreateControllerFactory>g__CreateController|0(ControllerContext controllerContext)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.InvokeInnerFilterAsync()
--- End of stack trace from previous location ---
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeNextExceptionFilterAsync>g__Awaited|25_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
2022-02-14 21:32:24.421 +08:00 [ERR] ---------- Exception Data ----------
ActivatorChain = Castle.Proxies.PartServiceProxy -> WmsWebApi.Parts.PartManager
2022-02-14 21:32:24.450 +08:00 [INF] Executing ObjectResult, writing value of type 'Volo.Abp.Http.RemoteServiceErrorResponse'.
2022-02-14 21:32:24.510 +08:00 [INF] Executed action WmsWebApi.Parts.PartService.AddAsync (WmsWebApi.Application) in 1117.225ms
2022-02-14 21:32:24.510 +08:00 [INF] Executed endpoint 'WmsWebApi.Parts.PartService.AddAsync (WmsWebApi.Application)'
2022-02-14 21:32:25.804 +08:00 [INF] Entity Framework Core 5.0.13 initialized 'AbpAuditLoggingDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: QuerySplittingBehavior=SplitQuery
2022-02-14 21:32:27.683 +08:00 [INF] Executed DbCommand (193ms) [Parameters=[@p0='?' (DbType = Guid), @p1='?' (Size = 96), @p2='?' (Size = 512), @p3='?' (Size = 64), @p4='?' (Size = 64), @p5='?' (Size = 128), @p6='?' (Size = 256), @p7='?' (Size = 40), @p8='?' (Size = 64), @p9='?' (Size = 4000), @p10='?' (DbType = Int32), @p11='?' (DbType = DateTime2), @p12='?' (Size = 4000), @p13='?' (Size = 16), @p14='?' (DbType = Int32), @p15='?' (DbType = Guid), @p16='?' (DbType = Guid), @p17='?' (DbType = Guid), @p18='?' (Size = 4000), @p19='?' (Size = 256), @p20='?' (DbType = Guid), @p21='?' (Size = 256)], CommandType='"Text"', CommandTimeout='30']
SET NOCOUNT ON;
INSERT INTO [AbpAuditLogs] ([Id], [ApplicationName], [BrowserInfo], [ClientId], [ClientIpAddress], [ClientName], [Comments], [ConcurrencyStamp], [CorrelationId], [Exceptions], [ExecutionDuration], [ExecutionTime], [ExtraProperties], [HttpMethod], [HttpStatusCode], [ImpersonatorTenantId], [ImpersonatorUserId], [TenantId], [TenantName], [Url], [UserId], [UserName])
VALUES (@p0, @p1, @p2, @p3, @p4, @p5, @p6, @p7, @p8, @p9, @p10, @p11, @p12, @p13, @p14, @p15, @p16, @p17, @p18, @p19, @p20, @p21);
2022-02-14 21:32:27.985 +08:00 [DBG] Added 0 entity changes to the current audit log
2022-02-14 21:32:27.985 +08:00 [DBG] Added 0 entity changes to the current audit log
2022-02-14 21:32:28.015 +08:00 [INF] Request finished HTTP/2 POST https://localhost:5000/api/part/add application/json 8 - 500 - application/json;+charset=utf-8 4704.4018ms
2022-02-14 21:46:23.053 +08:00 [INF] Starting web host.
2022-02-14 21:46:30.354 +08:00 [INF] User profile is available. Using 'C:\Users\lvcj2\AppData\Local\ASP.NET\DataProtection-Keys' as key repository and Windows DPAPI to encrypt keys at rest.
2022-02-14 21:46:30.502 +08:00 [INF] Loaded ABP modules:
2022-02-14 21:46:30.502 +08:00 [INF] - WmsWebApi.WmsWebApiHttpApiHostModule
2022-02-14 21:46:30.502 +08:00 [INF] - WmsWebApi.WmsWebApiApplicationModule
2022-02-14 21:46:30.502 +08:00 [INF] - WmsWebApi.WmsWebApiDomainModule
2022-02-14 21:46:30.502 +08:00 [INF] - Volo.Abp.Domain.AbpDddDomainModule
2022-02-14 21:46:30.502 +08:00 [INF] - Volo.Abp.Auditing.AbpAuditingModule
2022-02-14 21:46:30.502 +08:00 [INF] - Volo.Abp.Data.AbpDataModule
2022-02-14 21:46:30.502 +08:00 [INF] - Volo.Abp.ObjectExtending.AbpObjectExtendingModule
2022-02-14 21:46:30.502 +08:00 [INF] - Volo.Abp.Localization.AbpLocalizationAbstractionsModule
2022-02-14 21:46:30.502 +08:00 [INF] - Volo.Abp.Validation.AbpValidationAbstractionsModule
2022-02-14 21:46:30.502 +08:00 [INF] - Volo.Abp.Uow.AbpUnitOfWorkModule
2022-02-14 21:46:30.502 +08:00 [INF] - Volo.Abp.EventBus.Abstractions.AbpEventBusAbstractionsModule
2022-02-14 21:46:30.502 +08:00 [INF] - Volo.Abp.Json.AbpJsonModule
2022-02-14 21:46:30.502 +08:00 [INF] - Volo.Abp.Timing.AbpTimingModule
2022-02-14 21:46:30.502 +08:00 [INF] - Volo.Abp.Localization.AbpLocalizationModule
2022-02-14 21:46:30.502 +08:00 [INF] - Volo.Abp.VirtualFileSystem.AbpVirtualFileSystemModule
2022-02-14 21:46:30.502 +08:00 [INF] - Volo.Abp.Settings.AbpSettingsModule
2022-02-14 21:46:30.502 +08:00 [INF] - Volo.Abp.Security.AbpSecurityModule
2022-02-14 21:46:30.502 +08:00 [INF] - Volo.Abp.MultiTenancy.AbpMultiTenancyModule
2022-02-14 21:46:30.502 +08:00 [INF] - Volo.Abp.Threading.AbpThreadingModule
2022-02-14 21:46:30.502 +08:00 [INF] - Volo.Abp.EventBus.AbpEventBusModule
2022-02-14 21:46:30.502 +08:00 [INF] - Volo.Abp.Guids.AbpGuidsModule
2022-02-14 21:46:30.502 +08:00 [INF] - Volo.Abp.ObjectMapping.AbpObjectMappingModule
2022-02-14 21:46:30.502 +08:00 [INF] - Volo.Abp.ExceptionHandling.AbpExceptionHandlingModule
2022-02-14 21:46:30.502 +08:00 [INF] - Volo.Abp.Specifications.AbpSpecificationsModule
2022-02-14 21:46:30.502 +08:00 [INF] - WmsWebApi.WmsWebApiDomainSharedModule
2022-02-14 21:46:30.502 +08:00 [INF] - Volo.Abp.Validation.AbpValidationModule
2022-02-14 21:46:30.502 +08:00 [INF] - WmsWebApi.WmsWebApiApplicationContractsModule
2022-02-14 21:46:30.502 +08:00 [INF] - Volo.Abp.Application.AbpDddApplicationContractsModule
2022-02-14 21:46:30.502 +08:00 [INF] - Volo.Abp.Authorization.AbpAuthorizationModule
2022-02-14 21:46:30.502 +08:00 [INF] - Volo.Abp.Authorization.AbpAuthorizationAbstractionsModule
2022-02-14 21:46:30.502 +08:00 [INF] - Volo.Abp.Application.AbpDddApplicationModule
2022-02-14 21:46:30.502 +08:00 [INF] - Volo.Abp.Http.AbpHttpAbstractionsModule
2022-02-14 21:46:30.502 +08:00 [INF] - Volo.Abp.Features.AbpFeaturesModule
2022-02-14 21:46:30.502 +08:00 [INF] - Volo.Abp.GlobalFeatures.AbpGlobalFeaturesModule
2022-02-14 21:46:30.502 +08:00 [INF] - Volo.Abp.AutoMapper.AbpAutoMapperModule
2022-02-14 21:46:30.502 +08:00 [INF] - WmsWebApi.EntityFrameworkCore.WmsWebApiEntityFrameworkCoreModule
2022-02-14 21:46:30.502 +08:00 [INF] - Volo.Abp.EntityFrameworkCore.AbpEntityFrameworkCoreModule
2022-02-14 21:46:30.502 +08:00 [INF] - WmsWebApi.WmsWebApiHttpApiModule
2022-02-14 21:46:30.502 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.AbpAspNetCoreMvcModule
2022-02-14 21:46:30.502 +08:00 [INF] - Volo.Abp.AspNetCore.AbpAspNetCoreModule
2022-02-14 21:46:30.502 +08:00 [INF] - Volo.Abp.Http.AbpHttpModule
2022-02-14 21:46:30.502 +08:00 [INF] - Volo.Abp.Minify.AbpMinifyModule
2022-02-14 21:46:30.502 +08:00 [INF] - Volo.Abp.ApiVersioning.AbpApiVersioningAbstractionsModule
2022-02-14 21:46:30.502 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.AbpAspNetCoreMvcContractsModule
2022-02-14 21:46:30.502 +08:00 [INF] - Volo.Abp.UI.Navigation.AbpUiNavigationModule
2022-02-14 21:46:30.502 +08:00 [INF] - Volo.Abp.UI.AbpUiModule
2022-02-14 21:46:30.502 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.UI.MultiTenancy.AbpAspNetCoreMvcUiMultiTenancyModule
2022-02-14 21:46:30.502 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.UI.Theme.Shared.AbpAspNetCoreMvcUiThemeSharedModule
2022-02-14 21:46:30.502 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.AbpAspNetCoreMvcUiBootstrapModule
2022-02-14 21:46:30.502 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.UI.AbpAspNetCoreMvcUiModule
2022-02-14 21:46:30.502 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.UI.Packages.AbpAspNetCoreMvcUiPackagesModule
2022-02-14 21:46:30.502 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.UI.Bundling.AbpAspNetCoreMvcUiBundlingAbstractionsModule
2022-02-14 21:46:30.502 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.UI.Widgets.AbpAspNetCoreMvcUiWidgetsModule
2022-02-14 21:46:30.502 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.UI.Bundling.AbpAspNetCoreMvcUiBundlingModule
2022-02-14 21:46:30.502 +08:00 [INF] - Volo.Abp.AspNetCore.MultiTenancy.AbpAspNetCoreMultiTenancyModule
2022-02-14 21:46:30.502 +08:00 [INF] - Volo.Abp.Autofac.AbpAutofacModule
2022-02-14 21:46:30.502 +08:00 [INF] - Volo.Abp.Castle.AbpCastleCoreModule
2022-02-14 21:46:30.502 +08:00 [INF] - Volo.Abp.Caching.StackExchangeRedis.AbpCachingStackExchangeRedisModule
2022-02-14 21:46:30.502 +08:00 [INF] - Volo.Abp.Caching.AbpCachingModule
2022-02-14 21:46:30.502 +08:00 [INF] - Volo.Abp.Serialization.AbpSerializationModule
2022-02-14 21:46:30.502 +08:00 [INF] - Volo.Abp.EntityFrameworkCore.SqlServer.AbpEntityFrameworkCoreSqlServerModule
2022-02-14 21:46:30.502 +08:00 [INF] - Volo.Abp.AuditLogging.EntityFrameworkCore.AbpAuditLoggingEntityFrameworkCoreModule
2022-02-14 21:46:30.502 +08:00 [INF] - Volo.Abp.AuditLogging.AbpAuditLoggingDomainModule
2022-02-14 21:46:30.502 +08:00 [INF] - Volo.Abp.AuditLogging.AbpAuditLoggingDomainSharedModule
2022-02-14 21:46:30.502 +08:00 [INF] - Volo.Abp.PermissionManagement.EntityFrameworkCore.AbpPermissionManagementEntityFrameworkCoreModule
2022-02-14 21:46:30.502 +08:00 [INF] - Volo.Abp.PermissionManagement.AbpPermissionManagementDomainModule
2022-02-14 21:46:30.502 +08:00 [INF] - Volo.Abp.PermissionManagement.AbpPermissionManagementDomainSharedModule
2022-02-14 21:46:30.502 +08:00 [INF] - Volo.Abp.SettingManagement.EntityFrameworkCore.AbpSettingManagementEntityFrameworkCoreModule
2022-02-14 21:46:30.502 +08:00 [INF] - Volo.Abp.SettingManagement.AbpSettingManagementDomainModule
2022-02-14 21:46:30.502 +08:00 [INF] - Volo.Abp.SettingManagement.AbpSettingManagementDomainSharedModule
2022-02-14 21:46:30.502 +08:00 [INF] - Volo.Abp.AspNetCore.Serilog.AbpAspNetCoreSerilogModule
2022-02-14 21:46:30.502 +08:00 [INF] - Volo.Abp.Swashbuckle.AbpSwashbuckleModule
2022-02-14 21:46:32.771 +08:00 [INF] Initialized all ABP modules.
2022-02-14 21:46:33.760 +08:00 [INF] Now listening on: https://localhost:5000
2022-02-14 21:46:33.760 +08:00 [INF] Application started. Press Ctrl+C to shut down.
2022-02-14 21:46:33.760 +08:00 [INF] Hosting environment: Development
2022-02-14 21:46:33.760 +08:00 [INF] Content root path: D:\工作\派格\接口程序\WmsWebApi\host\WmsWebApi.HttpApi.Host
2022-02-14 21:46:42.315 +08:00 [INF] Request starting HTTP/2 GET https://localhost:5000/ - -
2022-02-14 21:46:45.870 +08:00 [INF] Executing endpoint 'WmsWebApi.Controllers.HomeController.Index (WmsWebApi.HttpApi.Host)'
2022-02-14 21:46:46.081 +08:00 [INF] Route matched with {action = "Index", controller = "Home", area = "", page = ""}. Executing controller action with signature Microsoft.AspNetCore.Mvc.ActionResult Index() on controller WmsWebApi.Controllers.HomeController (WmsWebApi.HttpApi.Host).
2022-02-14 21:46:46.689 +08:00 [INF] Executing action method WmsWebApi.Controllers.HomeController.Index (WmsWebApi.HttpApi.Host) - Validation state: "Valid"
2022-02-14 21:46:46.703 +08:00 [INF] Executed action method WmsWebApi.Controllers.HomeController.Index (WmsWebApi.HttpApi.Host), returned result Microsoft.AspNetCore.Mvc.RedirectResult in 0.741ms.
2022-02-14 21:46:46.716 +08:00 [INF] Executing RedirectResult, redirecting to /swagger.
2022-02-14 21:46:46.730 +08:00 [INF] Executed action WmsWebApi.Controllers.HomeController.Index (WmsWebApi.HttpApi.Host) in 636.6852ms
2022-02-14 21:46:46.730 +08:00 [INF] Executed endpoint 'WmsWebApi.Controllers.HomeController.Index (WmsWebApi.HttpApi.Host)'
2022-02-14 21:46:46.810 +08:00 [INF] Request starting HTTP/2 GET https://localhost:5000/swagger/index.html - -
2022-02-14 21:46:46.811 +08:00 [INF] Request finished HTTP/2 GET https://localhost:5000/ - - - 302 0 - 4503.7933ms
2022-02-14 21:46:47.484 +08:00 [INF] Request finished HTTP/2 GET https://localhost:5000/swagger/index.html - - - 200 - text/html;charset=utf-8 673.2371ms
2022-02-14 21:46:48.046 +08:00 [INF] Request starting HTTP/2 GET https://localhost:5000/_framework/aspnetcore-browser-refresh.js - -
2022-02-14 21:46:48.054 +08:00 [INF] Request finished HTTP/2 GET https://localhost:5000/_framework/aspnetcore-browser-refresh.js - - - 200 11956 application/javascript;+charset=utf-8 7.3882ms
2022-02-14 21:46:48.669 +08:00 [INF] Request starting HTTP/2 GET https://localhost:5000/swagger/v1/swagger.json - -
2022-02-14 21:46:49.129 +08:00 [INF] Request finished HTTP/2 GET https://localhost:5000/swagger/v1/swagger.json - - - 200 - application/json;charset=utf-8 459.7590ms
2022-02-14 21:46:59.902 +08:00 [INF] Request starting HTTP/2 GET https://localhost:5000/abp/Swashbuckle/SetCsrfCookie application/json -
2022-02-14 21:46:59.913 +08:00 [INF] Executing endpoint 'Volo.Abp.Swashbuckle.AbpSwashbuckleController.SetCsrfCookie (Volo.Abp.Swashbuckle)'
2022-02-14 21:46:59.916 +08:00 [INF] Route matched with {area = "Abp", action = "SetCsrfCookie", controller = "AbpSwashbuckle", page = ""}. Executing controller action with signature Void SetCsrfCookie() on controller Volo.Abp.Swashbuckle.AbpSwashbuckleController (Volo.Abp.Swashbuckle).
2022-02-14 21:47:00.144 +08:00 [INF] Executing action method Volo.Abp.Swashbuckle.AbpSwashbuckleController.SetCsrfCookie (Volo.Abp.Swashbuckle) - Validation state: "Valid"
2022-02-14 21:47:00.173 +08:00 [INF] Executed action method Volo.Abp.Swashbuckle.AbpSwashbuckleController.SetCsrfCookie (Volo.Abp.Swashbuckle), returned result Microsoft.AspNetCore.Mvc.EmptyResult in 29.4487ms.
2022-02-14 21:47:00.174 +08:00 [INF] Executed action Volo.Abp.Swashbuckle.AbpSwashbuckleController.SetCsrfCookie (Volo.Abp.Swashbuckle) in 257.7279ms
2022-02-14 21:47:00.174 +08:00 [INF] Executed endpoint 'Volo.Abp.Swashbuckle.AbpSwashbuckleController.SetCsrfCookie (Volo.Abp.Swashbuckle)'
2022-02-14 21:47:00.175 +08:00 [INF] Request finished HTTP/2 GET https://localhost:5000/abp/Swashbuckle/SetCsrfCookie application/json - - 204 - - 272.6026ms
2022-02-14 21:47:00.324 +08:00 [INF] Request starting HTTP/2 POST https://localhost:5000/api/part/add application/json 8
2022-02-14 21:47:00.338 +08:00 [INF] CORS policy execution failed.
2022-02-14 21:47:00.339 +08:00 [INF] Request origin https://localhost:5000 does not have permission to access the resource.
2022-02-14 21:47:00.348 +08:00 [INF] Executing endpoint 'WmsWebApi.Parts.PartService.AddAsync (WmsWebApi.Application)'
2022-02-14 21:47:00.403 +08:00 [INF] Route matched with {action = "Add", controller = "Part", area = "", page = ""}. Executing controller action with signature System.Threading.Tasks.Task`1[WmsWebApi.Parts.ReturnResult] AddAsync(System.Object) on controller WmsWebApi.Parts.PartService (WmsWebApi.Application).
2022-02-14 21:47:01.099 +08:00 [ERR] ---------- RemoteServiceErrorInfo ----------
{
"code": null,
"message": "An internal error occurred during your request!",
"details": null,
"data": {
"ActivatorChain": "Castle.Proxies.PartServiceProxy -> WmsWebApi.Parts.PartManager"
},
"validationErrors": null
}
2022-02-14 21:47:01.099 +08:00 [ERR] An exception was thrown while activating Castle.Proxies.PartServiceProxy -> WmsWebApi.Parts.PartManager.
Autofac.Core.DependencyResolutionException: An exception was thrown while activating Castle.Proxies.PartServiceProxy -> WmsWebApi.Parts.PartManager.
---> Autofac.Core.DependencyResolutionException: None of the constructors found with 'Volo.Abp.Autofac.AbpAutofacConstructorFinder' on type 'WmsWebApi.Parts.PartManager' can be invoked with the available services and parameters:
Cannot resolve parameter 'Volo.Abp.Domain.Repositories.IRepository`2[WmsWebApi.Parts.WmsWebApiPARTDTO,System.Guid] partDtoRepository' of constructor 'Void .ctor(Volo.Abp.Domain.Repositories.IRepository`2[WmsWebApi.Parts.WmsWebApiPARTDTO,System.Guid])'.
at Autofac.Core.Activators.Reflection.ReflectionActivator.GetAllBindings(ConstructorBinder[] availableConstructors, IComponentContext context, IEnumerable`1 parameters)
at Autofac.Core.Activators.Reflection.ReflectionActivator.ActivateInstance(IComponentContext context, IEnumerable`1 parameters)
at Autofac.Core.Activators.Reflection.ReflectionActivator.<ConfigurePipeline>b__11_0(ResolveRequestContext ctxt, Action`1 next)
at Autofac.Core.Resolving.Pipeline.ResolvePipelineBuilder.<>c__DisplayClass14_0.<BuildPipeline>b__1(ResolveRequestContext ctxt)
at Autofac.Core.Resolving.Middleware.DisposalTrackingMiddleware.Execute(ResolveRequestContext context, Action`1 next)
at Autofac.Core.Resolving.Pipeline.ResolvePipelineBuilder.<>c__DisplayClass14_0.<BuildPipeline>b__1(ResolveRequestContext ctxt)
at Autofac.Builder.RegistrationBuilder`3.<>c__DisplayClass41_0.<PropertiesAutowired>b__0(ResolveRequestContext ctxt, Action`1 next)
at Autofac.Core.Resolving.Pipeline.ResolvePipelineBuilder.<>c__DisplayClass14_0.<BuildPipeline>b__1(ResolveRequestContext ctxt)
at Autofac.Core.Resolving.Middleware.ActivatorErrorHandlingMiddleware.Execute(ResolveRequestContext context, Action`1 next)
--- End of inner exception stack trace ---
at Autofac.Core.Resolving.Middleware.ActivatorErrorHandlingMiddleware.Execute(ResolveRequestContext context, Action`1 next)
at Autofac.Core.Resolving.Pipeline.ResolvePipelineBuilder.<>c__DisplayClass14_0.<BuildPipeline>b__1(ResolveRequestContext ctxt)
at Autofac.Builder.RegistrationBuilder`3.<>c__DisplayClass35_0.<OnPreparing>b__0(ResolveRequestContext ctxt, Action`1 next)
at Autofac.Core.Resolving.Middleware.CoreEventMiddleware.Execute(ResolveRequestContext context, Action`1 next)
at Autofac.Core.Resolving.Pipeline.ResolvePipelineBuilder.<>c__DisplayClass14_0.<BuildPipeline>b__1(ResolveRequestContext ctxt)
at Autofac.Core.Resolving.Pipeline.ResolvePipelineBuilder.<>c__DisplayClass14_0.<BuildPipeline>b__1(ResolveRequestContext ctxt)
at Autofac.Core.Resolving.Middleware.SharingMiddleware.Execute(ResolveRequestContext context, Action`1 next)
at Autofac.Core.Resolving.Pipeline.ResolvePipelineBuilder.<>c__DisplayClass14_0.<BuildPipeline>b__1(ResolveRequestContext ctxt)
at Autofac.Core.Resolving.Pipeline.ResolvePipelineBuilder.<>c__DisplayClass14_0.<BuildPipeline>b__1(ResolveRequestContext ctxt)
at Autofac.Core.Resolving.Middleware.CircularDependencyDetectorMiddleware.Execute(ResolveRequestContext context, Action`1 next)
at Autofac.Core.Resolving.Pipeline.ResolvePipelineBuilder.<>c__DisplayClass14_0.<BuildPipeline>b__1(ResolveRequestContext ctxt)
at Autofac.Core.Resolving.ResolveOperation.GetOrCreateInstance(ISharingLifetimeScope currentOperationScope, ResolveRequest request)
at Autofac.Core.Resolving.ResolveOperation.ExecuteOperation(ResolveRequest request)
at Autofac.ResolutionExtensions.TryResolveService(IComponentContext context, Service service, IEnumerable`1 parameters, Object& instance)
at Autofac.ResolutionExtensions.ResolveService(IComponentContext context, Service service, IEnumerable`1 parameters)
at Microsoft.AspNetCore.Mvc.Controllers.ServiceBasedControllerActivator.Create(ControllerContext actionContext)
at Microsoft.AspNetCore.Mvc.Controllers.ControllerFactoryProvider.<>c__DisplayClass5_0.<CreateControllerFactory>g__CreateController|0(ControllerContext controllerContext)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.InvokeInnerFilterAsync()
--- End of stack trace from previous location ---
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeNextExceptionFilterAsync>g__Awaited|25_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
2022-02-14 21:47:01.102 +08:00 [ERR] ---------- Exception Data ----------
ActivatorChain = Castle.Proxies.PartServiceProxy -> WmsWebApi.Parts.PartManager
2022-02-14 21:47:01.114 +08:00 [INF] Executing ObjectResult, writing value of type 'Volo.Abp.Http.RemoteServiceErrorResponse'.
2022-02-14 21:47:01.143 +08:00 [INF] Executed action WmsWebApi.Parts.PartService.AddAsync (WmsWebApi.Application) in 739.5158ms
2022-02-14 21:47:01.143 +08:00 [INF] Executed endpoint 'WmsWebApi.Parts.PartService.AddAsync (WmsWebApi.Application)'
2022-02-14 21:47:02.799 +08:00 [INF] Entity Framework Core 5.0.13 initialized 'AbpAuditLoggingDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: QuerySplittingBehavior=SplitQuery
2022-02-14 21:47:05.264 +08:00 [INF] Executed DbCommand (239ms) [Parameters=[@p0='?' (DbType = Guid), @p1='?' (Size = 96), @p2='?' (Size = 512), @p3='?' (Size = 64), @p4='?' (Size = 64), @p5='?' (Size = 128), @p6='?' (Size = 256), @p7='?' (Size = 40), @p8='?' (Size = 64), @p9='?' (Size = 4000), @p10='?' (DbType = Int32), @p11='?' (DbType = DateTime2), @p12='?' (Size = 4000), @p13='?' (Size = 16), @p14='?' (DbType = Int32), @p15='?' (DbType = Guid), @p16='?' (DbType = Guid), @p17='?' (DbType = Guid), @p18='?' (Size = 4000), @p19='?' (Size = 256), @p20='?' (DbType = Guid), @p21='?' (Size = 256)], CommandType='"Text"', CommandTimeout='30']
SET NOCOUNT ON;
INSERT INTO [AbpAuditLogs] ([Id], [ApplicationName], [BrowserInfo], [ClientId], [ClientIpAddress], [ClientName], [Comments], [ConcurrencyStamp], [CorrelationId], [Exceptions], [ExecutionDuration], [ExecutionTime], [ExtraProperties], [HttpMethod], [HttpStatusCode], [ImpersonatorTenantId], [ImpersonatorUserId], [TenantId], [TenantName], [Url], [UserId], [UserName])
VALUES (@p0, @p1, @p2, @p3, @p4, @p5, @p6, @p7, @p8, @p9, @p10, @p11, @p12, @p13, @p14, @p15, @p16, @p17, @p18, @p19, @p20, @p21);
2022-02-14 21:47:05.783 +08:00 [DBG] Added 0 entity changes to the current audit log
2022-02-14 21:47:05.784 +08:00 [DBG] Added 0 entity changes to the current audit log
2022-02-14 21:47:05.832 +08:00 [INF] Request finished HTTP/2 POST https://localhost:5000/api/part/add application/json 8 - 500 - application/json;+charset=utf-8 5507.5437ms
2022-02-14 21:53:55.412 +08:00 [INF] Starting web host.
2022-02-14 21:54:03.871 +08:00 [INF] User profile is available. Using 'C:\Users\lvcj2\AppData\Local\ASP.NET\DataProtection-Keys' as key repository and Windows DPAPI to encrypt keys at rest.
2022-02-14 21:54:04.325 +08:00 [INF] Loaded ABP modules:
2022-02-14 21:54:04.325 +08:00 [INF] - WmsWebApi.WmsWebApiHttpApiHostModule
2022-02-14 21:54:04.325 +08:00 [INF] - WmsWebApi.WmsWebApiApplicationModule
2022-02-14 21:54:04.325 +08:00 [INF] - WmsWebApi.WmsWebApiDomainModule
2022-02-14 21:54:04.325 +08:00 [INF] - Volo.Abp.Domain.AbpDddDomainModule
2022-02-14 21:54:04.325 +08:00 [INF] - Volo.Abp.Auditing.AbpAuditingModule
2022-02-14 21:54:04.325 +08:00 [INF] - Volo.Abp.Data.AbpDataModule
2022-02-14 21:54:04.325 +08:00 [INF] - Volo.Abp.ObjectExtending.AbpObjectExtendingModule
2022-02-14 21:54:04.325 +08:00 [INF] - Volo.Abp.Localization.AbpLocalizationAbstractionsModule
2022-02-14 21:54:04.325 +08:00 [INF] - Volo.Abp.Validation.AbpValidationAbstractionsModule
2022-02-14 21:54:04.325 +08:00 [INF] - Volo.Abp.Uow.AbpUnitOfWorkModule
2022-02-14 21:54:04.325 +08:00 [INF] - Volo.Abp.EventBus.Abstractions.AbpEventBusAbstractionsModule
2022-02-14 21:54:04.325 +08:00 [INF] - Volo.Abp.Json.AbpJsonModule
2022-02-14 21:54:04.325 +08:00 [INF] - Volo.Abp.Timing.AbpTimingModule
2022-02-14 21:54:04.325 +08:00 [INF] - Volo.Abp.Localization.AbpLocalizationModule
2022-02-14 21:54:04.325 +08:00 [INF] - Volo.Abp.VirtualFileSystem.AbpVirtualFileSystemModule
2022-02-14 21:54:04.326 +08:00 [INF] - Volo.Abp.Settings.AbpSettingsModule
2022-02-14 21:54:04.326 +08:00 [INF] - Volo.Abp.Security.AbpSecurityModule
2022-02-14 21:54:04.326 +08:00 [INF] - Volo.Abp.MultiTenancy.AbpMultiTenancyModule
2022-02-14 21:54:04.326 +08:00 [INF] - Volo.Abp.Threading.AbpThreadingModule
2022-02-14 21:54:04.326 +08:00 [INF] - Volo.Abp.EventBus.AbpEventBusModule
2022-02-14 21:54:04.326 +08:00 [INF] - Volo.Abp.Guids.AbpGuidsModule
2022-02-14 21:54:04.326 +08:00 [INF] - Volo.Abp.ObjectMapping.AbpObjectMappingModule
2022-02-14 21:54:04.326 +08:00 [INF] - Volo.Abp.ExceptionHandling.AbpExceptionHandlingModule
2022-02-14 21:54:04.326 +08:00 [INF] - Volo.Abp.Specifications.AbpSpecificationsModule
2022-02-14 21:54:04.326 +08:00 [INF] - WmsWebApi.WmsWebApiDomainSharedModule
2022-02-14 21:54:04.326 +08:00 [INF] - Volo.Abp.Validation.AbpValidationModule
2022-02-14 21:54:04.326 +08:00 [INF] - WmsWebApi.WmsWebApiApplicationContractsModule
2022-02-14 21:54:04.326 +08:00 [INF] - Volo.Abp.Application.AbpDddApplicationContractsModule
2022-02-14 21:54:04.326 +08:00 [INF] - Volo.Abp.Authorization.AbpAuthorizationModule
2022-02-14 21:54:04.326 +08:00 [INF] - Volo.Abp.Authorization.AbpAuthorizationAbstractionsModule
2022-02-14 21:54:04.326 +08:00 [INF] - Volo.Abp.Application.AbpDddApplicationModule
2022-02-14 21:54:04.326 +08:00 [INF] - Volo.Abp.Http.AbpHttpAbstractionsModule
2022-02-14 21:54:04.326 +08:00 [INF] - Volo.Abp.Features.AbpFeaturesModule
2022-02-14 21:54:04.326 +08:00 [INF] - Volo.Abp.GlobalFeatures.AbpGlobalFeaturesModule
2022-02-14 21:54:04.326 +08:00 [INF] - Volo.Abp.AutoMapper.AbpAutoMapperModule
2022-02-14 21:54:04.326 +08:00 [INF] - WmsWebApi.EntityFrameworkCore.WmsWebApiEntityFrameworkCoreModule
2022-02-14 21:54:04.326 +08:00 [INF] - Volo.Abp.EntityFrameworkCore.AbpEntityFrameworkCoreModule
2022-02-14 21:54:04.327 +08:00 [INF] - WmsWebApi.WmsWebApiHttpApiModule
2022-02-14 21:54:04.327 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.AbpAspNetCoreMvcModule
2022-02-14 21:54:04.327 +08:00 [INF] - Volo.Abp.AspNetCore.AbpAspNetCoreModule
2022-02-14 21:54:04.327 +08:00 [INF] - Volo.Abp.Http.AbpHttpModule
2022-02-14 21:54:04.327 +08:00 [INF] - Volo.Abp.Minify.AbpMinifyModule
2022-02-14 21:54:04.327 +08:00 [INF] - Volo.Abp.ApiVersioning.AbpApiVersioningAbstractionsModule
2022-02-14 21:54:04.327 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.AbpAspNetCoreMvcContractsModule
2022-02-14 21:54:04.327 +08:00 [INF] - Volo.Abp.UI.Navigation.AbpUiNavigationModule
2022-02-14 21:54:04.327 +08:00 [INF] - Volo.Abp.UI.AbpUiModule
2022-02-14 21:54:04.327 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.UI.MultiTenancy.AbpAspNetCoreMvcUiMultiTenancyModule
2022-02-14 21:54:04.327 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.UI.Theme.Shared.AbpAspNetCoreMvcUiThemeSharedModule
2022-02-14 21:54:04.327 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.AbpAspNetCoreMvcUiBootstrapModule
2022-02-14 21:54:04.327 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.UI.AbpAspNetCoreMvcUiModule
2022-02-14 21:54:04.327 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.UI.Packages.AbpAspNetCoreMvcUiPackagesModule
2022-02-14 21:54:04.327 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.UI.Bundling.AbpAspNetCoreMvcUiBundlingAbstractionsModule
2022-02-14 21:54:04.327 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.UI.Widgets.AbpAspNetCoreMvcUiWidgetsModule
2022-02-14 21:54:04.327 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.UI.Bundling.AbpAspNetCoreMvcUiBundlingModule
2022-02-14 21:54:04.327 +08:00 [INF] - Volo.Abp.AspNetCore.MultiTenancy.AbpAspNetCoreMultiTenancyModule
2022-02-14 21:54:04.327 +08:00 [INF] - Volo.Abp.Autofac.AbpAutofacModule
2022-02-14 21:54:04.327 +08:00 [INF] - Volo.Abp.Castle.AbpCastleCoreModule
2022-02-14 21:54:04.327 +08:00 [INF] - Volo.Abp.Caching.StackExchangeRedis.AbpCachingStackExchangeRedisModule
2022-02-14 21:54:04.327 +08:00 [INF] - Volo.Abp.Caching.AbpCachingModule
2022-02-14 21:54:04.327 +08:00 [INF] - Volo.Abp.Serialization.AbpSerializationModule
2022-02-14 21:54:04.327 +08:00 [INF] - Volo.Abp.EntityFrameworkCore.SqlServer.AbpEntityFrameworkCoreSqlServerModule
2022-02-14 21:54:04.327 +08:00 [INF] - Volo.Abp.AuditLogging.EntityFrameworkCore.AbpAuditLoggingEntityFrameworkCoreModule
2022-02-14 21:54:04.327 +08:00 [INF] - Volo.Abp.AuditLogging.AbpAuditLoggingDomainModule
2022-02-14 21:54:04.327 +08:00 [INF] - Volo.Abp.AuditLogging.AbpAuditLoggingDomainSharedModule
2022-02-14 21:54:04.327 +08:00 [INF] - Volo.Abp.PermissionManagement.EntityFrameworkCore.AbpPermissionManagementEntityFrameworkCoreModule
2022-02-14 21:54:04.327 +08:00 [INF] - Volo.Abp.PermissionManagement.AbpPermissionManagementDomainModule
2022-02-14 21:54:04.327 +08:00 [INF] - Volo.Abp.PermissionManagement.AbpPermissionManagementDomainSharedModule
2022-02-14 21:54:04.327 +08:00 [INF] - Volo.Abp.SettingManagement.EntityFrameworkCore.AbpSettingManagementEntityFrameworkCoreModule
2022-02-14 21:54:04.327 +08:00 [INF] - Volo.Abp.SettingManagement.AbpSettingManagementDomainModule
2022-02-14 21:54:04.327 +08:00 [INF] - Volo.Abp.SettingManagement.AbpSettingManagementDomainSharedModule
2022-02-14 21:54:04.327 +08:00 [INF] - Volo.Abp.AspNetCore.Serilog.AbpAspNetCoreSerilogModule
2022-02-14 21:54:04.327 +08:00 [INF] - Volo.Abp.Swashbuckle.AbpSwashbuckleModule
2022-02-14 21:54:06.333 +08:00 [INF] Initialized all ABP modules.
2022-02-14 21:54:07.673 +08:00 [INF] Now listening on: https://localhost:5000
2022-02-14 21:54:07.674 +08:00 [INF] Application started. Press Ctrl+C to shut down.
2022-02-14 21:54:07.674 +08:00 [INF] Hosting environment: Development
2022-02-14 21:54:07.674 +08:00 [INF] Content root path: D:\工作\派格\接口程序\WmsWebApi\host\WmsWebApi.HttpApi.Host
2022-02-14 21:54:14.038 +08:00 [INF] Request starting HTTP/2 GET https://localhost:5000/ - -
2022-02-14 21:54:17.392 +08:00 [INF] Executing endpoint 'WmsWebApi.Controllers.HomeController.Index (WmsWebApi.HttpApi.Host)'
2022-02-14 21:54:17.559 +08:00 [INF] Route matched with {action = "Index", controller = "Home", area = "", page = ""}. Executing controller action with signature Microsoft.AspNetCore.Mvc.ActionResult Index() on controller WmsWebApi.Controllers.HomeController (WmsWebApi.HttpApi.Host).
2022-02-14 21:54:18.051 +08:00 [INF] Executing action method WmsWebApi.Controllers.HomeController.Index (WmsWebApi.HttpApi.Host) - Validation state: "Valid"
2022-02-14 21:54:18.069 +08:00 [INF] Executed action method WmsWebApi.Controllers.HomeController.Index (WmsWebApi.HttpApi.Host), returned result Microsoft.AspNetCore.Mvc.RedirectResult in 0.9676ms.
2022-02-14 21:54:18.086 +08:00 [INF] Executing RedirectResult, redirecting to /swagger.
2022-02-14 21:54:18.101 +08:00 [INF] Executed action WmsWebApi.Controllers.HomeController.Index (WmsWebApi.HttpApi.Host) in 529.5635ms
2022-02-14 21:54:18.101 +08:00 [INF] Executed endpoint 'WmsWebApi.Controllers.HomeController.Index (WmsWebApi.HttpApi.Host)'
2022-02-14 21:54:18.179 +08:00 [INF] Request starting HTTP/2 GET https://localhost:5000/swagger/index.html - -
2022-02-14 21:54:18.187 +08:00 [INF] Request finished HTTP/2 GET https://localhost:5000/ - - - 302 0 - 4150.4158ms
2022-02-14 21:54:18.683 +08:00 [INF] Request finished HTTP/2 GET https://localhost:5000/swagger/index.html - - - 200 - text/html;charset=utf-8 502.7206ms
2022-02-14 21:54:18.702 +08:00 [INF] Request starting HTTP/2 GET https://localhost:5000/_framework/aspnetcore-browser-refresh.js - -
2022-02-14 21:54:18.722 +08:00 [INF] Request finished HTTP/2 GET https://localhost:5000/_framework/aspnetcore-browser-refresh.js - - - 200 11956 application/javascript;+charset=utf-8 19.7046ms
2022-02-14 21:54:20.078 +08:00 [INF] Request starting HTTP/2 GET https://localhost:5000/swagger/v1/swagger.json - -
2022-02-14 21:54:20.580 +08:00 [INF] Request finished HTTP/2 GET https://localhost:5000/swagger/v1/swagger.json - - - 200 - application/json;charset=utf-8 503.1385ms
2022-02-14 21:54:26.873 +08:00 [INF] Request starting HTTP/2 GET https://localhost:5000/abp/Swashbuckle/SetCsrfCookie application/json -
2022-02-14 21:54:26.883 +08:00 [INF] Executing endpoint 'Volo.Abp.Swashbuckle.AbpSwashbuckleController.SetCsrfCookie (Volo.Abp.Swashbuckle)'
2022-02-14 21:54:26.888 +08:00 [INF] Route matched with {area = "Abp", action = "SetCsrfCookie", controller = "AbpSwashbuckle", page = ""}. Executing controller action with signature Void SetCsrfCookie() on controller Volo.Abp.Swashbuckle.AbpSwashbuckleController (Volo.Abp.Swashbuckle).
2022-02-14 21:54:27.139 +08:00 [INF] Executing action method Volo.Abp.Swashbuckle.AbpSwashbuckleController.SetCsrfCookie (Volo.Abp.Swashbuckle) - Validation state: "Valid"
2022-02-14 21:54:27.169 +08:00 [INF] Executed action method Volo.Abp.Swashbuckle.AbpSwashbuckleController.SetCsrfCookie (Volo.Abp.Swashbuckle), returned result Microsoft.AspNetCore.Mvc.EmptyResult in 29.7543ms.
2022-02-14 21:54:27.170 +08:00 [INF] Executed action Volo.Abp.Swashbuckle.AbpSwashbuckleController.SetCsrfCookie (Volo.Abp.Swashbuckle) in 281.8283ms
2022-02-14 21:54:27.170 +08:00 [INF] Executed endpoint 'Volo.Abp.Swashbuckle.AbpSwashbuckleController.SetCsrfCookie (Volo.Abp.Swashbuckle)'
2022-02-14 21:54:27.171 +08:00 [INF] Request finished HTTP/2 GET https://localhost:5000/abp/Swashbuckle/SetCsrfCookie application/json - - 204 - - 297.8877ms
2022-02-14 21:54:27.413 +08:00 [INF] Request starting HTTP/2 POST https://localhost:5000/api/part/add application/json 8
2022-02-14 21:54:27.434 +08:00 [INF] CORS policy execution failed.
2022-02-14 21:54:27.434 +08:00 [INF] Request origin https://localhost:5000 does not have permission to access the resource.
2022-02-14 21:54:27.444 +08:00 [INF] Executing endpoint 'WmsWebApi.Parts.PartService.AddAsync (WmsWebApi.Application)'
2022-02-14 21:54:27.513 +08:00 [INF] Route matched with {action = "Add", controller = "Part", area = "", page = ""}. Executing controller action with signature System.Threading.Tasks.Task`1[WmsWebApi.Parts.ReturnResult] AddAsync(System.Object) on controller WmsWebApi.Parts.PartService (WmsWebApi.Application).
2022-02-14 21:54:44.803 +08:00 [INF] Executing action method WmsWebApi.Parts.PartService.AddAsync (WmsWebApi.Application) - Validation state: "Valid"
2022-02-14 21:54:49.892 +08:00 [INF] Executed action method WmsWebApi.Parts.PartService.AddAsync (WmsWebApi.Application), returned result Microsoft.AspNetCore.Mvc.ObjectResult in 5089.3223ms.
2022-02-14 21:54:49.898 +08:00 [INF] Executing ObjectResult, writing value of type 'WmsWebApi.Parts.ReturnResult'.
2022-02-14 21:54:49.907 +08:00 [INF] Executed action WmsWebApi.Parts.PartService.AddAsync (WmsWebApi.Application) in 22393.7125ms
2022-02-14 21:54:49.907 +08:00 [INF] Executed endpoint 'WmsWebApi.Parts.PartService.AddAsync (WmsWebApi.Application)'
2022-02-14 21:54:51.470 +08:00 [INF] Entity Framework Core 5.0.13 initialized 'AbpAuditLoggingDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: QuerySplittingBehavior=SplitQuery
2022-02-14 21:54:54.053 +08:00 [INF] Executed DbCommand (163ms) [Parameters=[@p0='?' (DbType = Guid), @p1='?' (Size = 96), @p2='?' (Size = 512), @p3='?' (Size = 64), @p4='?' (Size = 64), @p5='?' (Size = 128), @p6='?' (Size = 256), @p7='?' (Size = 40), @p8='?' (Size = 64), @p9='?' (Size = 4000), @p10='?' (DbType = Int32), @p11='?' (DbType = DateTime2), @p12='?' (Size = 4000), @p13='?' (Size = 16), @p14='?' (DbType = Int32), @p15='?' (DbType = Guid), @p16='?' (DbType = Guid), @p17='?' (DbType = Guid), @p18='?' (Size = 4000), @p19='?' (Size = 256), @p20='?' (DbType = Guid), @p21='?' (Size = 256)], CommandType='"Text"', CommandTimeout='30']
SET NOCOUNT ON;
INSERT INTO [AbpAuditLogs] ([Id], [ApplicationName], [BrowserInfo], [ClientId], [ClientIpAddress], [ClientName], [Comments], [ConcurrencyStamp], [CorrelationId], [Exceptions], [ExecutionDuration], [ExecutionTime], [ExtraProperties], [HttpMethod], [HttpStatusCode], [ImpersonatorTenantId], [ImpersonatorUserId], [TenantId], [TenantName], [Url], [UserId], [UserName])
VALUES (@p0, @p1, @p2, @p3, @p4, @p5, @p6, @p7, @p8, @p9, @p10, @p11, @p12, @p13, @p14, @p15, @p16, @p17, @p18, @p19, @p20, @p21);
2022-02-14 21:54:54.129 +08:00 [INF] Executed DbCommand (30ms) [Parameters=[@p22='?' (DbType = Guid), @p23='?' (DbType = Guid), @p24='?' (DbType = Int32), @p25='?' (DbType = DateTime2), @p26='?' (Size = 4000), @p27='?' (Size = 128), @p28='?' (Size = 2000), @p29='?' (Size = 256), @p30='?' (DbType = Guid)], CommandType='"Text"', CommandTimeout='30']
SET NOCOUNT ON;
INSERT INTO [AbpAuditLogActions] ([Id], [AuditLogId], [ExecutionDuration], [ExecutionTime], [ExtraProperties], [MethodName], [Parameters], [ServiceName], [TenantId])
VALUES (@p22, @p23, @p24, @p25, @p26, @p27, @p28, @p29, @p30);
2022-02-14 21:54:54.554 +08:00 [DBG] Added 0 entity changes to the current audit log
2022-02-14 21:54:54.554 +08:00 [DBG] Added 0 entity changes to the current audit log
2022-02-14 21:54:54.597 +08:00 [INF] Request finished HTTP/2 POST https://localhost:5000/api/part/add application/json 8 - 200 - application/json;+charset=utf-8 27183.5917ms
2022-02-14 21:55:56.523 +08:00 [INF] Starting web host.
2022-02-14 21:56:07.219 +08:00 [INF] User profile is available. Using 'C:\Users\lvcj2\AppData\Local\ASP.NET\DataProtection-Keys' as key repository and Windows DPAPI to encrypt keys at rest.
2022-02-14 21:56:07.496 +08:00 [INF] Loaded ABP modules:
2022-02-14 21:56:07.496 +08:00 [INF] - WmsWebApi.WmsWebApiHttpApiHostModule
2022-02-14 21:56:07.496 +08:00 [INF] - WmsWebApi.WmsWebApiApplicationModule
2022-02-14 21:56:07.496 +08:00 [INF] - WmsWebApi.WmsWebApiDomainModule
2022-02-14 21:56:07.496 +08:00 [INF] - Volo.Abp.Domain.AbpDddDomainModule
2022-02-14 21:56:07.496 +08:00 [INF] - Volo.Abp.Auditing.AbpAuditingModule
2022-02-14 21:56:07.496 +08:00 [INF] - Volo.Abp.Data.AbpDataModule
2022-02-14 21:56:07.496 +08:00 [INF] - Volo.Abp.ObjectExtending.AbpObjectExtendingModule
2022-02-14 21:56:07.496 +08:00 [INF] - Volo.Abp.Localization.AbpLocalizationAbstractionsModule
2022-02-14 21:56:07.496 +08:00 [INF] - Volo.Abp.Validation.AbpValidationAbstractionsModule
2022-02-14 21:56:07.496 +08:00 [INF] - Volo.Abp.Uow.AbpUnitOfWorkModule
2022-02-14 21:56:07.496 +08:00 [INF] - Volo.Abp.EventBus.Abstractions.AbpEventBusAbstractionsModule
2022-02-14 21:56:07.496 +08:00 [INF] - Volo.Abp.Json.AbpJsonModule
2022-02-14 21:56:07.496 +08:00 [INF] - Volo.Abp.Timing.AbpTimingModule
2022-02-14 21:56:07.496 +08:00 [INF] - Volo.Abp.Localization.AbpLocalizationModule
2022-02-14 21:56:07.496 +08:00 [INF] - Volo.Abp.VirtualFileSystem.AbpVirtualFileSystemModule
2022-02-14 21:56:07.496 +08:00 [INF] - Volo.Abp.Settings.AbpSettingsModule
2022-02-14 21:56:07.496 +08:00 [INF] - Volo.Abp.Security.AbpSecurityModule
2022-02-14 21:56:07.496 +08:00 [INF] - Volo.Abp.MultiTenancy.AbpMultiTenancyModule
2022-02-14 21:56:07.496 +08:00 [INF] - Volo.Abp.Threading.AbpThreadingModule
2022-02-14 21:56:07.496 +08:00 [INF] - Volo.Abp.EventBus.AbpEventBusModule
2022-02-14 21:56:07.496 +08:00 [INF] - Volo.Abp.Guids.AbpGuidsModule
2022-02-14 21:56:07.496 +08:00 [INF] - Volo.Abp.ObjectMapping.AbpObjectMappingModule
2022-02-14 21:56:07.496 +08:00 [INF] - Volo.Abp.ExceptionHandling.AbpExceptionHandlingModule
2022-02-14 21:56:07.496 +08:00 [INF] - Volo.Abp.Specifications.AbpSpecificationsModule
2022-02-14 21:56:07.496 +08:00 [INF] - WmsWebApi.WmsWebApiDomainSharedModule
2022-02-14 21:56:07.496 +08:00 [INF] - Volo.Abp.Validation.AbpValidationModule
2022-02-14 21:56:07.496 +08:00 [INF] - WmsWebApi.WmsWebApiApplicationContractsModule
2022-02-14 21:56:07.496 +08:00 [INF] - Volo.Abp.Application.AbpDddApplicationContractsModule
2022-02-14 21:56:07.496 +08:00 [INF] - Volo.Abp.Authorization.AbpAuthorizationModule
2022-02-14 21:56:07.496 +08:00 [INF] - Volo.Abp.Authorization.AbpAuthorizationAbstractionsModule
2022-02-14 21:56:07.496 +08:00 [INF] - Volo.Abp.Application.AbpDddApplicationModule
2022-02-14 21:56:07.496 +08:00 [INF] - Volo.Abp.Http.AbpHttpAbstractionsModule
2022-02-14 21:56:07.496 +08:00 [INF] - Volo.Abp.Features.AbpFeaturesModule
2022-02-14 21:56:07.496 +08:00 [INF] - Volo.Abp.GlobalFeatures.AbpGlobalFeaturesModule
2022-02-14 21:56:07.496 +08:00 [INF] - Volo.Abp.AutoMapper.AbpAutoMapperModule
2022-02-14 21:56:07.496 +08:00 [INF] - WmsWebApi.EntityFrameworkCore.WmsWebApiEntityFrameworkCoreModule
2022-02-14 21:56:07.496 +08:00 [INF] - Volo.Abp.EntityFrameworkCore.AbpEntityFrameworkCoreModule
2022-02-14 21:56:07.496 +08:00 [INF] - WmsWebApi.WmsWebApiHttpApiModule
2022-02-14 21:56:07.496 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.AbpAspNetCoreMvcModule
2022-02-14 21:56:07.496 +08:00 [INF] - Volo.Abp.AspNetCore.AbpAspNetCoreModule
2022-02-14 21:56:07.496 +08:00 [INF] - Volo.Abp.Http.AbpHttpModule
2022-02-14 21:56:07.496 +08:00 [INF] - Volo.Abp.Minify.AbpMinifyModule
2022-02-14 21:56:07.496 +08:00 [INF] - Volo.Abp.ApiVersioning.AbpApiVersioningAbstractionsModule
2022-02-14 21:56:07.496 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.AbpAspNetCoreMvcContractsModule
2022-02-14 21:56:07.496 +08:00 [INF] - Volo.Abp.UI.Navigation.AbpUiNavigationModule
2022-02-14 21:56:07.496 +08:00 [INF] - Volo.Abp.UI.AbpUiModule
2022-02-14 21:56:07.496 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.UI.MultiTenancy.AbpAspNetCoreMvcUiMultiTenancyModule
2022-02-14 21:56:07.496 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.UI.Theme.Shared.AbpAspNetCoreMvcUiThemeSharedModule
2022-02-14 21:56:07.496 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.AbpAspNetCoreMvcUiBootstrapModule
2022-02-14 21:56:07.496 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.UI.AbpAspNetCoreMvcUiModule
2022-02-14 21:56:07.496 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.UI.Packages.AbpAspNetCoreMvcUiPackagesModule
2022-02-14 21:56:07.496 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.UI.Bundling.AbpAspNetCoreMvcUiBundlingAbstractionsModule
2022-02-14 21:56:07.496 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.UI.Widgets.AbpAspNetCoreMvcUiWidgetsModule
2022-02-14 21:56:07.496 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.UI.Bundling.AbpAspNetCoreMvcUiBundlingModule
2022-02-14 21:56:07.496 +08:00 [INF] - Volo.Abp.AspNetCore.MultiTenancy.AbpAspNetCoreMultiTenancyModule
2022-02-14 21:56:07.496 +08:00 [INF] - Volo.Abp.Autofac.AbpAutofacModule
2022-02-14 21:56:07.496 +08:00 [INF] - Volo.Abp.Castle.AbpCastleCoreModule
2022-02-14 21:56:07.496 +08:00 [INF] - Volo.Abp.Caching.StackExchangeRedis.AbpCachingStackExchangeRedisModule
2022-02-14 21:56:07.496 +08:00 [INF] - Volo.Abp.Caching.AbpCachingModule
2022-02-14 21:56:07.496 +08:00 [INF] - Volo.Abp.Serialization.AbpSerializationModule
2022-02-14 21:56:07.496 +08:00 [INF] - Volo.Abp.EntityFrameworkCore.SqlServer.AbpEntityFrameworkCoreSqlServerModule
2022-02-14 21:56:07.496 +08:00 [INF] - Volo.Abp.AuditLogging.EntityFrameworkCore.AbpAuditLoggingEntityFrameworkCoreModule
2022-02-14 21:56:07.496 +08:00 [INF] - Volo.Abp.AuditLogging.AbpAuditLoggingDomainModule
2022-02-14 21:56:07.496 +08:00 [INF] - Volo.Abp.AuditLogging.AbpAuditLoggingDomainSharedModule
2022-02-14 21:56:07.496 +08:00 [INF] - Volo.Abp.PermissionManagement.EntityFrameworkCore.AbpPermissionManagementEntityFrameworkCoreModule
2022-02-14 21:56:07.496 +08:00 [INF] - Volo.Abp.PermissionManagement.AbpPermissionManagementDomainModule
2022-02-14 21:56:07.496 +08:00 [INF] - Volo.Abp.PermissionManagement.AbpPermissionManagementDomainSharedModule
2022-02-14 21:56:07.496 +08:00 [INF] - Volo.Abp.SettingManagement.EntityFrameworkCore.AbpSettingManagementEntityFrameworkCoreModule
2022-02-14 21:56:07.496 +08:00 [INF] - Volo.Abp.SettingManagement.AbpSettingManagementDomainModule
2022-02-14 21:56:07.496 +08:00 [INF] - Volo.Abp.SettingManagement.AbpSettingManagementDomainSharedModule
2022-02-14 21:56:07.496 +08:00 [INF] - Volo.Abp.AspNetCore.Serilog.AbpAspNetCoreSerilogModule
2022-02-14 21:56:07.496 +08:00 [INF] - Volo.Abp.Swashbuckle.AbpSwashbuckleModule
2022-02-14 21:56:09.616 +08:00 [INF] Initialized all ABP modules.
2022-02-14 21:56:10.698 +08:00 [INF] Now listening on: https://localhost:5000
2022-02-14 21:56:10.699 +08:00 [INF] Application started. Press Ctrl+C to shut down.
2022-02-14 21:56:10.699 +08:00 [INF] Hosting environment: Development
2022-02-14 21:56:10.699 +08:00 [INF] Content root path: D:\工作\派格\接口程序\WmsWebApi\host\WmsWebApi.HttpApi.Host
2022-02-14 21:56:16.548 +08:00 [INF] Request starting HTTP/2 GET https://localhost:5000/ - -
2022-02-14 21:56:19.926 +08:00 [INF] Executing endpoint 'WmsWebApi.Controllers.HomeController.Index (WmsWebApi.HttpApi.Host)'
2022-02-14 21:56:20.072 +08:00 [INF] Route matched with {action = "Index", controller = "Home", area = "", page = ""}. Executing controller action with signature Microsoft.AspNetCore.Mvc.ActionResult Index() on controller WmsWebApi.Controllers.HomeController (WmsWebApi.HttpApi.Host).
2022-02-14 21:56:20.555 +08:00 [INF] Executing action method WmsWebApi.Controllers.HomeController.Index (WmsWebApi.HttpApi.Host) - Validation state: "Valid"
2022-02-14 21:56:20.571 +08:00 [INF] Executed action method WmsWebApi.Controllers.HomeController.Index (WmsWebApi.HttpApi.Host), returned result Microsoft.AspNetCore.Mvc.RedirectResult in 1.1276ms.
2022-02-14 21:56:20.583 +08:00 [INF] Executing RedirectResult, redirecting to /swagger.
2022-02-14 21:56:20.597 +08:00 [INF] Executed action WmsWebApi.Controllers.HomeController.Index (WmsWebApi.HttpApi.Host) in 512.6148ms
2022-02-14 21:56:20.597 +08:00 [INF] Executed endpoint 'WmsWebApi.Controllers.HomeController.Index (WmsWebApi.HttpApi.Host)'
2022-02-14 21:56:20.666 +08:00 [INF] Request starting HTTP/2 GET https://localhost:5000/swagger/index.html - -
2022-02-14 21:56:20.669 +08:00 [INF] Request finished HTTP/2 GET https://localhost:5000/ - - - 302 0 - 4126.0874ms
2022-02-14 21:56:21.193 +08:00 [INF] Request finished HTTP/2 GET https://localhost:5000/swagger/index.html - - - 200 - text/html;charset=utf-8 526.3669ms
2022-02-14 21:56:21.750 +08:00 [INF] Request starting HTTP/2 GET https://localhost:5000/_framework/aspnetcore-browser-refresh.js - -
2022-02-14 21:56:21.758 +08:00 [INF] Request finished HTTP/2 GET https://localhost:5000/_framework/aspnetcore-browser-refresh.js - - - 200 11956 application/javascript;+charset=utf-8 7.7622ms
2022-02-14 21:56:22.407 +08:00 [INF] Request starting HTTP/2 GET https://localhost:5000/swagger/v1/swagger.json - -
2022-02-14 21:56:22.928 +08:00 [INF] Request finished HTTP/2 GET https://localhost:5000/swagger/v1/swagger.json - - - 200 - application/json;charset=utf-8 522.1179ms
2022-02-14 21:56:46.017 +08:00 [INF] Request starting HTTP/2 GET https://localhost:5000/abp/Swashbuckle/SetCsrfCookie application/json -
2022-02-14 21:56:46.028 +08:00 [INF] Executing endpoint 'Volo.Abp.Swashbuckle.AbpSwashbuckleController.SetCsrfCookie (Volo.Abp.Swashbuckle)'
2022-02-14 21:56:46.032 +08:00 [INF] Route matched with {area = "Abp", action = "SetCsrfCookie", controller = "AbpSwashbuckle", page = ""}. Executing controller action with signature Void SetCsrfCookie() on controller Volo.Abp.Swashbuckle.AbpSwashbuckleController (Volo.Abp.Swashbuckle).
2022-02-14 21:56:46.206 +08:00 [INF] Executing action method Volo.Abp.Swashbuckle.AbpSwashbuckleController.SetCsrfCookie (Volo.Abp.Swashbuckle) - Validation state: "Valid"
2022-02-14 21:56:46.231 +08:00 [INF] Executed action method Volo.Abp.Swashbuckle.AbpSwashbuckleController.SetCsrfCookie (Volo.Abp.Swashbuckle), returned result Microsoft.AspNetCore.Mvc.EmptyResult in 24.7265ms.
2022-02-14 21:56:46.232 +08:00 [INF] Executed action Volo.Abp.Swashbuckle.AbpSwashbuckleController.SetCsrfCookie (Volo.Abp.Swashbuckle) in 199.3238ms
2022-02-14 21:56:46.232 +08:00 [INF] Executed endpoint 'Volo.Abp.Swashbuckle.AbpSwashbuckleController.SetCsrfCookie (Volo.Abp.Swashbuckle)'
2022-02-14 21:56:46.232 +08:00 [INF] Request finished HTTP/2 GET https://localhost:5000/abp/Swashbuckle/SetCsrfCookie application/json - - 204 - - 215.9049ms
2022-02-14 21:56:46.479 +08:00 [INF] Request starting HTTP/2 POST https://localhost:5000/api/part/add application/json 3160
2022-02-14 21:56:46.494 +08:00 [INF] CORS policy execution failed.
2022-02-14 21:56:46.495 +08:00 [INF] Request origin https://localhost:5000 does not have permission to access the resource.
2022-02-14 21:56:46.503 +08:00 [INF] Executing endpoint 'WmsWebApi.Parts.PartService.AddAsync (WmsWebApi.Application)'
2022-02-14 21:56:46.560 +08:00 [INF] Route matched with {action = "Add", controller = "Part", area = "", page = ""}. Executing controller action with signature System.Threading.Tasks.Task`1[WmsWebApi.Parts.ReturnResult] AddAsync(System.Object) on controller WmsWebApi.Parts.PartService (WmsWebApi.Application).
2022-02-14 21:56:48.081 +08:00 [WRN] ---------- RemoteServiceErrorInfo ----------
{
"code": null,
"message": "Your request is not valid!",
"details": "The following errors were detected during validation.\r\n - '0xEF' is invalid after a value. Expected either ',', '}', or ']'. Path: $ | LineNumber: 170 | BytePositionInLine: 16.\r\n",
"data": {},
"validationErrors": [
{
"message": "'0xEF' is invalid after a value. Expected either ',', '}', or ']'. Path: $ | LineNumber: 170 | BytePositionInLine: 16.",
"members": [
"$"
]
}
]
}
2022-02-14 21:56:48.083 +08:00 [WRN] ModelState is not valid! See ValidationErrors for details.
Volo.Abp.Validation.AbpValidationException: ModelState is not valid! See ValidationErrors for details.
at Volo.Abp.AspNetCore.Mvc.Validation.ModelStateValidator.Validate(ModelStateDictionary modelState)
at Volo.Abp.AspNetCore.Mvc.Validation.AbpValidationActionFilter.OnActionExecutionAsync(ActionExecutingContext context, ActionExecutionDelegate next)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeNextActionFilterAsync>g__Awaited|10_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Rethrow(ActionExecutedContextSealed context)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.InvokeInnerFilterAsync()
--- End of stack trace from previous location ---
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeNextExceptionFilterAsync>g__Awaited|25_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
2022-02-14 21:56:48.092 +08:00 [WRN] There are 1 validation errors:
'0xEF' is invalid after a value. Expected either ',', '}', or ']'. Path: $ | LineNumber: 170 | BytePositionInLine: 16. ($)
2022-02-14 21:56:48.122 +08:00 [INF] Executing ObjectResult, writing value of type 'Volo.Abp.Http.RemoteServiceErrorResponse'.
2022-02-14 21:56:48.168 +08:00 [INF] Executed action WmsWebApi.Parts.PartService.AddAsync (WmsWebApi.Application) in 1607.8966ms
2022-02-14 21:56:48.168 +08:00 [INF] Executed endpoint 'WmsWebApi.Parts.PartService.AddAsync (WmsWebApi.Application)'
2022-02-14 21:56:50.727 +08:00 [INF] Entity Framework Core 5.0.13 initialized 'AbpAuditLoggingDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: QuerySplittingBehavior=SplitQuery
2022-02-14 21:56:52.425 +08:00 [INF] Executed DbCommand (76ms) [Parameters=[@p0='?' (DbType = Guid), @p1='?' (Size = 96), @p2='?' (Size = 512), @p3='?' (Size = 64), @p4='?' (Size = 64), @p5='?' (Size = 128), @p6='?' (Size = 256), @p7='?' (Size = 40), @p8='?' (Size = 64), @p9='?' (Size = 4000), @p10='?' (DbType = Int32), @p11='?' (DbType = DateTime2), @p12='?' (Size = 4000), @p13='?' (Size = 16), @p14='?' (DbType = Int32), @p15='?' (DbType = Guid), @p16='?' (DbType = Guid), @p17='?' (DbType = Guid), @p18='?' (Size = 4000), @p19='?' (Size = 256), @p20='?' (DbType = Guid), @p21='?' (Size = 256)], CommandType='"Text"', CommandTimeout='30']
SET NOCOUNT ON;
INSERT INTO [AbpAuditLogs] ([Id], [ApplicationName], [BrowserInfo], [ClientId], [ClientIpAddress], [ClientName], [Comments], [ConcurrencyStamp], [CorrelationId], [Exceptions], [ExecutionDuration], [ExecutionTime], [ExtraProperties], [HttpMethod], [HttpStatusCode], [ImpersonatorTenantId], [ImpersonatorUserId], [TenantId], [TenantName], [Url], [UserId], [UserName])
VALUES (@p0, @p1, @p2, @p3, @p4, @p5, @p6, @p7, @p8, @p9, @p10, @p11, @p12, @p13, @p14, @p15, @p16, @p17, @p18, @p19, @p20, @p21);
2022-02-14 21:56:52.464 +08:00 [INF] Executed DbCommand (26ms) [Parameters=[@p22='?' (DbType = Guid), @p23='?' (DbType = Guid), @p24='?' (DbType = Int32), @p25='?' (DbType = DateTime2), @p26='?' (Size = 4000), @p27='?' (Size = 128), @p28='?' (Size = 2000), @p29='?' (Size = 256), @p30='?' (DbType = Guid)], CommandType='"Text"', CommandTimeout='30']
SET NOCOUNT ON;
INSERT INTO [AbpAuditLogActions] ([Id], [AuditLogId], [ExecutionDuration], [ExecutionTime], [ExtraProperties], [MethodName], [Parameters], [ServiceName], [TenantId])
VALUES (@p22, @p23, @p24, @p25, @p26, @p27, @p28, @p29, @p30);
2022-02-14 21:56:52.644 +08:00 [DBG] Added 0 entity changes to the current audit log
2022-02-14 21:56:52.644 +08:00 [DBG] Added 0 entity changes to the current audit log
2022-02-14 21:56:52.653 +08:00 [INF] Request finished HTTP/2 POST https://localhost:5000/api/part/add application/json 3160 - 400 - application/json;+charset=utf-8 6174.4128ms
2022-02-14 22:01:28.220 +08:00 [INF] Request starting HTTP/2 POST https://localhost:5000/api/part/add application/json 3150
2022-02-14 22:01:28.225 +08:00 [INF] CORS policy execution failed.
2022-02-14 22:01:28.225 +08:00 [INF] Request origin https://localhost:5000 does not have permission to access the resource.
2022-02-14 22:01:28.232 +08:00 [INF] Executing endpoint 'WmsWebApi.Parts.PartService.AddAsync (WmsWebApi.Application)'
2022-02-14 22:01:28.233 +08:00 [INF] Route matched with {action = "Add", controller = "Part", area = "", page = ""}. Executing controller action with signature System.Threading.Tasks.Task`1[WmsWebApi.Parts.ReturnResult] AddAsync(System.Object) on controller WmsWebApi.Parts.PartService (WmsWebApi.Application).
2022-02-14 22:01:28.960 +08:00 [INF] Executing action method WmsWebApi.Parts.PartService.AddAsync (WmsWebApi.Application) - Validation state: "Valid"
2022-02-14 22:01:51.805 +08:00 [WRN] No type was specified for the decimal property 'CustPackQty' on entity type 'TA_CUST_PART'. This will cause values to be silently truncated if they do not fit in the default precision and scale. Explicitly specify the SQL server column type that can accommodate all the values in 'OnModelCreating' using 'HasColumnType()', specify precision and scale using 'HasPrecision()' or configure a value converter using 'HasConversion()'.
2022-02-14 22:01:51.805 +08:00 [WRN] No type was specified for the decimal property 'CustPalletCapacity' on entity type 'TA_CUST_PART'. This will cause values to be silently truncated if they do not fit in the default precision and scale. Explicitly specify the SQL server column type that can accommodate all the values in 'OnModelCreating' using 'HasColumnType()', specify precision and scale using 'HasPrecision()' or configure a value converter using 'HasConversion()'.
2022-02-14 22:01:51.805 +08:00 [WRN] No type was specified for the decimal property 'ContainerQty' on entity type 'TA_PART'. This will cause values to be silently truncated if they do not fit in the default precision and scale. Explicitly specify the SQL server column type that can accommodate all the values in 'OnModelCreating' using 'HasColumnType()', specify precision and scale using 'HasPrecision()' or configure a value converter using 'HasConversion()'.
2022-02-14 22:01:51.805 +08:00 [WRN] No type was specified for the decimal property 'LinesidePackQty' on entity type 'TA_PART'. This will cause values to be silently truncated if they do not fit in the default precision and scale. Explicitly specify the SQL server column type that can accommodate all the values in 'OnModelCreating' using 'HasColumnType()', specify precision and scale using 'HasPrecision()' or configure a value converter using 'HasConversion()'.
2022-02-14 22:01:51.805 +08:00 [WRN] No type was specified for the decimal property 'MaxQty' on entity type 'TA_PART'. This will cause values to be silently truncated if they do not fit in the default precision and scale. Explicitly specify the SQL server column type that can accommodate all the values in 'OnModelCreating' using 'HasColumnType()', specify precision and scale using 'HasPrecision()' or configure a value converter using 'HasConversion()'.
2022-02-14 22:01:51.805 +08:00 [WRN] No type was specified for the decimal property 'MinQty' on entity type 'TA_PART'. This will cause values to be silently truncated if they do not fit in the default precision and scale. Explicitly specify the SQL server column type that can accommodate all the values in 'OnModelCreating' using 'HasColumnType()', specify precision and scale using 'HasPrecision()' or configure a value converter using 'HasConversion()'.
2022-02-14 22:01:51.805 +08:00 [WRN] No type was specified for the decimal property 'SafeQty' on entity type 'TA_PART'. This will cause values to be silently truncated if they do not fit in the default precision and scale. Explicitly specify the SQL server column type that can accommodate all the values in 'OnModelCreating' using 'HasColumnType()', specify precision and scale using 'HasPrecision()' or configure a value converter using 'HasConversion()'.
2022-02-14 22:01:51.806 +08:00 [WRN] No type was specified for the decimal property 'SamplePercent' on entity type 'TA_PART'. This will cause values to be silently truncated if they do not fit in the default precision and scale. Explicitly specify the SQL server column type that can accommodate all the values in 'OnModelCreating' using 'HasColumnType()', specify precision and scale using 'HasPrecision()' or configure a value converter using 'HasConversion()'.
2022-02-14 22:01:51.806 +08:00 [WRN] No type was specified for the decimal property 'SingleWeight' on entity type 'TA_PART'. This will cause values to be silently truncated if they do not fit in the default precision and scale. Explicitly specify the SQL server column type that can accommodate all the values in 'OnModelCreating' using 'HasColumnType()', specify precision and scale using 'HasPrecision()' or configure a value converter using 'HasConversion()'.
2022-02-14 22:01:51.806 +08:00 [WRN] No type was specified for the decimal property 'StockPackQty' on entity type 'TA_PART'. This will cause values to be silently truncated if they do not fit in the default precision and scale. Explicitly specify the SQL server column type that can accommodate all the values in 'OnModelCreating' using 'HasColumnType()', specify precision and scale using 'HasPrecision()' or configure a value converter using 'HasConversion()'.
2022-02-14 22:01:51.830 +08:00 [INF] Entity Framework Core 5.0.13 initialized 'WmsWebApiDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: QuerySplittingBehavior=SplitQuery
2022-02-14 22:01:52.370 +08:00 [ERR] Failed executing DbCommand (30ms) [Parameters=[@__part_PartGroup_0='?' (Size = 50)], CommandType='"Text"', CommandTimeout='30']
SELECT TOP(1) [t].[UID], [t].[PARTGROUP], [t].[UID1], [t].[WERKS]
FROM [TM_PG_PARTGROUP] AS [t]
WHERE ([t].[WERKS] = N'1000') AND ([t].[PARTGROUP] = @__part_PartGroup_0)
2022-02-14 22:04:04.892 +08:00 [INF] Starting web host.
2022-02-14 22:04:13.938 +08:00 [INF] User profile is available. Using 'C:\Users\lvcj2\AppData\Local\ASP.NET\DataProtection-Keys' as key repository and Windows DPAPI to encrypt keys at rest.
2022-02-14 22:04:14.231 +08:00 [INF] Loaded ABP modules:
2022-02-14 22:04:14.231 +08:00 [INF] - WmsWebApi.WmsWebApiHttpApiHostModule
2022-02-14 22:04:14.231 +08:00 [INF] - WmsWebApi.WmsWebApiApplicationModule
2022-02-14 22:04:14.231 +08:00 [INF] - WmsWebApi.WmsWebApiDomainModule
2022-02-14 22:04:14.231 +08:00 [INF] - Volo.Abp.Domain.AbpDddDomainModule
2022-02-14 22:04:14.231 +08:00 [INF] - Volo.Abp.Auditing.AbpAuditingModule
2022-02-14 22:04:14.231 +08:00 [INF] - Volo.Abp.Data.AbpDataModule
2022-02-14 22:04:14.231 +08:00 [INF] - Volo.Abp.ObjectExtending.AbpObjectExtendingModule
2022-02-14 22:04:14.231 +08:00 [INF] - Volo.Abp.Localization.AbpLocalizationAbstractionsModule
2022-02-14 22:04:14.231 +08:00 [INF] - Volo.Abp.Validation.AbpValidationAbstractionsModule
2022-02-14 22:04:14.231 +08:00 [INF] - Volo.Abp.Uow.AbpUnitOfWorkModule
2022-02-14 22:04:14.231 +08:00 [INF] - Volo.Abp.EventBus.Abstractions.AbpEventBusAbstractionsModule
2022-02-14 22:04:14.231 +08:00 [INF] - Volo.Abp.Json.AbpJsonModule
2022-02-14 22:04:14.231 +08:00 [INF] - Volo.Abp.Timing.AbpTimingModule
2022-02-14 22:04:14.231 +08:00 [INF] - Volo.Abp.Localization.AbpLocalizationModule
2022-02-14 22:04:14.231 +08:00 [INF] - Volo.Abp.VirtualFileSystem.AbpVirtualFileSystemModule
2022-02-14 22:04:14.231 +08:00 [INF] - Volo.Abp.Settings.AbpSettingsModule
2022-02-14 22:04:14.232 +08:00 [INF] - Volo.Abp.Security.AbpSecurityModule
2022-02-14 22:04:14.232 +08:00 [INF] - Volo.Abp.MultiTenancy.AbpMultiTenancyModule
2022-02-14 22:04:14.232 +08:00 [INF] - Volo.Abp.Threading.AbpThreadingModule
2022-02-14 22:04:14.232 +08:00 [INF] - Volo.Abp.EventBus.AbpEventBusModule
2022-02-14 22:04:14.232 +08:00 [INF] - Volo.Abp.Guids.AbpGuidsModule
2022-02-14 22:04:14.232 +08:00 [INF] - Volo.Abp.ObjectMapping.AbpObjectMappingModule
2022-02-14 22:04:14.232 +08:00 [INF] - Volo.Abp.ExceptionHandling.AbpExceptionHandlingModule
2022-02-14 22:04:14.232 +08:00 [INF] - Volo.Abp.Specifications.AbpSpecificationsModule
2022-02-14 22:04:14.232 +08:00 [INF] - WmsWebApi.WmsWebApiDomainSharedModule
2022-02-14 22:04:14.232 +08:00 [INF] - Volo.Abp.Validation.AbpValidationModule
2022-02-14 22:04:14.232 +08:00 [INF] - WmsWebApi.WmsWebApiApplicationContractsModule
2022-02-14 22:04:14.232 +08:00 [INF] - Volo.Abp.Application.AbpDddApplicationContractsModule
2022-02-14 22:04:14.232 +08:00 [INF] - Volo.Abp.Authorization.AbpAuthorizationModule
2022-02-14 22:04:14.232 +08:00 [INF] - Volo.Abp.Authorization.AbpAuthorizationAbstractionsModule
2022-02-14 22:04:14.232 +08:00 [INF] - Volo.Abp.Application.AbpDddApplicationModule
2022-02-14 22:04:14.232 +08:00 [INF] - Volo.Abp.Http.AbpHttpAbstractionsModule
2022-02-14 22:04:14.232 +08:00 [INF] - Volo.Abp.Features.AbpFeaturesModule
2022-02-14 22:04:14.232 +08:00 [INF] - Volo.Abp.GlobalFeatures.AbpGlobalFeaturesModule
2022-02-14 22:04:14.232 +08:00 [INF] - Volo.Abp.AutoMapper.AbpAutoMapperModule
2022-02-14 22:04:14.232 +08:00 [INF] - WmsWebApi.EntityFrameworkCore.WmsWebApiEntityFrameworkCoreModule
2022-02-14 22:04:14.232 +08:00 [INF] - Volo.Abp.EntityFrameworkCore.AbpEntityFrameworkCoreModule
2022-02-14 22:04:14.232 +08:00 [INF] - WmsWebApi.WmsWebApiHttpApiModule
2022-02-14 22:04:14.232 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.AbpAspNetCoreMvcModule
2022-02-14 22:04:14.232 +08:00 [INF] - Volo.Abp.AspNetCore.AbpAspNetCoreModule
2022-02-14 22:04:14.232 +08:00 [INF] - Volo.Abp.Http.AbpHttpModule
2022-02-14 22:04:14.232 +08:00 [INF] - Volo.Abp.Minify.AbpMinifyModule
2022-02-14 22:04:14.232 +08:00 [INF] - Volo.Abp.ApiVersioning.AbpApiVersioningAbstractionsModule
2022-02-14 22:04:14.232 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.AbpAspNetCoreMvcContractsModule
2022-02-14 22:04:14.232 +08:00 [INF] - Volo.Abp.UI.Navigation.AbpUiNavigationModule
2022-02-14 22:04:14.232 +08:00 [INF] - Volo.Abp.UI.AbpUiModule
2022-02-14 22:04:14.232 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.UI.MultiTenancy.AbpAspNetCoreMvcUiMultiTenancyModule
2022-02-14 22:04:14.232 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.UI.Theme.Shared.AbpAspNetCoreMvcUiThemeSharedModule
2022-02-14 22:04:14.232 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.AbpAspNetCoreMvcUiBootstrapModule
2022-02-14 22:04:14.232 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.UI.AbpAspNetCoreMvcUiModule
2022-02-14 22:04:14.232 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.UI.Packages.AbpAspNetCoreMvcUiPackagesModule
2022-02-14 22:04:14.232 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.UI.Bundling.AbpAspNetCoreMvcUiBundlingAbstractionsModule
2022-02-14 22:04:14.232 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.UI.Widgets.AbpAspNetCoreMvcUiWidgetsModule
2022-02-14 22:04:14.232 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.UI.Bundling.AbpAspNetCoreMvcUiBundlingModule
2022-02-14 22:04:14.232 +08:00 [INF] - Volo.Abp.AspNetCore.MultiTenancy.AbpAspNetCoreMultiTenancyModule
2022-02-14 22:04:14.232 +08:00 [INF] - Volo.Abp.Autofac.AbpAutofacModule
2022-02-14 22:04:14.232 +08:00 [INF] - Volo.Abp.Castle.AbpCastleCoreModule
2022-02-14 22:04:14.232 +08:00 [INF] - Volo.Abp.Caching.StackExchangeRedis.AbpCachingStackExchangeRedisModule
2022-02-14 22:04:14.232 +08:00 [INF] - Volo.Abp.Caching.AbpCachingModule
2022-02-14 22:04:14.232 +08:00 [INF] - Volo.Abp.Serialization.AbpSerializationModule
2022-02-14 22:04:14.232 +08:00 [INF] - Volo.Abp.EntityFrameworkCore.SqlServer.AbpEntityFrameworkCoreSqlServerModule
2022-02-14 22:04:14.232 +08:00 [INF] - Volo.Abp.AuditLogging.EntityFrameworkCore.AbpAuditLoggingEntityFrameworkCoreModule
2022-02-14 22:04:14.232 +08:00 [INF] - Volo.Abp.AuditLogging.AbpAuditLoggingDomainModule
2022-02-14 22:04:14.232 +08:00 [INF] - Volo.Abp.AuditLogging.AbpAuditLoggingDomainSharedModule
2022-02-14 22:04:14.232 +08:00 [INF] - Volo.Abp.PermissionManagement.EntityFrameworkCore.AbpPermissionManagementEntityFrameworkCoreModule
2022-02-14 22:04:14.232 +08:00 [INF] - Volo.Abp.PermissionManagement.AbpPermissionManagementDomainModule
2022-02-14 22:04:14.232 +08:00 [INF] - Volo.Abp.PermissionManagement.AbpPermissionManagementDomainSharedModule
2022-02-14 22:04:14.232 +08:00 [INF] - Volo.Abp.SettingManagement.EntityFrameworkCore.AbpSettingManagementEntityFrameworkCoreModule
2022-02-14 22:04:14.232 +08:00 [INF] - Volo.Abp.SettingManagement.AbpSettingManagementDomainModule
2022-02-14 22:04:14.232 +08:00 [INF] - Volo.Abp.SettingManagement.AbpSettingManagementDomainSharedModule
2022-02-14 22:04:14.232 +08:00 [INF] - Volo.Abp.AspNetCore.Serilog.AbpAspNetCoreSerilogModule
2022-02-14 22:04:14.232 +08:00 [INF] - Volo.Abp.Swashbuckle.AbpSwashbuckleModule
2022-02-14 22:04:15.591 +08:00 [INF] Initialized all ABP modules.
2022-02-14 22:04:16.834 +08:00 [INF] Now listening on: https://localhost:5000
2022-02-14 22:04:16.834 +08:00 [INF] Application started. Press Ctrl+C to shut down.
2022-02-14 22:04:16.834 +08:00 [INF] Hosting environment: Development
2022-02-14 22:04:16.835 +08:00 [INF] Content root path: D:\工作\派格\接口程序\WmsWebApi\host\WmsWebApi.HttpApi.Host
2022-02-14 22:04:25.040 +08:00 [INF] Request starting HTTP/2 GET https://localhost:5000/ - -
2022-02-14 22:04:29.378 +08:00 [INF] Executing endpoint 'WmsWebApi.Controllers.HomeController.Index (WmsWebApi.HttpApi.Host)'
2022-02-14 22:04:29.590 +08:00 [INF] Route matched with {action = "Index", controller = "Home", area = "", page = ""}. Executing controller action with signature Microsoft.AspNetCore.Mvc.ActionResult Index() on controller WmsWebApi.Controllers.HomeController (WmsWebApi.HttpApi.Host).
2022-02-14 22:04:30.150 +08:00 [INF] Executing action method WmsWebApi.Controllers.HomeController.Index (WmsWebApi.HttpApi.Host) - Validation state: "Valid"
2022-02-14 22:04:30.170 +08:00 [INF] Executed action method WmsWebApi.Controllers.HomeController.Index (WmsWebApi.HttpApi.Host), returned result Microsoft.AspNetCore.Mvc.RedirectResult in 1.1869ms.
2022-02-14 22:04:30.195 +08:00 [INF] Executing RedirectResult, redirecting to /swagger.
2022-02-14 22:04:30.218 +08:00 [INF] Executed action WmsWebApi.Controllers.HomeController.Index (WmsWebApi.HttpApi.Host) in 605.8158ms
2022-02-14 22:04:30.218 +08:00 [INF] Executed endpoint 'WmsWebApi.Controllers.HomeController.Index (WmsWebApi.HttpApi.Host)'
2022-02-14 22:04:30.277 +08:00 [INF] Request finished HTTP/2 GET https://localhost:5000/ - - - 302 0 - 5240.4752ms
2022-02-14 22:04:30.281 +08:00 [INF] Request starting HTTP/2 GET https://localhost:5000/swagger/index.html - -
2022-02-14 22:04:30.808 +08:00 [INF] Request finished HTTP/2 GET https://localhost:5000/swagger/index.html - - - 200 - text/html;charset=utf-8 527.2158ms
2022-02-14 22:04:31.467 +08:00 [INF] Request starting HTTP/2 GET https://localhost:5000/_framework/aspnetcore-browser-refresh.js - -
2022-02-14 22:04:31.477 +08:00 [INF] Request finished HTTP/2 GET https://localhost:5000/_framework/aspnetcore-browser-refresh.js - - - 200 11956 application/javascript;+charset=utf-8 9.8313ms
2022-02-14 22:04:32.078 +08:00 [INF] Request starting HTTP/2 GET https://localhost:5000/swagger/v1/swagger.json - -
2022-02-14 22:04:32.474 +08:00 [INF] Request finished HTTP/2 GET https://localhost:5000/swagger/v1/swagger.json - - - 200 - application/json;charset=utf-8 395.7543ms
2022-02-14 22:04:52.950 +08:00 [INF] Request starting HTTP/2 GET https://localhost:5000/abp/Swashbuckle/SetCsrfCookie application/json -
2022-02-14 22:04:52.962 +08:00 [INF] Executing endpoint 'Volo.Abp.Swashbuckle.AbpSwashbuckleController.SetCsrfCookie (Volo.Abp.Swashbuckle)'
2022-02-14 22:04:52.968 +08:00 [INF] Route matched with {area = "Abp", action = "SetCsrfCookie", controller = "AbpSwashbuckle", page = ""}. Executing controller action with signature Void SetCsrfCookie() on controller Volo.Abp.Swashbuckle.AbpSwashbuckleController (Volo.Abp.Swashbuckle).
2022-02-14 22:04:53.202 +08:00 [INF] Executing action method Volo.Abp.Swashbuckle.AbpSwashbuckleController.SetCsrfCookie (Volo.Abp.Swashbuckle) - Validation state: "Valid"
2022-02-14 22:04:53.236 +08:00 [INF] Executed action method Volo.Abp.Swashbuckle.AbpSwashbuckleController.SetCsrfCookie (Volo.Abp.Swashbuckle), returned result Microsoft.AspNetCore.Mvc.EmptyResult in 33.7538ms.
2022-02-14 22:04:53.238 +08:00 [INF] Executed action Volo.Abp.Swashbuckle.AbpSwashbuckleController.SetCsrfCookie (Volo.Abp.Swashbuckle) in 269.4806ms
2022-02-14 22:04:53.238 +08:00 [INF] Executed endpoint 'Volo.Abp.Swashbuckle.AbpSwashbuckleController.SetCsrfCookie (Volo.Abp.Swashbuckle)'
2022-02-14 22:04:53.239 +08:00 [INF] Request finished HTTP/2 GET https://localhost:5000/abp/Swashbuckle/SetCsrfCookie application/json - - 204 - - 291.1181ms
2022-02-14 22:04:53.493 +08:00 [INF] Request starting HTTP/2 POST https://localhost:5000/api/part/add application/json 2797
2022-02-14 22:04:53.508 +08:00 [INF] CORS policy execution failed.
2022-02-14 22:04:53.509 +08:00 [INF] Request origin https://localhost:5000 does not have permission to access the resource.
2022-02-14 22:04:53.517 +08:00 [INF] Executing endpoint 'WmsWebApi.Parts.PartService.AddAsync (WmsWebApi.Application)'
2022-02-14 22:04:53.590 +08:00 [INF] Route matched with {action = "Add", controller = "Part", area = "", page = ""}. Executing controller action with signature System.Threading.Tasks.Task`1[WmsWebApi.Parts.ReturnResult] AddAsync(System.Object) on controller WmsWebApi.Parts.PartService (WmsWebApi.Application).
2022-02-14 22:04:55.398 +08:00 [INF] Executing action method WmsWebApi.Parts.PartService.AddAsync (WmsWebApi.Application) - Validation state: "Valid"
2022-02-14 22:05:03.986 +08:00 [WRN] No type was specified for the decimal property 'CustPackQty' on entity type 'TA_CUST_PART'. This will cause values to be silently truncated if they do not fit in the default precision and scale. Explicitly specify the SQL server column type that can accommodate all the values in 'OnModelCreating' using 'HasColumnType()', specify precision and scale using 'HasPrecision()' or configure a value converter using 'HasConversion()'.
2022-02-14 22:05:03.986 +08:00 [WRN] No type was specified for the decimal property 'CustPalletCapacity' on entity type 'TA_CUST_PART'. This will cause values to be silently truncated if they do not fit in the default precision and scale. Explicitly specify the SQL server column type that can accommodate all the values in 'OnModelCreating' using 'HasColumnType()', specify precision and scale using 'HasPrecision()' or configure a value converter using 'HasConversion()'.
2022-02-14 22:05:03.986 +08:00 [WRN] No type was specified for the decimal property 'ContainerQty' on entity type 'TA_PART'. This will cause values to be silently truncated if they do not fit in the default precision and scale. Explicitly specify the SQL server column type that can accommodate all the values in 'OnModelCreating' using 'HasColumnType()', specify precision and scale using 'HasPrecision()' or configure a value converter using 'HasConversion()'.
2022-02-14 22:05:03.986 +08:00 [WRN] No type was specified for the decimal property 'LinesidePackQty' on entity type 'TA_PART'. This will cause values to be silently truncated if they do not fit in the default precision and scale. Explicitly specify the SQL server column type that can accommodate all the values in 'OnModelCreating' using 'HasColumnType()', specify precision and scale using 'HasPrecision()' or configure a value converter using 'HasConversion()'.
2022-02-14 22:05:03.986 +08:00 [WRN] No type was specified for the decimal property 'MaxQty' on entity type 'TA_PART'. This will cause values to be silently truncated if they do not fit in the default precision and scale. Explicitly specify the SQL server column type that can accommodate all the values in 'OnModelCreating' using 'HasColumnType()', specify precision and scale using 'HasPrecision()' or configure a value converter using 'HasConversion()'.
2022-02-14 22:05:03.986 +08:00 [WRN] No type was specified for the decimal property 'MinQty' on entity type 'TA_PART'. This will cause values to be silently truncated if they do not fit in the default precision and scale. Explicitly specify the SQL server column type that can accommodate all the values in 'OnModelCreating' using 'HasColumnType()', specify precision and scale using 'HasPrecision()' or configure a value converter using 'HasConversion()'.
2022-02-14 22:05:03.986 +08:00 [WRN] No type was specified for the decimal property 'SafeQty' on entity type 'TA_PART'. This will cause values to be silently truncated if they do not fit in the default precision and scale. Explicitly specify the SQL server column type that can accommodate all the values in 'OnModelCreating' using 'HasColumnType()', specify precision and scale using 'HasPrecision()' or configure a value converter using 'HasConversion()'.
2022-02-14 22:05:03.986 +08:00 [WRN] No type was specified for the decimal property 'SamplePercent' on entity type 'TA_PART'. This will cause values to be silently truncated if they do not fit in the default precision and scale. Explicitly specify the SQL server column type that can accommodate all the values in 'OnModelCreating' using 'HasColumnType()', specify precision and scale using 'HasPrecision()' or configure a value converter using 'HasConversion()'.
2022-02-14 22:05:03.986 +08:00 [WRN] No type was specified for the decimal property 'SingleWeight' on entity type 'TA_PART'. This will cause values to be silently truncated if they do not fit in the default precision and scale. Explicitly specify the SQL server column type that can accommodate all the values in 'OnModelCreating' using 'HasColumnType()', specify precision and scale using 'HasPrecision()' or configure a value converter using 'HasConversion()'.
2022-02-14 22:05:03.986 +08:00 [WRN] No type was specified for the decimal property 'StockPackQty' on entity type 'TA_PART'. This will cause values to be silently truncated if they do not fit in the default precision and scale. Explicitly specify the SQL server column type that can accommodate all the values in 'OnModelCreating' using 'HasColumnType()', specify precision and scale using 'HasPrecision()' or configure a value converter using 'HasConversion()'.
2022-02-14 22:05:04.300 +08:00 [INF] Entity Framework Core 5.0.13 initialized 'WmsWebApiDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: QuerySplittingBehavior=SplitQuery
2022-02-14 22:05:06.429 +08:00 [ERR] Failed executing DbCommand (192ms) [Parameters=[@__part_PartGroup_0='?' (Size = 50)], CommandType='"Text"', CommandTimeout='30']
SELECT TOP(1) [t].[UID], [t].[PARTGROUP], [t].[UID1], [t].[WERKS]
FROM [TM_PG_PARTGROUP] AS [t]
WHERE ([t].[WERKS] = N'1000') AND ([t].[PARTGROUP] = @__part_PartGroup_0)
2022-02-14 22:05:06.583 +08:00 [ERR] An exception occurred while iterating over the results of a query for context type 'WmsWebApi.EntityFrameworkCore.WmsWebApiDbContext'.
Microsoft.Data.SqlClient.SqlException (0x80131904): 列名 'UID1' 无效。
at Microsoft.Data.SqlClient.SqlCommand.<>c.<ExecuteDbDataReaderAsync>b__169_0(Task`1 result)
at System.Threading.Tasks.ContinuationResultTaskFromResultTask`2.InnerInvoke()
at System.Threading.Tasks.Task.<>c.<.cctor>b__277_0(Object obj)
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
--- End of stack trace from previous location ---
at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread)
--- End of stack trace from previous location ---
at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReaderAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReaderAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.Query.Internal.SplitQueryingEnumerable`1.AsyncEnumerator.InitializeReaderAsync(DbContext _, Boolean result, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.SqlServer.Storage.Internal.SqlServerExecutionStrategy.ExecuteAsync[TState,TResult](TState state, Func`4 operation, Func`4 verifySucceeded, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.Query.Internal.SplitQueryingEnumerable`1.AsyncEnumerator.MoveNextAsync()
ClientConnectionId:1a692252-aa2b-42bc-b97b-369c25102130
Error Number:207,State:1,Class:16
Microsoft.Data.SqlClient.SqlException (0x80131904): 列名 'UID1' 无效。
at Microsoft.Data.SqlClient.SqlCommand.<>c.<ExecuteDbDataReaderAsync>b__169_0(Task`1 result)
at System.Threading.Tasks.ContinuationResultTaskFromResultTask`2.InnerInvoke()
at System.Threading.Tasks.Task.<>c.<.cctor>b__277_0(Object obj)
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
--- End of stack trace from previous location ---
at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread)
--- End of stack trace from previous location ---
at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReaderAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReaderAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.Query.Internal.SplitQueryingEnumerable`1.AsyncEnumerator.InitializeReaderAsync(DbContext _, Boolean result, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.SqlServer.Storage.Internal.SqlServerExecutionStrategy.ExecuteAsync[TState,TResult](TState state, Func`4 operation, Func`4 verifySucceeded, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.Query.Internal.SplitQueryingEnumerable`1.AsyncEnumerator.MoveNextAsync()
ClientConnectionId:1a692252-aa2b-42bc-b97b-369c25102130
Error Number:207,State:1,Class:16
2022-02-14 22:05:23.558 +08:00 [INF] Executed action method WmsWebApi.Parts.PartService.AddAsync (WmsWebApi.Application), returned result Microsoft.AspNetCore.Mvc.ObjectResult in 28159.6577ms.
2022-02-14 22:05:23.703 +08:00 [DBG] Added 0 entity changes to the current audit log
2022-02-14 22:05:23.810 +08:00 [INF] Executing ObjectResult, writing value of type 'WmsWebApi.Parts.ReturnResult'.
2022-02-14 22:05:23.841 +08:00 [INF] Executed action WmsWebApi.Parts.PartService.AddAsync (WmsWebApi.Application) in 30250.6478ms
2022-02-14 22:05:23.843 +08:00 [INF] Executed endpoint 'WmsWebApi.Parts.PartService.AddAsync (WmsWebApi.Application)'
2022-02-14 22:05:24.496 +08:00 [INF] Entity Framework Core 5.0.13 initialized 'AbpAuditLoggingDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: QuerySplittingBehavior=SplitQuery
2022-02-14 22:05:25.404 +08:00 [INF] Executed DbCommand (30ms) [Parameters=[@p0='?' (DbType = Guid), @p1='?' (Size = 96), @p2='?' (Size = 512), @p3='?' (Size = 64), @p4='?' (Size = 64), @p5='?' (Size = 128), @p6='?' (Size = 256), @p7='?' (Size = 40), @p8='?' (Size = 64), @p9='?' (Size = 4000), @p10='?' (DbType = Int32), @p11='?' (DbType = DateTime2), @p12='?' (Size = 4000), @p13='?' (Size = 16), @p14='?' (DbType = Int32), @p15='?' (DbType = Guid), @p16='?' (DbType = Guid), @p17='?' (DbType = Guid), @p18='?' (Size = 4000), @p19='?' (Size = 256), @p20='?' (DbType = Guid), @p21='?' (Size = 256)], CommandType='"Text"', CommandTimeout='30']
SET NOCOUNT ON;
INSERT INTO [AbpAuditLogs] ([Id], [ApplicationName], [BrowserInfo], [ClientId], [ClientIpAddress], [ClientName], [Comments], [ConcurrencyStamp], [CorrelationId], [Exceptions], [ExecutionDuration], [ExecutionTime], [ExtraProperties], [HttpMethod], [HttpStatusCode], [ImpersonatorTenantId], [ImpersonatorUserId], [TenantId], [TenantName], [Url], [UserId], [UserName])
VALUES (@p0, @p1, @p2, @p3, @p4, @p5, @p6, @p7, @p8, @p9, @p10, @p11, @p12, @p13, @p14, @p15, @p16, @p17, @p18, @p19, @p20, @p21);
2022-02-14 22:05:25.446 +08:00 [INF] Executed DbCommand (25ms) [Parameters=[@p22='?' (DbType = Guid), @p23='?' (DbType = Guid), @p24='?' (DbType = Int32), @p25='?' (DbType = DateTime2), @p26='?' (Size = 4000), @p27='?' (Size = 128), @p28='?' (Size = 2000), @p29='?' (Size = 256), @p30='?' (DbType = Guid)], CommandType='"Text"', CommandTimeout='30']
SET NOCOUNT ON;
INSERT INTO [AbpAuditLogActions] ([Id], [AuditLogId], [ExecutionDuration], [ExecutionTime], [ExtraProperties], [MethodName], [Parameters], [ServiceName], [TenantId])
VALUES (@p22, @p23, @p24, @p25, @p26, @p27, @p28, @p29, @p30);
2022-02-14 22:05:25.556 +08:00 [DBG] Added 0 entity changes to the current audit log
2022-02-14 22:05:25.556 +08:00 [DBG] Added 0 entity changes to the current audit log
2022-02-14 22:05:25.575 +08:00 [INF] Request finished HTTP/2 POST https://localhost:5000/api/part/add application/json 2797 - 200 - application/json;+charset=utf-8 32082.6243ms
2022-02-14 22:07:35.739 +08:00 [INF] Starting web host.
2022-02-14 22:07:43.889 +08:00 [INF] User profile is available. Using 'C:\Users\lvcj2\AppData\Local\ASP.NET\DataProtection-Keys' as key repository and Windows DPAPI to encrypt keys at rest.
2022-02-14 22:07:44.297 +08:00 [INF] Loaded ABP modules:
2022-02-14 22:07:44.297 +08:00 [INF] - WmsWebApi.WmsWebApiHttpApiHostModule
2022-02-14 22:07:44.297 +08:00 [INF] - WmsWebApi.WmsWebApiApplicationModule
2022-02-14 22:07:44.297 +08:00 [INF] - WmsWebApi.WmsWebApiDomainModule
2022-02-14 22:07:44.297 +08:00 [INF] - Volo.Abp.Domain.AbpDddDomainModule
2022-02-14 22:07:44.297 +08:00 [INF] - Volo.Abp.Auditing.AbpAuditingModule
2022-02-14 22:07:44.297 +08:00 [INF] - Volo.Abp.Data.AbpDataModule
2022-02-14 22:07:44.297 +08:00 [INF] - Volo.Abp.ObjectExtending.AbpObjectExtendingModule
2022-02-14 22:07:44.297 +08:00 [INF] - Volo.Abp.Localization.AbpLocalizationAbstractionsModule
2022-02-14 22:07:44.298 +08:00 [INF] - Volo.Abp.Validation.AbpValidationAbstractionsModule
2022-02-14 22:07:44.298 +08:00 [INF] - Volo.Abp.Uow.AbpUnitOfWorkModule
2022-02-14 22:07:44.298 +08:00 [INF] - Volo.Abp.EventBus.Abstractions.AbpEventBusAbstractionsModule
2022-02-14 22:07:44.298 +08:00 [INF] - Volo.Abp.Json.AbpJsonModule
2022-02-14 22:07:44.298 +08:00 [INF] - Volo.Abp.Timing.AbpTimingModule
2022-02-14 22:07:44.298 +08:00 [INF] - Volo.Abp.Localization.AbpLocalizationModule
2022-02-14 22:07:44.298 +08:00 [INF] - Volo.Abp.VirtualFileSystem.AbpVirtualFileSystemModule
2022-02-14 22:07:44.298 +08:00 [INF] - Volo.Abp.Settings.AbpSettingsModule
2022-02-14 22:07:44.298 +08:00 [INF] - Volo.Abp.Security.AbpSecurityModule
2022-02-14 22:07:44.298 +08:00 [INF] - Volo.Abp.MultiTenancy.AbpMultiTenancyModule
2022-02-14 22:07:44.298 +08:00 [INF] - Volo.Abp.Threading.AbpThreadingModule
2022-02-14 22:07:44.298 +08:00 [INF] - Volo.Abp.EventBus.AbpEventBusModule
2022-02-14 22:07:44.298 +08:00 [INF] - Volo.Abp.Guids.AbpGuidsModule
2022-02-14 22:07:44.298 +08:00 [INF] - Volo.Abp.ObjectMapping.AbpObjectMappingModule
2022-02-14 22:07:44.298 +08:00 [INF] - Volo.Abp.ExceptionHandling.AbpExceptionHandlingModule
2022-02-14 22:07:44.298 +08:00 [INF] - Volo.Abp.Specifications.AbpSpecificationsModule
2022-02-14 22:07:44.298 +08:00 [INF] - WmsWebApi.WmsWebApiDomainSharedModule
2022-02-14 22:07:44.298 +08:00 [INF] - Volo.Abp.Validation.AbpValidationModule
2022-02-14 22:07:44.298 +08:00 [INF] - WmsWebApi.WmsWebApiApplicationContractsModule
2022-02-14 22:07:44.298 +08:00 [INF] - Volo.Abp.Application.AbpDddApplicationContractsModule
2022-02-14 22:07:44.298 +08:00 [INF] - Volo.Abp.Authorization.AbpAuthorizationModule
2022-02-14 22:07:44.298 +08:00 [INF] - Volo.Abp.Authorization.AbpAuthorizationAbstractionsModule
2022-02-14 22:07:44.298 +08:00 [INF] - Volo.Abp.Application.AbpDddApplicationModule
2022-02-14 22:07:44.298 +08:00 [INF] - Volo.Abp.Http.AbpHttpAbstractionsModule
2022-02-14 22:07:44.298 +08:00 [INF] - Volo.Abp.Features.AbpFeaturesModule
2022-02-14 22:07:44.298 +08:00 [INF] - Volo.Abp.GlobalFeatures.AbpGlobalFeaturesModule
2022-02-14 22:07:44.298 +08:00 [INF] - Volo.Abp.AutoMapper.AbpAutoMapperModule
2022-02-14 22:07:44.298 +08:00 [INF] - WmsWebApi.EntityFrameworkCore.WmsWebApiEntityFrameworkCoreModule
2022-02-14 22:07:44.298 +08:00 [INF] - Volo.Abp.EntityFrameworkCore.AbpEntityFrameworkCoreModule
2022-02-14 22:07:44.298 +08:00 [INF] - WmsWebApi.WmsWebApiHttpApiModule
2022-02-14 22:07:44.298 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.AbpAspNetCoreMvcModule
2022-02-14 22:07:44.298 +08:00 [INF] - Volo.Abp.AspNetCore.AbpAspNetCoreModule
2022-02-14 22:07:44.298 +08:00 [INF] - Volo.Abp.Http.AbpHttpModule
2022-02-14 22:07:44.298 +08:00 [INF] - Volo.Abp.Minify.AbpMinifyModule
2022-02-14 22:07:44.298 +08:00 [INF] - Volo.Abp.ApiVersioning.AbpApiVersioningAbstractionsModule
2022-02-14 22:07:44.298 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.AbpAspNetCoreMvcContractsModule
2022-02-14 22:07:44.298 +08:00 [INF] - Volo.Abp.UI.Navigation.AbpUiNavigationModule
2022-02-14 22:07:44.298 +08:00 [INF] - Volo.Abp.UI.AbpUiModule
2022-02-14 22:07:44.298 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.UI.MultiTenancy.AbpAspNetCoreMvcUiMultiTenancyModule
2022-02-14 22:07:44.298 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.UI.Theme.Shared.AbpAspNetCoreMvcUiThemeSharedModule
2022-02-14 22:07:44.298 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.AbpAspNetCoreMvcUiBootstrapModule
2022-02-14 22:07:44.298 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.UI.AbpAspNetCoreMvcUiModule
2022-02-14 22:07:44.298 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.UI.Packages.AbpAspNetCoreMvcUiPackagesModule
2022-02-14 22:07:44.298 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.UI.Bundling.AbpAspNetCoreMvcUiBundlingAbstractionsModule
2022-02-14 22:07:44.298 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.UI.Widgets.AbpAspNetCoreMvcUiWidgetsModule
2022-02-14 22:07:44.298 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.UI.Bundling.AbpAspNetCoreMvcUiBundlingModule
2022-02-14 22:07:44.298 +08:00 [INF] - Volo.Abp.AspNetCore.MultiTenancy.AbpAspNetCoreMultiTenancyModule
2022-02-14 22:07:44.298 +08:00 [INF] - Volo.Abp.Autofac.AbpAutofacModule
2022-02-14 22:07:44.298 +08:00 [INF] - Volo.Abp.Castle.AbpCastleCoreModule
2022-02-14 22:07:44.298 +08:00 [INF] - Volo.Abp.Caching.StackExchangeRedis.AbpCachingStackExchangeRedisModule
2022-02-14 22:07:44.298 +08:00 [INF] - Volo.Abp.Caching.AbpCachingModule
2022-02-14 22:07:44.298 +08:00 [INF] - Volo.Abp.Serialization.AbpSerializationModule
2022-02-14 22:07:44.298 +08:00 [INF] - Volo.Abp.EntityFrameworkCore.SqlServer.AbpEntityFrameworkCoreSqlServerModule
2022-02-14 22:07:44.298 +08:00 [INF] - Volo.Abp.AuditLogging.EntityFrameworkCore.AbpAuditLoggingEntityFrameworkCoreModule
2022-02-14 22:07:44.298 +08:00 [INF] - Volo.Abp.AuditLogging.AbpAuditLoggingDomainModule
2022-02-14 22:07:44.298 +08:00 [INF] - Volo.Abp.AuditLogging.AbpAuditLoggingDomainSharedModule
2022-02-14 22:07:44.298 +08:00 [INF] - Volo.Abp.PermissionManagement.EntityFrameworkCore.AbpPermissionManagementEntityFrameworkCoreModule
2022-02-14 22:07:44.298 +08:00 [INF] - Volo.Abp.PermissionManagement.AbpPermissionManagementDomainModule
2022-02-14 22:07:44.298 +08:00 [INF] - Volo.Abp.PermissionManagement.AbpPermissionManagementDomainSharedModule
2022-02-14 22:07:44.298 +08:00 [INF] - Volo.Abp.SettingManagement.EntityFrameworkCore.AbpSettingManagementEntityFrameworkCoreModule
2022-02-14 22:07:44.298 +08:00 [INF] - Volo.Abp.SettingManagement.AbpSettingManagementDomainModule
2022-02-14 22:07:44.298 +08:00 [INF] - Volo.Abp.SettingManagement.AbpSettingManagementDomainSharedModule
2022-02-14 22:07:44.298 +08:00 [INF] - Volo.Abp.AspNetCore.Serilog.AbpAspNetCoreSerilogModule
2022-02-14 22:07:44.298 +08:00 [INF] - Volo.Abp.Swashbuckle.AbpSwashbuckleModule
2022-02-14 22:07:46.463 +08:00 [INF] Initialized all ABP modules.
2022-02-14 22:07:47.680 +08:00 [INF] Now listening on: https://localhost:5000
2022-02-14 22:07:47.681 +08:00 [INF] Application started. Press Ctrl+C to shut down.
2022-02-14 22:07:47.681 +08:00 [INF] Hosting environment: Development
2022-02-14 22:07:47.681 +08:00 [INF] Content root path: D:\工作\派格\接口程序\WmsWebApi\host\WmsWebApi.HttpApi.Host
2022-02-14 22:07:54.630 +08:00 [INF] Request starting HTTP/2 GET https://localhost:5000/ - -
2022-02-14 22:07:58.629 +08:00 [INF] Executing endpoint 'WmsWebApi.Controllers.HomeController.Index (WmsWebApi.HttpApi.Host)'
2022-02-14 22:07:58.921 +08:00 [INF] Route matched with {action = "Index", controller = "Home", area = "", page = ""}. Executing controller action with signature Microsoft.AspNetCore.Mvc.ActionResult Index() on controller WmsWebApi.Controllers.HomeController (WmsWebApi.HttpApi.Host).
2022-02-14 22:07:59.706 +08:00 [INF] Executing action method WmsWebApi.Controllers.HomeController.Index (WmsWebApi.HttpApi.Host) - Validation state: "Valid"
2022-02-14 22:07:59.724 +08:00 [INF] Executed action method WmsWebApi.Controllers.HomeController.Index (WmsWebApi.HttpApi.Host), returned result Microsoft.AspNetCore.Mvc.RedirectResult in 0.895ms.
2022-02-14 22:07:59.739 +08:00 [INF] Executing RedirectResult, redirecting to /swagger.
2022-02-14 22:07:59.756 +08:00 [INF] Executed action WmsWebApi.Controllers.HomeController.Index (WmsWebApi.HttpApi.Host) in 820.9894ms
2022-02-14 22:07:59.756 +08:00 [INF] Executed endpoint 'WmsWebApi.Controllers.HomeController.Index (WmsWebApi.HttpApi.Host)'
2022-02-14 22:07:59.829 +08:00 [INF] Request finished HTTP/2 GET https://localhost:5000/ - - - 302 0 - 5205.1429ms
2022-02-14 22:07:59.888 +08:00 [INF] Request starting HTTP/2 GET https://localhost:5000/swagger/index.html - -
2022-02-14 22:08:00.653 +08:00 [INF] Request finished HTTP/2 GET https://localhost:5000/swagger/index.html - - - 200 - text/html;charset=utf-8 764.4118ms
2022-02-14 22:08:01.244 +08:00 [INF] Request starting HTTP/2 GET https://localhost:5000/_framework/aspnetcore-browser-refresh.js - -
2022-02-14 22:08:01.253 +08:00 [INF] Request finished HTTP/2 GET https://localhost:5000/_framework/aspnetcore-browser-refresh.js - - - 200 11956 application/javascript;+charset=utf-8 7.9818ms
2022-02-14 22:08:02.054 +08:00 [INF] Request starting HTTP/2 GET https://localhost:5000/swagger/v1/swagger.json - -
2022-02-14 22:08:02.663 +08:00 [INF] Request finished HTTP/2 GET https://localhost:5000/swagger/v1/swagger.json - - - 200 - application/json;charset=utf-8 609.2944ms
2022-02-14 22:08:26.736 +08:00 [INF] Request starting HTTP/2 GET https://localhost:5000/abp/Swashbuckle/SetCsrfCookie application/json -
2022-02-14 22:08:26.747 +08:00 [INF] Executing endpoint 'Volo.Abp.Swashbuckle.AbpSwashbuckleController.SetCsrfCookie (Volo.Abp.Swashbuckle)'
2022-02-14 22:08:26.752 +08:00 [INF] Route matched with {area = "Abp", action = "SetCsrfCookie", controller = "AbpSwashbuckle", page = ""}. Executing controller action with signature Void SetCsrfCookie() on controller Volo.Abp.Swashbuckle.AbpSwashbuckleController (Volo.Abp.Swashbuckle).
2022-02-14 22:08:27.048 +08:00 [INF] Executing action method Volo.Abp.Swashbuckle.AbpSwashbuckleController.SetCsrfCookie (Volo.Abp.Swashbuckle) - Validation state: "Valid"
2022-02-14 22:08:27.075 +08:00 [INF] Executed action method Volo.Abp.Swashbuckle.AbpSwashbuckleController.SetCsrfCookie (Volo.Abp.Swashbuckle), returned result Microsoft.AspNetCore.Mvc.EmptyResult in 26.9762ms.
2022-02-14 22:08:27.077 +08:00 [INF] Executed action Volo.Abp.Swashbuckle.AbpSwashbuckleController.SetCsrfCookie (Volo.Abp.Swashbuckle) in 324.374ms
2022-02-14 22:08:27.077 +08:00 [INF] Executed endpoint 'Volo.Abp.Swashbuckle.AbpSwashbuckleController.SetCsrfCookie (Volo.Abp.Swashbuckle)'
2022-02-14 22:08:27.078 +08:00 [INF] Request finished HTTP/2 GET https://localhost:5000/abp/Swashbuckle/SetCsrfCookie application/json - - 204 - - 341.7376ms
2022-02-14 22:08:27.391 +08:00 [INF] Request starting HTTP/2 POST https://localhost:5000/api/part/add application/json 2797
2022-02-14 22:08:27.420 +08:00 [INF] CORS policy execution failed.
2022-02-14 22:08:27.421 +08:00 [INF] Request origin https://localhost:5000 does not have permission to access the resource.
2022-02-14 22:08:27.429 +08:00 [INF] Executing endpoint 'WmsWebApi.Parts.PartService.AddAsync (WmsWebApi.Application)'
2022-02-14 22:08:27.484 +08:00 [INF] Route matched with {action = "Add", controller = "Part", area = "", page = ""}. Executing controller action with signature System.Threading.Tasks.Task`1[WmsWebApi.Parts.ReturnResult] AddAsync(System.Object) on controller WmsWebApi.Parts.PartService (WmsWebApi.Application).
2022-02-14 22:08:29.468 +08:00 [INF] Executing action method WmsWebApi.Parts.PartService.AddAsync (WmsWebApi.Application) - Validation state: "Valid"
2022-02-14 22:08:38.088 +08:00 [WRN] No type was specified for the decimal property 'CustPackQty' on entity type 'TA_CUST_PART'. This will cause values to be silently truncated if they do not fit in the default precision and scale. Explicitly specify the SQL server column type that can accommodate all the values in 'OnModelCreating' using 'HasColumnType()', specify precision and scale using 'HasPrecision()' or configure a value converter using 'HasConversion()'.
2022-02-14 22:08:38.088 +08:00 [WRN] No type was specified for the decimal property 'CustPalletCapacity' on entity type 'TA_CUST_PART'. This will cause values to be silently truncated if they do not fit in the default precision and scale. Explicitly specify the SQL server column type that can accommodate all the values in 'OnModelCreating' using 'HasColumnType()', specify precision and scale using 'HasPrecision()' or configure a value converter using 'HasConversion()'.
2022-02-14 22:08:38.088 +08:00 [WRN] No type was specified for the decimal property 'ContainerQty' on entity type 'TA_PART'. This will cause values to be silently truncated if they do not fit in the default precision and scale. Explicitly specify the SQL server column type that can accommodate all the values in 'OnModelCreating' using 'HasColumnType()', specify precision and scale using 'HasPrecision()' or configure a value converter using 'HasConversion()'.
2022-02-14 22:08:38.088 +08:00 [WRN] No type was specified for the decimal property 'LinesidePackQty' on entity type 'TA_PART'. This will cause values to be silently truncated if they do not fit in the default precision and scale. Explicitly specify the SQL server column type that can accommodate all the values in 'OnModelCreating' using 'HasColumnType()', specify precision and scale using 'HasPrecision()' or configure a value converter using 'HasConversion()'.
2022-02-14 22:08:38.088 +08:00 [WRN] No type was specified for the decimal property 'MaxQty' on entity type 'TA_PART'. This will cause values to be silently truncated if they do not fit in the default precision and scale. Explicitly specify the SQL server column type that can accommodate all the values in 'OnModelCreating' using 'HasColumnType()', specify precision and scale using 'HasPrecision()' or configure a value converter using 'HasConversion()'.
2022-02-14 22:08:38.088 +08:00 [WRN] No type was specified for the decimal property 'MinQty' on entity type 'TA_PART'. This will cause values to be silently truncated if they do not fit in the default precision and scale. Explicitly specify the SQL server column type that can accommodate all the values in 'OnModelCreating' using 'HasColumnType()', specify precision and scale using 'HasPrecision()' or configure a value converter using 'HasConversion()'.
2022-02-14 22:08:38.088 +08:00 [WRN] No type was specified for the decimal property 'SafeQty' on entity type 'TA_PART'. This will cause values to be silently truncated if they do not fit in the default precision and scale. Explicitly specify the SQL server column type that can accommodate all the values in 'OnModelCreating' using 'HasColumnType()', specify precision and scale using 'HasPrecision()' or configure a value converter using 'HasConversion()'.
2022-02-14 22:08:38.088 +08:00 [WRN] No type was specified for the decimal property 'SamplePercent' on entity type 'TA_PART'. This will cause values to be silently truncated if they do not fit in the default precision and scale. Explicitly specify the SQL server column type that can accommodate all the values in 'OnModelCreating' using 'HasColumnType()', specify precision and scale using 'HasPrecision()' or configure a value converter using 'HasConversion()'.
2022-02-14 22:08:38.088 +08:00 [WRN] No type was specified for the decimal property 'SingleWeight' on entity type 'TA_PART'. This will cause values to be silently truncated if they do not fit in the default precision and scale. Explicitly specify the SQL server column type that can accommodate all the values in 'OnModelCreating' using 'HasColumnType()', specify precision and scale using 'HasPrecision()' or configure a value converter using 'HasConversion()'.
2022-02-14 22:08:38.088 +08:00 [WRN] No type was specified for the decimal property 'StockPackQty' on entity type 'TA_PART'. This will cause values to be silently truncated if they do not fit in the default precision and scale. Explicitly specify the SQL server column type that can accommodate all the values in 'OnModelCreating' using 'HasColumnType()', specify precision and scale using 'HasPrecision()' or configure a value converter using 'HasConversion()'.
2022-02-14 22:08:38.219 +08:00 [INF] Entity Framework Core 5.0.13 initialized 'WmsWebApiDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: QuerySplittingBehavior=SplitQuery
2022-02-14 22:08:39.840 +08:00 [INF] Executed DbCommand (156ms) [Parameters=[@__part_PartGroup_0='?' (Size = 50)], CommandType='"Text"', CommandTimeout='30']
SELECT TOP(1) [t].[UID], [t].[PARTGROUP], [t].[WERKS]
FROM [TM_PG_PARTGROUP] AS [t]
WHERE ([t].[WERKS] = N'1000') AND ([t].[PARTGROUP] = @__part_PartGroup_0)
2022-02-14 22:08:52.538 +08:00 [ERR] Failed executing DbCommand (38ms) [Parameters=[@__taPart_PartCode_0='?' (Size = 50)], CommandType='"Text"', CommandTimeout='30']
SELECT TOP(1) [t].[UID], [t].[AbcClass], [t].[CertificateOfQuality], [t].[Configuration], [t].[ContainerQty], [t].[DefaultBackFlushLocCode], [t].[DefaultReceiveLocCode], [t].[DistributionType], [t].[DrawingNumber], [t].[ErpPartCode], [t].[InspectType], [t].[Inspecter], [t].[IsAskMerge], [t].[IsConsign], [t].[IsDeposit], [t].[IsNoInterface], [t].[IsTransfer], [t].[LabelTemplate], [t].[LinesidePackQty], [t].[ManageType], [t].[MaxQty], [t].[MinQty], [t].[PalletSize], [t].[PalletTemplate], [t].[PartCode], [t].[PartDesc1], [t].[PartDesc2], [t].[PartGroup], [t].[PartKind], [t].[PartType], [t].[Process], [t].[ProjectId], [t].[Promo], [t].[QLevel], [t].[ReceivePort], [t].[Remark], [t].[SafeQty], [t].[SamplePercent], [t].[SingleWeight], [t].[Source], [t].[State], [t].[StockPackQty], [t].[StoreKeeper], [t].[UID1], [t].[Unit], [t].[ValidityDays]
FROM [TA_PART] AS [t]
WHERE [t].[PartCode] = @__taPart_PartCode_0
2022-02-14 22:08:52.671 +08:00 [ERR] An exception occurred while iterating over the results of a query for context type 'WmsWebApi.EntityFrameworkCore.WmsWebApiDbContext'.
Microsoft.Data.SqlClient.SqlException (0x80131904): 列名 'UID1' 无效。
at Microsoft.Data.SqlClient.SqlCommand.<>c.<ExecuteDbDataReaderAsync>b__169_0(Task`1 result)
at System.Threading.Tasks.ContinuationResultTaskFromResultTask`2.InnerInvoke()
at System.Threading.Tasks.Task.<>c.<.cctor>b__277_0(Object obj)
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
--- End of stack trace from previous location ---
at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread)
--- End of stack trace from previous location ---
at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReaderAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReaderAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.Query.Internal.SplitQueryingEnumerable`1.AsyncEnumerator.InitializeReaderAsync(DbContext _, Boolean result, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.SqlServer.Storage.Internal.SqlServerExecutionStrategy.ExecuteAsync[TState,TResult](TState state, Func`4 operation, Func`4 verifySucceeded, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.Query.Internal.SplitQueryingEnumerable`1.AsyncEnumerator.MoveNextAsync()
ClientConnectionId:4610172f-967d-4937-8e6c-51989efcf1db
Error Number:207,State:1,Class:16
Microsoft.Data.SqlClient.SqlException (0x80131904): 列名 'UID1' 无效。
at Microsoft.Data.SqlClient.SqlCommand.<>c.<ExecuteDbDataReaderAsync>b__169_0(Task`1 result)
at System.Threading.Tasks.ContinuationResultTaskFromResultTask`2.InnerInvoke()
at System.Threading.Tasks.Task.<>c.<.cctor>b__277_0(Object obj)
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
--- End of stack trace from previous location ---
at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread)
--- End of stack trace from previous location ---
at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReaderAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReaderAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.Query.Internal.SplitQueryingEnumerable`1.AsyncEnumerator.InitializeReaderAsync(DbContext _, Boolean result, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.SqlServer.Storage.Internal.SqlServerExecutionStrategy.ExecuteAsync[TState,TResult](TState state, Func`4 operation, Func`4 verifySucceeded, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.Query.Internal.SplitQueryingEnumerable`1.AsyncEnumerator.MoveNextAsync()
at Microsoft.EntityFrameworkCore.Query.ShapedQueryCompilingExpressionVisitor.SingleOrDefaultAsync[TSource](IAsyncEnumerable`1 asyncEnumerable, CancellationToken cancellationToken)
ClientConnectionId:4610172f-967d-4937-8e6c-51989efcf1db
Error Number:207,State:1,Class:16
2022-02-14 22:08:53.100 +08:00 [INF] Executed action method WmsWebApi.Parts.PartService.AddAsync (WmsWebApi.Application), returned result Microsoft.AspNetCore.Mvc.ObjectResult in 23632.0515ms.
2022-02-14 22:08:53.249 +08:00 [DBG] Added 0 entity changes to the current audit log
2022-02-14 22:08:53.349 +08:00 [INF] Executing ObjectResult, writing value of type 'WmsWebApi.Parts.ReturnResult'.
2022-02-14 22:08:53.375 +08:00 [INF] Executed action WmsWebApi.Parts.PartService.AddAsync (WmsWebApi.Application) in 25890.4415ms
2022-02-14 22:08:53.376 +08:00 [INF] Executed endpoint 'WmsWebApi.Parts.PartService.AddAsync (WmsWebApi.Application)'
2022-02-14 22:08:53.946 +08:00 [INF] Entity Framework Core 5.0.13 initialized 'AbpAuditLoggingDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: QuerySplittingBehavior=SplitQuery
2022-02-14 22:08:54.395 +08:00 [INF] Executed DbCommand (31ms) [Parameters=[@p0='?' (DbType = Guid), @p1='?' (Size = 96), @p2='?' (Size = 512), @p3='?' (Size = 64), @p4='?' (Size = 64), @p5='?' (Size = 128), @p6='?' (Size = 256), @p7='?' (Size = 40), @p8='?' (Size = 64), @p9='?' (Size = 4000), @p10='?' (DbType = Int32), @p11='?' (DbType = DateTime2), @p12='?' (Size = 4000), @p13='?' (Size = 16), @p14='?' (DbType = Int32), @p15='?' (DbType = Guid), @p16='?' (DbType = Guid), @p17='?' (DbType = Guid), @p18='?' (Size = 4000), @p19='?' (Size = 256), @p20='?' (DbType = Guid), @p21='?' (Size = 256)], CommandType='"Text"', CommandTimeout='30']
SET NOCOUNT ON;
INSERT INTO [AbpAuditLogs] ([Id], [ApplicationName], [BrowserInfo], [ClientId], [ClientIpAddress], [ClientName], [Comments], [ConcurrencyStamp], [CorrelationId], [Exceptions], [ExecutionDuration], [ExecutionTime], [ExtraProperties], [HttpMethod], [HttpStatusCode], [ImpersonatorTenantId], [ImpersonatorUserId], [TenantId], [TenantName], [Url], [UserId], [UserName])
VALUES (@p0, @p1, @p2, @p3, @p4, @p5, @p6, @p7, @p8, @p9, @p10, @p11, @p12, @p13, @p14, @p15, @p16, @p17, @p18, @p19, @p20, @p21);
2022-02-14 22:08:54.425 +08:00 [INF] Executed DbCommand (25ms) [Parameters=[@p22='?' (DbType = Guid), @p23='?' (DbType = Guid), @p24='?' (DbType = Int32), @p25='?' (DbType = DateTime2), @p26='?' (Size = 4000), @p27='?' (Size = 128), @p28='?' (Size = 2000), @p29='?' (Size = 256), @p30='?' (DbType = Guid)], CommandType='"Text"', CommandTimeout='30']
SET NOCOUNT ON;
INSERT INTO [AbpAuditLogActions] ([Id], [AuditLogId], [ExecutionDuration], [ExecutionTime], [ExtraProperties], [MethodName], [Parameters], [ServiceName], [TenantId])
VALUES (@p22, @p23, @p24, @p25, @p26, @p27, @p28, @p29, @p30);
2022-02-14 22:08:54.498 +08:00 [DBG] Added 0 entity changes to the current audit log
2022-02-14 22:08:54.498 +08:00 [DBG] Added 0 entity changes to the current audit log
2022-02-14 22:08:54.505 +08:00 [INF] Request finished HTTP/2 POST https://localhost:5000/api/part/add application/json 2797 - 200 - application/json;+charset=utf-8 27114.2804ms
2022-02-14 22:10:54.295 +08:00 [INF] Starting web host.
2022-02-14 22:11:02.050 +08:00 [INF] User profile is available. Using 'C:\Users\lvcj2\AppData\Local\ASP.NET\DataProtection-Keys' as key repository and Windows DPAPI to encrypt keys at rest.
2022-02-14 22:11:02.779 +08:00 [INF] Loaded ABP modules:
2022-02-14 22:11:02.781 +08:00 [INF] - WmsWebApi.WmsWebApiHttpApiHostModule
2022-02-14 22:11:02.781 +08:00 [INF] - WmsWebApi.WmsWebApiApplicationModule
2022-02-14 22:11:02.781 +08:00 [INF] - WmsWebApi.WmsWebApiDomainModule
2022-02-14 22:11:02.781 +08:00 [INF] - Volo.Abp.Domain.AbpDddDomainModule
2022-02-14 22:11:02.782 +08:00 [INF] - Volo.Abp.Auditing.AbpAuditingModule
2022-02-14 22:11:02.783 +08:00 [INF] - Volo.Abp.Data.AbpDataModule
2022-02-14 22:11:02.783 +08:00 [INF] - Volo.Abp.ObjectExtending.AbpObjectExtendingModule
2022-02-14 22:11:02.783 +08:00 [INF] - Volo.Abp.Localization.AbpLocalizationAbstractionsModule
2022-02-14 22:11:02.783 +08:00 [INF] - Volo.Abp.Validation.AbpValidationAbstractionsModule
2022-02-14 22:11:02.783 +08:00 [INF] - Volo.Abp.Uow.AbpUnitOfWorkModule
2022-02-14 22:11:02.783 +08:00 [INF] - Volo.Abp.EventBus.Abstractions.AbpEventBusAbstractionsModule
2022-02-14 22:11:02.783 +08:00 [INF] - Volo.Abp.Json.AbpJsonModule
2022-02-14 22:11:02.783 +08:00 [INF] - Volo.Abp.Timing.AbpTimingModule
2022-02-14 22:11:02.783 +08:00 [INF] - Volo.Abp.Localization.AbpLocalizationModule
2022-02-14 22:11:02.783 +08:00 [INF] - Volo.Abp.VirtualFileSystem.AbpVirtualFileSystemModule
2022-02-14 22:11:02.783 +08:00 [INF] - Volo.Abp.Settings.AbpSettingsModule
2022-02-14 22:11:02.783 +08:00 [INF] - Volo.Abp.Security.AbpSecurityModule
2022-02-14 22:11:02.783 +08:00 [INF] - Volo.Abp.MultiTenancy.AbpMultiTenancyModule
2022-02-14 22:11:02.783 +08:00 [INF] - Volo.Abp.Threading.AbpThreadingModule
2022-02-14 22:11:02.783 +08:00 [INF] - Volo.Abp.EventBus.AbpEventBusModule
2022-02-14 22:11:02.783 +08:00 [INF] - Volo.Abp.Guids.AbpGuidsModule
2022-02-14 22:11:02.783 +08:00 [INF] - Volo.Abp.ObjectMapping.AbpObjectMappingModule
2022-02-14 22:11:02.783 +08:00 [INF] - Volo.Abp.ExceptionHandling.AbpExceptionHandlingModule
2022-02-14 22:11:02.783 +08:00 [INF] - Volo.Abp.Specifications.AbpSpecificationsModule
2022-02-14 22:11:02.783 +08:00 [INF] - WmsWebApi.WmsWebApiDomainSharedModule
2022-02-14 22:11:02.783 +08:00 [INF] - Volo.Abp.Validation.AbpValidationModule
2022-02-14 22:11:02.783 +08:00 [INF] - WmsWebApi.WmsWebApiApplicationContractsModule
2022-02-14 22:11:02.783 +08:00 [INF] - Volo.Abp.Application.AbpDddApplicationContractsModule
2022-02-14 22:11:02.783 +08:00 [INF] - Volo.Abp.Authorization.AbpAuthorizationModule
2022-02-14 22:11:02.783 +08:00 [INF] - Volo.Abp.Authorization.AbpAuthorizationAbstractionsModule
2022-02-14 22:11:02.783 +08:00 [INF] - Volo.Abp.Application.AbpDddApplicationModule
2022-02-14 22:11:02.783 +08:00 [INF] - Volo.Abp.Http.AbpHttpAbstractionsModule
2022-02-14 22:11:02.783 +08:00 [INF] - Volo.Abp.Features.AbpFeaturesModule
2022-02-14 22:11:02.783 +08:00 [INF] - Volo.Abp.GlobalFeatures.AbpGlobalFeaturesModule
2022-02-14 22:11:02.783 +08:00 [INF] - Volo.Abp.AutoMapper.AbpAutoMapperModule
2022-02-14 22:11:02.783 +08:00 [INF] - WmsWebApi.EntityFrameworkCore.WmsWebApiEntityFrameworkCoreModule
2022-02-14 22:11:02.783 +08:00 [INF] - Volo.Abp.EntityFrameworkCore.AbpEntityFrameworkCoreModule
2022-02-14 22:11:02.784 +08:00 [INF] - WmsWebApi.WmsWebApiHttpApiModule
2022-02-14 22:11:02.784 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.AbpAspNetCoreMvcModule
2022-02-14 22:11:02.784 +08:00 [INF] - Volo.Abp.AspNetCore.AbpAspNetCoreModule
2022-02-14 22:11:02.784 +08:00 [INF] - Volo.Abp.Http.AbpHttpModule
2022-02-14 22:11:02.784 +08:00 [INF] - Volo.Abp.Minify.AbpMinifyModule
2022-02-14 22:11:02.784 +08:00 [INF] - Volo.Abp.ApiVersioning.AbpApiVersioningAbstractionsModule
2022-02-14 22:11:02.784 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.AbpAspNetCoreMvcContractsModule
2022-02-14 22:11:02.784 +08:00 [INF] - Volo.Abp.UI.Navigation.AbpUiNavigationModule
2022-02-14 22:11:02.784 +08:00 [INF] - Volo.Abp.UI.AbpUiModule
2022-02-14 22:11:02.784 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.UI.MultiTenancy.AbpAspNetCoreMvcUiMultiTenancyModule
2022-02-14 22:11:02.784 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.UI.Theme.Shared.AbpAspNetCoreMvcUiThemeSharedModule
2022-02-14 22:11:02.784 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.AbpAspNetCoreMvcUiBootstrapModule
2022-02-14 22:11:02.784 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.UI.AbpAspNetCoreMvcUiModule
2022-02-14 22:11:02.784 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.UI.Packages.AbpAspNetCoreMvcUiPackagesModule
2022-02-14 22:11:02.784 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.UI.Bundling.AbpAspNetCoreMvcUiBundlingAbstractionsModule
2022-02-14 22:11:02.784 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.UI.Widgets.AbpAspNetCoreMvcUiWidgetsModule
2022-02-14 22:11:02.784 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.UI.Bundling.AbpAspNetCoreMvcUiBundlingModule
2022-02-14 22:11:02.784 +08:00 [INF] - Volo.Abp.AspNetCore.MultiTenancy.AbpAspNetCoreMultiTenancyModule
2022-02-14 22:11:02.784 +08:00 [INF] - Volo.Abp.Autofac.AbpAutofacModule
2022-02-14 22:11:02.784 +08:00 [INF] - Volo.Abp.Castle.AbpCastleCoreModule
2022-02-14 22:11:02.784 +08:00 [INF] - Volo.Abp.Caching.StackExchangeRedis.AbpCachingStackExchangeRedisModule
2022-02-14 22:11:02.784 +08:00 [INF] - Volo.Abp.Caching.AbpCachingModule
2022-02-14 22:11:02.784 +08:00 [INF] - Volo.Abp.Serialization.AbpSerializationModule
2022-02-14 22:11:02.784 +08:00 [INF] - Volo.Abp.EntityFrameworkCore.SqlServer.AbpEntityFrameworkCoreSqlServerModule
2022-02-14 22:11:02.784 +08:00 [INF] - Volo.Abp.AuditLogging.EntityFrameworkCore.AbpAuditLoggingEntityFrameworkCoreModule
2022-02-14 22:11:02.784 +08:00 [INF] - Volo.Abp.AuditLogging.AbpAuditLoggingDomainModule
2022-02-14 22:11:02.784 +08:00 [INF] - Volo.Abp.AuditLogging.AbpAuditLoggingDomainSharedModule
2022-02-14 22:11:02.784 +08:00 [INF] - Volo.Abp.PermissionManagement.EntityFrameworkCore.AbpPermissionManagementEntityFrameworkCoreModule
2022-02-14 22:11:02.784 +08:00 [INF] - Volo.Abp.PermissionManagement.AbpPermissionManagementDomainModule
2022-02-14 22:11:02.784 +08:00 [INF] - Volo.Abp.PermissionManagement.AbpPermissionManagementDomainSharedModule
2022-02-14 22:11:02.784 +08:00 [INF] - Volo.Abp.SettingManagement.EntityFrameworkCore.AbpSettingManagementEntityFrameworkCoreModule
2022-02-14 22:11:02.784 +08:00 [INF] - Volo.Abp.SettingManagement.AbpSettingManagementDomainModule
2022-02-14 22:11:02.784 +08:00 [INF] - Volo.Abp.SettingManagement.AbpSettingManagementDomainSharedModule
2022-02-14 22:11:02.784 +08:00 [INF] - Volo.Abp.AspNetCore.Serilog.AbpAspNetCoreSerilogModule
2022-02-14 22:11:02.784 +08:00 [INF] - Volo.Abp.Swashbuckle.AbpSwashbuckleModule
2022-02-14 22:11:05.076 +08:00 [INF] Initialized all ABP modules.
2022-02-14 22:11:06.338 +08:00 [INF] Now listening on: https://localhost:5000
2022-02-14 22:11:06.338 +08:00 [INF] Application started. Press Ctrl+C to shut down.
2022-02-14 22:11:06.338 +08:00 [INF] Hosting environment: Development
2022-02-14 22:11:06.339 +08:00 [INF] Content root path: D:\工作\派格\接口程序\WmsWebApi\host\WmsWebApi.HttpApi.Host
2022-02-14 22:11:14.940 +08:00 [INF] Request starting HTTP/2 GET https://localhost:5000/ - -
2022-02-14 22:11:18.405 +08:00 [INF] Executing endpoint 'WmsWebApi.Controllers.HomeController.Index (WmsWebApi.HttpApi.Host)'
2022-02-14 22:11:18.576 +08:00 [INF] Route matched with {action = "Index", controller = "Home", area = "", page = ""}. Executing controller action with signature Microsoft.AspNetCore.Mvc.ActionResult Index() on controller WmsWebApi.Controllers.HomeController (WmsWebApi.HttpApi.Host).
2022-02-14 22:11:19.230 +08:00 [INF] Executing action method WmsWebApi.Controllers.HomeController.Index (WmsWebApi.HttpApi.Host) - Validation state: "Valid"
2022-02-14 22:11:19.249 +08:00 [INF] Executed action method WmsWebApi.Controllers.HomeController.Index (WmsWebApi.HttpApi.Host), returned result Microsoft.AspNetCore.Mvc.RedirectResult in 0.7983ms.
2022-02-14 22:11:19.266 +08:00 [INF] Executing RedirectResult, redirecting to /swagger.
2022-02-14 22:11:19.284 +08:00 [INF] Executed action WmsWebApi.Controllers.HomeController.Index (WmsWebApi.HttpApi.Host) in 692.6855ms
2022-02-14 22:11:19.284 +08:00 [INF] Executed endpoint 'WmsWebApi.Controllers.HomeController.Index (WmsWebApi.HttpApi.Host)'
2022-02-14 22:11:19.358 +08:00 [INF] Request finished HTTP/2 GET https://localhost:5000/ - - - 302 0 - 4419.4775ms
2022-02-14 22:11:19.370 +08:00 [INF] Request starting HTTP/2 GET https://localhost:5000/swagger/index.html - -
2022-02-14 22:11:20.042 +08:00 [INF] Request finished HTTP/2 GET https://localhost:5000/swagger/index.html - - - 200 - text/html;charset=utf-8 674.4080ms
2022-02-14 22:11:20.057 +08:00 [INF] Request starting HTTP/2 GET https://localhost:5000/_framework/aspnetcore-browser-refresh.js - -
2022-02-14 22:11:20.073 +08:00 [INF] Request finished HTTP/2 GET https://localhost:5000/_framework/aspnetcore-browser-refresh.js - - - 200 11956 application/javascript;+charset=utf-8 15.6552ms
2022-02-14 22:11:21.354 +08:00 [INF] Request starting HTTP/2 GET https://localhost:5000/swagger/v1/swagger.json - -
2022-02-14 22:11:21.916 +08:00 [INF] Request finished HTTP/2 GET https://localhost:5000/swagger/v1/swagger.json - - - 200 - application/json;charset=utf-8 562.2245ms
2022-02-14 22:11:38.582 +08:00 [INF] Request starting HTTP/2 GET https://localhost:5000/abp/Swashbuckle/SetCsrfCookie application/json -
2022-02-14 22:11:38.590 +08:00 [INF] Executing endpoint 'Volo.Abp.Swashbuckle.AbpSwashbuckleController.SetCsrfCookie (Volo.Abp.Swashbuckle)'
2022-02-14 22:11:38.595 +08:00 [INF] Route matched with {area = "Abp", action = "SetCsrfCookie", controller = "AbpSwashbuckle", page = ""}. Executing controller action with signature Void SetCsrfCookie() on controller Volo.Abp.Swashbuckle.AbpSwashbuckleController (Volo.Abp.Swashbuckle).
2022-02-14 22:11:38.836 +08:00 [INF] Executing action method Volo.Abp.Swashbuckle.AbpSwashbuckleController.SetCsrfCookie (Volo.Abp.Swashbuckle) - Validation state: "Valid"
2022-02-14 22:11:38.864 +08:00 [INF] Executed action method Volo.Abp.Swashbuckle.AbpSwashbuckleController.SetCsrfCookie (Volo.Abp.Swashbuckle), returned result Microsoft.AspNetCore.Mvc.EmptyResult in 27.5602ms.
2022-02-14 22:11:38.864 +08:00 [INF] Executed action Volo.Abp.Swashbuckle.AbpSwashbuckleController.SetCsrfCookie (Volo.Abp.Swashbuckle) in 269.6382ms
2022-02-14 22:11:38.864 +08:00 [INF] Executed endpoint 'Volo.Abp.Swashbuckle.AbpSwashbuckleController.SetCsrfCookie (Volo.Abp.Swashbuckle)'
2022-02-14 22:11:38.865 +08:00 [INF] Request finished HTTP/2 GET https://localhost:5000/abp/Swashbuckle/SetCsrfCookie application/json - - 204 - - 283.6726ms
2022-02-14 22:11:39.076 +08:00 [INF] Request starting HTTP/2 POST https://localhost:5000/api/part/add application/json 2797
2022-02-14 22:11:39.099 +08:00 [INF] CORS policy execution failed.
2022-02-14 22:11:39.100 +08:00 [INF] Request origin https://localhost:5000 does not have permission to access the resource.
2022-02-14 22:11:39.109 +08:00 [INF] Executing endpoint 'WmsWebApi.Parts.PartService.AddAsync (WmsWebApi.Application)'
2022-02-14 22:11:39.174 +08:00 [INF] Route matched with {action = "Add", controller = "Part", area = "", page = ""}. Executing controller action with signature System.Threading.Tasks.Task`1[WmsWebApi.Parts.ReturnResult] AddAsync(System.Object) on controller WmsWebApi.Parts.PartService (WmsWebApi.Application).
2022-02-14 22:11:40.979 +08:00 [INF] Executing action method WmsWebApi.Parts.PartService.AddAsync (WmsWebApi.Application) - Validation state: "Valid"
2022-02-14 22:11:46.290 +08:00 [WRN] No type was specified for the decimal property 'CustPackQty' on entity type 'TA_CUST_PART'. This will cause values to be silently truncated if they do not fit in the default precision and scale. Explicitly specify the SQL server column type that can accommodate all the values in 'OnModelCreating' using 'HasColumnType()', specify precision and scale using 'HasPrecision()' or configure a value converter using 'HasConversion()'.
2022-02-14 22:11:46.291 +08:00 [WRN] No type was specified for the decimal property 'CustPalletCapacity' on entity type 'TA_CUST_PART'. This will cause values to be silently truncated if they do not fit in the default precision and scale. Explicitly specify the SQL server column type that can accommodate all the values in 'OnModelCreating' using 'HasColumnType()', specify precision and scale using 'HasPrecision()' or configure a value converter using 'HasConversion()'.
2022-02-14 22:11:46.291 +08:00 [WRN] No type was specified for the decimal property 'ContainerQty' on entity type 'TA_PART'. This will cause values to be silently truncated if they do not fit in the default precision and scale. Explicitly specify the SQL server column type that can accommodate all the values in 'OnModelCreating' using 'HasColumnType()', specify precision and scale using 'HasPrecision()' or configure a value converter using 'HasConversion()'.
2022-02-14 22:11:46.291 +08:00 [WRN] No type was specified for the decimal property 'LinesidePackQty' on entity type 'TA_PART'. This will cause values to be silently truncated if they do not fit in the default precision and scale. Explicitly specify the SQL server column type that can accommodate all the values in 'OnModelCreating' using 'HasColumnType()', specify precision and scale using 'HasPrecision()' or configure a value converter using 'HasConversion()'.
2022-02-14 22:11:46.291 +08:00 [WRN] No type was specified for the decimal property 'MaxQty' on entity type 'TA_PART'. This will cause values to be silently truncated if they do not fit in the default precision and scale. Explicitly specify the SQL server column type that can accommodate all the values in 'OnModelCreating' using 'HasColumnType()', specify precision and scale using 'HasPrecision()' or configure a value converter using 'HasConversion()'.
2022-02-14 22:11:46.291 +08:00 [WRN] No type was specified for the decimal property 'MinQty' on entity type 'TA_PART'. This will cause values to be silently truncated if they do not fit in the default precision and scale. Explicitly specify the SQL server column type that can accommodate all the values in 'OnModelCreating' using 'HasColumnType()', specify precision and scale using 'HasPrecision()' or configure a value converter using 'HasConversion()'.
2022-02-14 22:11:46.291 +08:00 [WRN] No type was specified for the decimal property 'SafeQty' on entity type 'TA_PART'. This will cause values to be silently truncated if they do not fit in the default precision and scale. Explicitly specify the SQL server column type that can accommodate all the values in 'OnModelCreating' using 'HasColumnType()', specify precision and scale using 'HasPrecision()' or configure a value converter using 'HasConversion()'.
2022-02-14 22:11:46.291 +08:00 [WRN] No type was specified for the decimal property 'SamplePercent' on entity type 'TA_PART'. This will cause values to be silently truncated if they do not fit in the default precision and scale. Explicitly specify the SQL server column type that can accommodate all the values in 'OnModelCreating' using 'HasColumnType()', specify precision and scale using 'HasPrecision()' or configure a value converter using 'HasConversion()'.
2022-02-14 22:11:46.291 +08:00 [WRN] No type was specified for the decimal property 'SingleWeight' on entity type 'TA_PART'. This will cause values to be silently truncated if they do not fit in the default precision and scale. Explicitly specify the SQL server column type that can accommodate all the values in 'OnModelCreating' using 'HasColumnType()', specify precision and scale using 'HasPrecision()' or configure a value converter using 'HasConversion()'.
2022-02-14 22:11:46.291 +08:00 [WRN] No type was specified for the decimal property 'StockPackQty' on entity type 'TA_PART'. This will cause values to be silently truncated if they do not fit in the default precision and scale. Explicitly specify the SQL server column type that can accommodate all the values in 'OnModelCreating' using 'HasColumnType()', specify precision and scale using 'HasPrecision()' or configure a value converter using 'HasConversion()'.
2022-02-14 22:11:46.551 +08:00 [INF] Entity Framework Core 5.0.13 initialized 'WmsWebApiDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: QuerySplittingBehavior=SplitQuery
2022-02-14 22:11:48.914 +08:00 [INF] Executed DbCommand (211ms) [Parameters=[@__part_PartGroup_0='?' (Size = 50)], CommandType='"Text"', CommandTimeout='30']
SELECT TOP(1) [t].[UID], [t].[PARTGROUP], [t].[WERKS]
FROM [TM_PG_PARTGROUP] AS [t]
WHERE ([t].[WERKS] = N'1000') AND ([t].[PARTGROUP] = @__part_PartGroup_0)
2022-02-14 22:11:49.183 +08:00 [INF] Executed DbCommand (64ms) [Parameters=[@__taPart_PartCode_0='?' (Size = 50)], CommandType='"Text"', CommandTimeout='30']
SELECT TOP(1) [t].[UID], [t].[AbcClass], [t].[CertificateOfQuality], [t].[Configuration], [t].[ContainerQty], [t].[DefaultBackFlushLocCode], [t].[DefaultReceiveLocCode], [t].[DistributionType], [t].[DrawingNumber], [t].[ErpPartCode], [t].[InspectType], [t].[Inspecter], [t].[IsAskMerge], [t].[IsConsign], [t].[IsDeposit], [t].[IsNoInterface], [t].[IsTransfer], [t].[LabelTemplate], [t].[LinesidePackQty], [t].[ManageType], [t].[MaxQty], [t].[MinQty], [t].[PalletSize], [t].[PalletTemplate], [t].[PartCode], [t].[PartDesc1], [t].[PartDesc2], [t].[PartGroup], [t].[PartKind], [t].[PartType], [t].[Process], [t].[ProjectId], [t].[Promo], [t].[QLevel], [t].[ReceivePort], [t].[Remark], [t].[SafeQty], [t].[SamplePercent], [t].[SingleWeight], [t].[Source], [t].[State], [t].[StockPackQty], [t].[StoreKeeper], [t].[Unit], [t].[ValidityDays]
FROM [TA_PART] AS [t]
WHERE [t].[PartCode] = @__taPart_PartCode_0
2022-02-14 22:11:49.677 +08:00 [INF] Executed DbCommand (28ms) [Parameters=[@__taCustPart_CustId_0='?' (Size = 50), @__taCustPart_CustPartCode_1='?' (Size = 50)], CommandType='"Text"', CommandTimeout='30']
SELECT TOP(1) [t].[CustId], [t].[CustPartCode], [t].[CustPackQty], [t].[CustPalletCapacity], [t].[CustPalletQty], [t].[CustPalletSize], [t].[CustPartName], [t].[UID], [t].[PartCode], [t].[Remark], [t].[State]
FROM [TA_CUST_PART] AS [t]
WHERE ([t].[CustId] = @__taCustPart_CustId_0) AND ([t].[CustPartCode] = @__taCustPart_CustPartCode_1)
2022-02-14 22:11:49.949 +08:00 [INF] Executed action method WmsWebApi.Parts.PartService.AddAsync (WmsWebApi.Application), returned result Microsoft.AspNetCore.Mvc.ObjectResult in 8969.6733ms.
2022-02-14 22:11:50.412 +08:00 [INF] Executed DbCommand (35ms) [Parameters=[@p0='?' (Size = 50), @p1='?' (Size = 50), @p2='?' (Precision = 18) (Scale = 2) (DbType = Decimal), @p3='?' (Precision = 18) (Scale = 2) (DbType = Decimal), @p4='?' (DbType = Int32), @p5='?' (Size = 4000), @p6='?' (Size = 4000), @p7='?' (Size = 50), @p8='?' (Size = 4000)], CommandType='"Text"', CommandTimeout='30']
SET NOCOUNT ON;
INSERT INTO [TA_CUST_PART] ([CustId], [CustPartCode], [CustPackQty], [CustPalletCapacity], [CustPalletQty], [CustPalletSize], [CustPartName], [PartCode], [Remark])
VALUES (@p0, @p1, @p2, @p3, @p4, @p5, @p6, @p7, @p8);
SELECT [UID], [State]
FROM [TA_CUST_PART]
WHERE @@ROWCOUNT = 1 AND [CustId] = @p0 AND [CustPartCode] = @p1;
2022-02-14 22:11:50.516 +08:00 [INF] Executed DbCommand (45ms) [Parameters=[@p0='?' (Size = 4000), @p1='?' (Size = 4000), @p2='?' (Size = 4000), @p3='?' (Precision = 18) (Scale = 2) (DbType = Decimal), @p4='?' (Size = 4000), @p5='?' (Size = 4000), @p6='?' (DbType = Int32), @p7='?' (Size = 4000), @p8='?' (Size = 50), @p9='?' (DbType = Int32), @p10='?' (Size = 4000), @p11='?' (DbType = Boolean), @p12='?' (DbType = Boolean), @p13='?' (DbType = Boolean), @p14='?' (DbType = Boolean), @p15='?' (DbType = Boolean), @p16='?' (Size = 4000), @p17='?' (Precision = 18) (Scale = 2) (DbType = Decimal), @p18='?' (DbType = Int32), @p19='?' (Precision = 18) (Scale = 2) (DbType = Decimal), @p20='?' (Precision = 18) (Scale = 2) (DbType = Decimal), @p21='?' (Size = 4000), @p22='?' (Size = 4000), @p23='?' (Size = 50), @p24='?' (Size = 4000), @p25='?' (Size = 4000), @p26='?' (Size = 4000), @p27='?' (Size = 4000), @p28='?' (Size = 4000), @p29='?' (Size = 4000), @p30='?' (Size = 4000), @p31='?' (Size = 4000), @p32='?' (Size = 4000), @p33='?' (Size = 4000), @p34='?' (Size = 4000), @p35='?' (Precision = 18) (Scale = 2) (DbType = Decimal), @p36='?' (Precision = 18) (Scale = 2) (DbType = Decimal), @p37='?' (Precision = 18) (Scale = 2) (DbType = Decimal), @p38='?' (Size = 4000), @p39='?' (Size = 4000), @p40='?' (Precision = 18) (Scale = 2) (DbType = Decimal), @p41='?' (Size = 4000), @p42='?' (Size = 4000), @p43='?' (DbType = Int32)], CommandType='"Text"', CommandTimeout='30']
SET NOCOUNT ON;
INSERT INTO [TA_PART] ([AbcClass], [CertificateOfQuality], [Configuration], [ContainerQty], [DefaultBackFlushLocCode], [DefaultReceiveLocCode], [DistributionType], [DrawingNumber], [ErpPartCode], [InspectType], [Inspecter], [IsAskMerge], [IsConsign], [IsDeposit], [IsNoInterface], [IsTransfer], [LabelTemplate], [LinesidePackQty], [ManageType], [MaxQty], [MinQty], [PalletSize], [PalletTemplate], [PartCode], [PartDesc1], [PartDesc2], [PartGroup], [PartKind], [PartType], [Process], [ProjectId], [Promo], [QLevel], [ReceivePort], [Remark], [SafeQty], [SamplePercent], [SingleWeight], [Source], [State], [StockPackQty], [StoreKeeper], [Unit], [ValidityDays])
VALUES (@p0, @p1, @p2, @p3, @p4, @p5, @p6, @p7, @p8, @p9, @p10, @p11, @p12, @p13, @p14, @p15, @p16, @p17, @p18, @p19, @p20, @p21, @p22, @p23, @p24, @p25, @p26, @p27, @p28, @p29, @p30, @p31, @p32, @p33, @p34, @p35, @p36, @p37, @p38, @p39, @p40, @p41, @p42, @p43);
SELECT [UID]
FROM [TA_PART]
WHERE @@ROWCOUNT = 1 AND [UID] = scope_identity();
2022-02-14 22:11:50.585 +08:00 [ERR] Failed executing DbCommand (40ms) [Parameters=[@p0='?' (DbType = Guid), @p1='?' (Size = 40), @p2='?' (DbType = DateTime2), @p3='?' (DbType = Guid), @p4='?' (Size = 4000), @p5='?' (DbType = DateTime2), @p6='?' (Size = 4000), @p7='?' (Size = 4000), @p8='?' (Size = 4000), @p9='?' (Size = 4000), @p10='?' (Size = 4000), @p11='?' (Size = 4000), @p12='?' (Size = 4000), @p13='?' (Size = 50), @p14='?' (Size = 10), @p15='?' (Size = 4000), @p16='?' (Size = 4000), @p17='?' (Size = 4000), @p18='?' (Size = 4000), @p19='?' (Size = 4000)], CommandType='"Text"', CommandTimeout='30']
SET NOCOUNT ON;
INSERT INTO [WmsWebApiPARTDTO] ([Id], [ConcurrencyStamp], [CreationTime], [CreatorId], [DISGR], [DYSJ], [ExtraProperties], [GROES], [ITYPE], [JSON], [MAKTX], [MAKTX1], [MATKL], [MATNR], [MBRSH], [MEINS], [MTART], [VTWEG], [WERKS], [ZTEXT22])
VALUES (@p0, @p1, @p2, @p3, @p4, @p5, @p6, @p7, @p8, @p9, @p10, @p11, @p12, @p13, @p14, @p15, @p16, @p17, @p18, @p19);
2022-02-14 22:11:50.845 +08:00 [ERR] An exception occurred in the database while saving changes for context type 'WmsWebApi.EntityFrameworkCore.WmsWebApiDbContext'.
Microsoft.EntityFrameworkCore.DbUpdateException: An error occurred while updating the entries. See the inner exception for details.
---> Microsoft.Data.SqlClient.SqlException (0x80131904): 列名 'ConcurrencyStamp' 无效。
列名 'CreationTime' 无效。
列名 'CreatorId' 无效。
列名 'ExtraProperties' 无效。
at Microsoft.Data.SqlClient.SqlCommand.<>c.<ExecuteDbDataReaderAsync>b__169_0(Task`1 result)
at System.Threading.Tasks.ContinuationResultTaskFromResultTask`2.InnerInvoke()
at System.Threading.Tasks.Task.<>c.<.cctor>b__277_0(Object obj)
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
--- End of stack trace from previous location ---
at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread)
--- End of stack trace from previous location ---
at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReaderAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReaderAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.Update.ReaderModificationCommandBatch.ExecuteAsync(IRelationalConnection connection, CancellationToken cancellationToken)
ClientConnectionId:713eccb9-011e-4ac3-ae87-2e530bd164ef
Error Number:207,State:1,Class:16
--- End of inner exception stack trace ---
at Microsoft.EntityFrameworkCore.Update.ReaderModificationCommandBatch.ExecuteAsync(IRelationalConnection connection, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.Update.Internal.BatchExecutor.ExecuteAsync(IEnumerable`1 commandBatches, IRelationalConnection connection, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.Update.Internal.BatchExecutor.ExecuteAsync(IEnumerable`1 commandBatches, IRelationalConnection connection, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.Update.Internal.BatchExecutor.ExecuteAsync(IEnumerable`1 commandBatches, IRelationalConnection connection, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.SaveChangesAsync(IList`1 entriesToSave, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.SaveChangesAsync(DbContext _, Boolean acceptAllChangesOnSuccess, 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.DbContext.SaveChangesAsync(Boolean acceptAllChangesOnSuccess, CancellationToken cancellationToken)
Microsoft.EntityFrameworkCore.DbUpdateException: An error occurred while updating the entries. See the inner exception for details.
---> Microsoft.Data.SqlClient.SqlException (0x80131904): 列名 'ConcurrencyStamp' 无效。
列名 'CreationTime' 无效。
列名 'CreatorId' 无效。
列名 'ExtraProperties' 无效。
at Microsoft.Data.SqlClient.SqlCommand.<>c.<ExecuteDbDataReaderAsync>b__169_0(Task`1 result)
at System.Threading.Tasks.ContinuationResultTaskFromResultTask`2.InnerInvoke()
at System.Threading.Tasks.Task.<>c.<.cctor>b__277_0(Object obj)
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
--- End of stack trace from previous location ---
at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread)
--- End of stack trace from previous location ---
at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReaderAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReaderAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.Update.ReaderModificationCommandBatch.ExecuteAsync(IRelationalConnection connection, CancellationToken cancellationToken)
ClientConnectionId:713eccb9-011e-4ac3-ae87-2e530bd164ef
Error Number:207,State:1,Class:16
--- End of inner exception stack trace ---
at Microsoft.EntityFrameworkCore.Update.ReaderModificationCommandBatch.ExecuteAsync(IRelationalConnection connection, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.Update.Internal.BatchExecutor.ExecuteAsync(IEnumerable`1 commandBatches, IRelationalConnection connection, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.Update.Internal.BatchExecutor.ExecuteAsync(IEnumerable`1 commandBatches, IRelationalConnection connection, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.Update.Internal.BatchExecutor.ExecuteAsync(IEnumerable`1 commandBatches, IRelationalConnection connection, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.SaveChangesAsync(IList`1 entriesToSave, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.SaveChangesAsync(DbContext _, Boolean acceptAllChangesOnSuccess, 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.DbContext.SaveChangesAsync(Boolean acceptAllChangesOnSuccess, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.DbContext.SaveChangesAsync(Boolean acceptAllChangesOnSuccess, CancellationToken cancellationToken)
at Volo.Abp.EntityFrameworkCore.AbpDbContext`1.SaveChangesAsync(Boolean acceptAllChangesOnSuccess, CancellationToken cancellationToken)
2022-02-14 22:11:51.060 +08:00 [ERR] ---------- RemoteServiceErrorInfo ----------
{
"code": null,
"message": "An internal error occurred during your request!",
"details": null,
"data": {},
"validationErrors": null
}
2022-02-14 22:11:51.061 +08:00 [ERR] An error occurred while updating the entries. See the inner exception for details.
Microsoft.EntityFrameworkCore.DbUpdateException: An error occurred while updating the entries. See the inner exception for details.
---> Microsoft.Data.SqlClient.SqlException (0x80131904): 列名 'ConcurrencyStamp' 无效。
列名 'CreationTime' 无效。
列名 'CreatorId' 无效。
列名 'ExtraProperties' 无效。
at Microsoft.Data.SqlClient.SqlCommand.<>c.<ExecuteDbDataReaderAsync>b__169_0(Task`1 result)
at System.Threading.Tasks.ContinuationResultTaskFromResultTask`2.InnerInvoke()
at System.Threading.Tasks.Task.<>c.<.cctor>b__277_0(Object obj)
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
--- End of stack trace from previous location ---
at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread)
--- End of stack trace from previous location ---
at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReaderAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReaderAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.Update.ReaderModificationCommandBatch.ExecuteAsync(IRelationalConnection connection, CancellationToken cancellationToken)
ClientConnectionId:713eccb9-011e-4ac3-ae87-2e530bd164ef
Error Number:207,State:1,Class:16
--- End of inner exception stack trace ---
at Microsoft.EntityFrameworkCore.Update.ReaderModificationCommandBatch.ExecuteAsync(IRelationalConnection connection, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.Update.Internal.BatchExecutor.ExecuteAsync(IEnumerable`1 commandBatches, IRelationalConnection connection, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.Update.Internal.BatchExecutor.ExecuteAsync(IEnumerable`1 commandBatches, IRelationalConnection connection, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.Update.Internal.BatchExecutor.ExecuteAsync(IEnumerable`1 commandBatches, IRelationalConnection connection, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.SaveChangesAsync(IList`1 entriesToSave, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.SaveChangesAsync(DbContext _, Boolean acceptAllChangesOnSuccess, 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.DbContext.SaveChangesAsync(Boolean acceptAllChangesOnSuccess, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.DbContext.SaveChangesAsync(Boolean acceptAllChangesOnSuccess, CancellationToken cancellationToken)
at Volo.Abp.EntityFrameworkCore.AbpDbContext`1.SaveChangesAsync(Boolean acceptAllChangesOnSuccess, CancellationToken cancellationToken)
at Volo.Abp.Uow.UnitOfWork.SaveChangesAsync(CancellationToken cancellationToken)
at Volo.Abp.Uow.UnitOfWork.CompleteAsync(CancellationToken cancellationToken)
at Volo.Abp.AspNetCore.Mvc.Uow.AbpUowActionFilter.OnActionExecutionAsync(ActionExecutingContext context, ActionExecutionDelegate next)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeNextActionFilterAsync>g__Awaited|10_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Rethrow(ActionExecutedContextSealed context)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeInnerFilterAsync>g__Awaited|13_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeNextExceptionFilterAsync>g__Awaited|25_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
2022-02-14 22:11:51.087 +08:00 [INF] Executing ObjectResult, writing value of type 'Volo.Abp.Http.RemoteServiceErrorResponse'.
2022-02-14 22:11:51.110 +08:00 [INF] Executed action WmsWebApi.Parts.PartService.AddAsync (WmsWebApi.Application) in 11935.2696ms
2022-02-14 22:11:51.112 +08:00 [INF] Executed endpoint 'WmsWebApi.Parts.PartService.AddAsync (WmsWebApi.Application)'
2022-02-14 22:11:51.785 +08:00 [INF] Entity Framework Core 5.0.13 initialized 'AbpAuditLoggingDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: QuerySplittingBehavior=SplitQuery
2022-02-14 22:11:52.221 +08:00 [ERR] Failed executing DbCommand (35ms) [Parameters=[@p0='?' (DbType = Guid), @p1='?' (Size = 96), @p2='?' (Size = 512), @p3='?' (Size = 64), @p4='?' (Size = 64), @p5='?' (Size = 128), @p6='?' (Size = 256), @p7='?' (Size = 40), @p8='?' (Size = 64), @p9='?' (Size = -1), @p10='?' (DbType = Int32), @p11='?' (DbType = DateTime2), @p12='?' (Size = 4000), @p13='?' (Size = 16), @p14='?' (DbType = Int32), @p15='?' (DbType = Guid), @p16='?' (DbType = Guid), @p17='?' (DbType = Guid), @p18='?' (Size = 4000), @p19='?' (Size = 256), @p20='?' (DbType = Guid), @p21='?' (Size = 256)], CommandType='"Text"', CommandTimeout='30']
SET NOCOUNT ON;
INSERT INTO [AbpAuditLogs] ([Id], [ApplicationName], [BrowserInfo], [ClientId], [ClientIpAddress], [ClientName], [Comments], [ConcurrencyStamp], [CorrelationId], [Exceptions], [ExecutionDuration], [ExecutionTime], [ExtraProperties], [HttpMethod], [HttpStatusCode], [ImpersonatorTenantId], [ImpersonatorUserId], [TenantId], [TenantName], [Url], [UserId], [UserName])
VALUES (@p0, @p1, @p2, @p3, @p4, @p5, @p6, @p7, @p8, @p9, @p10, @p11, @p12, @p13, @p14, @p15, @p16, @p17, @p18, @p19, @p20, @p21);
2022-02-14 22:11:52.272 +08:00 [ERR] An exception occurred in the database while saving changes for context type 'Volo.Abp.AuditLogging.EntityFrameworkCore.AbpAuditLoggingDbContext'.
Microsoft.EntityFrameworkCore.DbUpdateException: An error occurred while updating the entries. See the inner exception for details.
---> Microsoft.Data.SqlClient.SqlException (0x80131904): 将截断字符串或二进制数据。
语句已终止。
at Microsoft.Data.SqlClient.SqlCommand.<>c.<ExecuteDbDataReaderAsync>b__169_0(Task`1 result)
at System.Threading.Tasks.ContinuationResultTaskFromResultTask`2.InnerInvoke()
at System.Threading.Tasks.Task.<>c.<.cctor>b__277_0(Object obj)
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
--- End of stack trace from previous location ---
at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread)
--- End of stack trace from previous location ---
at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReaderAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReaderAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.Update.ReaderModificationCommandBatch.ExecuteAsync(IRelationalConnection connection, CancellationToken cancellationToken)
ClientConnectionId:8bf91fde-56b7-4d22-9503-a22159f17134
Error Number:8152,State:10,Class:16
--- End of inner exception stack trace ---
at Microsoft.EntityFrameworkCore.Update.ReaderModificationCommandBatch.ExecuteAsync(IRelationalConnection connection, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.Update.Internal.BatchExecutor.ExecuteAsync(IEnumerable`1 commandBatches, IRelationalConnection connection, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.Update.Internal.BatchExecutor.ExecuteAsync(IEnumerable`1 commandBatches, IRelationalConnection connection, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.Update.Internal.BatchExecutor.ExecuteAsync(IEnumerable`1 commandBatches, IRelationalConnection connection, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.SaveChangesAsync(IList`1 entriesToSave, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.SaveChangesAsync(DbContext _, Boolean acceptAllChangesOnSuccess, 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.DbContext.SaveChangesAsync(Boolean acceptAllChangesOnSuccess, CancellationToken cancellationToken)
Microsoft.EntityFrameworkCore.DbUpdateException: An error occurred while updating the entries. See the inner exception for details.
---> Microsoft.Data.SqlClient.SqlException (0x80131904): 将截断字符串或二进制数据。
语句已终止。
at Microsoft.Data.SqlClient.SqlCommand.<>c.<ExecuteDbDataReaderAsync>b__169_0(Task`1 result)
at System.Threading.Tasks.ContinuationResultTaskFromResultTask`2.InnerInvoke()
at System.Threading.Tasks.Task.<>c.<.cctor>b__277_0(Object obj)
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
--- End of stack trace from previous location ---
at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread)
--- End of stack trace from previous location ---
at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReaderAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReaderAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.Update.ReaderModificationCommandBatch.ExecuteAsync(IRelationalConnection connection, CancellationToken cancellationToken)
ClientConnectionId:8bf91fde-56b7-4d22-9503-a22159f17134
Error Number:8152,State:10,Class:16
--- End of inner exception stack trace ---
at Microsoft.EntityFrameworkCore.Update.ReaderModificationCommandBatch.ExecuteAsync(IRelationalConnection connection, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.Update.Internal.BatchExecutor.ExecuteAsync(IEnumerable`1 commandBatches, IRelationalConnection connection, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.Update.Internal.BatchExecutor.ExecuteAsync(IEnumerable`1 commandBatches, IRelationalConnection connection, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.Update.Internal.BatchExecutor.ExecuteAsync(IEnumerable`1 commandBatches, IRelationalConnection connection, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.SaveChangesAsync(IList`1 entriesToSave, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.SaveChangesAsync(DbContext _, Boolean acceptAllChangesOnSuccess, 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.DbContext.SaveChangesAsync(Boolean acceptAllChangesOnSuccess, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.DbContext.SaveChangesAsync(Boolean acceptAllChangesOnSuccess, CancellationToken cancellationToken)
at Volo.Abp.EntityFrameworkCore.AbpDbContext`1.SaveChangesAsync(Boolean acceptAllChangesOnSuccess, CancellationToken cancellationToken)
at Volo.Abp.Uow.UnitOfWork.SaveChangesAsync(CancellationToken cancellationToken)
at Volo.Abp.Uow.UnitOfWork.CompleteAsync(CancellationToken cancellationToken)
2022-02-14 22:11:52.295 +08:00 [WRN] Could not save the audit log object:
AUDIT LOG: [500: POST ] /api/part/add
- UserName - UserId : -
- ClientIpAddress : ::1
- ExecutionDuration : 12014
- Actions:
- WmsWebApi.Parts.PartService.AddAsync (10024 ms.)
{"content":{"valueKind":1}}
- Exceptions:
- An error occurred while updating the entries. See the inner exception for details.
Microsoft.EntityFrameworkCore.DbUpdateException: An error occurred while updating the entries. See the inner exception for details.
---> Microsoft.Data.SqlClient.SqlException (0x80131904): 列名 'ConcurrencyStamp' 无效。
列名 'CreationTime' 无效。
列名 'CreatorId' 无效。
列名 'ExtraProperties' 无效。
at Microsoft.Data.SqlClient.SqlCommand.<>c.<ExecuteDbDataReaderAsync>b__169_0(Task`1 result)
at System.Threading.Tasks.ContinuationResultTaskFromResultTask`2.InnerInvoke()
at System.Threading.Tasks.Task.<>c.<.cctor>b__277_0(Object obj)
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
--- End of stack trace from previous location ---
at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread)
--- End of stack trace from previous location ---
at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReaderAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReaderAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.Update.ReaderModificationCommandBatch.ExecuteAsync(IRelationalConnection connection, CancellationToken cancellationToken)
ClientConnectionId:713eccb9-011e-4ac3-ae87-2e530bd164ef
Error Number:207,State:1,Class:16
--- End of inner exception stack trace ---
at Microsoft.EntityFrameworkCore.Update.ReaderModificationCommandBatch.ExecuteAsync(IRelationalConnection connection, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.Update.Internal.BatchExecutor.ExecuteAsync(IEnumerable`1 commandBatches, IRelationalConnection connection, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.Update.Internal.BatchExecutor.ExecuteAsync(IEnumerable`1 commandBatches, IRelationalConnection connection, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.Update.Internal.BatchExecutor.ExecuteAsync(IEnumerable`1 commandBatches, IRelationalConnection connection, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.SaveChangesAsync(IList`1 entriesToSave, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.SaveChangesAsync(DbContext _, Boolean acceptAllChangesOnSuccess, 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.DbContext.SaveChangesAsync(Boolean acceptAllChangesOnSuccess, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.DbContext.SaveChangesAsync(Boolean acceptAllChangesOnSuccess, CancellationToken cancellationToken)
at Volo.Abp.EntityFrameworkCore.AbpDbContext`1.SaveChangesAsync(Boolean acceptAllChangesOnSuccess, CancellationToken cancellationToken)
at Volo.Abp.Uow.UnitOfWork.SaveChangesAsync(CancellationToken cancellationToken)
at Volo.Abp.Uow.UnitOfWork.CompleteAsync(CancellationToken cancellationToken)
at Volo.Abp.AspNetCore.Mvc.Uow.AbpUowActionFilter.OnActionExecutionAsync(ActionExecutingContext context, ActionExecutionDelegate next)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeNextActionFilterAsync>g__Awaited|10_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Rethrow(ActionExecutedContextSealed context)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeInnerFilterAsync>g__Awaited|13_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeNextExceptionFilterAsync>g__Awaited|25_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
2022-02-14 22:11:52.295 +08:00 [ERR] An error occurred while updating the entries. See the inner exception for details.
Microsoft.EntityFrameworkCore.DbUpdateException: An error occurred while updating the entries. See the inner exception for details.
---> Microsoft.Data.SqlClient.SqlException (0x80131904): 将截断字符串或二进制数据。
语句已终止。
at Microsoft.Data.SqlClient.SqlCommand.<>c.<ExecuteDbDataReaderAsync>b__169_0(Task`1 result)
at System.Threading.Tasks.ContinuationResultTaskFromResultTask`2.InnerInvoke()
at System.Threading.Tasks.Task.<>c.<.cctor>b__277_0(Object obj)
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
--- End of stack trace from previous location ---
at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread)
--- End of stack trace from previous location ---
at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReaderAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReaderAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.Update.ReaderModificationCommandBatch.ExecuteAsync(IRelationalConnection connection, CancellationToken cancellationToken)
ClientConnectionId:8bf91fde-56b7-4d22-9503-a22159f17134
Error Number:8152,State:10,Class:16
--- End of inner exception stack trace ---
at Microsoft.EntityFrameworkCore.Update.ReaderModificationCommandBatch.ExecuteAsync(IRelationalConnection connection, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.Update.Internal.BatchExecutor.ExecuteAsync(IEnumerable`1 commandBatches, IRelationalConnection connection, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.Update.Internal.BatchExecutor.ExecuteAsync(IEnumerable`1 commandBatches, IRelationalConnection connection, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.Update.Internal.BatchExecutor.ExecuteAsync(IEnumerable`1 commandBatches, IRelationalConnection connection, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.SaveChangesAsync(IList`1 entriesToSave, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.SaveChangesAsync(DbContext _, Boolean acceptAllChangesOnSuccess, 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.DbContext.SaveChangesAsync(Boolean acceptAllChangesOnSuccess, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.DbContext.SaveChangesAsync(Boolean acceptAllChangesOnSuccess, CancellationToken cancellationToken)
at Volo.Abp.EntityFrameworkCore.AbpDbContext`1.SaveChangesAsync(Boolean acceptAllChangesOnSuccess, CancellationToken cancellationToken)
at Volo.Abp.Uow.UnitOfWork.SaveChangesAsync(CancellationToken cancellationToken)
at Volo.Abp.Uow.UnitOfWork.CompleteAsync(CancellationToken cancellationToken)
at Volo.Abp.AuditLogging.AuditingStore.SaveLogAsync(AuditLogInfo auditInfo)
at Volo.Abp.AuditLogging.AuditingStore.SaveAsync(AuditLogInfo auditInfo)
2022-02-14 22:11:52.299 +08:00 [INF] Request finished HTTP/2 POST https://localhost:5000/api/part/add application/json 2797 - 500 - application/json;+charset=utf-8 13223.3631ms
2022-02-14 22:12:21.712 +08:00 [INF] Request starting HTTP/2 POST https://localhost:5000/api/part/add application/json 2797
2022-02-14 22:12:21.718 +08:00 [INF] CORS policy execution failed.
2022-02-14 22:12:21.718 +08:00 [INF] Request origin https://localhost:5000 does not have permission to access the resource.
2022-02-14 22:12:21.726 +08:00 [INF] Executing endpoint 'WmsWebApi.Parts.PartService.AddAsync (WmsWebApi.Application)'
2022-02-14 22:12:21.727 +08:00 [INF] Route matched with {action = "Add", controller = "Part", area = "", page = ""}. Executing controller action with signature System.Threading.Tasks.Task`1[WmsWebApi.Parts.ReturnResult] AddAsync(System.Object) on controller WmsWebApi.Parts.PartService (WmsWebApi.Application).
2022-02-14 22:12:21.843 +08:00 [INF] Executing action method WmsWebApi.Parts.PartService.AddAsync (WmsWebApi.Application) - Validation state: "Valid"
2022-02-14 22:12:38.687 +08:00 [INF] Entity Framework Core 5.0.13 initialized 'WmsWebApiDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: QuerySplittingBehavior=SplitQuery
2022-02-14 22:12:38.759 +08:00 [INF] Executed DbCommand (28ms) [Parameters=[@__part_PartGroup_0='?' (Size = 50)], CommandType='"Text"', CommandTimeout='30']
SELECT TOP(1) [t].[UID], [t].[PARTGROUP], [t].[WERKS]
FROM [TM_PG_PARTGROUP] AS [t]
WHERE ([t].[WERKS] = N'1000') AND ([t].[PARTGROUP] = @__part_PartGroup_0)
2022-02-14 22:12:38.789 +08:00 [INF] Executed DbCommand (27ms) [Parameters=[@__taPart_PartCode_0='?' (Size = 50)], CommandType='"Text"', CommandTimeout='30']
SELECT TOP(1) [t].[UID], [t].[AbcClass], [t].[CertificateOfQuality], [t].[Configuration], [t].[ContainerQty], [t].[DefaultBackFlushLocCode], [t].[DefaultReceiveLocCode], [t].[DistributionType], [t].[DrawingNumber], [t].[ErpPartCode], [t].[InspectType], [t].[Inspecter], [t].[IsAskMerge], [t].[IsConsign], [t].[IsDeposit], [t].[IsNoInterface], [t].[IsTransfer], [t].[LabelTemplate], [t].[LinesidePackQty], [t].[ManageType], [t].[MaxQty], [t].[MinQty], [t].[PalletSize], [t].[PalletTemplate], [t].[PartCode], [t].[PartDesc1], [t].[PartDesc2], [t].[PartGroup], [t].[PartKind], [t].[PartType], [t].[Process], [t].[ProjectId], [t].[Promo], [t].[QLevel], [t].[ReceivePort], [t].[Remark], [t].[SafeQty], [t].[SamplePercent], [t].[SingleWeight], [t].[Source], [t].[State], [t].[StockPackQty], [t].[StoreKeeper], [t].[Unit], [t].[ValidityDays]
FROM [TA_PART] AS [t]
WHERE [t].[PartCode] = @__taPart_PartCode_0
2022-02-14 22:12:38.819 +08:00 [INF] Executed DbCommand (25ms) [Parameters=[@__taCustPart_CustId_0='?' (Size = 50), @__taCustPart_CustPartCode_1='?' (Size = 50)], CommandType='"Text"', CommandTimeout='30']
SELECT TOP(1) [t].[CustId], [t].[CustPartCode], [t].[CustPackQty], [t].[CustPalletCapacity], [t].[CustPalletQty], [t].[CustPalletSize], [t].[CustPartName], [t].[UID], [t].[PartCode], [t].[Remark], [t].[State]
FROM [TA_CUST_PART] AS [t]
WHERE ([t].[CustId] = @__taCustPart_CustId_0) AND ([t].[CustPartCode] = @__taCustPart_CustPartCode_1)
2022-02-14 22:13:09.606 +08:00 [INF] Executed action method WmsWebApi.Parts.PartService.AddAsync (WmsWebApi.Application), returned result Microsoft.AspNetCore.Mvc.ObjectResult in 47762.5754ms.
2022-02-14 22:13:09.745 +08:00 [INF] Executed DbCommand (55ms) [Parameters=[@p0='?' (Size = 50), @p1='?' (Size = 50), @p2='?' (Precision = 18) (Scale = 2) (DbType = Decimal), @p3='?' (Precision = 18) (Scale = 2) (DbType = Decimal), @p4='?' (DbType = Int32), @p5='?' (Size = 4000), @p6='?' (Size = 4000), @p7='?' (Size = 50), @p8='?' (Size = 4000)], CommandType='"Text"', CommandTimeout='30']
SET NOCOUNT ON;
INSERT INTO [TA_CUST_PART] ([CustId], [CustPartCode], [CustPackQty], [CustPalletCapacity], [CustPalletQty], [CustPalletSize], [CustPartName], [PartCode], [Remark])
VALUES (@p0, @p1, @p2, @p3, @p4, @p5, @p6, @p7, @p8);
SELECT [UID], [State]
FROM [TA_CUST_PART]
WHERE @@ROWCOUNT = 1 AND [CustId] = @p0 AND [CustPartCode] = @p1;
2022-02-14 22:13:09.862 +08:00 [INF] Executed DbCommand (31ms) [Parameters=[@p0='?' (Size = 4000), @p1='?' (Size = 4000), @p2='?' (Size = 4000), @p3='?' (Precision = 18) (Scale = 2) (DbType = Decimal), @p4='?' (Size = 4000), @p5='?' (Size = 4000), @p6='?' (DbType = Int32), @p7='?' (Size = 4000), @p8='?' (Size = 50), @p9='?' (DbType = Int32), @p10='?' (Size = 4000), @p11='?' (DbType = Boolean), @p12='?' (DbType = Boolean), @p13='?' (DbType = Boolean), @p14='?' (DbType = Boolean), @p15='?' (DbType = Boolean), @p16='?' (Size = 4000), @p17='?' (Precision = 18) (Scale = 2) (DbType = Decimal), @p18='?' (DbType = Int32), @p19='?' (Precision = 18) (Scale = 2) (DbType = Decimal), @p20='?' (Precision = 18) (Scale = 2) (DbType = Decimal), @p21='?' (Size = 4000), @p22='?' (Size = 4000), @p23='?' (Size = 50), @p24='?' (Size = 4000), @p25='?' (Size = 4000), @p26='?' (Size = 4000), @p27='?' (Size = 4000), @p28='?' (Size = 4000), @p29='?' (Size = 4000), @p30='?' (Size = 4000), @p31='?' (Size = 4000), @p32='?' (Size = 4000), @p33='?' (Size = 4000), @p34='?' (Size = 4000), @p35='?' (Precision = 18) (Scale = 2) (DbType = Decimal), @p36='?' (Precision = 18) (Scale = 2) (DbType = Decimal), @p37='?' (Precision = 18) (Scale = 2) (DbType = Decimal), @p38='?' (Size = 4000), @p39='?' (Size = 4000), @p40='?' (Precision = 18) (Scale = 2) (DbType = Decimal), @p41='?' (Size = 4000), @p42='?' (Size = 4000), @p43='?' (DbType = Int32)], CommandType='"Text"', CommandTimeout='30']
SET NOCOUNT ON;
INSERT INTO [TA_PART] ([AbcClass], [CertificateOfQuality], [Configuration], [ContainerQty], [DefaultBackFlushLocCode], [DefaultReceiveLocCode], [DistributionType], [DrawingNumber], [ErpPartCode], [InspectType], [Inspecter], [IsAskMerge], [IsConsign], [IsDeposit], [IsNoInterface], [IsTransfer], [LabelTemplate], [LinesidePackQty], [ManageType], [MaxQty], [MinQty], [PalletSize], [PalletTemplate], [PartCode], [PartDesc1], [PartDesc2], [PartGroup], [PartKind], [PartType], [Process], [ProjectId], [Promo], [QLevel], [ReceivePort], [Remark], [SafeQty], [SamplePercent], [SingleWeight], [Source], [State], [StockPackQty], [StoreKeeper], [Unit], [ValidityDays])
VALUES (@p0, @p1, @p2, @p3, @p4, @p5, @p6, @p7, @p8, @p9, @p10, @p11, @p12, @p13, @p14, @p15, @p16, @p17, @p18, @p19, @p20, @p21, @p22, @p23, @p24, @p25, @p26, @p27, @p28, @p29, @p30, @p31, @p32, @p33, @p34, @p35, @p36, @p37, @p38, @p39, @p40, @p41, @p42, @p43);
SELECT [UID]
FROM [TA_PART]
WHERE @@ROWCOUNT = 1 AND [UID] = scope_identity();
2022-02-14 22:13:09.913 +08:00 [ERR] Failed executing DbCommand (50ms) [Parameters=[@p0='?' (DbType = Guid), @p1='?' (Size = 40), @p2='?' (DbType = DateTime2), @p3='?' (DbType = Guid), @p4='?' (Size = 4000), @p5='?' (DbType = DateTime2), @p6='?' (Size = 4000), @p7='?' (Size = 4000), @p8='?' (Size = 4000), @p9='?' (Size = 4000), @p10='?' (Size = 4000), @p11='?' (Size = 4000), @p12='?' (Size = 4000), @p13='?' (Size = 50), @p14='?' (Size = 10), @p15='?' (Size = 4000), @p16='?' (Size = 4000), @p17='?' (Size = 4000), @p18='?' (Size = 4000), @p19='?' (Size = 4000)], CommandType='"Text"', CommandTimeout='30']
SET NOCOUNT ON;
INSERT INTO [WmsWebApiPARTDTO] ([Id], [ConcurrencyStamp], [CreationTime], [CreatorId], [DISGR], [DYSJ], [ExtraProperties], [GROES], [ITYPE], [JSON], [MAKTX], [MAKTX1], [MATKL], [MATNR], [MBRSH], [MEINS], [MTART], [VTWEG], [WERKS], [ZTEXT22])
VALUES (@p0, @p1, @p2, @p3, @p4, @p5, @p6, @p7, @p8, @p9, @p10, @p11, @p12, @p13, @p14, @p15, @p16, @p17, @p18, @p19);
2022-02-14 22:13:09.956 +08:00 [ERR] An exception occurred in the database while saving changes for context type 'WmsWebApi.EntityFrameworkCore.WmsWebApiDbContext'.
Microsoft.EntityFrameworkCore.DbUpdateException: An error occurred while updating the entries. See the inner exception for details.
---> Microsoft.Data.SqlClient.SqlException (0x80131904): 列名 'ConcurrencyStamp' 无效。
列名 'CreationTime' 无效。
列名 'CreatorId' 无效。
列名 'ExtraProperties' 无效。
at Microsoft.Data.SqlClient.SqlCommand.<>c.<ExecuteDbDataReaderAsync>b__169_0(Task`1 result)
at System.Threading.Tasks.ContinuationResultTaskFromResultTask`2.InnerInvoke()
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
--- End of stack trace from previous location ---
at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread)
--- End of stack trace from previous location ---
at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReaderAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReaderAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.Update.ReaderModificationCommandBatch.ExecuteAsync(IRelationalConnection connection, CancellationToken cancellationToken)
ClientConnectionId:713eccb9-011e-4ac3-ae87-2e530bd164ef
Error Number:207,State:1,Class:16
--- End of inner exception stack trace ---
at Microsoft.EntityFrameworkCore.Update.ReaderModificationCommandBatch.ExecuteAsync(IRelationalConnection connection, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.Update.Internal.BatchExecutor.ExecuteAsync(IEnumerable`1 commandBatches, IRelationalConnection connection, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.Update.Internal.BatchExecutor.ExecuteAsync(IEnumerable`1 commandBatches, IRelationalConnection connection, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.Update.Internal.BatchExecutor.ExecuteAsync(IEnumerable`1 commandBatches, IRelationalConnection connection, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.SaveChangesAsync(IList`1 entriesToSave, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.SaveChangesAsync(DbContext _, Boolean acceptAllChangesOnSuccess, 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.DbContext.SaveChangesAsync(Boolean acceptAllChangesOnSuccess, CancellationToken cancellationToken)
Microsoft.EntityFrameworkCore.DbUpdateException: An error occurred while updating the entries. See the inner exception for details.
---> Microsoft.Data.SqlClient.SqlException (0x80131904): 列名 'ConcurrencyStamp' 无效。
列名 'CreationTime' 无效。
列名 'CreatorId' 无效。
列名 'ExtraProperties' 无效。
at Microsoft.Data.SqlClient.SqlCommand.<>c.<ExecuteDbDataReaderAsync>b__169_0(Task`1 result)
at System.Threading.Tasks.ContinuationResultTaskFromResultTask`2.InnerInvoke()
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
--- End of stack trace from previous location ---
at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread)
--- End of stack trace from previous location ---
at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReaderAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReaderAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.Update.ReaderModificationCommandBatch.ExecuteAsync(IRelationalConnection connection, CancellationToken cancellationToken)
ClientConnectionId:713eccb9-011e-4ac3-ae87-2e530bd164ef
Error Number:207,State:1,Class:16
--- End of inner exception stack trace ---
at Microsoft.EntityFrameworkCore.Update.ReaderModificationCommandBatch.ExecuteAsync(IRelationalConnection connection, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.Update.Internal.BatchExecutor.ExecuteAsync(IEnumerable`1 commandBatches, IRelationalConnection connection, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.Update.Internal.BatchExecutor.ExecuteAsync(IEnumerable`1 commandBatches, IRelationalConnection connection, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.Update.Internal.BatchExecutor.ExecuteAsync(IEnumerable`1 commandBatches, IRelationalConnection connection, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.SaveChangesAsync(IList`1 entriesToSave, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.SaveChangesAsync(DbContext _, Boolean acceptAllChangesOnSuccess, 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.DbContext.SaveChangesAsync(Boolean acceptAllChangesOnSuccess, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.DbContext.SaveChangesAsync(Boolean acceptAllChangesOnSuccess, CancellationToken cancellationToken)
at Volo.Abp.EntityFrameworkCore.AbpDbContext`1.SaveChangesAsync(Boolean acceptAllChangesOnSuccess, CancellationToken cancellationToken)
at Volo.Abp.Uow.UnitOfWork.SaveChangesAsync(CancellationToken cancellationToken)
at Volo.Abp.Uow.UnitOfWork.CompleteAsync(CancellationToken cancellationToken)
at Volo.Abp.AspNetCore.Mvc.Uow.AbpUowActionFilter.OnActionExecutionAsync(ActionExecutingContext context, ActionExecutionDelegate next)
2022-02-14 22:13:09.991 +08:00 [ERR] ---------- RemoteServiceErrorInfo ----------
{
"code": null,
"message": "An internal error occurred during your request!",
"details": null,
"data": {},
"validationErrors": null
}
2022-02-14 22:13:09.991 +08:00 [ERR] An error occurred while updating the entries. See the inner exception for details.
Microsoft.EntityFrameworkCore.DbUpdateException: An error occurred while updating the entries. See the inner exception for details.
---> Microsoft.Data.SqlClient.SqlException (0x80131904): 列名 'ConcurrencyStamp' 无效。
列名 'CreationTime' 无效。
列名 'CreatorId' 无效。
列名 'ExtraProperties' 无效。
at Microsoft.Data.SqlClient.SqlCommand.<>c.<ExecuteDbDataReaderAsync>b__169_0(Task`1 result)
at System.Threading.Tasks.ContinuationResultTaskFromResultTask`2.InnerInvoke()
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
--- End of stack trace from previous location ---
at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread)
--- End of stack trace from previous location ---
at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReaderAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReaderAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.Update.ReaderModificationCommandBatch.ExecuteAsync(IRelationalConnection connection, CancellationToken cancellationToken)
ClientConnectionId:713eccb9-011e-4ac3-ae87-2e530bd164ef
Error Number:207,State:1,Class:16
--- End of inner exception stack trace ---
at Microsoft.EntityFrameworkCore.Update.ReaderModificationCommandBatch.ExecuteAsync(IRelationalConnection connection, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.Update.Internal.BatchExecutor.ExecuteAsync(IEnumerable`1 commandBatches, IRelationalConnection connection, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.Update.Internal.BatchExecutor.ExecuteAsync(IEnumerable`1 commandBatches, IRelationalConnection connection, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.Update.Internal.BatchExecutor.ExecuteAsync(IEnumerable`1 commandBatches, IRelationalConnection connection, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.SaveChangesAsync(IList`1 entriesToSave, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.SaveChangesAsync(DbContext _, Boolean acceptAllChangesOnSuccess, 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.DbContext.SaveChangesAsync(Boolean acceptAllChangesOnSuccess, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.DbContext.SaveChangesAsync(Boolean acceptAllChangesOnSuccess, CancellationToken cancellationToken)
at Volo.Abp.EntityFrameworkCore.AbpDbContext`1.SaveChangesAsync(Boolean acceptAllChangesOnSuccess, CancellationToken cancellationToken)
at Volo.Abp.Uow.UnitOfWork.SaveChangesAsync(CancellationToken cancellationToken)
at Volo.Abp.Uow.UnitOfWork.CompleteAsync(CancellationToken cancellationToken)
at Volo.Abp.AspNetCore.Mvc.Uow.AbpUowActionFilter.OnActionExecutionAsync(ActionExecutingContext context, ActionExecutionDelegate next)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeNextActionFilterAsync>g__Awaited|10_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Rethrow(ActionExecutedContextSealed context)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeInnerFilterAsync>g__Awaited|13_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeNextExceptionFilterAsync>g__Awaited|25_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
2022-02-14 22:13:09.992 +08:00 [INF] Executing ObjectResult, writing value of type 'Volo.Abp.Http.RemoteServiceErrorResponse'.
2022-02-14 22:13:09.993 +08:00 [INF] Executed action WmsWebApi.Parts.PartService.AddAsync (WmsWebApi.Application) in 48265.8803ms
2022-02-14 22:13:09.993 +08:00 [INF] Executed endpoint 'WmsWebApi.Parts.PartService.AddAsync (WmsWebApi.Application)'
2022-02-14 22:13:10.008 +08:00 [INF] Entity Framework Core 5.0.13 initialized 'AbpAuditLoggingDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: QuerySplittingBehavior=SplitQuery
2022-02-14 22:13:10.093 +08:00 [ERR] Failed executing DbCommand (49ms) [Parameters=[@p0='?' (DbType = Guid), @p1='?' (Size = 96), @p2='?' (Size = 512), @p3='?' (Size = 64), @p4='?' (Size = 64), @p5='?' (Size = 128), @p6='?' (Size = 256), @p7='?' (Size = 40), @p8='?' (Size = 64), @p9='?' (Size = -1), @p10='?' (DbType = Int32), @p11='?' (DbType = DateTime2), @p12='?' (Size = 4000), @p13='?' (Size = 16), @p14='?' (DbType = Int32), @p15='?' (DbType = Guid), @p16='?' (DbType = Guid), @p17='?' (DbType = Guid), @p18='?' (Size = 4000), @p19='?' (Size = 256), @p20='?' (DbType = Guid), @p21='?' (Size = 256)], CommandType='"Text"', CommandTimeout='30']
SET NOCOUNT ON;
INSERT INTO [AbpAuditLogs] ([Id], [ApplicationName], [BrowserInfo], [ClientId], [ClientIpAddress], [ClientName], [Comments], [ConcurrencyStamp], [CorrelationId], [Exceptions], [ExecutionDuration], [ExecutionTime], [ExtraProperties], [HttpMethod], [HttpStatusCode], [ImpersonatorTenantId], [ImpersonatorUserId], [TenantId], [TenantName], [Url], [UserId], [UserName])
VALUES (@p0, @p1, @p2, @p3, @p4, @p5, @p6, @p7, @p8, @p9, @p10, @p11, @p12, @p13, @p14, @p15, @p16, @p17, @p18, @p19, @p20, @p21);
2022-02-14 22:13:10.129 +08:00 [ERR] An exception occurred in the database while saving changes for context type 'Volo.Abp.AuditLogging.EntityFrameworkCore.AbpAuditLoggingDbContext'.
Microsoft.EntityFrameworkCore.DbUpdateException: An error occurred while updating the entries. See the inner exception for details.
---> Microsoft.Data.SqlClient.SqlException (0x80131904): 将截断字符串或二进制数据。
语句已终止。
at Microsoft.Data.SqlClient.SqlCommand.<>c.<ExecuteDbDataReaderAsync>b__169_0(Task`1 result)
at System.Threading.Tasks.ContinuationResultTaskFromResultTask`2.InnerInvoke()
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
--- End of stack trace from previous location ---
at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread)
--- End of stack trace from previous location ---
at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReaderAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReaderAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.Update.ReaderModificationCommandBatch.ExecuteAsync(IRelationalConnection connection, CancellationToken cancellationToken)
ClientConnectionId:8bf91fde-56b7-4d22-9503-a22159f17134
Error Number:8152,State:10,Class:16
--- End of inner exception stack trace ---
at Microsoft.EntityFrameworkCore.Update.ReaderModificationCommandBatch.ExecuteAsync(IRelationalConnection connection, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.Update.Internal.BatchExecutor.ExecuteAsync(IEnumerable`1 commandBatches, IRelationalConnection connection, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.Update.Internal.BatchExecutor.ExecuteAsync(IEnumerable`1 commandBatches, IRelationalConnection connection, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.Update.Internal.BatchExecutor.ExecuteAsync(IEnumerable`1 commandBatches, IRelationalConnection connection, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.SaveChangesAsync(IList`1 entriesToSave, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.SaveChangesAsync(DbContext _, Boolean acceptAllChangesOnSuccess, 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.DbContext.SaveChangesAsync(Boolean acceptAllChangesOnSuccess, CancellationToken cancellationToken)
Microsoft.EntityFrameworkCore.DbUpdateException: An error occurred while updating the entries. See the inner exception for details.
---> Microsoft.Data.SqlClient.SqlException (0x80131904): 将截断字符串或二进制数据。
语句已终止。
at Microsoft.Data.SqlClient.SqlCommand.<>c.<ExecuteDbDataReaderAsync>b__169_0(Task`1 result)
at System.Threading.Tasks.ContinuationResultTaskFromResultTask`2.InnerInvoke()
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
--- End of stack trace from previous location ---
at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread)
--- End of stack trace from previous location ---
at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReaderAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReaderAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.Update.ReaderModificationCommandBatch.ExecuteAsync(IRelationalConnection connection, CancellationToken cancellationToken)
ClientConnectionId:8bf91fde-56b7-4d22-9503-a22159f17134
Error Number:8152,State:10,Class:16
--- End of inner exception stack trace ---
at Microsoft.EntityFrameworkCore.Update.ReaderModificationCommandBatch.ExecuteAsync(IRelationalConnection connection, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.Update.Internal.BatchExecutor.ExecuteAsync(IEnumerable`1 commandBatches, IRelationalConnection connection, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.Update.Internal.BatchExecutor.ExecuteAsync(IEnumerable`1 commandBatches, IRelationalConnection connection, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.Update.Internal.BatchExecutor.ExecuteAsync(IEnumerable`1 commandBatches, IRelationalConnection connection, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.SaveChangesAsync(IList`1 entriesToSave, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.SaveChangesAsync(DbContext _, Boolean acceptAllChangesOnSuccess, 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.DbContext.SaveChangesAsync(Boolean acceptAllChangesOnSuccess, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.DbContext.SaveChangesAsync(Boolean acceptAllChangesOnSuccess, CancellationToken cancellationToken)
at Volo.Abp.EntityFrameworkCore.AbpDbContext`1.SaveChangesAsync(Boolean acceptAllChangesOnSuccess, CancellationToken cancellationToken)
at Volo.Abp.Uow.UnitOfWork.SaveChangesAsync(CancellationToken cancellationToken)
at Volo.Abp.Uow.UnitOfWork.CompleteAsync(CancellationToken cancellationToken)
at Volo.Abp.AuditLogging.AuditingStore.SaveLogAsync(AuditLogInfo auditInfo)
at Volo.Abp.AuditLogging.AuditingStore.SaveAsync(AuditLogInfo auditInfo)
2022-02-14 22:13:10.136 +08:00 [WRN] Could not save the audit log object:
AUDIT LOG: [500: POST ] /api/part/add
- UserName - UserId : -
- ClientIpAddress : ::1
- ExecutionDuration : 48268
- Actions:
- WmsWebApi.Parts.PartService.AddAsync (48244 ms.)
{"content":{"valueKind":1}}
- Exceptions:
- An error occurred while updating the entries. See the inner exception for details.
Microsoft.EntityFrameworkCore.DbUpdateException: An error occurred while updating the entries. See the inner exception for details.
---> Microsoft.Data.SqlClient.SqlException (0x80131904): 列名 'ConcurrencyStamp' 无效。
列名 'CreationTime' 无效。
列名 'CreatorId' 无效。
列名 'ExtraProperties' 无效。
at Microsoft.Data.SqlClient.SqlCommand.<>c.<ExecuteDbDataReaderAsync>b__169_0(Task`1 result)
at System.Threading.Tasks.ContinuationResultTaskFromResultTask`2.InnerInvoke()
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
--- End of stack trace from previous location ---
at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread)
--- End of stack trace from previous location ---
at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReaderAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReaderAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.Update.ReaderModificationCommandBatch.ExecuteAsync(IRelationalConnection connection, CancellationToken cancellationToken)
ClientConnectionId:713eccb9-011e-4ac3-ae87-2e530bd164ef
Error Number:207,State:1,Class:16
--- End of inner exception stack trace ---
at Microsoft.EntityFrameworkCore.Update.ReaderModificationCommandBatch.ExecuteAsync(IRelationalConnection connection, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.Update.Internal.BatchExecutor.ExecuteAsync(IEnumerable`1 commandBatches, IRelationalConnection connection, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.Update.Internal.BatchExecutor.ExecuteAsync(IEnumerable`1 commandBatches, IRelationalConnection connection, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.Update.Internal.BatchExecutor.ExecuteAsync(IEnumerable`1 commandBatches, IRelationalConnection connection, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.SaveChangesAsync(IList`1 entriesToSave, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.SaveChangesAsync(DbContext _, Boolean acceptAllChangesOnSuccess, 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.DbContext.SaveChangesAsync(Boolean acceptAllChangesOnSuccess, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.DbContext.SaveChangesAsync(Boolean acceptAllChangesOnSuccess, CancellationToken cancellationToken)
at Volo.Abp.EntityFrameworkCore.AbpDbContext`1.SaveChangesAsync(Boolean acceptAllChangesOnSuccess, CancellationToken cancellationToken)
at Volo.Abp.Uow.UnitOfWork.SaveChangesAsync(CancellationToken cancellationToken)
at Volo.Abp.Uow.UnitOfWork.CompleteAsync(CancellationToken cancellationToken)
at Volo.Abp.AspNetCore.Mvc.Uow.AbpUowActionFilter.OnActionExecutionAsync(ActionExecutingContext context, ActionExecutionDelegate next)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeNextActionFilterAsync>g__Awaited|10_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Rethrow(ActionExecutedContextSealed context)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeInnerFilterAsync>g__Awaited|13_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeNextExceptionFilterAsync>g__Awaited|25_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
2022-02-14 22:13:10.136 +08:00 [ERR] An error occurred while updating the entries. See the inner exception for details.
Microsoft.EntityFrameworkCore.DbUpdateException: An error occurred while updating the entries. See the inner exception for details.
---> Microsoft.Data.SqlClient.SqlException (0x80131904): 将截断字符串或二进制数据。
语句已终止。
at Microsoft.Data.SqlClient.SqlCommand.<>c.<ExecuteDbDataReaderAsync>b__169_0(Task`1 result)
at System.Threading.Tasks.ContinuationResultTaskFromResultTask`2.InnerInvoke()
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
--- End of stack trace from previous location ---
at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread)
--- End of stack trace from previous location ---
at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReaderAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReaderAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.Update.ReaderModificationCommandBatch.ExecuteAsync(IRelationalConnection connection, CancellationToken cancellationToken)
ClientConnectionId:8bf91fde-56b7-4d22-9503-a22159f17134
Error Number:8152,State:10,Class:16
--- End of inner exception stack trace ---
at Microsoft.EntityFrameworkCore.Update.ReaderModificationCommandBatch.ExecuteAsync(IRelationalConnection connection, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.Update.Internal.BatchExecutor.ExecuteAsync(IEnumerable`1 commandBatches, IRelationalConnection connection, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.Update.Internal.BatchExecutor.ExecuteAsync(IEnumerable`1 commandBatches, IRelationalConnection connection, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.Update.Internal.BatchExecutor.ExecuteAsync(IEnumerable`1 commandBatches, IRelationalConnection connection, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.SaveChangesAsync(IList`1 entriesToSave, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.SaveChangesAsync(DbContext _, Boolean acceptAllChangesOnSuccess, 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.DbContext.SaveChangesAsync(Boolean acceptAllChangesOnSuccess, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.DbContext.SaveChangesAsync(Boolean acceptAllChangesOnSuccess, CancellationToken cancellationToken)
at Volo.Abp.EntityFrameworkCore.AbpDbContext`1.SaveChangesAsync(Boolean acceptAllChangesOnSuccess, CancellationToken cancellationToken)
at Volo.Abp.Uow.UnitOfWork.SaveChangesAsync(CancellationToken cancellationToken)
at Volo.Abp.Uow.UnitOfWork.CompleteAsync(CancellationToken cancellationToken)
at Volo.Abp.AuditLogging.AuditingStore.SaveLogAsync(AuditLogInfo auditInfo)
at Volo.Abp.AuditLogging.AuditingStore.SaveAsync(AuditLogInfo auditInfo)
2022-02-14 22:13:10.137 +08:00 [INF] Request finished HTTP/2 POST https://localhost:5000/api/part/add application/json 2797 - 500 - application/json;+charset=utf-8 48425.9792ms
2022-02-14 22:27:43.398 +08:00 [INF] Application is shutting down...
2022-02-14 22:28:06.310 +08:00 [INF] Starting web host.
2022-02-14 22:28:17.390 +08:00 [INF] User profile is available. Using 'C:\Users\lvcj2\AppData\Local\ASP.NET\DataProtection-Keys' as key repository and Windows DPAPI to encrypt keys at rest.
2022-02-14 22:28:18.147 +08:00 [INF] Loaded ABP modules:
2022-02-14 22:28:18.149 +08:00 [INF] - WmsWebApi.WmsWebApiHttpApiHostModule
2022-02-14 22:28:18.149 +08:00 [INF] - WmsWebApi.WmsWebApiApplicationModule
2022-02-14 22:28:18.149 +08:00 [INF] - WmsWebApi.WmsWebApiDomainModule
2022-02-14 22:28:18.149 +08:00 [INF] - Volo.Abp.Domain.AbpDddDomainModule
2022-02-14 22:28:18.149 +08:00 [INF] - Volo.Abp.Auditing.AbpAuditingModule
2022-02-14 22:28:18.149 +08:00 [INF] - Volo.Abp.Data.AbpDataModule
2022-02-14 22:28:18.149 +08:00 [INF] - Volo.Abp.ObjectExtending.AbpObjectExtendingModule
2022-02-14 22:28:18.149 +08:00 [INF] - Volo.Abp.Localization.AbpLocalizationAbstractionsModule
2022-02-14 22:28:18.149 +08:00 [INF] - Volo.Abp.Validation.AbpValidationAbstractionsModule
2022-02-14 22:28:18.149 +08:00 [INF] - Volo.Abp.Uow.AbpUnitOfWorkModule
2022-02-14 22:28:18.149 +08:00 [INF] - Volo.Abp.EventBus.Abstractions.AbpEventBusAbstractionsModule
2022-02-14 22:28:18.149 +08:00 [INF] - Volo.Abp.Json.AbpJsonModule
2022-02-14 22:28:18.149 +08:00 [INF] - Volo.Abp.Timing.AbpTimingModule
2022-02-14 22:28:18.149 +08:00 [INF] - Volo.Abp.Localization.AbpLocalizationModule
2022-02-14 22:28:18.149 +08:00 [INF] - Volo.Abp.VirtualFileSystem.AbpVirtualFileSystemModule
2022-02-14 22:28:18.149 +08:00 [INF] - Volo.Abp.Settings.AbpSettingsModule
2022-02-14 22:28:18.149 +08:00 [INF] - Volo.Abp.Security.AbpSecurityModule
2022-02-14 22:28:18.149 +08:00 [INF] - Volo.Abp.MultiTenancy.AbpMultiTenancyModule
2022-02-14 22:28:18.149 +08:00 [INF] - Volo.Abp.Threading.AbpThreadingModule
2022-02-14 22:28:18.149 +08:00 [INF] - Volo.Abp.EventBus.AbpEventBusModule
2022-02-14 22:28:18.149 +08:00 [INF] - Volo.Abp.Guids.AbpGuidsModule
2022-02-14 22:28:18.149 +08:00 [INF] - Volo.Abp.ObjectMapping.AbpObjectMappingModule
2022-02-14 22:28:18.149 +08:00 [INF] - Volo.Abp.ExceptionHandling.AbpExceptionHandlingModule
2022-02-14 22:28:18.149 +08:00 [INF] - Volo.Abp.Specifications.AbpSpecificationsModule
2022-02-14 22:28:18.149 +08:00 [INF] - WmsWebApi.WmsWebApiDomainSharedModule
2022-02-14 22:28:18.149 +08:00 [INF] - Volo.Abp.Validation.AbpValidationModule
2022-02-14 22:28:18.149 +08:00 [INF] - WmsWebApi.WmsWebApiApplicationContractsModule
2022-02-14 22:28:18.149 +08:00 [INF] - Volo.Abp.Application.AbpDddApplicationContractsModule
2022-02-14 22:28:18.150 +08:00 [INF] - Volo.Abp.Authorization.AbpAuthorizationModule
2022-02-14 22:28:18.150 +08:00 [INF] - Volo.Abp.Authorization.AbpAuthorizationAbstractionsModule
2022-02-14 22:28:18.150 +08:00 [INF] - Volo.Abp.Application.AbpDddApplicationModule
2022-02-14 22:28:18.150 +08:00 [INF] - Volo.Abp.Http.AbpHttpAbstractionsModule
2022-02-14 22:28:18.150 +08:00 [INF] - Volo.Abp.Features.AbpFeaturesModule
2022-02-14 22:28:18.150 +08:00 [INF] - Volo.Abp.GlobalFeatures.AbpGlobalFeaturesModule
2022-02-14 22:28:18.150 +08:00 [INF] - Volo.Abp.AutoMapper.AbpAutoMapperModule
2022-02-14 22:28:18.150 +08:00 [INF] - WmsWebApi.EntityFrameworkCore.WmsWebApiEntityFrameworkCoreModule
2022-02-14 22:28:18.150 +08:00 [INF] - Volo.Abp.EntityFrameworkCore.AbpEntityFrameworkCoreModule
2022-02-14 22:28:18.150 +08:00 [INF] - WmsWebApi.WmsWebApiHttpApiModule
2022-02-14 22:28:18.150 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.AbpAspNetCoreMvcModule
2022-02-14 22:28:18.150 +08:00 [INF] - Volo.Abp.AspNetCore.AbpAspNetCoreModule
2022-02-14 22:28:18.150 +08:00 [INF] - Volo.Abp.Http.AbpHttpModule
2022-02-14 22:28:18.150 +08:00 [INF] - Volo.Abp.Minify.AbpMinifyModule
2022-02-14 22:28:18.150 +08:00 [INF] - Volo.Abp.ApiVersioning.AbpApiVersioningAbstractionsModule
2022-02-14 22:28:18.150 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.AbpAspNetCoreMvcContractsModule
2022-02-14 22:28:18.150 +08:00 [INF] - Volo.Abp.UI.Navigation.AbpUiNavigationModule
2022-02-14 22:28:18.150 +08:00 [INF] - Volo.Abp.UI.AbpUiModule
2022-02-14 22:28:18.150 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.UI.MultiTenancy.AbpAspNetCoreMvcUiMultiTenancyModule
2022-02-14 22:28:18.150 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.UI.Theme.Shared.AbpAspNetCoreMvcUiThemeSharedModule
2022-02-14 22:28:18.150 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.AbpAspNetCoreMvcUiBootstrapModule
2022-02-14 22:28:18.150 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.UI.AbpAspNetCoreMvcUiModule
2022-02-14 22:28:18.150 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.UI.Packages.AbpAspNetCoreMvcUiPackagesModule
2022-02-14 22:28:18.150 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.UI.Bundling.AbpAspNetCoreMvcUiBundlingAbstractionsModule
2022-02-14 22:28:18.150 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.UI.Widgets.AbpAspNetCoreMvcUiWidgetsModule
2022-02-14 22:28:18.150 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.UI.Bundling.AbpAspNetCoreMvcUiBundlingModule
2022-02-14 22:28:18.150 +08:00 [INF] - Volo.Abp.AspNetCore.MultiTenancy.AbpAspNetCoreMultiTenancyModule
2022-02-14 22:28:18.150 +08:00 [INF] - Volo.Abp.Autofac.AbpAutofacModule
2022-02-14 22:28:18.150 +08:00 [INF] - Volo.Abp.Castle.AbpCastleCoreModule
2022-02-14 22:28:18.150 +08:00 [INF] - Volo.Abp.Caching.StackExchangeRedis.AbpCachingStackExchangeRedisModule
2022-02-14 22:28:18.150 +08:00 [INF] - Volo.Abp.Caching.AbpCachingModule
2022-02-14 22:28:18.150 +08:00 [INF] - Volo.Abp.Serialization.AbpSerializationModule
2022-02-14 22:28:18.150 +08:00 [INF] - Volo.Abp.EntityFrameworkCore.SqlServer.AbpEntityFrameworkCoreSqlServerModule
2022-02-14 22:28:18.150 +08:00 [INF] - Volo.Abp.AuditLogging.EntityFrameworkCore.AbpAuditLoggingEntityFrameworkCoreModule
2022-02-14 22:28:18.151 +08:00 [INF] - Volo.Abp.AuditLogging.AbpAuditLoggingDomainModule
2022-02-14 22:28:18.151 +08:00 [INF] - Volo.Abp.AuditLogging.AbpAuditLoggingDomainSharedModule
2022-02-14 22:28:18.151 +08:00 [INF] - Volo.Abp.PermissionManagement.EntityFrameworkCore.AbpPermissionManagementEntityFrameworkCoreModule
2022-02-14 22:28:18.151 +08:00 [INF] - Volo.Abp.PermissionManagement.AbpPermissionManagementDomainModule
2022-02-14 22:28:18.151 +08:00 [INF] - Volo.Abp.PermissionManagement.AbpPermissionManagementDomainSharedModule
2022-02-14 22:28:18.151 +08:00 [INF] - Volo.Abp.SettingManagement.EntityFrameworkCore.AbpSettingManagementEntityFrameworkCoreModule
2022-02-14 22:28:18.151 +08:00 [INF] - Volo.Abp.SettingManagement.AbpSettingManagementDomainModule
2022-02-14 22:28:18.151 +08:00 [INF] - Volo.Abp.SettingManagement.AbpSettingManagementDomainSharedModule
2022-02-14 22:28:18.151 +08:00 [INF] - Volo.Abp.AspNetCore.Serilog.AbpAspNetCoreSerilogModule
2022-02-14 22:28:18.151 +08:00 [INF] - Volo.Abp.Swashbuckle.AbpSwashbuckleModule
2022-02-14 22:28:21.834 +08:00 [INF] Initialized all ABP modules.
2022-02-14 22:28:23.276 +08:00 [INF] Now listening on: https://localhost:5000
2022-02-14 22:28:23.277 +08:00 [INF] Application started. Press Ctrl+C to shut down.
2022-02-14 22:28:23.277 +08:00 [INF] Hosting environment: Development
2022-02-14 22:28:23.277 +08:00 [INF] Content root path: D:\工作\派格\接口程序\WmsWebApi\host\WmsWebApi.HttpApi.Host
2022-02-14 22:28:34.357 +08:00 [INF] Request starting HTTP/2 GET https://localhost:5000/ - -
2022-02-14 22:28:39.147 +08:00 [INF] Executing endpoint 'WmsWebApi.Controllers.HomeController.Index (WmsWebApi.HttpApi.Host)'
2022-02-14 22:28:39.350 +08:00 [INF] Route matched with {action = "Index", controller = "Home", area = "", page = ""}. Executing controller action with signature Microsoft.AspNetCore.Mvc.ActionResult Index() on controller WmsWebApi.Controllers.HomeController (WmsWebApi.HttpApi.Host).
2022-02-14 22:28:39.975 +08:00 [INF] Executing action method WmsWebApi.Controllers.HomeController.Index (WmsWebApi.HttpApi.Host) - Validation state: "Valid"
2022-02-14 22:28:39.994 +08:00 [INF] Executed action method WmsWebApi.Controllers.HomeController.Index (WmsWebApi.HttpApi.Host), returned result Microsoft.AspNetCore.Mvc.RedirectResult in 0.8744ms.
2022-02-14 22:28:40.011 +08:00 [INF] Executing RedirectResult, redirecting to /swagger.
2022-02-14 22:28:40.038 +08:00 [INF] Executed action WmsWebApi.Controllers.HomeController.Index (WmsWebApi.HttpApi.Host) in 663.8796ms
2022-02-14 22:28:40.039 +08:00 [INF] Executed endpoint 'WmsWebApi.Controllers.HomeController.Index (WmsWebApi.HttpApi.Host)'
2022-02-14 22:28:40.167 +08:00 [INF] Request finished HTTP/2 GET https://localhost:5000/ - - - 302 0 - 5813.7522ms
2022-02-14 22:28:40.170 +08:00 [INF] Request starting HTTP/2 GET https://localhost:5000/swagger/index.html - -
2022-02-14 22:28:41.095 +08:00 [INF] Request finished HTTP/2 GET https://localhost:5000/swagger/index.html - - - 200 - text/html;charset=utf-8 924.2555ms
2022-02-14 22:28:41.986 +08:00 [INF] Request starting HTTP/2 GET https://localhost:5000/_framework/aspnetcore-browser-refresh.js - -
2022-02-14 22:28:41.994 +08:00 [INF] Request finished HTTP/2 GET https://localhost:5000/_framework/aspnetcore-browser-refresh.js - - - 200 11956 application/javascript;+charset=utf-8 14.0242ms
2022-02-14 22:28:42.873 +08:00 [INF] Request starting HTTP/2 GET https://localhost:5000/swagger/v1/swagger.json - -
2022-02-14 22:28:43.590 +08:00 [INF] Request finished HTTP/2 GET https://localhost:5000/swagger/v1/swagger.json - - - 200 - application/json;charset=utf-8 716.6370ms
2022-02-14 22:28:57.590 +08:00 [INF] Request starting HTTP/2 GET https://localhost:5000/abp/Swashbuckle/SetCsrfCookie application/json -
2022-02-14 22:28:57.601 +08:00 [INF] Executing endpoint 'Volo.Abp.Swashbuckle.AbpSwashbuckleController.SetCsrfCookie (Volo.Abp.Swashbuckle)'
2022-02-14 22:28:57.608 +08:00 [INF] Route matched with {area = "Abp", action = "SetCsrfCookie", controller = "AbpSwashbuckle", page = ""}. Executing controller action with signature Void SetCsrfCookie() on controller Volo.Abp.Swashbuckle.AbpSwashbuckleController (Volo.Abp.Swashbuckle).
2022-02-14 22:28:57.824 +08:00 [INF] Executing action method Volo.Abp.Swashbuckle.AbpSwashbuckleController.SetCsrfCookie (Volo.Abp.Swashbuckle) - Validation state: "Valid"
2022-02-14 22:28:57.853 +08:00 [INF] Executed action method Volo.Abp.Swashbuckle.AbpSwashbuckleController.SetCsrfCookie (Volo.Abp.Swashbuckle), returned result Microsoft.AspNetCore.Mvc.EmptyResult in 29.0934ms.
2022-02-14 22:28:57.854 +08:00 [INF] Executed action Volo.Abp.Swashbuckle.AbpSwashbuckleController.SetCsrfCookie (Volo.Abp.Swashbuckle) in 245.3203ms
2022-02-14 22:28:57.854 +08:00 [INF] Executed endpoint 'Volo.Abp.Swashbuckle.AbpSwashbuckleController.SetCsrfCookie (Volo.Abp.Swashbuckle)'
2022-02-14 22:28:57.855 +08:00 [INF] Request finished HTTP/2 GET https://localhost:5000/abp/Swashbuckle/SetCsrfCookie application/json - - 204 - - 265.0884ms
2022-02-14 22:28:58.117 +08:00 [INF] Request starting HTTP/2 POST https://localhost:5000/api/part/add application/json 2797
2022-02-14 22:28:58.139 +08:00 [INF] CORS policy execution failed.
2022-02-14 22:28:58.139 +08:00 [INF] Request origin https://localhost:5000 does not have permission to access the resource.
2022-02-14 22:28:58.150 +08:00 [INF] Executing endpoint 'WmsWebApi.Parts.PartService.AddAsync (WmsWebApi.Application)'
2022-02-14 22:28:58.228 +08:00 [INF] Route matched with {action = "Add", controller = "Part", area = "", page = ""}. Executing controller action with signature System.Threading.Tasks.Task`1[WmsWebApi.Parts.ReturnResult] AddAsync(System.Object) on controller WmsWebApi.Parts.PartService (WmsWebApi.Application).
2022-02-14 22:29:01.190 +08:00 [INF] Executing action method WmsWebApi.Parts.PartService.AddAsync (WmsWebApi.Application) - Validation state: "Valid"
2022-02-14 22:29:12.346 +08:00 [WRN] No type was specified for the decimal property 'CustPackQty' on entity type 'TA_CUST_PART'. This will cause values to be silently truncated if they do not fit in the default precision and scale. Explicitly specify the SQL server column type that can accommodate all the values in 'OnModelCreating' using 'HasColumnType()', specify precision and scale using 'HasPrecision()' or configure a value converter using 'HasConversion()'.
2022-02-14 22:29:12.347 +08:00 [WRN] No type was specified for the decimal property 'CustPalletCapacity' on entity type 'TA_CUST_PART'. This will cause values to be silently truncated if they do not fit in the default precision and scale. Explicitly specify the SQL server column type that can accommodate all the values in 'OnModelCreating' using 'HasColumnType()', specify precision and scale using 'HasPrecision()' or configure a value converter using 'HasConversion()'.
2022-02-14 22:29:12.347 +08:00 [WRN] No type was specified for the decimal property 'ContainerQty' on entity type 'TA_PART'. This will cause values to be silently truncated if they do not fit in the default precision and scale. Explicitly specify the SQL server column type that can accommodate all the values in 'OnModelCreating' using 'HasColumnType()', specify precision and scale using 'HasPrecision()' or configure a value converter using 'HasConversion()'.
2022-02-14 22:29:12.347 +08:00 [WRN] No type was specified for the decimal property 'LinesidePackQty' on entity type 'TA_PART'. This will cause values to be silently truncated if they do not fit in the default precision and scale. Explicitly specify the SQL server column type that can accommodate all the values in 'OnModelCreating' using 'HasColumnType()', specify precision and scale using 'HasPrecision()' or configure a value converter using 'HasConversion()'.
2022-02-14 22:29:12.347 +08:00 [WRN] No type was specified for the decimal property 'MaxQty' on entity type 'TA_PART'. This will cause values to be silently truncated if they do not fit in the default precision and scale. Explicitly specify the SQL server column type that can accommodate all the values in 'OnModelCreating' using 'HasColumnType()', specify precision and scale using 'HasPrecision()' or configure a value converter using 'HasConversion()'.
2022-02-14 22:29:12.347 +08:00 [WRN] No type was specified for the decimal property 'MinQty' on entity type 'TA_PART'. This will cause values to be silently truncated if they do not fit in the default precision and scale. Explicitly specify the SQL server column type that can accommodate all the values in 'OnModelCreating' using 'HasColumnType()', specify precision and scale using 'HasPrecision()' or configure a value converter using 'HasConversion()'.
2022-02-14 22:29:12.347 +08:00 [WRN] No type was specified for the decimal property 'SafeQty' on entity type 'TA_PART'. This will cause values to be silently truncated if they do not fit in the default precision and scale. Explicitly specify the SQL server column type that can accommodate all the values in 'OnModelCreating' using 'HasColumnType()', specify precision and scale using 'HasPrecision()' or configure a value converter using 'HasConversion()'.
2022-02-14 22:29:12.347 +08:00 [WRN] No type was specified for the decimal property 'SamplePercent' on entity type 'TA_PART'. This will cause values to be silently truncated if they do not fit in the default precision and scale. Explicitly specify the SQL server column type that can accommodate all the values in 'OnModelCreating' using 'HasColumnType()', specify precision and scale using 'HasPrecision()' or configure a value converter using 'HasConversion()'.
2022-02-14 22:29:12.348 +08:00 [WRN] No type was specified for the decimal property 'SingleWeight' on entity type 'TA_PART'. This will cause values to be silently truncated if they do not fit in the default precision and scale. Explicitly specify the SQL server column type that can accommodate all the values in 'OnModelCreating' using 'HasColumnType()', specify precision and scale using 'HasPrecision()' or configure a value converter using 'HasConversion()'.
2022-02-14 22:29:12.348 +08:00 [WRN] No type was specified for the decimal property 'StockPackQty' on entity type 'TA_PART'. This will cause values to be silently truncated if they do not fit in the default precision and scale. Explicitly specify the SQL server column type that can accommodate all the values in 'OnModelCreating' using 'HasColumnType()', specify precision and scale using 'HasPrecision()' or configure a value converter using 'HasConversion()'.
2022-02-14 22:29:12.711 +08:00 [INF] Entity Framework Core 5.0.13 initialized 'WmsWebApiDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: QuerySplittingBehavior=SplitQuery
2022-02-14 22:29:15.172 +08:00 [INF] Executed DbCommand (211ms) [Parameters=[@__part_PartGroup_0='?' (Size = 50)], CommandType='"Text"', CommandTimeout='30']
SELECT TOP(1) [t].[UID], [t].[PARTGROUP], [t].[WERKS]
FROM [TM_PG_PARTGROUP] AS [t]
WHERE ([t].[WERKS] = N'1000') AND ([t].[PARTGROUP] = @__part_PartGroup_0)
2022-02-14 22:29:15.482 +08:00 [INF] Executed DbCommand (61ms) [Parameters=[@__taPart_PartCode_0='?' (Size = 50)], CommandType='"Text"', CommandTimeout='30']
SELECT TOP(1) [t].[UID], [t].[AbcClass], [t].[CertificateOfQuality], [t].[Configuration], [t].[ContainerQty], [t].[DefaultBackFlushLocCode], [t].[DefaultReceiveLocCode], [t].[DistributionType], [t].[DrawingNumber], [t].[ErpPartCode], [t].[InspectType], [t].[Inspecter], [t].[IsAskMerge], [t].[IsConsign], [t].[IsDeposit], [t].[IsNoInterface], [t].[IsTransfer], [t].[LabelTemplate], [t].[LinesidePackQty], [t].[ManageType], [t].[MaxQty], [t].[MinQty], [t].[PalletSize], [t].[PalletTemplate], [t].[PartCode], [t].[PartDesc1], [t].[PartDesc2], [t].[PartGroup], [t].[PartKind], [t].[PartType], [t].[Process], [t].[ProjectId], [t].[Promo], [t].[QLevel], [t].[ReceivePort], [t].[Remark], [t].[SafeQty], [t].[SamplePercent], [t].[SingleWeight], [t].[Source], [t].[State], [t].[StockPackQty], [t].[StoreKeeper], [t].[Unit], [t].[ValidityDays]
FROM [TA_PART] AS [t]
WHERE [t].[PartCode] = @__taPart_PartCode_0
2022-02-14 22:29:16.091 +08:00 [INF] Executed DbCommand (25ms) [Parameters=[@__taCustPart_CustId_0='?' (Size = 50), @__taCustPart_CustPartCode_1='?' (Size = 50)], CommandType='"Text"', CommandTimeout='30']
SELECT TOP(1) [t].[CustId], [t].[CustPartCode], [t].[CustPackQty], [t].[CustPalletCapacity], [t].[CustPalletQty], [t].[CustPalletSize], [t].[CustPartName], [t].[UID], [t].[PartCode], [t].[Remark], [t].[State]
FROM [TA_CUST_PART] AS [t]
WHERE ([t].[CustId] = @__taCustPart_CustId_0) AND ([t].[CustPartCode] = @__taCustPart_CustPartCode_1)
2022-02-14 22:29:42.836 +08:00 [INF] Executed action method WmsWebApi.Parts.PartService.AddAsync (WmsWebApi.Application), returned result Microsoft.AspNetCore.Mvc.ObjectResult in 41645.7403ms.
2022-02-14 22:29:43.425 +08:00 [INF] Executed DbCommand (40ms) [Parameters=[@p0='?' (Size = 50), @p1='?' (Size = 50), @p2='?' (Precision = 18) (Scale = 2) (DbType = Decimal), @p3='?' (Precision = 18) (Scale = 2) (DbType = Decimal), @p4='?' (DbType = Int32), @p5='?' (Size = 4000), @p6='?' (Size = 4000), @p7='?' (Size = 50), @p8='?' (Size = 4000)], CommandType='"Text"', CommandTimeout='30']
SET NOCOUNT ON;
INSERT INTO [TA_CUST_PART] ([CustId], [CustPartCode], [CustPackQty], [CustPalletCapacity], [CustPalletQty], [CustPalletSize], [CustPartName], [PartCode], [Remark])
VALUES (@p0, @p1, @p2, @p3, @p4, @p5, @p6, @p7, @p8);
SELECT [UID], [State]
FROM [TA_CUST_PART]
WHERE @@ROWCOUNT = 1 AND [CustId] = @p0 AND [CustPartCode] = @p1;
2022-02-14 22:29:43.532 +08:00 [INF] Executed DbCommand (33ms) [Parameters=[@p0='?' (Size = 4000), @p1='?' (Size = 4000), @p2='?' (Size = 4000), @p3='?' (Precision = 18) (Scale = 2) (DbType = Decimal), @p4='?' (Size = 4000), @p5='?' (Size = 4000), @p6='?' (DbType = Int32), @p7='?' (Size = 4000), @p8='?' (Size = 50), @p9='?' (DbType = Int32), @p10='?' (Size = 4000), @p11='?' (DbType = Boolean), @p12='?' (DbType = Boolean), @p13='?' (DbType = Boolean), @p14='?' (DbType = Boolean), @p15='?' (DbType = Boolean), @p16='?' (Size = 4000), @p17='?' (Precision = 18) (Scale = 2) (DbType = Decimal), @p18='?' (DbType = Int32), @p19='?' (Precision = 18) (Scale = 2) (DbType = Decimal), @p20='?' (Precision = 18) (Scale = 2) (DbType = Decimal), @p21='?' (Size = 4000), @p22='?' (Size = 4000), @p23='?' (Size = 50), @p24='?' (Size = 4000), @p25='?' (Size = 4000), @p26='?' (Size = 4000), @p27='?' (Size = 4000), @p28='?' (Size = 4000), @p29='?' (Size = 4000), @p30='?' (Size = 4000), @p31='?' (Size = 4000), @p32='?' (Size = 4000), @p33='?' (Size = 4000), @p34='?' (Size = 4000), @p35='?' (Precision = 18) (Scale = 2) (DbType = Decimal), @p36='?' (Precision = 18) (Scale = 2) (DbType = Decimal), @p37='?' (Precision = 18) (Scale = 2) (DbType = Decimal), @p38='?' (Size = 4000), @p39='?' (Size = 4000), @p40='?' (Precision = 18) (Scale = 2) (DbType = Decimal), @p41='?' (Size = 4000), @p42='?' (Size = 4000), @p43='?' (DbType = Int32)], CommandType='"Text"', CommandTimeout='30']
SET NOCOUNT ON;
INSERT INTO [TA_PART] ([AbcClass], [CertificateOfQuality], [Configuration], [ContainerQty], [DefaultBackFlushLocCode], [DefaultReceiveLocCode], [DistributionType], [DrawingNumber], [ErpPartCode], [InspectType], [Inspecter], [IsAskMerge], [IsConsign], [IsDeposit], [IsNoInterface], [IsTransfer], [LabelTemplate], [LinesidePackQty], [ManageType], [MaxQty], [MinQty], [PalletSize], [PalletTemplate], [PartCode], [PartDesc1], [PartDesc2], [PartGroup], [PartKind], [PartType], [Process], [ProjectId], [Promo], [QLevel], [ReceivePort], [Remark], [SafeQty], [SamplePercent], [SingleWeight], [Source], [State], [StockPackQty], [StoreKeeper], [Unit], [ValidityDays])
VALUES (@p0, @p1, @p2, @p3, @p4, @p5, @p6, @p7, @p8, @p9, @p10, @p11, @p12, @p13, @p14, @p15, @p16, @p17, @p18, @p19, @p20, @p21, @p22, @p23, @p24, @p25, @p26, @p27, @p28, @p29, @p30, @p31, @p32, @p33, @p34, @p35, @p36, @p37, @p38, @p39, @p40, @p41, @p42, @p43);
SELECT [UID]
FROM [TA_PART]
WHERE @@ROWCOUNT = 1 AND [UID] = scope_identity();
2022-02-14 22:29:43.608 +08:00 [ERR] Failed executing DbCommand (39ms) [Parameters=[@p0='?' (DbType = Guid), @p1='?' (Size = 40), @p2='?' (DbType = DateTime2), @p3='?' (DbType = Guid), @p4='?' (Size = 4000), @p5='?' (DbType = DateTime2), @p6='?' (Size = 4000), @p7='?' (Size = 4000), @p8='?' (Size = 4000), @p9='?' (Size = 4000), @p10='?' (Size = 4000), @p11='?' (Size = 4000), @p12='?' (Size = 4000), @p13='?' (Size = 50), @p14='?' (Size = 10), @p15='?' (Size = 4000), @p16='?' (Size = 4000), @p17='?' (Size = 4000), @p18='?' (Size = 4000), @p19='?' (Size = 4000)], CommandType='"Text"', CommandTimeout='30']
SET NOCOUNT ON;
INSERT INTO [WmsWebApiPARTDTO] ([Id], [ConcurrencyStamp], [CreationTime], [CreatorId], [DISGR], [DYSJ], [ExtraProperties], [GROES], [ITYPE], [JSON], [MAKTX], [MAKTX1], [MATKL], [MATNR], [MBRSH], [MEINS], [MTART], [VTWEG], [WERKS], [ZTEXT22])
VALUES (@p0, @p1, @p2, @p3, @p4, @p5, @p6, @p7, @p8, @p9, @p10, @p11, @p12, @p13, @p14, @p15, @p16, @p17, @p18, @p19);
2022-02-14 22:29:43.831 +08:00 [ERR] An exception occurred in the database while saving changes for context type 'WmsWebApi.EntityFrameworkCore.WmsWebApiDbContext'.
Microsoft.EntityFrameworkCore.DbUpdateException: An error occurred while updating the entries. See the inner exception for details.
---> Microsoft.Data.SqlClient.SqlException (0x80131904): 列名 'ConcurrencyStamp' 无效。
列名 'CreationTime' 无效。
列名 'CreatorId' 无效。
列名 'ExtraProperties' 无效。
at Microsoft.Data.SqlClient.SqlCommand.<>c.<ExecuteDbDataReaderAsync>b__169_0(Task`1 result)
at System.Threading.Tasks.ContinuationResultTaskFromResultTask`2.InnerInvoke()
at System.Threading.Tasks.Task.<>c.<.cctor>b__277_0(Object obj)
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
--- End of stack trace from previous location ---
at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread)
--- End of stack trace from previous location ---
at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReaderAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReaderAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.Update.ReaderModificationCommandBatch.ExecuteAsync(IRelationalConnection connection, CancellationToken cancellationToken)
ClientConnectionId:d93ecba5-afcf-458c-b5bf-4c0969365170
Error Number:207,State:1,Class:16
--- End of inner exception stack trace ---
at Microsoft.EntityFrameworkCore.Update.ReaderModificationCommandBatch.ExecuteAsync(IRelationalConnection connection, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.Update.Internal.BatchExecutor.ExecuteAsync(IEnumerable`1 commandBatches, IRelationalConnection connection, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.Update.Internal.BatchExecutor.ExecuteAsync(IEnumerable`1 commandBatches, IRelationalConnection connection, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.Update.Internal.BatchExecutor.ExecuteAsync(IEnumerable`1 commandBatches, IRelationalConnection connection, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.SaveChangesAsync(IList`1 entriesToSave, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.SaveChangesAsync(DbContext _, Boolean acceptAllChangesOnSuccess, 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.DbContext.SaveChangesAsync(Boolean acceptAllChangesOnSuccess, CancellationToken cancellationToken)
Microsoft.EntityFrameworkCore.DbUpdateException: An error occurred while updating the entries. See the inner exception for details.
---> Microsoft.Data.SqlClient.SqlException (0x80131904): 列名 'ConcurrencyStamp' 无效。
列名 'CreationTime' 无效。
列名 'CreatorId' 无效。
列名 'ExtraProperties' 无效。
at Microsoft.Data.SqlClient.SqlCommand.<>c.<ExecuteDbDataReaderAsync>b__169_0(Task`1 result)
at System.Threading.Tasks.ContinuationResultTaskFromResultTask`2.InnerInvoke()
at System.Threading.Tasks.Task.<>c.<.cctor>b__277_0(Object obj)
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
--- End of stack trace from previous location ---
at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread)
--- End of stack trace from previous location ---
at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReaderAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReaderAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.Update.ReaderModificationCommandBatch.ExecuteAsync(IRelationalConnection connection, CancellationToken cancellationToken)
ClientConnectionId:d93ecba5-afcf-458c-b5bf-4c0969365170
Error Number:207,State:1,Class:16
--- End of inner exception stack trace ---
at Microsoft.EntityFrameworkCore.Update.ReaderModificationCommandBatch.ExecuteAsync(IRelationalConnection connection, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.Update.Internal.BatchExecutor.ExecuteAsync(IEnumerable`1 commandBatches, IRelationalConnection connection, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.Update.Internal.BatchExecutor.ExecuteAsync(IEnumerable`1 commandBatches, IRelationalConnection connection, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.Update.Internal.BatchExecutor.ExecuteAsync(IEnumerable`1 commandBatches, IRelationalConnection connection, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.SaveChangesAsync(IList`1 entriesToSave, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.SaveChangesAsync(DbContext _, Boolean acceptAllChangesOnSuccess, 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.DbContext.SaveChangesAsync(Boolean acceptAllChangesOnSuccess, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.DbContext.SaveChangesAsync(Boolean acceptAllChangesOnSuccess, CancellationToken cancellationToken)
at Volo.Abp.EntityFrameworkCore.AbpDbContext`1.SaveChangesAsync(Boolean acceptAllChangesOnSuccess, CancellationToken cancellationToken)
2022-02-14 22:29:44.182 +08:00 [ERR] ---------- RemoteServiceErrorInfo ----------
{
"code": null,
"message": "An internal error occurred during your request!",
"details": null,
"data": {},
"validationErrors": null
}
2022-02-14 22:29:44.184 +08:00 [ERR] An error occurred while updating the entries. See the inner exception for details.
Microsoft.EntityFrameworkCore.DbUpdateException: An error occurred while updating the entries. See the inner exception for details.
---> Microsoft.Data.SqlClient.SqlException (0x80131904): 列名 'ConcurrencyStamp' 无效。
列名 'CreationTime' 无效。
列名 'CreatorId' 无效。
列名 'ExtraProperties' 无效。
at Microsoft.Data.SqlClient.SqlCommand.<>c.<ExecuteDbDataReaderAsync>b__169_0(Task`1 result)
at System.Threading.Tasks.ContinuationResultTaskFromResultTask`2.InnerInvoke()
at System.Threading.Tasks.Task.<>c.<.cctor>b__277_0(Object obj)
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
--- End of stack trace from previous location ---
at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread)
--- End of stack trace from previous location ---
at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReaderAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReaderAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.Update.ReaderModificationCommandBatch.ExecuteAsync(IRelationalConnection connection, CancellationToken cancellationToken)
ClientConnectionId:d93ecba5-afcf-458c-b5bf-4c0969365170
Error Number:207,State:1,Class:16
--- End of inner exception stack trace ---
at Microsoft.EntityFrameworkCore.Update.ReaderModificationCommandBatch.ExecuteAsync(IRelationalConnection connection, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.Update.Internal.BatchExecutor.ExecuteAsync(IEnumerable`1 commandBatches, IRelationalConnection connection, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.Update.Internal.BatchExecutor.ExecuteAsync(IEnumerable`1 commandBatches, IRelationalConnection connection, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.Update.Internal.BatchExecutor.ExecuteAsync(IEnumerable`1 commandBatches, IRelationalConnection connection, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.SaveChangesAsync(IList`1 entriesToSave, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.SaveChangesAsync(DbContext _, Boolean acceptAllChangesOnSuccess, 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.DbContext.SaveChangesAsync(Boolean acceptAllChangesOnSuccess, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.DbContext.SaveChangesAsync(Boolean acceptAllChangesOnSuccess, CancellationToken cancellationToken)
at Volo.Abp.EntityFrameworkCore.AbpDbContext`1.SaveChangesAsync(Boolean acceptAllChangesOnSuccess, CancellationToken cancellationToken)
at Volo.Abp.Uow.UnitOfWork.SaveChangesAsync(CancellationToken cancellationToken)
at Volo.Abp.Uow.UnitOfWork.CompleteAsync(CancellationToken cancellationToken)
at Volo.Abp.AspNetCore.Mvc.Uow.AbpUowActionFilter.OnActionExecutionAsync(ActionExecutingContext context, ActionExecutionDelegate next)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeNextActionFilterAsync>g__Awaited|10_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Rethrow(ActionExecutedContextSealed context)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeInnerFilterAsync>g__Awaited|13_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeNextExceptionFilterAsync>g__Awaited|25_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
2022-02-14 22:29:44.231 +08:00 [INF] Executing ObjectResult, writing value of type 'Volo.Abp.Http.RemoteServiceErrorResponse'.
2022-02-14 22:29:44.302 +08:00 [INF] Executed action WmsWebApi.Parts.PartService.AddAsync (WmsWebApi.Application) in 46073.5741ms
2022-02-14 22:29:44.304 +08:00 [INF] Executed endpoint 'WmsWebApi.Parts.PartService.AddAsync (WmsWebApi.Application)'
2022-02-14 22:29:45.357 +08:00 [INF] Entity Framework Core 5.0.13 initialized 'AbpAuditLoggingDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: QuerySplittingBehavior=SplitQuery
2022-02-14 22:29:45.936 +08:00 [ERR] Failed executing DbCommand (54ms) [Parameters=[@p0='?' (DbType = Guid), @p1='?' (Size = 96), @p2='?' (Size = 512), @p3='?' (Size = 64), @p4='?' (Size = 64), @p5='?' (Size = 128), @p6='?' (Size = 256), @p7='?' (Size = 40), @p8='?' (Size = 64), @p9='?' (Size = -1), @p10='?' (DbType = Int32), @p11='?' (DbType = DateTime2), @p12='?' (Size = 4000), @p13='?' (Size = 16), @p14='?' (DbType = Int32), @p15='?' (DbType = Guid), @p16='?' (DbType = Guid), @p17='?' (DbType = Guid), @p18='?' (Size = 4000), @p19='?' (Size = 256), @p20='?' (DbType = Guid), @p21='?' (Size = 256)], CommandType='"Text"', CommandTimeout='30']
SET NOCOUNT ON;
INSERT INTO [AbpAuditLogs] ([Id], [ApplicationName], [BrowserInfo], [ClientId], [ClientIpAddress], [ClientName], [Comments], [ConcurrencyStamp], [CorrelationId], [Exceptions], [ExecutionDuration], [ExecutionTime], [ExtraProperties], [HttpMethod], [HttpStatusCode], [ImpersonatorTenantId], [ImpersonatorUserId], [TenantId], [TenantName], [Url], [UserId], [UserName])
VALUES (@p0, @p1, @p2, @p3, @p4, @p5, @p6, @p7, @p8, @p9, @p10, @p11, @p12, @p13, @p14, @p15, @p16, @p17, @p18, @p19, @p20, @p21);
2022-02-14 22:29:45.982 +08:00 [ERR] An exception occurred in the database while saving changes for context type 'Volo.Abp.AuditLogging.EntityFrameworkCore.AbpAuditLoggingDbContext'.
Microsoft.EntityFrameworkCore.DbUpdateException: An error occurred while updating the entries. See the inner exception for details.
---> Microsoft.Data.SqlClient.SqlException (0x80131904): 将截断字符串或二进制数据。
语句已终止。
at Microsoft.Data.SqlClient.SqlCommand.<>c.<ExecuteDbDataReaderAsync>b__169_0(Task`1 result)
at System.Threading.Tasks.ContinuationResultTaskFromResultTask`2.InnerInvoke()
at System.Threading.Tasks.Task.<>c.<.cctor>b__277_0(Object obj)
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
--- End of stack trace from previous location ---
at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread)
--- End of stack trace from previous location ---
at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReaderAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReaderAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.Update.ReaderModificationCommandBatch.ExecuteAsync(IRelationalConnection connection, CancellationToken cancellationToken)
ClientConnectionId:cdecf5d1-8a36-4666-9d58-e3e6bdd5d78a
Error Number:8152,State:10,Class:16
--- End of inner exception stack trace ---
at Microsoft.EntityFrameworkCore.Update.ReaderModificationCommandBatch.ExecuteAsync(IRelationalConnection connection, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.Update.Internal.BatchExecutor.ExecuteAsync(IEnumerable`1 commandBatches, IRelationalConnection connection, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.Update.Internal.BatchExecutor.ExecuteAsync(IEnumerable`1 commandBatches, IRelationalConnection connection, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.Update.Internal.BatchExecutor.ExecuteAsync(IEnumerable`1 commandBatches, IRelationalConnection connection, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.SaveChangesAsync(IList`1 entriesToSave, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.SaveChangesAsync(DbContext _, Boolean acceptAllChangesOnSuccess, 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.DbContext.SaveChangesAsync(Boolean acceptAllChangesOnSuccess, CancellationToken cancellationToken)
Microsoft.EntityFrameworkCore.DbUpdateException: An error occurred while updating the entries. See the inner exception for details.
---> Microsoft.Data.SqlClient.SqlException (0x80131904): 将截断字符串或二进制数据。
语句已终止。
at Microsoft.Data.SqlClient.SqlCommand.<>c.<ExecuteDbDataReaderAsync>b__169_0(Task`1 result)
at System.Threading.Tasks.ContinuationResultTaskFromResultTask`2.InnerInvoke()
at System.Threading.Tasks.Task.<>c.<.cctor>b__277_0(Object obj)
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
--- End of stack trace from previous location ---
at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread)
--- End of stack trace from previous location ---
at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReaderAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReaderAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.Update.ReaderModificationCommandBatch.ExecuteAsync(IRelationalConnection connection, CancellationToken cancellationToken)
ClientConnectionId:cdecf5d1-8a36-4666-9d58-e3e6bdd5d78a
Error Number:8152,State:10,Class:16
--- End of inner exception stack trace ---
at Microsoft.EntityFrameworkCore.Update.ReaderModificationCommandBatch.ExecuteAsync(IRelationalConnection connection, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.Update.Internal.BatchExecutor.ExecuteAsync(IEnumerable`1 commandBatches, IRelationalConnection connection, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.Update.Internal.BatchExecutor.ExecuteAsync(IEnumerable`1 commandBatches, IRelationalConnection connection, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.Update.Internal.BatchExecutor.ExecuteAsync(IEnumerable`1 commandBatches, IRelationalConnection connection, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.SaveChangesAsync(IList`1 entriesToSave, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.SaveChangesAsync(DbContext _, Boolean acceptAllChangesOnSuccess, 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.DbContext.SaveChangesAsync(Boolean acceptAllChangesOnSuccess, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.DbContext.SaveChangesAsync(Boolean acceptAllChangesOnSuccess, CancellationToken cancellationToken)
at Volo.Abp.EntityFrameworkCore.AbpDbContext`1.SaveChangesAsync(Boolean acceptAllChangesOnSuccess, CancellationToken cancellationToken)
at Volo.Abp.Uow.UnitOfWork.SaveChangesAsync(CancellationToken cancellationToken)
at Volo.Abp.Uow.UnitOfWork.CompleteAsync(CancellationToken cancellationToken)
2022-02-14 22:29:46.005 +08:00 [WRN] Could not save the audit log object:
AUDIT LOG: [500: POST ] /api/part/add
- UserName - UserId : -
- ClientIpAddress : ::1
- ExecutionDuration : 46166
- Actions:
- WmsWebApi.Parts.PartService.AddAsync (42870 ms.)
{"content":{"valueKind":1}}
- Exceptions:
- An error occurred while updating the entries. See the inner exception for details.
Microsoft.EntityFrameworkCore.DbUpdateException: An error occurred while updating the entries. See the inner exception for details.
---> Microsoft.Data.SqlClient.SqlException (0x80131904): 列名 'ConcurrencyStamp' 无效。
列名 'CreationTime' 无效。
列名 'CreatorId' 无效。
列名 'ExtraProperties' 无效。
at Microsoft.Data.SqlClient.SqlCommand.<>c.<ExecuteDbDataReaderAsync>b__169_0(Task`1 result)
at System.Threading.Tasks.ContinuationResultTaskFromResultTask`2.InnerInvoke()
at System.Threading.Tasks.Task.<>c.<.cctor>b__277_0(Object obj)
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
--- End of stack trace from previous location ---
at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread)
--- End of stack trace from previous location ---
at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReaderAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReaderAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.Update.ReaderModificationCommandBatch.ExecuteAsync(IRelationalConnection connection, CancellationToken cancellationToken)
ClientConnectionId:d93ecba5-afcf-458c-b5bf-4c0969365170
Error Number:207,State:1,Class:16
--- End of inner exception stack trace ---
at Microsoft.EntityFrameworkCore.Update.ReaderModificationCommandBatch.ExecuteAsync(IRelationalConnection connection, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.Update.Internal.BatchExecutor.ExecuteAsync(IEnumerable`1 commandBatches, IRelationalConnection connection, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.Update.Internal.BatchExecutor.ExecuteAsync(IEnumerable`1 commandBatches, IRelationalConnection connection, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.Update.Internal.BatchExecutor.ExecuteAsync(IEnumerable`1 commandBatches, IRelationalConnection connection, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.SaveChangesAsync(IList`1 entriesToSave, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.SaveChangesAsync(DbContext _, Boolean acceptAllChangesOnSuccess, 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.DbContext.SaveChangesAsync(Boolean acceptAllChangesOnSuccess, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.DbContext.SaveChangesAsync(Boolean acceptAllChangesOnSuccess, CancellationToken cancellationToken)
at Volo.Abp.EntityFrameworkCore.AbpDbContext`1.SaveChangesAsync(Boolean acceptAllChangesOnSuccess, CancellationToken cancellationToken)
at Volo.Abp.Uow.UnitOfWork.SaveChangesAsync(CancellationToken cancellationToken)
at Volo.Abp.Uow.UnitOfWork.CompleteAsync(CancellationToken cancellationToken)
at Volo.Abp.AspNetCore.Mvc.Uow.AbpUowActionFilter.OnActionExecutionAsync(ActionExecutingContext context, ActionExecutionDelegate next)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeNextActionFilterAsync>g__Awaited|10_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Rethrow(ActionExecutedContextSealed context)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeInnerFilterAsync>g__Awaited|13_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeNextExceptionFilterAsync>g__Awaited|25_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
2022-02-14 22:29:46.005 +08:00 [ERR] An error occurred while updating the entries. See the inner exception for details.
Microsoft.EntityFrameworkCore.DbUpdateException: An error occurred while updating the entries. See the inner exception for details.
---> Microsoft.Data.SqlClient.SqlException (0x80131904): 将截断字符串或二进制数据。
语句已终止。
at Microsoft.Data.SqlClient.SqlCommand.<>c.<ExecuteDbDataReaderAsync>b__169_0(Task`1 result)
at System.Threading.Tasks.ContinuationResultTaskFromResultTask`2.InnerInvoke()
at System.Threading.Tasks.Task.<>c.<.cctor>b__277_0(Object obj)
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
--- End of stack trace from previous location ---
at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread)
--- End of stack trace from previous location ---
at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReaderAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReaderAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.Update.ReaderModificationCommandBatch.ExecuteAsync(IRelationalConnection connection, CancellationToken cancellationToken)
ClientConnectionId:cdecf5d1-8a36-4666-9d58-e3e6bdd5d78a
Error Number:8152,State:10,Class:16
--- End of inner exception stack trace ---
at Microsoft.EntityFrameworkCore.Update.ReaderModificationCommandBatch.ExecuteAsync(IRelationalConnection connection, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.Update.Internal.BatchExecutor.ExecuteAsync(IEnumerable`1 commandBatches, IRelationalConnection connection, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.Update.Internal.BatchExecutor.ExecuteAsync(IEnumerable`1 commandBatches, IRelationalConnection connection, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.Update.Internal.BatchExecutor.ExecuteAsync(IEnumerable`1 commandBatches, IRelationalConnection connection, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.SaveChangesAsync(IList`1 entriesToSave, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.SaveChangesAsync(DbContext _, Boolean acceptAllChangesOnSuccess, 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.DbContext.SaveChangesAsync(Boolean acceptAllChangesOnSuccess, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.DbContext.SaveChangesAsync(Boolean acceptAllChangesOnSuccess, CancellationToken cancellationToken)
at Volo.Abp.EntityFrameworkCore.AbpDbContext`1.SaveChangesAsync(Boolean acceptAllChangesOnSuccess, CancellationToken cancellationToken)
at Volo.Abp.Uow.UnitOfWork.SaveChangesAsync(CancellationToken cancellationToken)
at Volo.Abp.Uow.UnitOfWork.CompleteAsync(CancellationToken cancellationToken)
at Volo.Abp.AuditLogging.AuditingStore.SaveLogAsync(AuditLogInfo auditInfo)
at Volo.Abp.AuditLogging.AuditingStore.SaveAsync(AuditLogInfo auditInfo)
2022-02-14 22:29:46.012 +08:00 [INF] Request finished HTTP/2 POST https://localhost:5000/api/part/add application/json 2797 - 500 - application/json;+charset=utf-8 47894.9064ms
2022-02-14 22:34:48.095 +08:00 [INF] Starting web host.
2022-02-14 22:35:00.694 +08:00 [INF] User profile is available. Using 'C:\Users\lvcj2\AppData\Local\ASP.NET\DataProtection-Keys' as key repository and Windows DPAPI to encrypt keys at rest.
2022-02-14 22:35:01.164 +08:00 [INF] Loaded ABP modules:
2022-02-14 22:35:01.164 +08:00 [INF] - WmsWebApi.WmsWebApiHttpApiHostModule
2022-02-14 22:35:01.164 +08:00 [INF] - WmsWebApi.WmsWebApiApplicationModule
2022-02-14 22:35:01.164 +08:00 [INF] - WmsWebApi.WmsWebApiDomainModule
2022-02-14 22:35:01.164 +08:00 [INF] - Volo.Abp.Domain.AbpDddDomainModule
2022-02-14 22:35:01.164 +08:00 [INF] - Volo.Abp.Auditing.AbpAuditingModule
2022-02-14 22:35:01.164 +08:00 [INF] - Volo.Abp.Data.AbpDataModule
2022-02-14 22:35:01.164 +08:00 [INF] - Volo.Abp.ObjectExtending.AbpObjectExtendingModule
2022-02-14 22:35:01.164 +08:00 [INF] - Volo.Abp.Localization.AbpLocalizationAbstractionsModule
2022-02-14 22:35:01.164 +08:00 [INF] - Volo.Abp.Validation.AbpValidationAbstractionsModule
2022-02-14 22:35:01.164 +08:00 [INF] - Volo.Abp.Uow.AbpUnitOfWorkModule
2022-02-14 22:35:01.164 +08:00 [INF] - Volo.Abp.EventBus.Abstractions.AbpEventBusAbstractionsModule
2022-02-14 22:35:01.164 +08:00 [INF] - Volo.Abp.Json.AbpJsonModule
2022-02-14 22:35:01.164 +08:00 [INF] - Volo.Abp.Timing.AbpTimingModule
2022-02-14 22:35:01.164 +08:00 [INF] - Volo.Abp.Localization.AbpLocalizationModule
2022-02-14 22:35:01.164 +08:00 [INF] - Volo.Abp.VirtualFileSystem.AbpVirtualFileSystemModule
2022-02-14 22:35:01.164 +08:00 [INF] - Volo.Abp.Settings.AbpSettingsModule
2022-02-14 22:35:01.164 +08:00 [INF] - Volo.Abp.Security.AbpSecurityModule
2022-02-14 22:35:01.164 +08:00 [INF] - Volo.Abp.MultiTenancy.AbpMultiTenancyModule
2022-02-14 22:35:01.164 +08:00 [INF] - Volo.Abp.Threading.AbpThreadingModule
2022-02-14 22:35:01.164 +08:00 [INF] - Volo.Abp.EventBus.AbpEventBusModule
2022-02-14 22:35:01.164 +08:00 [INF] - Volo.Abp.Guids.AbpGuidsModule
2022-02-14 22:35:01.164 +08:00 [INF] - Volo.Abp.ObjectMapping.AbpObjectMappingModule
2022-02-14 22:35:01.164 +08:00 [INF] - Volo.Abp.ExceptionHandling.AbpExceptionHandlingModule
2022-02-14 22:35:01.164 +08:00 [INF] - Volo.Abp.Specifications.AbpSpecificationsModule
2022-02-14 22:35:01.164 +08:00 [INF] - WmsWebApi.WmsWebApiDomainSharedModule
2022-02-14 22:35:01.164 +08:00 [INF] - Volo.Abp.Validation.AbpValidationModule
2022-02-14 22:35:01.164 +08:00 [INF] - WmsWebApi.WmsWebApiApplicationContractsModule
2022-02-14 22:35:01.164 +08:00 [INF] - Volo.Abp.Application.AbpDddApplicationContractsModule
2022-02-14 22:35:01.164 +08:00 [INF] - Volo.Abp.Authorization.AbpAuthorizationModule
2022-02-14 22:35:01.164 +08:00 [INF] - Volo.Abp.Authorization.AbpAuthorizationAbstractionsModule
2022-02-14 22:35:01.164 +08:00 [INF] - Volo.Abp.Application.AbpDddApplicationModule
2022-02-14 22:35:01.164 +08:00 [INF] - Volo.Abp.Http.AbpHttpAbstractionsModule
2022-02-14 22:35:01.164 +08:00 [INF] - Volo.Abp.Features.AbpFeaturesModule
2022-02-14 22:35:01.164 +08:00 [INF] - Volo.Abp.GlobalFeatures.AbpGlobalFeaturesModule
2022-02-14 22:35:01.164 +08:00 [INF] - Volo.Abp.AutoMapper.AbpAutoMapperModule
2022-02-14 22:35:01.164 +08:00 [INF] - WmsWebApi.EntityFrameworkCore.WmsWebApiEntityFrameworkCoreModule
2022-02-14 22:35:01.164 +08:00 [INF] - Volo.Abp.EntityFrameworkCore.AbpEntityFrameworkCoreModule
2022-02-14 22:35:01.164 +08:00 [INF] - WmsWebApi.WmsWebApiHttpApiModule
2022-02-14 22:35:01.164 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.AbpAspNetCoreMvcModule
2022-02-14 22:35:01.164 +08:00 [INF] - Volo.Abp.AspNetCore.AbpAspNetCoreModule
2022-02-14 22:35:01.164 +08:00 [INF] - Volo.Abp.Http.AbpHttpModule
2022-02-14 22:35:01.164 +08:00 [INF] - Volo.Abp.Minify.AbpMinifyModule
2022-02-14 22:35:01.164 +08:00 [INF] - Volo.Abp.ApiVersioning.AbpApiVersioningAbstractionsModule
2022-02-14 22:35:01.164 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.AbpAspNetCoreMvcContractsModule
2022-02-14 22:35:01.164 +08:00 [INF] - Volo.Abp.UI.Navigation.AbpUiNavigationModule
2022-02-14 22:35:01.164 +08:00 [INF] - Volo.Abp.UI.AbpUiModule
2022-02-14 22:35:01.164 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.UI.MultiTenancy.AbpAspNetCoreMvcUiMultiTenancyModule
2022-02-14 22:35:01.164 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.UI.Theme.Shared.AbpAspNetCoreMvcUiThemeSharedModule
2022-02-14 22:35:01.164 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.AbpAspNetCoreMvcUiBootstrapModule
2022-02-14 22:35:01.164 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.UI.AbpAspNetCoreMvcUiModule
2022-02-14 22:35:01.164 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.UI.Packages.AbpAspNetCoreMvcUiPackagesModule
2022-02-14 22:35:01.164 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.UI.Bundling.AbpAspNetCoreMvcUiBundlingAbstractionsModule
2022-02-14 22:35:01.164 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.UI.Widgets.AbpAspNetCoreMvcUiWidgetsModule
2022-02-14 22:35:01.164 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.UI.Bundling.AbpAspNetCoreMvcUiBundlingModule
2022-02-14 22:35:01.164 +08:00 [INF] - Volo.Abp.AspNetCore.MultiTenancy.AbpAspNetCoreMultiTenancyModule
2022-02-14 22:35:01.164 +08:00 [INF] - Volo.Abp.Autofac.AbpAutofacModule
2022-02-14 22:35:01.164 +08:00 [INF] - Volo.Abp.Castle.AbpCastleCoreModule
2022-02-14 22:35:01.164 +08:00 [INF] - Volo.Abp.Caching.StackExchangeRedis.AbpCachingStackExchangeRedisModule
2022-02-14 22:35:01.164 +08:00 [INF] - Volo.Abp.Caching.AbpCachingModule
2022-02-14 22:35:01.164 +08:00 [INF] - Volo.Abp.Serialization.AbpSerializationModule
2022-02-14 22:35:01.164 +08:00 [INF] - Volo.Abp.EntityFrameworkCore.SqlServer.AbpEntityFrameworkCoreSqlServerModule
2022-02-14 22:35:01.164 +08:00 [INF] - Volo.Abp.AuditLogging.EntityFrameworkCore.AbpAuditLoggingEntityFrameworkCoreModule
2022-02-14 22:35:01.164 +08:00 [INF] - Volo.Abp.AuditLogging.AbpAuditLoggingDomainModule
2022-02-14 22:35:01.164 +08:00 [INF] - Volo.Abp.AuditLogging.AbpAuditLoggingDomainSharedModule
2022-02-14 22:35:01.164 +08:00 [INF] - Volo.Abp.PermissionManagement.EntityFrameworkCore.AbpPermissionManagementEntityFrameworkCoreModule
2022-02-14 22:35:01.164 +08:00 [INF] - Volo.Abp.PermissionManagement.AbpPermissionManagementDomainModule
2022-02-14 22:35:01.164 +08:00 [INF] - Volo.Abp.PermissionManagement.AbpPermissionManagementDomainSharedModule
2022-02-14 22:35:01.164 +08:00 [INF] - Volo.Abp.SettingManagement.EntityFrameworkCore.AbpSettingManagementEntityFrameworkCoreModule
2022-02-14 22:35:01.164 +08:00 [INF] - Volo.Abp.SettingManagement.AbpSettingManagementDomainModule
2022-02-14 22:35:01.165 +08:00 [INF] - Volo.Abp.SettingManagement.AbpSettingManagementDomainSharedModule
2022-02-14 22:35:01.165 +08:00 [INF] - Volo.Abp.AspNetCore.Serilog.AbpAspNetCoreSerilogModule
2022-02-14 22:35:01.165 +08:00 [INF] - Volo.Abp.Swashbuckle.AbpSwashbuckleModule
2022-02-14 22:35:04.641 +08:00 [INF] Initialized all ABP modules.
2022-02-14 22:35:06.130 +08:00 [INF] Now listening on: https://localhost:5000
2022-02-14 22:35:06.131 +08:00 [INF] Application started. Press Ctrl+C to shut down.
2022-02-14 22:35:06.131 +08:00 [INF] Hosting environment: Development
2022-02-14 22:35:06.131 +08:00 [INF] Content root path: D:\工作\派格\接口程序\WmsWebApi\host\WmsWebApi.HttpApi.Host
2022-02-14 22:35:19.852 +08:00 [INF] Request starting HTTP/2 GET https://localhost:5000/ - -
2022-02-14 22:35:28.362 +08:00 [INF] Executing endpoint 'WmsWebApi.Controllers.HomeController.Index (WmsWebApi.HttpApi.Host)'
2022-02-14 22:35:28.633 +08:00 [INF] Route matched with {action = "Index", controller = "Home", area = "", page = ""}. Executing controller action with signature Microsoft.AspNetCore.Mvc.ActionResult Index() on controller WmsWebApi.Controllers.HomeController (WmsWebApi.HttpApi.Host).
2022-02-14 22:35:29.521 +08:00 [INF] Executing action method WmsWebApi.Controllers.HomeController.Index (WmsWebApi.HttpApi.Host) - Validation state: "Valid"
2022-02-14 22:35:29.542 +08:00 [INF] Executed action method WmsWebApi.Controllers.HomeController.Index (WmsWebApi.HttpApi.Host), returned result Microsoft.AspNetCore.Mvc.RedirectResult in 0.8278ms.
2022-02-14 22:35:29.562 +08:00 [INF] Executing RedirectResult, redirecting to /swagger.
2022-02-14 22:35:29.582 +08:00 [INF] Executed action WmsWebApi.Controllers.HomeController.Index (WmsWebApi.HttpApi.Host) in 932.3428ms
2022-02-14 22:35:29.582 +08:00 [INF] Executed endpoint 'WmsWebApi.Controllers.HomeController.Index (WmsWebApi.HttpApi.Host)'
2022-02-14 22:35:29.676 +08:00 [INF] Request finished HTTP/2 GET https://localhost:5000/ - - - 302 0 - 9825.5069ms
2022-02-14 22:35:29.686 +08:00 [INF] Request starting HTTP/2 GET https://localhost:5000/swagger/index.html - -
2022-02-14 22:35:30.605 +08:00 [INF] Request finished HTTP/2 GET https://localhost:5000/swagger/index.html - - - 200 - text/html;charset=utf-8 918.8715ms
2022-02-14 22:35:30.703 +08:00 [INF] Request starting HTTP/2 GET https://localhost:5000/_framework/aspnetcore-browser-refresh.js - -
2022-02-14 22:35:30.716 +08:00 [INF] Request finished HTTP/2 GET https://localhost:5000/_framework/aspnetcore-browser-refresh.js - - - 200 11956 application/javascript;+charset=utf-8 13.4276ms
2022-02-14 22:35:32.458 +08:00 [INF] Request starting HTTP/2 GET https://localhost:5000/swagger/v1/swagger.json - -
2022-02-14 22:35:33.038 +08:00 [INF] Request finished HTTP/2 GET https://localhost:5000/swagger/v1/swagger.json - - - 200 - application/json;charset=utf-8 580.6311ms
2022-02-14 22:35:47.791 +08:00 [INF] Request starting HTTP/2 GET https://localhost:5000/abp/Swashbuckle/SetCsrfCookie application/json -
2022-02-14 22:35:47.799 +08:00 [INF] Executing endpoint 'Volo.Abp.Swashbuckle.AbpSwashbuckleController.SetCsrfCookie (Volo.Abp.Swashbuckle)'
2022-02-14 22:35:47.803 +08:00 [INF] Route matched with {area = "Abp", action = "SetCsrfCookie", controller = "AbpSwashbuckle", page = ""}. Executing controller action with signature Void SetCsrfCookie() on controller Volo.Abp.Swashbuckle.AbpSwashbuckleController (Volo.Abp.Swashbuckle).
2022-02-14 22:35:48.003 +08:00 [INF] Executing action method Volo.Abp.Swashbuckle.AbpSwashbuckleController.SetCsrfCookie (Volo.Abp.Swashbuckle) - Validation state: "Valid"
2022-02-14 22:35:48.036 +08:00 [INF] Executed action method Volo.Abp.Swashbuckle.AbpSwashbuckleController.SetCsrfCookie (Volo.Abp.Swashbuckle), returned result Microsoft.AspNetCore.Mvc.EmptyResult in 32.6011ms.
2022-02-14 22:35:48.038 +08:00 [INF] Executed action Volo.Abp.Swashbuckle.AbpSwashbuckleController.SetCsrfCookie (Volo.Abp.Swashbuckle) in 234.4696ms
2022-02-14 22:35:48.039 +08:00 [INF] Executed endpoint 'Volo.Abp.Swashbuckle.AbpSwashbuckleController.SetCsrfCookie (Volo.Abp.Swashbuckle)'
2022-02-14 22:35:48.042 +08:00 [INF] Request finished HTTP/2 GET https://localhost:5000/abp/Swashbuckle/SetCsrfCookie application/json - - 204 - - 252.1707ms
2022-02-14 22:35:48.224 +08:00 [INF] Request starting HTTP/2 POST https://localhost:5000/api/part/add application/json 2797
2022-02-14 22:35:48.239 +08:00 [INF] CORS policy execution failed.
2022-02-14 22:35:48.241 +08:00 [INF] Request origin https://localhost:5000 does not have permission to access the resource.
2022-02-14 22:35:48.247 +08:00 [INF] Executing endpoint 'WmsWebApi.Parts.PartService.AddAsync (WmsWebApi.Application)'
2022-02-14 22:35:48.299 +08:00 [INF] Route matched with {action = "Add", controller = "Part", area = "", page = ""}. Executing controller action with signature System.Threading.Tasks.Task`1[WmsWebApi.Parts.ReturnResult] AddAsync(System.Object) on controller WmsWebApi.Parts.PartService (WmsWebApi.Application).
2022-02-14 22:35:50.489 +08:00 [INF] Executing action method WmsWebApi.Parts.PartService.AddAsync (WmsWebApi.Application) - Validation state: "Valid"
2022-02-14 22:35:52.754 +08:00 [WRN] No type was specified for the decimal property 'CustPackQty' on entity type 'TA_CUST_PART'. This will cause values to be silently truncated if they do not fit in the default precision and scale. Explicitly specify the SQL server column type that can accommodate all the values in 'OnModelCreating' using 'HasColumnType()', specify precision and scale using 'HasPrecision()' or configure a value converter using 'HasConversion()'.
2022-02-14 22:35:52.755 +08:00 [WRN] No type was specified for the decimal property 'CustPalletCapacity' on entity type 'TA_CUST_PART'. This will cause values to be silently truncated if they do not fit in the default precision and scale. Explicitly specify the SQL server column type that can accommodate all the values in 'OnModelCreating' using 'HasColumnType()', specify precision and scale using 'HasPrecision()' or configure a value converter using 'HasConversion()'.
2022-02-14 22:35:52.755 +08:00 [WRN] No type was specified for the decimal property 'ContainerQty' on entity type 'TA_PART'. This will cause values to be silently truncated if they do not fit in the default precision and scale. Explicitly specify the SQL server column type that can accommodate all the values in 'OnModelCreating' using 'HasColumnType()', specify precision and scale using 'HasPrecision()' or configure a value converter using 'HasConversion()'.
2022-02-14 22:35:52.755 +08:00 [WRN] No type was specified for the decimal property 'LinesidePackQty' on entity type 'TA_PART'. This will cause values to be silently truncated if they do not fit in the default precision and scale. Explicitly specify the SQL server column type that can accommodate all the values in 'OnModelCreating' using 'HasColumnType()', specify precision and scale using 'HasPrecision()' or configure a value converter using 'HasConversion()'.
2022-02-14 22:35:52.755 +08:00 [WRN] No type was specified for the decimal property 'MaxQty' on entity type 'TA_PART'. This will cause values to be silently truncated if they do not fit in the default precision and scale. Explicitly specify the SQL server column type that can accommodate all the values in 'OnModelCreating' using 'HasColumnType()', specify precision and scale using 'HasPrecision()' or configure a value converter using 'HasConversion()'.
2022-02-14 22:35:52.755 +08:00 [WRN] No type was specified for the decimal property 'MinQty' on entity type 'TA_PART'. This will cause values to be silently truncated if they do not fit in the default precision and scale. Explicitly specify the SQL server column type that can accommodate all the values in 'OnModelCreating' using 'HasColumnType()', specify precision and scale using 'HasPrecision()' or configure a value converter using 'HasConversion()'.
2022-02-14 22:35:52.755 +08:00 [WRN] No type was specified for the decimal property 'SafeQty' on entity type 'TA_PART'. This will cause values to be silently truncated if they do not fit in the default precision and scale. Explicitly specify the SQL server column type that can accommodate all the values in 'OnModelCreating' using 'HasColumnType()', specify precision and scale using 'HasPrecision()' or configure a value converter using 'HasConversion()'.
2022-02-14 22:35:52.755 +08:00 [WRN] No type was specified for the decimal property 'SamplePercent' on entity type 'TA_PART'. This will cause values to be silently truncated if they do not fit in the default precision and scale. Explicitly specify the SQL server column type that can accommodate all the values in 'OnModelCreating' using 'HasColumnType()', specify precision and scale using 'HasPrecision()' or configure a value converter using 'HasConversion()'.
2022-02-14 22:35:52.755 +08:00 [WRN] No type was specified for the decimal property 'SingleWeight' on entity type 'TA_PART'. This will cause values to be silently truncated if they do not fit in the default precision and scale. Explicitly specify the SQL server column type that can accommodate all the values in 'OnModelCreating' using 'HasColumnType()', specify precision and scale using 'HasPrecision()' or configure a value converter using 'HasConversion()'.
2022-02-14 22:35:52.755 +08:00 [WRN] No type was specified for the decimal property 'StockPackQty' on entity type 'TA_PART'. This will cause values to be silently truncated if they do not fit in the default precision and scale. Explicitly specify the SQL server column type that can accommodate all the values in 'OnModelCreating' using 'HasColumnType()', specify precision and scale using 'HasPrecision()' or configure a value converter using 'HasConversion()'.
2022-02-14 22:35:53.084 +08:00 [INF] Entity Framework Core 5.0.13 initialized 'WmsWebApiDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: QuerySplittingBehavior=SplitQuery
2022-02-14 22:35:55.659 +08:00 [INF] Executed DbCommand (176ms) [Parameters=[@__part_PartGroup_0='?' (Size = 50)], CommandType='"Text"', CommandTimeout='30']
SELECT TOP(1) [t].[UID], [t].[PARTGROUP], [t].[WERKS]
FROM [TM_PG_PARTGROUP] AS [t]
WHERE ([t].[WERKS] = N'1000') AND ([t].[PARTGROUP] = @__part_PartGroup_0)
2022-02-14 22:35:55.881 +08:00 [INF] Executed DbCommand (29ms) [Parameters=[@__taPart_PartCode_0='?' (Size = 50)], CommandType='"Text"', CommandTimeout='30']
SELECT TOP(1) [t].[UID], [t].[AbcClass], [t].[CertificateOfQuality], [t].[Configuration], [t].[ContainerQty], [t].[DefaultBackFlushLocCode], [t].[DefaultReceiveLocCode], [t].[DistributionType], [t].[DrawingNumber], [t].[ErpPartCode], [t].[InspectType], [t].[Inspecter], [t].[IsAskMerge], [t].[IsConsign], [t].[IsDeposit], [t].[IsNoInterface], [t].[IsTransfer], [t].[LabelTemplate], [t].[LinesidePackQty], [t].[ManageType], [t].[MaxQty], [t].[MinQty], [t].[PalletSize], [t].[PalletTemplate], [t].[PartCode], [t].[PartDesc1], [t].[PartDesc2], [t].[PartGroup], [t].[PartKind], [t].[PartType], [t].[Process], [t].[ProjectId], [t].[Promo], [t].[QLevel], [t].[ReceivePort], [t].[Remark], [t].[SafeQty], [t].[SamplePercent], [t].[SingleWeight], [t].[Source], [t].[State], [t].[StockPackQty], [t].[StoreKeeper], [t].[Unit], [t].[ValidityDays]
FROM [TA_PART] AS [t]
WHERE [t].[PartCode] = @__taPart_PartCode_0
2022-02-14 22:35:56.392 +08:00 [INF] Executed DbCommand (27ms) [Parameters=[@__taCustPart_CustId_0='?' (Size = 50), @__taCustPart_CustPartCode_1='?' (Size = 50)], CommandType='"Text"', CommandTimeout='30']
SELECT TOP(1) [t].[CustId], [t].[CustPartCode], [t].[CustPackQty], [t].[CustPalletCapacity], [t].[CustPalletQty], [t].[CustPalletSize], [t].[CustPartName], [t].[UID], [t].[PartCode], [t].[Remark], [t].[State]
FROM [TA_CUST_PART] AS [t]
WHERE ([t].[CustId] = @__taCustPart_CustId_0) AND ([t].[CustPartCode] = @__taCustPart_CustPartCode_1)
2022-02-14 22:36:01.363 +08:00 [INF] Executed action method WmsWebApi.Parts.PartService.AddAsync (WmsWebApi.Application), returned result Microsoft.AspNetCore.Mvc.ObjectResult in 10873.6585ms.
2022-02-14 22:36:01.979 +08:00 [INF] Executed DbCommand (31ms) [Parameters=[@p0='?' (Size = 50), @p1='?' (Size = 50), @p2='?' (Precision = 18) (Scale = 2) (DbType = Decimal), @p3='?' (Precision = 18) (Scale = 2) (DbType = Decimal), @p4='?' (DbType = Int32), @p5='?' (Size = 4000), @p6='?' (Size = 4000), @p7='?' (Size = 50), @p8='?' (Size = 4000)], CommandType='"Text"', CommandTimeout='30']
SET NOCOUNT ON;
INSERT INTO [TA_CUST_PART] ([CustId], [CustPartCode], [CustPackQty], [CustPalletCapacity], [CustPalletQty], [CustPalletSize], [CustPartName], [PartCode], [Remark])
VALUES (@p0, @p1, @p2, @p3, @p4, @p5, @p6, @p7, @p8);
SELECT [UID], [State]
FROM [TA_CUST_PART]
WHERE @@ROWCOUNT = 1 AND [CustId] = @p0 AND [CustPartCode] = @p1;
2022-02-14 22:36:02.074 +08:00 [INF] Executed DbCommand (31ms) [Parameters=[@p0='?' (Size = 4000), @p1='?' (Size = 4000), @p2='?' (Size = 4000), @p3='?' (Precision = 18) (Scale = 2) (DbType = Decimal), @p4='?' (Size = 4000), @p5='?' (Size = 4000), @p6='?' (DbType = Int32), @p7='?' (Size = 4000), @p8='?' (Size = 50), @p9='?' (DbType = Int32), @p10='?' (Size = 4000), @p11='?' (DbType = Boolean), @p12='?' (DbType = Boolean), @p13='?' (DbType = Boolean), @p14='?' (DbType = Boolean), @p15='?' (DbType = Boolean), @p16='?' (Size = 4000), @p17='?' (Precision = 18) (Scale = 2) (DbType = Decimal), @p18='?' (DbType = Int32), @p19='?' (Precision = 18) (Scale = 2) (DbType = Decimal), @p20='?' (Precision = 18) (Scale = 2) (DbType = Decimal), @p21='?' (Size = 4000), @p22='?' (Size = 4000), @p23='?' (Size = 50), @p24='?' (Size = 4000), @p25='?' (Size = 4000), @p26='?' (Size = 4000), @p27='?' (Size = 4000), @p28='?' (Size = 4000), @p29='?' (Size = 4000), @p30='?' (Size = 4000), @p31='?' (Size = 4000), @p32='?' (Size = 4000), @p33='?' (Size = 4000), @p34='?' (Size = 4000), @p35='?' (Precision = 18) (Scale = 2) (DbType = Decimal), @p36='?' (Precision = 18) (Scale = 2) (DbType = Decimal), @p37='?' (Precision = 18) (Scale = 2) (DbType = Decimal), @p38='?' (Size = 4000), @p39='?' (Size = 4000), @p40='?' (Precision = 18) (Scale = 2) (DbType = Decimal), @p41='?' (Size = 4000), @p42='?' (Size = 4000), @p43='?' (DbType = Int32)], CommandType='"Text"', CommandTimeout='30']
SET NOCOUNT ON;
INSERT INTO [TA_PART] ([AbcClass], [CertificateOfQuality], [Configuration], [ContainerQty], [DefaultBackFlushLocCode], [DefaultReceiveLocCode], [DistributionType], [DrawingNumber], [ErpPartCode], [InspectType], [Inspecter], [IsAskMerge], [IsConsign], [IsDeposit], [IsNoInterface], [IsTransfer], [LabelTemplate], [LinesidePackQty], [ManageType], [MaxQty], [MinQty], [PalletSize], [PalletTemplate], [PartCode], [PartDesc1], [PartDesc2], [PartGroup], [PartKind], [PartType], [Process], [ProjectId], [Promo], [QLevel], [ReceivePort], [Remark], [SafeQty], [SamplePercent], [SingleWeight], [Source], [State], [StockPackQty], [StoreKeeper], [Unit], [ValidityDays])
VALUES (@p0, @p1, @p2, @p3, @p4, @p5, @p6, @p7, @p8, @p9, @p10, @p11, @p12, @p13, @p14, @p15, @p16, @p17, @p18, @p19, @p20, @p21, @p22, @p23, @p24, @p25, @p26, @p27, @p28, @p29, @p30, @p31, @p32, @p33, @p34, @p35, @p36, @p37, @p38, @p39, @p40, @p41, @p42, @p43);
SELECT [UID]
FROM [TA_PART]
WHERE @@ROWCOUNT = 1 AND [UID] = scope_identity();
2022-02-14 22:36:02.177 +08:00 [ERR] Failed executing DbCommand (46ms) [Parameters=[@p0='?' (DbType = Guid), @p1='?' (Size = 40), @p2='?' (DbType = DateTime2), @p3='?' (DbType = Guid), @p4='?' (Size = 4000), @p5='?' (DbType = DateTime2), @p6='?' (Size = 4000), @p7='?' (Size = 4000), @p8='?' (Size = 4000), @p9='?' (Size = 4000), @p10='?' (Size = 4000), @p11='?' (Size = 4000), @p12='?' (Size = 4000), @p13='?' (Size = 50), @p14='?' (Size = 10), @p15='?' (Size = 4000), @p16='?' (Size = 4000), @p17='?' (Size = 4000), @p18='?' (Size = 4000), @p19='?' (Size = 4000)], CommandType='"Text"', CommandTimeout='30']
SET NOCOUNT ON;
INSERT INTO [WmsWebApiPARTDTO] ([Id], [ConcurrencyStamp], [CreationTime], [CreatorId], [DISGR], [DYSJ], [ExtraProperties], [GROES], [ITYPE], [JSON], [MAKTX], [MAKTX1], [MATKL], [MATNR], [MBRSH], [MEINS], [MTART], [VTWEG], [WERKS], [ZTEXT22])
VALUES (@p0, @p1, @p2, @p3, @p4, @p5, @p6, @p7, @p8, @p9, @p10, @p11, @p12, @p13, @p14, @p15, @p16, @p17, @p18, @p19);
2022-02-14 22:36:02.393 +08:00 [ERR] An exception occurred in the database while saving changes for context type 'WmsWebApi.EntityFrameworkCore.WmsWebApiDbContext'.
Microsoft.EntityFrameworkCore.DbUpdateException: An error occurred while updating the entries. See the inner exception for details.
---> Microsoft.Data.SqlClient.SqlException (0x80131904): 列名 'ConcurrencyStamp' 无效。
列名 'CreationTime' 无效。
列名 'CreatorId' 无效。
列名 'ExtraProperties' 无效。
at Microsoft.Data.SqlClient.SqlCommand.<>c.<ExecuteDbDataReaderAsync>b__169_0(Task`1 result)
at System.Threading.Tasks.ContinuationResultTaskFromResultTask`2.InnerInvoke()
at System.Threading.Tasks.Task.<>c.<.cctor>b__277_0(Object obj)
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
--- End of stack trace from previous location ---
at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread)
--- End of stack trace from previous location ---
at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReaderAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReaderAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.Update.ReaderModificationCommandBatch.ExecuteAsync(IRelationalConnection connection, CancellationToken cancellationToken)
ClientConnectionId:fc0fbe8f-519a-4c36-8de0-786930a0296e
Error Number:207,State:1,Class:16
--- End of inner exception stack trace ---
at Microsoft.EntityFrameworkCore.Update.ReaderModificationCommandBatch.ExecuteAsync(IRelationalConnection connection, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.Update.Internal.BatchExecutor.ExecuteAsync(IEnumerable`1 commandBatches, IRelationalConnection connection, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.Update.Internal.BatchExecutor.ExecuteAsync(IEnumerable`1 commandBatches, IRelationalConnection connection, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.Update.Internal.BatchExecutor.ExecuteAsync(IEnumerable`1 commandBatches, IRelationalConnection connection, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.SaveChangesAsync(IList`1 entriesToSave, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.SaveChangesAsync(DbContext _, Boolean acceptAllChangesOnSuccess, 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.DbContext.SaveChangesAsync(Boolean acceptAllChangesOnSuccess, CancellationToken cancellationToken)
Microsoft.EntityFrameworkCore.DbUpdateException: An error occurred while updating the entries. See the inner exception for details.
---> Microsoft.Data.SqlClient.SqlException (0x80131904): 列名 'ConcurrencyStamp' 无效。
列名 'CreationTime' 无效。
列名 'CreatorId' 无效。
列名 'ExtraProperties' 无效。
at Microsoft.Data.SqlClient.SqlCommand.<>c.<ExecuteDbDataReaderAsync>b__169_0(Task`1 result)
at System.Threading.Tasks.ContinuationResultTaskFromResultTask`2.InnerInvoke()
at System.Threading.Tasks.Task.<>c.<.cctor>b__277_0(Object obj)
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
--- End of stack trace from previous location ---
at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread)
--- End of stack trace from previous location ---
at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReaderAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReaderAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.Update.ReaderModificationCommandBatch.ExecuteAsync(IRelationalConnection connection, CancellationToken cancellationToken)
ClientConnectionId:fc0fbe8f-519a-4c36-8de0-786930a0296e
Error Number:207,State:1,Class:16
--- End of inner exception stack trace ---
at Microsoft.EntityFrameworkCore.Update.ReaderModificationCommandBatch.ExecuteAsync(IRelationalConnection connection, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.Update.Internal.BatchExecutor.ExecuteAsync(IEnumerable`1 commandBatches, IRelationalConnection connection, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.Update.Internal.BatchExecutor.ExecuteAsync(IEnumerable`1 commandBatches, IRelationalConnection connection, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.Update.Internal.BatchExecutor.ExecuteAsync(IEnumerable`1 commandBatches, IRelationalConnection connection, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.SaveChangesAsync(IList`1 entriesToSave, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.SaveChangesAsync(DbContext _, Boolean acceptAllChangesOnSuccess, 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.DbContext.SaveChangesAsync(Boolean acceptAllChangesOnSuccess, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.DbContext.SaveChangesAsync(Boolean acceptAllChangesOnSuccess, CancellationToken cancellationToken)
2022-02-14 22:36:02.734 +08:00 [ERR] ---------- RemoteServiceErrorInfo ----------
{
"code": null,
"message": "An internal error occurred during your request!",
"details": null,
"data": {},
"validationErrors": null
}
2022-02-14 22:36:02.737 +08:00 [ERR] An error occurred while updating the entries. See the inner exception for details.
Microsoft.EntityFrameworkCore.DbUpdateException: An error occurred while updating the entries. See the inner exception for details.
---> Microsoft.Data.SqlClient.SqlException (0x80131904): 列名 'ConcurrencyStamp' 无效。
列名 'CreationTime' 无效。
列名 'CreatorId' 无效。
列名 'ExtraProperties' 无效。
at Microsoft.Data.SqlClient.SqlCommand.<>c.<ExecuteDbDataReaderAsync>b__169_0(Task`1 result)
at System.Threading.Tasks.ContinuationResultTaskFromResultTask`2.InnerInvoke()
at System.Threading.Tasks.Task.<>c.<.cctor>b__277_0(Object obj)
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
--- End of stack trace from previous location ---
at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread)
--- End of stack trace from previous location ---
at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReaderAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReaderAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.Update.ReaderModificationCommandBatch.ExecuteAsync(IRelationalConnection connection, CancellationToken cancellationToken)
ClientConnectionId:fc0fbe8f-519a-4c36-8de0-786930a0296e
Error Number:207,State:1,Class:16
--- End of inner exception stack trace ---
at Microsoft.EntityFrameworkCore.Update.ReaderModificationCommandBatch.ExecuteAsync(IRelationalConnection connection, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.Update.Internal.BatchExecutor.ExecuteAsync(IEnumerable`1 commandBatches, IRelationalConnection connection, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.Update.Internal.BatchExecutor.ExecuteAsync(IEnumerable`1 commandBatches, IRelationalConnection connection, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.Update.Internal.BatchExecutor.ExecuteAsync(IEnumerable`1 commandBatches, IRelationalConnection connection, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.SaveChangesAsync(IList`1 entriesToSave, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.SaveChangesAsync(DbContext _, Boolean acceptAllChangesOnSuccess, 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.DbContext.SaveChangesAsync(Boolean acceptAllChangesOnSuccess, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.DbContext.SaveChangesAsync(Boolean acceptAllChangesOnSuccess, CancellationToken cancellationToken)
at Volo.Abp.EntityFrameworkCore.AbpDbContext`1.SaveChangesAsync(Boolean acceptAllChangesOnSuccess, CancellationToken cancellationToken)
at Volo.Abp.Uow.UnitOfWork.SaveChangesAsync(CancellationToken cancellationToken)
at Volo.Abp.Uow.UnitOfWork.CompleteAsync(CancellationToken cancellationToken)
at Volo.Abp.AspNetCore.Mvc.Uow.AbpUowActionFilter.OnActionExecutionAsync(ActionExecutingContext context, ActionExecutionDelegate next)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeNextActionFilterAsync>g__Awaited|10_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Rethrow(ActionExecutedContextSealed context)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeInnerFilterAsync>g__Awaited|13_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeNextExceptionFilterAsync>g__Awaited|25_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
2022-02-14 22:36:02.772 +08:00 [INF] Executing ObjectResult, writing value of type 'Volo.Abp.Http.RemoteServiceErrorResponse'.
2022-02-14 22:36:02.807 +08:00 [INF] Executed action WmsWebApi.Parts.PartService.AddAsync (WmsWebApi.Application) in 14508.0815ms
2022-02-14 22:36:02.809 +08:00 [INF] Executed endpoint 'WmsWebApi.Parts.PartService.AddAsync (WmsWebApi.Application)'
2022-02-14 22:36:03.556 +08:00 [INF] Entity Framework Core 5.0.13 initialized 'AbpAuditLoggingDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: QuerySplittingBehavior=SplitQuery
2022-02-14 22:36:03.956 +08:00 [ERR] Failed executing DbCommand (34ms) [Parameters=[@p0='?' (DbType = Guid), @p1='?' (Size = 96), @p2='?' (Size = 512), @p3='?' (Size = 64), @p4='?' (Size = 64), @p5='?' (Size = 128), @p6='?' (Size = 256), @p7='?' (Size = 40), @p8='?' (Size = 64), @p9='?' (Size = -1), @p10='?' (DbType = Int32), @p11='?' (DbType = DateTime2), @p12='?' (Size = 4000), @p13='?' (Size = 16), @p14='?' (DbType = Int32), @p15='?' (DbType = Guid), @p16='?' (DbType = Guid), @p17='?' (DbType = Guid), @p18='?' (Size = 4000), @p19='?' (Size = 256), @p20='?' (DbType = Guid), @p21='?' (Size = 256)], CommandType='"Text"', CommandTimeout='30']
SET NOCOUNT ON;
INSERT INTO [AbpAuditLogs] ([Id], [ApplicationName], [BrowserInfo], [ClientId], [ClientIpAddress], [ClientName], [Comments], [ConcurrencyStamp], [CorrelationId], [Exceptions], [ExecutionDuration], [ExecutionTime], [ExtraProperties], [HttpMethod], [HttpStatusCode], [ImpersonatorTenantId], [ImpersonatorUserId], [TenantId], [TenantName], [Url], [UserId], [UserName])
VALUES (@p0, @p1, @p2, @p3, @p4, @p5, @p6, @p7, @p8, @p9, @p10, @p11, @p12, @p13, @p14, @p15, @p16, @p17, @p18, @p19, @p20, @p21);
2022-02-14 22:36:04.009 +08:00 [ERR] An exception occurred in the database while saving changes for context type 'Volo.Abp.AuditLogging.EntityFrameworkCore.AbpAuditLoggingDbContext'.
Microsoft.EntityFrameworkCore.DbUpdateException: An error occurred while updating the entries. See the inner exception for details.
---> Microsoft.Data.SqlClient.SqlException (0x80131904): 将截断字符串或二进制数据。
语句已终止。
at Microsoft.Data.SqlClient.SqlCommand.<>c.<ExecuteDbDataReaderAsync>b__169_0(Task`1 result)
at System.Threading.Tasks.ContinuationResultTaskFromResultTask`2.InnerInvoke()
at System.Threading.Tasks.Task.<>c.<.cctor>b__277_0(Object obj)
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
--- End of stack trace from previous location ---
at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread)
--- End of stack trace from previous location ---
at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReaderAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReaderAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.Update.ReaderModificationCommandBatch.ExecuteAsync(IRelationalConnection connection, CancellationToken cancellationToken)
ClientConnectionId:85b4ae43-71c5-4775-8d52-f6ea10f07e3b
Error Number:8152,State:10,Class:16
--- End of inner exception stack trace ---
at Microsoft.EntityFrameworkCore.Update.ReaderModificationCommandBatch.ExecuteAsync(IRelationalConnection connection, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.Update.Internal.BatchExecutor.ExecuteAsync(IEnumerable`1 commandBatches, IRelationalConnection connection, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.Update.Internal.BatchExecutor.ExecuteAsync(IEnumerable`1 commandBatches, IRelationalConnection connection, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.Update.Internal.BatchExecutor.ExecuteAsync(IEnumerable`1 commandBatches, IRelationalConnection connection, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.SaveChangesAsync(IList`1 entriesToSave, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.SaveChangesAsync(DbContext _, Boolean acceptAllChangesOnSuccess, 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.DbContext.SaveChangesAsync(Boolean acceptAllChangesOnSuccess, CancellationToken cancellationToken)
Microsoft.EntityFrameworkCore.DbUpdateException: An error occurred while updating the entries. See the inner exception for details.
---> Microsoft.Data.SqlClient.SqlException (0x80131904): 将截断字符串或二进制数据。
语句已终止。
at Microsoft.Data.SqlClient.SqlCommand.<>c.<ExecuteDbDataReaderAsync>b__169_0(Task`1 result)
at System.Threading.Tasks.ContinuationResultTaskFromResultTask`2.InnerInvoke()
at System.Threading.Tasks.Task.<>c.<.cctor>b__277_0(Object obj)
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
--- End of stack trace from previous location ---
at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread)
--- End of stack trace from previous location ---
at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReaderAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReaderAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.Update.ReaderModificationCommandBatch.ExecuteAsync(IRelationalConnection connection, CancellationToken cancellationToken)
ClientConnectionId:85b4ae43-71c5-4775-8d52-f6ea10f07e3b
Error Number:8152,State:10,Class:16
--- End of inner exception stack trace ---
at Microsoft.EntityFrameworkCore.Update.ReaderModificationCommandBatch.ExecuteAsync(IRelationalConnection connection, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.Update.Internal.BatchExecutor.ExecuteAsync(IEnumerable`1 commandBatches, IRelationalConnection connection, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.Update.Internal.BatchExecutor.ExecuteAsync(IEnumerable`1 commandBatches, IRelationalConnection connection, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.Update.Internal.BatchExecutor.ExecuteAsync(IEnumerable`1 commandBatches, IRelationalConnection connection, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.SaveChangesAsync(IList`1 entriesToSave, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.SaveChangesAsync(DbContext _, Boolean acceptAllChangesOnSuccess, 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.DbContext.SaveChangesAsync(Boolean acceptAllChangesOnSuccess, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.DbContext.SaveChangesAsync(Boolean acceptAllChangesOnSuccess, CancellationToken cancellationToken)
at Volo.Abp.EntityFrameworkCore.AbpDbContext`1.SaveChangesAsync(Boolean acceptAllChangesOnSuccess, CancellationToken cancellationToken)
at Volo.Abp.Uow.UnitOfWork.SaveChangesAsync(CancellationToken cancellationToken)
at Volo.Abp.Uow.UnitOfWork.CompleteAsync(CancellationToken cancellationToken)
at Volo.Abp.AuditLogging.AuditingStore.SaveLogAsync(AuditLogInfo auditInfo)
2022-02-14 22:36:04.036 +08:00 [WRN] Could not save the audit log object:
AUDIT LOG: [500: POST ] /api/part/add
- UserName - UserId : -
- ClientIpAddress : ::1
- ExecutionDuration : 14572
- Actions:
- WmsWebApi.Parts.PartService.AddAsync (12127 ms.)
{"content":{"valueKind":1}}
- Exceptions:
- An error occurred while updating the entries. See the inner exception for details.
Microsoft.EntityFrameworkCore.DbUpdateException: An error occurred while updating the entries. See the inner exception for details.
---> Microsoft.Data.SqlClient.SqlException (0x80131904): 列名 'ConcurrencyStamp' 无效。
列名 'CreationTime' 无效。
列名 'CreatorId' 无效。
列名 'ExtraProperties' 无效。
at Microsoft.Data.SqlClient.SqlCommand.<>c.<ExecuteDbDataReaderAsync>b__169_0(Task`1 result)
at System.Threading.Tasks.ContinuationResultTaskFromResultTask`2.InnerInvoke()
at System.Threading.Tasks.Task.<>c.<.cctor>b__277_0(Object obj)
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
--- End of stack trace from previous location ---
at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread)
--- End of stack trace from previous location ---
at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReaderAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReaderAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.Update.ReaderModificationCommandBatch.ExecuteAsync(IRelationalConnection connection, CancellationToken cancellationToken)
ClientConnectionId:fc0fbe8f-519a-4c36-8de0-786930a0296e
Error Number:207,State:1,Class:16
--- End of inner exception stack trace ---
at Microsoft.EntityFrameworkCore.Update.ReaderModificationCommandBatch.ExecuteAsync(IRelationalConnection connection, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.Update.Internal.BatchExecutor.ExecuteAsync(IEnumerable`1 commandBatches, IRelationalConnection connection, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.Update.Internal.BatchExecutor.ExecuteAsync(IEnumerable`1 commandBatches, IRelationalConnection connection, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.Update.Internal.BatchExecutor.ExecuteAsync(IEnumerable`1 commandBatches, IRelationalConnection connection, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.SaveChangesAsync(IList`1 entriesToSave, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.SaveChangesAsync(DbContext _, Boolean acceptAllChangesOnSuccess, 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.DbContext.SaveChangesAsync(Boolean acceptAllChangesOnSuccess, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.DbContext.SaveChangesAsync(Boolean acceptAllChangesOnSuccess, CancellationToken cancellationToken)
at Volo.Abp.EntityFrameworkCore.AbpDbContext`1.SaveChangesAsync(Boolean acceptAllChangesOnSuccess, CancellationToken cancellationToken)
at Volo.Abp.Uow.UnitOfWork.SaveChangesAsync(CancellationToken cancellationToken)
at Volo.Abp.Uow.UnitOfWork.CompleteAsync(CancellationToken cancellationToken)
at Volo.Abp.AspNetCore.Mvc.Uow.AbpUowActionFilter.OnActionExecutionAsync(ActionExecutingContext context, ActionExecutionDelegate next)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeNextActionFilterAsync>g__Awaited|10_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Rethrow(ActionExecutedContextSealed context)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeInnerFilterAsync>g__Awaited|13_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeNextExceptionFilterAsync>g__Awaited|25_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
2022-02-14 22:36:04.036 +08:00 [ERR] An error occurred while updating the entries. See the inner exception for details.
Microsoft.EntityFrameworkCore.DbUpdateException: An error occurred while updating the entries. See the inner exception for details.
---> Microsoft.Data.SqlClient.SqlException (0x80131904): 将截断字符串或二进制数据。
语句已终止。
at Microsoft.Data.SqlClient.SqlCommand.<>c.<ExecuteDbDataReaderAsync>b__169_0(Task`1 result)
at System.Threading.Tasks.ContinuationResultTaskFromResultTask`2.InnerInvoke()
at System.Threading.Tasks.Task.<>c.<.cctor>b__277_0(Object obj)
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
--- End of stack trace from previous location ---
at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread)
--- End of stack trace from previous location ---
at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReaderAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReaderAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.Update.ReaderModificationCommandBatch.ExecuteAsync(IRelationalConnection connection, CancellationToken cancellationToken)
ClientConnectionId:85b4ae43-71c5-4775-8d52-f6ea10f07e3b
Error Number:8152,State:10,Class:16
--- End of inner exception stack trace ---
at Microsoft.EntityFrameworkCore.Update.ReaderModificationCommandBatch.ExecuteAsync(IRelationalConnection connection, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.Update.Internal.BatchExecutor.ExecuteAsync(IEnumerable`1 commandBatches, IRelationalConnection connection, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.Update.Internal.BatchExecutor.ExecuteAsync(IEnumerable`1 commandBatches, IRelationalConnection connection, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.Update.Internal.BatchExecutor.ExecuteAsync(IEnumerable`1 commandBatches, IRelationalConnection connection, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.SaveChangesAsync(IList`1 entriesToSave, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.SaveChangesAsync(DbContext _, Boolean acceptAllChangesOnSuccess, 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.DbContext.SaveChangesAsync(Boolean acceptAllChangesOnSuccess, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.DbContext.SaveChangesAsync(Boolean acceptAllChangesOnSuccess, CancellationToken cancellationToken)
at Volo.Abp.EntityFrameworkCore.AbpDbContext`1.SaveChangesAsync(Boolean acceptAllChangesOnSuccess, CancellationToken cancellationToken)
at Volo.Abp.Uow.UnitOfWork.SaveChangesAsync(CancellationToken cancellationToken)
at Volo.Abp.Uow.UnitOfWork.CompleteAsync(CancellationToken cancellationToken)
at Volo.Abp.AuditLogging.AuditingStore.SaveLogAsync(AuditLogInfo auditInfo)
at Volo.Abp.AuditLogging.AuditingStore.SaveAsync(AuditLogInfo auditInfo)
2022-02-14 22:36:04.041 +08:00 [INF] Request finished HTTP/2 POST https://localhost:5000/api/part/add application/json 2797 - 500 - application/json;+charset=utf-8 15817.1849ms
2022-02-14 22:43:01.468 +08:00 [INF] Starting web host.
2022-02-14 22:45:37.397 +08:00 [INF] Starting web host.
2022-02-14 22:45:46.353 +08:00 [INF] User profile is available. Using 'C:\Users\lvcj2\AppData\Local\ASP.NET\DataProtection-Keys' as key repository and Windows DPAPI to encrypt keys at rest.
2022-02-14 22:45:46.710 +08:00 [INF] Loaded ABP modules:
2022-02-14 22:45:46.710 +08:00 [INF] - WmsWebApi.WmsWebApiHttpApiHostModule
2022-02-14 22:45:46.710 +08:00 [INF] - WmsWebApi.WmsWebApiApplicationModule
2022-02-14 22:45:46.710 +08:00 [INF] - WmsWebApi.WmsWebApiDomainModule
2022-02-14 22:45:46.710 +08:00 [INF] - Volo.Abp.Domain.AbpDddDomainModule
2022-02-14 22:45:46.710 +08:00 [INF] - Volo.Abp.Auditing.AbpAuditingModule
2022-02-14 22:45:46.710 +08:00 [INF] - Volo.Abp.Data.AbpDataModule
2022-02-14 22:45:46.710 +08:00 [INF] - Volo.Abp.ObjectExtending.AbpObjectExtendingModule
2022-02-14 22:45:46.710 +08:00 [INF] - Volo.Abp.Localization.AbpLocalizationAbstractionsModule
2022-02-14 22:45:46.710 +08:00 [INF] - Volo.Abp.Validation.AbpValidationAbstractionsModule
2022-02-14 22:45:46.710 +08:00 [INF] - Volo.Abp.Uow.AbpUnitOfWorkModule
2022-02-14 22:45:46.710 +08:00 [INF] - Volo.Abp.EventBus.Abstractions.AbpEventBusAbstractionsModule
2022-02-14 22:45:46.710 +08:00 [INF] - Volo.Abp.Json.AbpJsonModule
2022-02-14 22:45:46.710 +08:00 [INF] - Volo.Abp.Timing.AbpTimingModule
2022-02-14 22:45:46.710 +08:00 [INF] - Volo.Abp.Localization.AbpLocalizationModule
2022-02-14 22:45:46.710 +08:00 [INF] - Volo.Abp.VirtualFileSystem.AbpVirtualFileSystemModule
2022-02-14 22:45:46.710 +08:00 [INF] - Volo.Abp.Settings.AbpSettingsModule
2022-02-14 22:45:46.710 +08:00 [INF] - Volo.Abp.Security.AbpSecurityModule
2022-02-14 22:45:46.711 +08:00 [INF] - Volo.Abp.MultiTenancy.AbpMultiTenancyModule
2022-02-14 22:45:46.711 +08:00 [INF] - Volo.Abp.Threading.AbpThreadingModule
2022-02-14 22:45:46.711 +08:00 [INF] - Volo.Abp.EventBus.AbpEventBusModule
2022-02-14 22:45:46.711 +08:00 [INF] - Volo.Abp.Guids.AbpGuidsModule
2022-02-14 22:45:46.711 +08:00 [INF] - Volo.Abp.ObjectMapping.AbpObjectMappingModule
2022-02-14 22:45:46.711 +08:00 [INF] - Volo.Abp.ExceptionHandling.AbpExceptionHandlingModule
2022-02-14 22:45:46.711 +08:00 [INF] - Volo.Abp.Specifications.AbpSpecificationsModule
2022-02-14 22:45:46.711 +08:00 [INF] - WmsWebApi.WmsWebApiDomainSharedModule
2022-02-14 22:45:46.711 +08:00 [INF] - Volo.Abp.Validation.AbpValidationModule
2022-02-14 22:45:46.711 +08:00 [INF] - WmsWebApi.WmsWebApiApplicationContractsModule
2022-02-14 22:45:46.711 +08:00 [INF] - Volo.Abp.Application.AbpDddApplicationContractsModule
2022-02-14 22:45:46.711 +08:00 [INF] - Volo.Abp.Authorization.AbpAuthorizationModule
2022-02-14 22:45:46.711 +08:00 [INF] - Volo.Abp.Authorization.AbpAuthorizationAbstractionsModule
2022-02-14 22:45:46.711 +08:00 [INF] - Volo.Abp.Application.AbpDddApplicationModule
2022-02-14 22:45:46.711 +08:00 [INF] - Volo.Abp.Http.AbpHttpAbstractionsModule
2022-02-14 22:45:46.711 +08:00 [INF] - Volo.Abp.Features.AbpFeaturesModule
2022-02-14 22:45:46.711 +08:00 [INF] - Volo.Abp.GlobalFeatures.AbpGlobalFeaturesModule
2022-02-14 22:45:46.711 +08:00 [INF] - Volo.Abp.AutoMapper.AbpAutoMapperModule
2022-02-14 22:45:46.711 +08:00 [INF] - WmsWebApi.EntityFrameworkCore.WmsWebApiEntityFrameworkCoreModule
2022-02-14 22:45:46.711 +08:00 [INF] - Volo.Abp.EntityFrameworkCore.AbpEntityFrameworkCoreModule
2022-02-14 22:45:46.711 +08:00 [INF] - WmsWebApi.WmsWebApiHttpApiModule
2022-02-14 22:45:46.711 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.AbpAspNetCoreMvcModule
2022-02-14 22:45:46.711 +08:00 [INF] - Volo.Abp.AspNetCore.AbpAspNetCoreModule
2022-02-14 22:45:46.711 +08:00 [INF] - Volo.Abp.Http.AbpHttpModule
2022-02-14 22:45:46.711 +08:00 [INF] - Volo.Abp.Minify.AbpMinifyModule
2022-02-14 22:45:46.711 +08:00 [INF] - Volo.Abp.ApiVersioning.AbpApiVersioningAbstractionsModule
2022-02-14 22:45:46.711 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.AbpAspNetCoreMvcContractsModule
2022-02-14 22:45:46.711 +08:00 [INF] - Volo.Abp.UI.Navigation.AbpUiNavigationModule
2022-02-14 22:45:46.711 +08:00 [INF] - Volo.Abp.UI.AbpUiModule
2022-02-14 22:45:46.711 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.UI.MultiTenancy.AbpAspNetCoreMvcUiMultiTenancyModule
2022-02-14 22:45:46.711 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.UI.Theme.Shared.AbpAspNetCoreMvcUiThemeSharedModule
2022-02-14 22:45:46.712 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.AbpAspNetCoreMvcUiBootstrapModule
2022-02-14 22:45:46.712 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.UI.AbpAspNetCoreMvcUiModule
2022-02-14 22:45:46.712 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.UI.Packages.AbpAspNetCoreMvcUiPackagesModule
2022-02-14 22:45:46.712 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.UI.Bundling.AbpAspNetCoreMvcUiBundlingAbstractionsModule
2022-02-14 22:45:46.712 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.UI.Widgets.AbpAspNetCoreMvcUiWidgetsModule
2022-02-14 22:45:46.712 +08:00 [INF] - Volo.Abp.AspNetCore.Mvc.UI.Bundling.AbpAspNetCoreMvcUiBundlingModule
2022-02-14 22:45:46.712 +08:00 [INF] - Volo.Abp.AspNetCore.MultiTenancy.AbpAspNetCoreMultiTenancyModule
2022-02-14 22:45:46.712 +08:00 [INF] - Volo.Abp.Autofac.AbpAutofacModule
2022-02-14 22:45:46.712 +08:00 [INF] - Volo.Abp.Castle.AbpCastleCoreModule
2022-02-14 22:45:46.712 +08:00 [INF] - Volo.Abp.Caching.StackExchangeRedis.AbpCachingStackExchangeRedisModule
2022-02-14 22:45:46.712 +08:00 [INF] - Volo.Abp.Caching.AbpCachingModule
2022-02-14 22:45:46.712 +08:00 [INF] - Volo.Abp.Serialization.AbpSerializationModule
2022-02-14 22:45:46.712 +08:00 [INF] - Volo.Abp.EntityFrameworkCore.SqlServer.AbpEntityFrameworkCoreSqlServerModule
2022-02-14 22:45:46.712 +08:00 [INF] - Volo.Abp.AuditLogging.EntityFrameworkCore.AbpAuditLoggingEntityFrameworkCoreModule
2022-02-14 22:45:46.712 +08:00 [INF] - Volo.Abp.AuditLogging.AbpAuditLoggingDomainModule
2022-02-14 22:45:46.712 +08:00 [INF] - Volo.Abp.AuditLogging.AbpAuditLoggingDomainSharedModule
2022-02-14 22:45:46.712 +08:00 [INF] - Volo.Abp.PermissionManagement.EntityFrameworkCore.AbpPermissionManagementEntityFrameworkCoreModule
2022-02-14 22:45:46.712 +08:00 [INF] - Volo.Abp.PermissionManagement.AbpPermissionManagementDomainModule
2022-02-14 22:45:46.712 +08:00 [INF] - Volo.Abp.PermissionManagement.AbpPermissionManagementDomainSharedModule
2022-02-14 22:45:46.712 +08:00 [INF] - Volo.Abp.SettingManagement.EntityFrameworkCore.AbpSettingManagementEntityFrameworkCoreModule
2022-02-14 22:45:46.712 +08:00 [INF] - Volo.Abp.SettingManagement.AbpSettingManagementDomainModule
2022-02-14 22:45:46.712 +08:00 [INF] - Volo.Abp.SettingManagement.AbpSettingManagementDomainSharedModule
2022-02-14 22:45:46.712 +08:00 [INF] - Volo.Abp.AspNetCore.Serilog.AbpAspNetCoreSerilogModule
2022-02-14 22:45:46.712 +08:00 [INF] - Volo.Abp.Swashbuckle.AbpSwashbuckleModule
2022-02-14 22:45:48.834 +08:00 [INF] Initialized all ABP modules.
2022-02-14 22:45:49.806 +08:00 [INF] Now listening on: https://localhost:5000
2022-02-14 22:45:49.806 +08:00 [INF] Application started. Press Ctrl+C to shut down.
2022-02-14 22:45:49.806 +08:00 [INF] Hosting environment: Development
2022-02-14 22:45:49.807 +08:00 [INF] Content root path: D:\工作\派格\接口程序\WmsWebApi\host\WmsWebApi.HttpApi.Host
2022-02-14 22:45:59.554 +08:00 [INF] Request starting HTTP/2 GET https://localhost:5000/ - -
2022-02-14 22:46:09.812 +08:00 [INF] Executing endpoint 'WmsWebApi.Controllers.HomeController.Index (WmsWebApi.HttpApi.Host)'
2022-02-14 22:46:10.052 +08:00 [INF] Route matched with {action = "Index", controller = "Home", area = "", page = ""}. Executing controller action with signature Microsoft.AspNetCore.Mvc.ActionResult Index() on controller WmsWebApi.Controllers.HomeController (WmsWebApi.HttpApi.Host).
2022-02-14 22:46:10.815 +08:00 [INF] Executing action method WmsWebApi.Controllers.HomeController.Index (WmsWebApi.HttpApi.Host) - Validation state: "Valid"
2022-02-14 22:46:10.833 +08:00 [INF] Executed action method WmsWebApi.Controllers.HomeController.Index (WmsWebApi.HttpApi.Host), returned result Microsoft.AspNetCore.Mvc.RedirectResult in 0.8504ms.
2022-02-14 22:46:10.850 +08:00 [INF] Executing RedirectResult, redirecting to /swagger.
2022-02-14 22:46:10.870 +08:00 [INF] Executed action WmsWebApi.Controllers.HomeController.Index (WmsWebApi.HttpApi.Host) in 800.5039ms
2022-02-14 22:46:10.870 +08:00 [INF] Executed endpoint 'WmsWebApi.Controllers.HomeController.Index (WmsWebApi.HttpApi.Host)'
2022-02-14 22:46:10.945 +08:00 [INF] Request finished HTTP/2 GET https://localhost:5000/ - - - 302 0 - 11395.7197ms
2022-02-14 22:46:11.033 +08:00 [INF] Request starting HTTP/2 GET https://localhost:5000/swagger/index.html - -
2022-02-14 22:46:12.033 +08:00 [INF] Request finished HTTP/2 GET https://localhost:5000/swagger/index.html - - - 200 - text/html;charset=utf-8 1000.8321ms
2022-02-14 22:46:12.095 +08:00 [INF] Request starting HTTP/2 GET https://localhost:5000/_framework/aspnetcore-browser-refresh.js - -
2022-02-14 22:46:12.103 +08:00 [INF] Request finished HTTP/2 GET https://localhost:5000/_framework/aspnetcore-browser-refresh.js - - - 200 11956 application/javascript;+charset=utf-8 7.9660ms
2022-02-14 22:46:14.329 +08:00 [INF] Request starting HTTP/2 GET https://localhost:5000/swagger/v1/swagger.json - -
2022-02-14 22:46:14.926 +08:00 [INF] Request finished HTTP/2 GET https://localhost:5000/swagger/v1/swagger.json - - - 200 - application/json;charset=utf-8 597.7188ms
2022-02-14 22:46:43.718 +08:00 [INF] Request starting HTTP/2 GET https://localhost:5000/abp/Swashbuckle/SetCsrfCookie application/json -
2022-02-14 22:46:43.754 +08:00 [INF] Executing endpoint 'Volo.Abp.Swashbuckle.AbpSwashbuckleController.SetCsrfCookie (Volo.Abp.Swashbuckle)'
2022-02-14 22:46:43.758 +08:00 [INF] Route matched with {area = "Abp", action = "SetCsrfCookie", controller = "AbpSwashbuckle", page = ""}. Executing controller action with signature Void SetCsrfCookie() on controller Volo.Abp.Swashbuckle.AbpSwashbuckleController (Volo.Abp.Swashbuckle).
2022-02-14 22:46:43.962 +08:00 [INF] Executing action method Volo.Abp.Swashbuckle.AbpSwashbuckleController.SetCsrfCookie (Volo.Abp.Swashbuckle) - Validation state: "Valid"
2022-02-14 22:46:43.988 +08:00 [INF] Executed action method Volo.Abp.Swashbuckle.AbpSwashbuckleController.SetCsrfCookie (Volo.Abp.Swashbuckle), returned result Microsoft.AspNetCore.Mvc.EmptyResult in 25.5726ms.
2022-02-14 22:46:43.988 +08:00 [INF] Executed action Volo.Abp.Swashbuckle.AbpSwashbuckleController.SetCsrfCookie (Volo.Abp.Swashbuckle) in 230.0526ms
2022-02-14 22:46:43.988 +08:00 [INF] Executed endpoint 'Volo.Abp.Swashbuckle.AbpSwashbuckleController.SetCsrfCookie (Volo.Abp.Swashbuckle)'
2022-02-14 22:46:43.989 +08:00 [INF] Request finished HTTP/2 GET https://localhost:5000/abp/Swashbuckle/SetCsrfCookie application/json - - 204 - - 271.7214ms
2022-02-14 22:46:44.215 +08:00 [INF] Request starting HTTP/2 POST https://localhost:5000/api/part/add application/json 2797
2022-02-14 22:46:44.250 +08:00 [INF] CORS policy execution failed.
2022-02-14 22:46:44.250 +08:00 [INF] Request origin https://localhost:5000 does not have permission to access the resource.
2022-02-14 22:46:44.260 +08:00 [INF] Executing endpoint 'WmsWebApi.Parts.PartService.AddAsync (WmsWebApi.Application)'
2022-02-14 22:46:44.337 +08:00 [INF] Route matched with {action = "Add", controller = "Part", area = "", page = ""}. Executing controller action with signature System.Threading.Tasks.Task`1[WmsWebApi.Parts.ReturnResult] AddAsync(System.Object) on controller WmsWebApi.Parts.PartService (WmsWebApi.Application).
2022-02-14 22:46:46.327 +08:00 [INF] Executing action method WmsWebApi.Parts.PartService.AddAsync (WmsWebApi.Application) - Validation state: "Valid"
2022-02-14 22:46:48.924 +08:00 [WRN] No type was specified for the decimal property 'CustPackQty' on entity type 'TA_CUST_PART'. This will cause values to be silently truncated if they do not fit in the default precision and scale. Explicitly specify the SQL server column type that can accommodate all the values in 'OnModelCreating' using 'HasColumnType()', specify precision and scale using 'HasPrecision()' or configure a value converter using 'HasConversion()'.
2022-02-14 22:46:48.924 +08:00 [WRN] No type was specified for the decimal property 'CustPalletCapacity' on entity type 'TA_CUST_PART'. This will cause values to be silently truncated if they do not fit in the default precision and scale. Explicitly specify the SQL server column type that can accommodate all the values in 'OnModelCreating' using 'HasColumnType()', specify precision and scale using 'HasPrecision()' or configure a value converter using 'HasConversion()'.
2022-02-14 22:46:48.924 +08:00 [WRN] No type was specified for the decimal property 'ContainerQty' on entity type 'TA_PART'. This will cause values to be silently truncated if they do not fit in the default precision and scale. Explicitly specify the SQL server column type that can accommodate all the values in 'OnModelCreating' using 'HasColumnType()', specify precision and scale using 'HasPrecision()' or configure a value converter using 'HasConversion()'.
2022-02-14 22:46:48.924 +08:00 [WRN] No type was specified for the decimal property 'LinesidePackQty' on entity type 'TA_PART'. This will cause values to be silently truncated if they do not fit in the default precision and scale. Explicitly specify the SQL server column type that can accommodate all the values in 'OnModelCreating' using 'HasColumnType()', specify precision and scale using 'HasPrecision()' or configure a value converter using 'HasConversion()'.
2022-02-14 22:46:48.925 +08:00 [WRN] No type was specified for the decimal property 'MaxQty' on entity type 'TA_PART'. This will cause values to be silently truncated if they do not fit in the default precision and scale. Explicitly specify the SQL server column type that can accommodate all the values in 'OnModelCreating' using 'HasColumnType()', specify precision and scale using 'HasPrecision()' or configure a value converter using 'HasConversion()'.
2022-02-14 22:46:48.925 +08:00 [WRN] No type was specified for the decimal property 'MinQty' on entity type 'TA_PART'. This will cause values to be silently truncated if they do not fit in the default precision and scale. Explicitly specify the SQL server column type that can accommodate all the values in 'OnModelCreating' using 'HasColumnType()', specify precision and scale using 'HasPrecision()' or configure a value converter using 'HasConversion()'.
2022-02-14 22:46:48.925 +08:00 [WRN] No type was specified for the decimal property 'SafeQty' on entity type 'TA_PART'. This will cause values to be silently truncated if they do not fit in the default precision and scale. Explicitly specify the SQL server column type that can accommodate all the values in 'OnModelCreating' using 'HasColumnType()', specify precision and scale using 'HasPrecision()' or configure a value converter using 'HasConversion()'.
2022-02-14 22:46:48.925 +08:00 [WRN] No type was specified for the decimal property 'SamplePercent' on entity type 'TA_PART'. This will cause values to be silently truncated if they do not fit in the default precision and scale. Explicitly specify the SQL server column type that can accommodate all the values in 'OnModelCreating' using 'HasColumnType()', specify precision and scale using 'HasPrecision()' or configure a value converter using 'HasConversion()'.
2022-02-14 22:46:48.925 +08:00 [WRN] No type was specified for the decimal property 'SingleWeight' on entity type 'TA_PART'. This will cause values to be silently truncated if they do not fit in the default precision and scale. Explicitly specify the SQL server column type that can accommodate all the values in 'OnModelCreating' using 'HasColumnType()', specify precision and scale using 'HasPrecision()' or configure a value converter using 'HasConversion()'.
2022-02-14 22:46:48.925 +08:00 [WRN] No type was specified for the decimal property 'StockPackQty' on entity type 'TA_PART'. This will cause values to be silently truncated if they do not fit in the default precision and scale. Explicitly specify the SQL server column type that can accommodate all the values in 'OnModelCreating' using 'HasColumnType()', specify precision and scale using 'HasPrecision()' or configure a value converter using 'HasConversion()'.
2022-02-14 22:46:49.524 +08:00 [INF] Entity Framework Core 5.0.13 initialized 'WmsWebApiDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: QuerySplittingBehavior=SplitQuery
2022-02-14 22:46:52.470 +08:00 [INF] Executed DbCommand (171ms) [Parameters=[@__part_PartGroup_0='?' (Size = 50)], CommandType='"Text"', CommandTimeout='30']
SELECT TOP(1) [t].[UID], [t].[PARTGROUP], [t].[WERKS]
FROM [TM_PG_PARTGROUP] AS [t]
WHERE ([t].[WERKS] = N'1000') AND ([t].[PARTGROUP] = @__part_PartGroup_0)
2022-02-14 22:46:52.699 +08:00 [INF] Executed DbCommand (34ms) [Parameters=[@__taPart_PartCode_0='?' (Size = 50)], CommandType='"Text"', CommandTimeout='30']
SELECT TOP(1) [t].[UID], [t].[AbcClass], [t].[CertificateOfQuality], [t].[Configuration], [t].[ContainerQty], [t].[DefaultBackFlushLocCode], [t].[DefaultReceiveLocCode], [t].[DistributionType], [t].[DrawingNumber], [t].[ErpPartCode], [t].[InspectType], [t].[Inspecter], [t].[IsAskMerge], [t].[IsConsign], [t].[IsDeposit], [t].[IsNoInterface], [t].[IsTransfer], [t].[LabelTemplate], [t].[LinesidePackQty], [t].[ManageType], [t].[MaxQty], [t].[MinQty], [t].[PalletSize], [t].[PalletTemplate], [t].[PartCode], [t].[PartDesc1], [t].[PartDesc2], [t].[PartGroup], [t].[PartKind], [t].[PartType], [t].[Process], [t].[ProjectId], [t].[Promo], [t].[QLevel], [t].[ReceivePort], [t].[Remark], [t].[SafeQty], [t].[SamplePercent], [t].[SingleWeight], [t].[Source], [t].[State], [t].[StockPackQty], [t].[StoreKeeper], [t].[Unit], [t].[ValidityDays]
FROM [TA_PART] AS [t]
WHERE [t].[PartCode] = @__taPart_PartCode_0
2022-02-14 22:46:53.222 +08:00 [INF] Executed DbCommand (29ms) [Parameters=[@__taCustPart_CustId_0='?' (Size = 50), @__taCustPart_CustPartCode_1='?' (Size = 50)], CommandType='"Text"', CommandTimeout='30']
SELECT TOP(1) [t].[CustId], [t].[CustPartCode], [t].[CustPackQty], [t].[CustPalletCapacity], [t].[CustPalletQty], [t].[CustPalletSize], [t].[CustPartName], [t].[UID], [t].[PartCode], [t].[Remark], [t].[State]
FROM [TA_CUST_PART] AS [t]
WHERE ([t].[CustId] = @__taCustPart_CustId_0) AND ([t].[CustPartCode] = @__taCustPart_CustPartCode_1)
2022-02-14 22:46:53.521 +08:00 [INF] Executed action method WmsWebApi.Parts.PartService.AddAsync (WmsWebApi.Application), returned result Microsoft.AspNetCore.Mvc.ObjectResult in 7193.4343ms.
2022-02-14 22:46:53.983 +08:00 [INF] Executed DbCommand (32ms) [Parameters=[@p0='?' (Size = 50), @p1='?' (Size = 50), @p2='?' (Precision = 18) (Scale = 2) (DbType = Decimal), @p3='?' (Precision = 18) (Scale = 2) (DbType = Decimal), @p4='?' (DbType = Int32), @p5='?' (Size = 4000), @p6='?' (Size = 4000), @p7='?' (Size = 50), @p8='?' (Size = 4000)], CommandType='"Text"', CommandTimeout='30']
SET NOCOUNT ON;
INSERT INTO [TA_CUST_PART] ([CustId], [CustPartCode], [CustPackQty], [CustPalletCapacity], [CustPalletQty], [CustPalletSize], [CustPartName], [PartCode], [Remark])
VALUES (@p0, @p1, @p2, @p3, @p4, @p5, @p6, @p7, @p8);
SELECT [UID], [State]
FROM [TA_CUST_PART]
WHERE @@ROWCOUNT = 1 AND [CustId] = @p0 AND [CustPartCode] = @p1;
2022-02-14 22:46:54.119 +08:00 [INF] Executed DbCommand (30ms) [Parameters=[@p0='?' (Size = 4000), @p1='?' (Size = 4000), @p2='?' (Size = 4000), @p3='?' (Precision = 18) (Scale = 2) (DbType = Decimal), @p4='?' (Size = 4000), @p5='?' (Size = 4000), @p6='?' (DbType = Int32), @p7='?' (Size = 4000), @p8='?' (Size = 50), @p9='?' (DbType = Int32), @p10='?' (Size = 4000), @p11='?' (DbType = Boolean), @p12='?' (DbType = Boolean), @p13='?' (DbType = Boolean), @p14='?' (DbType = Boolean), @p15='?' (DbType = Boolean), @p16='?' (Size = 4000), @p17='?' (Precision = 18) (Scale = 2) (DbType = Decimal), @p18='?' (DbType = Int32), @p19='?' (Precision = 18) (Scale = 2) (DbType = Decimal), @p20='?' (Precision = 18) (Scale = 2) (DbType = Decimal), @p21='?' (Size = 4000), @p22='?' (Size = 4000), @p23='?' (Size = 50), @p24='?' (Size = 4000), @p25='?' (Size = 4000), @p26='?' (Size = 4000), @p27='?' (Size = 4000), @p28='?' (Size = 4000), @p29='?' (Size = 4000), @p30='?' (Size = 4000), @p31='?' (Size = 4000), @p32='?' (Size = 4000), @p33='?' (Size = 4000), @p34='?' (Size = 4000), @p35='?' (Precision = 18) (Scale = 2) (DbType = Decimal), @p36='?' (Precision = 18) (Scale = 2) (DbType = Decimal), @p37='?' (Precision = 18) (Scale = 2) (DbType = Decimal), @p38='?' (Size = 4000), @p39='?' (Size = 4000), @p40='?' (Precision = 18) (Scale = 2) (DbType = Decimal), @p41='?' (Size = 4000), @p42='?' (Size = 4000), @p43='?' (DbType = Int32)], CommandType='"Text"', CommandTimeout='30']
SET NOCOUNT ON;
INSERT INTO [TA_PART] ([AbcClass], [CertificateOfQuality], [Configuration], [ContainerQty], [DefaultBackFlushLocCode], [DefaultReceiveLocCode], [DistributionType], [DrawingNumber], [ErpPartCode], [InspectType], [Inspecter], [IsAskMerge], [IsConsign], [IsDeposit], [IsNoInterface], [IsTransfer], [LabelTemplate], [LinesidePackQty], [ManageType], [MaxQty], [MinQty], [PalletSize], [PalletTemplate], [PartCode], [PartDesc1], [PartDesc2], [PartGroup], [PartKind], [PartType], [Process], [ProjectId], [Promo], [QLevel], [ReceivePort], [Remark], [SafeQty], [SamplePercent], [SingleWeight], [Source], [State], [StockPackQty], [StoreKeeper], [Unit], [ValidityDays])
VALUES (@p0, @p1, @p2, @p3, @p4, @p5, @p6, @p7, @p8, @p9, @p10, @p11, @p12, @p13, @p14, @p15, @p16, @p17, @p18, @p19, @p20, @p21, @p22, @p23, @p24, @p25, @p26, @p27, @p28, @p29, @p30, @p31, @p32, @p33, @p34, @p35, @p36, @p37, @p38, @p39, @p40, @p41, @p42, @p43);
SELECT [UID]
FROM [TA_PART]
WHERE @@ROWCOUNT = 1 AND [UID] = scope_identity();
2022-02-14 22:46:54.176 +08:00 [INF] Executed DbCommand (34ms) [Parameters=[@p0='?' (DbType = Guid), @p1='?' (Size = 4000), @p2='?' (DbType = DateTime2), @p3='?' (Size = 4000), @p4='?' (Size = 4000), @p5='?' (Size = 4000), @p6='?' (Size = 4000), @p7='?' (Size = 4000), @p8='?' (Size = 4000), @p9='?' (Size = 50), @p10='?' (Size = 10), @p11='?' (Size = 4000), @p12='?' (Size = 4000), @p13='?' (Size = 4000), @p14='?' (Size = 4000), @p15='?' (Size = 4000)], CommandType='"Text"', CommandTimeout='30']
SET NOCOUNT ON;
INSERT INTO [WmsWebApiPARTDTO] ([Id], [DISGR], [DYSJ], [GROES], [ITYPE], [JSON], [MAKTX], [MAKTX1], [MATKL], [MATNR], [MBRSH], [MEINS], [MTART], [VTWEG], [WERKS], [ZTEXT22])
VALUES (@p0, @p1, @p2, @p3, @p4, @p5, @p6, @p7, @p8, @p9, @p10, @p11, @p12, @p13, @p14, @p15);
2022-02-14 22:46:54.418 +08:00 [DBG] Added 0 entity changes to the current audit log
2022-02-14 22:46:54.419 +08:00 [DBG] Added 0 entity changes to the current audit log
2022-02-14 22:46:54.597 +08:00 [INF] Executing ObjectResult, writing value of type 'WmsWebApi.Parts.ReturnResult'.
2022-02-14 22:46:54.631 +08:00 [INF] Executed action WmsWebApi.Parts.PartService.AddAsync (WmsWebApi.Application) in 10293.8525ms
2022-02-14 22:46:54.633 +08:00 [INF] Executed endpoint 'WmsWebApi.Parts.PartService.AddAsync (WmsWebApi.Application)'
2022-02-14 22:46:55.546 +08:00 [INF] Entity Framework Core 5.0.13 initialized 'AbpAuditLoggingDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: QuerySplittingBehavior=SplitQuery
2022-02-14 22:46:56.128 +08:00 [INF] Executed DbCommand (28ms) [Parameters=[@p0='?' (DbType = Guid), @p1='?' (Size = 96), @p2='?' (Size = 512), @p3='?' (Size = 64), @p4='?' (Size = 64), @p5='?' (Size = 128), @p6='?' (Size = 256), @p7='?' (Size = 40), @p8='?' (Size = 64), @p9='?' (Size = 4000), @p10='?' (DbType = Int32), @p11='?' (DbType = DateTime2), @p12='?' (Size = 4000), @p13='?' (Size = 16), @p14='?' (DbType = Int32), @p15='?' (DbType = Guid), @p16='?' (DbType = Guid), @p17='?' (DbType = Guid), @p18='?' (Size = 4000), @p19='?' (Size = 256), @p20='?' (DbType = Guid), @p21='?' (Size = 256)], CommandType='"Text"', CommandTimeout='30']
SET NOCOUNT ON;
INSERT INTO [AbpAuditLogs] ([Id], [ApplicationName], [BrowserInfo], [ClientId], [ClientIpAddress], [ClientName], [Comments], [ConcurrencyStamp], [CorrelationId], [Exceptions], [ExecutionDuration], [ExecutionTime], [ExtraProperties], [HttpMethod], [HttpStatusCode], [ImpersonatorTenantId], [ImpersonatorUserId], [TenantId], [TenantName], [Url], [UserId], [UserName])
VALUES (@p0, @p1, @p2, @p3, @p4, @p5, @p6, @p7, @p8, @p9, @p10, @p11, @p12, @p13, @p14, @p15, @p16, @p17, @p18, @p19, @p20, @p21);
2022-02-14 22:46:56.157 +08:00 [INF] Executed DbCommand (27ms) [Parameters=[@p22='?' (DbType = Guid), @p23='?' (DbType = Guid), @p24='?' (DbType = Int32), @p25='?' (DbType = DateTime2), @p26='?' (Size = 4000), @p27='?' (Size = 128), @p28='?' (Size = 2000), @p29='?' (Size = 256), @p30='?' (DbType = Guid)], CommandType='"Text"', CommandTimeout='30']
SET NOCOUNT ON;
INSERT INTO [AbpAuditLogActions] ([Id], [AuditLogId], [ExecutionDuration], [ExecutionTime], [ExtraProperties], [MethodName], [Parameters], [ServiceName], [TenantId])
VALUES (@p22, @p23, @p24, @p25, @p26, @p27, @p28, @p29, @p30);
2022-02-14 22:46:56.371 +08:00 [DBG] Added 0 entity changes to the current audit log
2022-02-14 22:46:56.371 +08:00 [DBG] Added 0 entity changes to the current audit log
2022-02-14 22:46:56.379 +08:00 [INF] Request finished HTTP/2 POST https://localhost:5000/api/part/add application/json 2797 - 200 - application/json;+charset=utf-8 12164.3510ms
2022-02-14 22:52:34.035 +08:00 [INF] Request starting HTTP/2 POST https://localhost:5000/api/zlldcj/close application/json 848
2022-02-14 22:52:34.059 +08:00 [INF] CORS policy execution failed.
2022-02-14 22:52:34.059 +08:00 [INF] Request origin https://localhost:5000 does not have permission to access the resource.
2022-02-14 22:52:34.067 +08:00 [INF] Executing endpoint 'WmsWebApi.ZlldcjLogs.ZlldcjLogAppService.CloseAsync (WmsWebApi.Application)'
2022-02-14 22:52:34.077 +08:00 [INF] Route matched with {action = "Close", controller = "ZlldcjLog", area = "", page = ""}. Executing controller action with signature System.Threading.Tasks.Task`1[WmsWebApi.ZlldcjLogs.ReturnResult] CloseAsync(WmsWebApi.ZlldcjLogs.ZlldcjLogDto) on controller WmsWebApi.ZlldcjLogs.ZlldcjLogAppService (WmsWebApi.Application).
2022-02-14 22:52:35.496 +08:00 [INF] Executing action method WmsWebApi.ZlldcjLogs.ZlldcjLogAppService.CloseAsync (WmsWebApi.Application) - Validation state: "Valid"
2022-02-14 22:52:36.170 +08:00 [INF] Entity Framework Core 5.0.13 initialized 'WmsWebApiDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: QuerySplittingBehavior=SplitQuery
2022-02-14 22:52:36.277 +08:00 [INF] Executed DbCommand (26ms) [Parameters=[@__zlldcjLog_ZLLDJ_0='?' (Size = 64)], CommandType='"Text"', CommandTimeout='30']
SELECT TOP(1) [t].[UID], [t].[AccountDate], [t].[BillNum], [t].[BillTime], [t].[BillType], [t].[CustId], [t].[DetailQty], [t].[DockCode], [t].[FinishTime], [t].[GateCode], [t].[GateName], [t].[Guid], [t].[OperName], [t].[ProjectId], [t].[Remark], [t].[SourceBillNum], [t].[SourceBillNum2], [t].[SourceBillNum3], [t].[StartTime], [t].[State], [t].[SubBillType], [t].[TransportType], [t].[TruckNum], [t].[VendId]
FROM [TB_BILL] AS [t]
WHERE [t].[BillNum] = @__zlldcjLog_ZLLDJ_0
2022-02-14 22:52:36.542 +08:00 [INF] Executed DbCommand (29ms) [Parameters=[@__zlldcjLog_ZLLDJ_0='?' (Size = 50)], CommandType='"Text"', CommandTimeout='30']
SELECT [t].[BillNum], [t].[BillLineID], [t].[BUn], [t].[BarCode], [t].[BaseOrder], [t].[BaseOrderDesc], [t].[BillType], [t].[BillTypeDesc], [t].[ClaimLocation], [t].[CostCenter], [t].[CreatDate], [t].[Creator], [t].[GetOrBack], [t].[UID], [t].[IsClosed], [t].[MoveReason], [t].[MoveType], [t].[OrderReason], [t].[PartCode], [t].[PickLocation], [t].[PickPerson], [t].[PickedQty], [t].[Qty], [t].[RejecteLocation], [t].[RejecteQty], [t].[Remark], [t].[ToBarCode], [t].[ToPartCode]
FROM [TM_PG_OTHER_INOUT_ASK] AS [t]
WHERE [t].[BillNum] = @__zlldcjLog_ZLLDJ_0
2022-02-14 22:52:36.911 +08:00 [INF] Executed action method WmsWebApi.ZlldcjLogs.ZlldcjLogAppService.CloseAsync (WmsWebApi.Application), returned result Microsoft.AspNetCore.Mvc.ObjectResult in 1414.5682ms.
2022-02-14 22:52:37.092 +08:00 [INF] Executed DbCommand (26ms) [Parameters=[@p23='?' (DbType = Int32), @p0='?' (DbType = DateTime2), @p1='?' (Size = 64), @p2='?' (DbType = DateTime2), @p3='?' (DbType = Int32), @p4='?' (Size = 50), @p5='?' (DbType = Int32), @p6='?' (Size = 4000), @p7='?' (Size = 50), @p8='?' (Size = 50), @p9='?' (Size = 50), @p10='?' (DbType = Guid), @p11='?' (Size = 4000), @p12='?' (Size = 50), @p13='?' (Size = 4000), @p14='?' (Size = 4000), @p15='?' (Size = 4000), @p16='?' (Size = 4000), @p17='?' (Size = 50), @p18='?' (DbType = Int32), @p19='?' (DbType = Int32), @p20='?' (Size = 50), @p21='?' (Size = 50), @p22='?' (Size = 50)], CommandType='"Text"', CommandTimeout='30']
SET NOCOUNT ON;
UPDATE [TB_BILL] SET [AccountDate] = @p0, [BillNum] = @p1, [BillTime] = @p2, [BillType] = @p3, [CustId] = @p4, [DetailQty] = @p5, [DockCode] = @p6, [FinishTime] = @p7, [GateCode] = @p8, [GateName] = @p9, [Guid] = @p10, [OperName] = @p11, [ProjectId] = @p12, [Remark] = @p13, [SourceBillNum] = @p14, [SourceBillNum2] = @p15, [SourceBillNum3] = @p16, [StartTime] = @p17, [State] = @p18, [SubBillType] = @p19, [TransportType] = @p20, [TruckNum] = @p21, [VendId] = @p22
WHERE [UID] = @p23;
SELECT @@ROWCOUNT;
2022-02-14 22:52:37.168 +08:00 [ERR] Failed executing DbCommand (41ms) [Parameters=[@p26='?' (Size = 50), @p27='?' (Size = 50), @p0='?' (Size = 50), @p1='?' (Size = 50), @p2='?' (Size = 50), @p3='?' (Size = 50), @p4='?' (Size = 50), @p5='?' (Size = 50), @p6='?' (Size = 50), @p7='?' (Size = 50), @p8='?' (Size = 50), @p9='?' (Size = 50), @p10='?' (Size = 50), @p11='?' (DbType = Int32), @p12='?' (DbType = Boolean), @p13='?' (Size = 50), @p14='?' (Size = 50), @p15='?' (Size = 50), @p16='?' (Size = 50), @p17='?' (Size = 50), @p18='?' (Size = 50), @p19='?' (Precision = 18) (Scale = 6) (DbType = Decimal), @p20='?' (Precision = 18) (Scale = 6) (DbType = Decimal), @p21='?' (Size = 50), @p22='?' (DbType = Decimal), @p23='?' (Size = 200), @p24='?' (Size = 50), @p25='?' (Size = 50)], CommandType='"Text"', CommandTimeout='30']
SET NOCOUNT ON;
UPDATE [TM_PG_OTHER_INOUT_ASK] SET [BUn] = @p0, [BarCode] = @p1, [BaseOrder] = @p2, [BaseOrderDesc] = @p3, [BillType] = @p4, [BillTypeDesc] = @p5, [ClaimLocation] = @p6, [CostCenter] = @p7, [CreatDate] = @p8, [Creator] = @p9, [GetOrBack] = @p10, [UID] = @p11, [IsClosed] = @p12, [MoveReason] = @p13, [MoveType] = @p14, [OrderReason] = @p15, [PartCode] = @p16, [PickLocation] = @p17, [PickPerson] = @p18, [PickedQty] = @p19, [Qty] = @p20, [RejecteLocation] = @p21, [RejecteQty] = @p22, [Remark] = @p23, [ToBarCode] = @p24, [ToPartCode] = @p25
WHERE [BillLineID] = @p26 AND [BillNum] = @p27;
SELECT @@ROWCOUNT;
2022-02-14 22:52:37.376 +08:00 [ERR] An exception occurred in the database while saving changes for context type 'WmsWebApi.EntityFrameworkCore.WmsWebApiDbContext'.
Microsoft.EntityFrameworkCore.DbUpdateException: An error occurred while updating the entries. See the inner exception for details.
---> Microsoft.Data.SqlClient.SqlException (0x80131904): 无法更新标识列 'UID'。
at Microsoft.Data.SqlClient.SqlCommand.<>c.<ExecuteDbDataReaderAsync>b__169_0(Task`1 result)
at System.Threading.Tasks.ContinuationResultTaskFromResultTask`2.InnerInvoke()
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
--- End of stack trace from previous location ---
at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread)
--- End of stack trace from previous location ---
at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReaderAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReaderAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.Update.ReaderModificationCommandBatch.ExecuteAsync(IRelationalConnection connection, CancellationToken cancellationToken)
ClientConnectionId:70e5f8f6-1118-4d9b-8030-d47640d76072
Error Number:8102,State:1,Class:16
--- End of inner exception stack trace ---
at Microsoft.EntityFrameworkCore.Update.ReaderModificationCommandBatch.ExecuteAsync(IRelationalConnection connection, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.Update.Internal.BatchExecutor.ExecuteAsync(IEnumerable`1 commandBatches, IRelationalConnection connection, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.Update.Internal.BatchExecutor.ExecuteAsync(IEnumerable`1 commandBatches, IRelationalConnection connection, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.Update.Internal.BatchExecutor.ExecuteAsync(IEnumerable`1 commandBatches, IRelationalConnection connection, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.SaveChangesAsync(IList`1 entriesToSave, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.SaveChangesAsync(DbContext _, Boolean acceptAllChangesOnSuccess, 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.DbContext.SaveChangesAsync(Boolean acceptAllChangesOnSuccess, CancellationToken cancellationToken)
Microsoft.EntityFrameworkCore.DbUpdateException: An error occurred while updating the entries. See the inner exception for details.
---> Microsoft.Data.SqlClient.SqlException (0x80131904): 无法更新标识列 'UID'。
at Microsoft.Data.SqlClient.SqlCommand.<>c.<ExecuteDbDataReaderAsync>b__169_0(Task`1 result)
at System.Threading.Tasks.ContinuationResultTaskFromResultTask`2.InnerInvoke()
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
--- End of stack trace from previous location ---
at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread)
--- End of stack trace from previous location ---
at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReaderAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReaderAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.Update.ReaderModificationCommandBatch.ExecuteAsync(IRelationalConnection connection, CancellationToken cancellationToken)
ClientConnectionId:70e5f8f6-1118-4d9b-8030-d47640d76072
Error Number:8102,State:1,Class:16
--- End of inner exception stack trace ---
at Microsoft.EntityFrameworkCore.Update.ReaderModificationCommandBatch.ExecuteAsync(IRelationalConnection connection, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.Update.Internal.BatchExecutor.ExecuteAsync(IEnumerable`1 commandBatches, IRelationalConnection connection, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.Update.Internal.BatchExecutor.ExecuteAsync(IEnumerable`1 commandBatches, IRelationalConnection connection, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.Update.Internal.BatchExecutor.ExecuteAsync(IEnumerable`1 commandBatches, IRelationalConnection connection, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.SaveChangesAsync(IList`1 entriesToSave, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.SaveChangesAsync(DbContext _, Boolean acceptAllChangesOnSuccess, 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.DbContext.SaveChangesAsync(Boolean acceptAllChangesOnSuccess, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.DbContext.SaveChangesAsync(Boolean acceptAllChangesOnSuccess, CancellationToken cancellationToken)
at Volo.Abp.EntityFrameworkCore.AbpDbContext`1.SaveChangesAsync(Boolean acceptAllChangesOnSuccess, CancellationToken cancellationToken)
at Volo.Abp.Uow.UnitOfWork.SaveChangesAsync(CancellationToken cancellationToken)
at Volo.Abp.Uow.UnitOfWork.CompleteAsync(CancellationToken cancellationToken)
at Volo.Abp.AspNetCore.Mvc.Uow.AbpUowActionFilter.OnActionExecutionAsync(ActionExecutingContext context, ActionExecutionDelegate next)
2022-02-14 22:52:37.537 +08:00 [ERR] ---------- RemoteServiceErrorInfo ----------
{
"code": null,
"message": "An internal error occurred during your request!",
"details": null,
"data": {},
"validationErrors": null
}
2022-02-14 22:52:37.538 +08:00 [ERR] An error occurred while updating the entries. See the inner exception for details.
Microsoft.EntityFrameworkCore.DbUpdateException: An error occurred while updating the entries. See the inner exception for details.
---> Microsoft.Data.SqlClient.SqlException (0x80131904): 无法更新标识列 'UID'。
at Microsoft.Data.SqlClient.SqlCommand.<>c.<ExecuteDbDataReaderAsync>b__169_0(Task`1 result)
at System.Threading.Tasks.ContinuationResultTaskFromResultTask`2.InnerInvoke()
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
--- End of stack trace from previous location ---
at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread)
--- End of stack trace from previous location ---
at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReaderAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReaderAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.Update.ReaderModificationCommandBatch.ExecuteAsync(IRelationalConnection connection, CancellationToken cancellationToken)
ClientConnectionId:70e5f8f6-1118-4d9b-8030-d47640d76072
Error Number:8102,State:1,Class:16
--- End of inner exception stack trace ---
at Microsoft.EntityFrameworkCore.Update.ReaderModificationCommandBatch.ExecuteAsync(IRelationalConnection connection, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.Update.Internal.BatchExecutor.ExecuteAsync(IEnumerable`1 commandBatches, IRelationalConnection connection, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.Update.Internal.BatchExecutor.ExecuteAsync(IEnumerable`1 commandBatches, IRelationalConnection connection, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.Update.Internal.BatchExecutor.ExecuteAsync(IEnumerable`1 commandBatches, IRelationalConnection connection, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.SaveChangesAsync(IList`1 entriesToSave, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.SaveChangesAsync(DbContext _, Boolean acceptAllChangesOnSuccess, 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.DbContext.SaveChangesAsync(Boolean acceptAllChangesOnSuccess, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.DbContext.SaveChangesAsync(Boolean acceptAllChangesOnSuccess, CancellationToken cancellationToken)
at Volo.Abp.EntityFrameworkCore.AbpDbContext`1.SaveChangesAsync(Boolean acceptAllChangesOnSuccess, CancellationToken cancellationToken)
at Volo.Abp.Uow.UnitOfWork.SaveChangesAsync(CancellationToken cancellationToken)
at Volo.Abp.Uow.UnitOfWork.CompleteAsync(CancellationToken cancellationToken)
at Volo.Abp.AspNetCore.Mvc.Uow.AbpUowActionFilter.OnActionExecutionAsync(ActionExecutingContext context, ActionExecutionDelegate next)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeNextActionFilterAsync>g__Awaited|10_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Rethrow(ActionExecutedContextSealed context)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeInnerFilterAsync>g__Awaited|13_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeNextExceptionFilterAsync>g__Awaited|25_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
2022-02-14 22:52:37.558 +08:00 [INF] Executing ObjectResult, writing value of type 'Volo.Abp.Http.RemoteServiceErrorResponse'.
2022-02-14 22:52:37.565 +08:00 [INF] Executed action WmsWebApi.ZlldcjLogs.ZlldcjLogAppService.CloseAsync (WmsWebApi.Application) in 3488.6238ms
2022-02-14 22:52:37.566 +08:00 [INF] Executed endpoint 'WmsWebApi.ZlldcjLogs.ZlldcjLogAppService.CloseAsync (WmsWebApi.Application)'
2022-02-14 22:52:37.601 +08:00 [INF] Entity Framework Core 5.0.13 initialized 'AbpAuditLoggingDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: QuerySplittingBehavior=SplitQuery
2022-02-14 22:52:37.670 +08:00 [ERR] Failed executing DbCommand (35ms) [Parameters=[@p0='?' (DbType = Guid), @p1='?' (Size = 96), @p2='?' (Size = 512), @p3='?' (Size = 64), @p4='?' (Size = 64), @p5='?' (Size = 128), @p6='?' (Size = 256), @p7='?' (Size = 40), @p8='?' (Size = 64), @p9='?' (Size = -1), @p10='?' (DbType = Int32), @p11='?' (DbType = DateTime2), @p12='?' (Size = 4000), @p13='?' (Size = 16), @p14='?' (DbType = Int32), @p15='?' (DbType = Guid), @p16='?' (DbType = Guid), @p17='?' (DbType = Guid), @p18='?' (Size = 4000), @p19='?' (Size = 256), @p20='?' (DbType = Guid), @p21='?' (Size = 256)], CommandType='"Text"', CommandTimeout='30']
SET NOCOUNT ON;
INSERT INTO [AbpAuditLogs] ([Id], [ApplicationName], [BrowserInfo], [ClientId], [ClientIpAddress], [ClientName], [Comments], [ConcurrencyStamp], [CorrelationId], [Exceptions], [ExecutionDuration], [ExecutionTime], [ExtraProperties], [HttpMethod], [HttpStatusCode], [ImpersonatorTenantId], [ImpersonatorUserId], [TenantId], [TenantName], [Url], [UserId], [UserName])
VALUES (@p0, @p1, @p2, @p3, @p4, @p5, @p6, @p7, @p8, @p9, @p10, @p11, @p12, @p13, @p14, @p15, @p16, @p17, @p18, @p19, @p20, @p21);
2022-02-14 22:52:37.703 +08:00 [ERR] An exception occurred in the database while saving changes for context type 'Volo.Abp.AuditLogging.EntityFrameworkCore.AbpAuditLoggingDbContext'.
Microsoft.EntityFrameworkCore.DbUpdateException: An error occurred while updating the entries. See the inner exception for details.
---> Microsoft.Data.SqlClient.SqlException (0x80131904): 将截断字符串或二进制数据。
语句已终止。
at Microsoft.Data.SqlClient.SqlCommand.<>c.<ExecuteDbDataReaderAsync>b__169_0(Task`1 result)
at System.Threading.Tasks.ContinuationResultTaskFromResultTask`2.InnerInvoke()
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
--- End of stack trace from previous location ---
at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread)
--- End of stack trace from previous location ---
at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReaderAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReaderAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.Update.ReaderModificationCommandBatch.ExecuteAsync(IRelationalConnection connection, CancellationToken cancellationToken)
ClientConnectionId:aa1fd46c-db76-42de-a056-4b26bf293899
Error Number:8152,State:10,Class:16
--- End of inner exception stack trace ---
at Microsoft.EntityFrameworkCore.Update.ReaderModificationCommandBatch.ExecuteAsync(IRelationalConnection connection, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.Update.Internal.BatchExecutor.ExecuteAsync(IEnumerable`1 commandBatches, IRelationalConnection connection, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.Update.Internal.BatchExecutor.ExecuteAsync(IEnumerable`1 commandBatches, IRelationalConnection connection, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.Update.Internal.BatchExecutor.ExecuteAsync(IEnumerable`1 commandBatches, IRelationalConnection connection, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.SaveChangesAsync(IList`1 entriesToSave, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.SaveChangesAsync(DbContext _, Boolean acceptAllChangesOnSuccess, 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.DbContext.SaveChangesAsync(Boolean acceptAllChangesOnSuccess, CancellationToken cancellationToken)
Microsoft.EntityFrameworkCore.DbUpdateException: An error occurred while updating the entries. See the inner exception for details.
---> Microsoft.Data.SqlClient.SqlException (0x80131904): 将截断字符串或二进制数据。
语句已终止。
at Microsoft.Data.SqlClient.SqlCommand.<>c.<ExecuteDbDataReaderAsync>b__169_0(Task`1 result)
at System.Threading.Tasks.ContinuationResultTaskFromResultTask`2.InnerInvoke()
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
--- End of stack trace from previous location ---
at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread)
--- End of stack trace from previous location ---
at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReaderAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReaderAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.Update.ReaderModificationCommandBatch.ExecuteAsync(IRelationalConnection connection, CancellationToken cancellationToken)
ClientConnectionId:aa1fd46c-db76-42de-a056-4b26bf293899
Error Number:8152,State:10,Class:16
--- End of inner exception stack trace ---
at Microsoft.EntityFrameworkCore.Update.ReaderModificationCommandBatch.ExecuteAsync(IRelationalConnection connection, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.Update.Internal.BatchExecutor.ExecuteAsync(IEnumerable`1 commandBatches, IRelationalConnection connection, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.Update.Internal.BatchExecutor.ExecuteAsync(IEnumerable`1 commandBatches, IRelationalConnection connection, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.Update.Internal.BatchExecutor.ExecuteAsync(IEnumerable`1 commandBatches, IRelationalConnection connection, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.SaveChangesAsync(IList`1 entriesToSave, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.SaveChangesAsync(DbContext _, Boolean acceptAllChangesOnSuccess, 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.DbContext.SaveChangesAsync(Boolean acceptAllChangesOnSuccess, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.DbContext.SaveChangesAsync(Boolean acceptAllChangesOnSuccess, CancellationToken cancellationToken)
at Volo.Abp.EntityFrameworkCore.AbpDbContext`1.SaveChangesAsync(Boolean acceptAllChangesOnSuccess, CancellationToken cancellationToken)
at Volo.Abp.Uow.UnitOfWork.SaveChangesAsync(CancellationToken cancellationToken)
at Volo.Abp.Uow.UnitOfWork.CompleteAsync(CancellationToken cancellationToken)
at Volo.Abp.AuditLogging.AuditingStore.SaveLogAsync(AuditLogInfo auditInfo)
2022-02-14 22:52:37.717 +08:00 [WRN] Could not save the audit log object:
AUDIT LOG: [500: POST ] /api/zlldcj/close
- UserName - UserId : -
- ClientIpAddress : ::1
- ExecutionDuration : 3499
- Actions:
- WmsWebApi.ZlldcjLogs.ZlldcjLogAppService.CloseAsync (2003 ms.)
{"dto":{"zlldj":"2000124670","zllitem":1,"zdjlx":"20","zltlx":"2","matnr":"000000000030048287","bdmng":1.000,"meins":"ST","bknum":0.0,"enmng":0.0,"werks":"1000","lgorT1":"","lgorT2":"1010","lgorT3":"","kostl":"","aufnr":"","bwart":"311","grund":"0000","zllr":"珍珍","kzear":"","rsnum":"0000000000","rspos":"0000","ernam":"HAND","erdat":"2022-02-14","erzet":"15:33:11","aenam":"","aedat":"0000-00-00","aezet":"00:00:00","zbzsm":"","anlN1":"","vbeln":"","posnr":"000000"}}
- Exceptions:
- An error occurred while updating the entries. See the inner exception for details.
Microsoft.EntityFrameworkCore.DbUpdateException: An error occurred while updating the entries. See the inner exception for details.
---> Microsoft.Data.SqlClient.SqlException (0x80131904): 无法更新标识列 'UID'。
at Microsoft.Data.SqlClient.SqlCommand.<>c.<ExecuteDbDataReaderAsync>b__169_0(Task`1 result)
at System.Threading.Tasks.ContinuationResultTaskFromResultTask`2.InnerInvoke()
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
--- End of stack trace from previous location ---
at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread)
--- End of stack trace from previous location ---
at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReaderAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReaderAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.Update.ReaderModificationCommandBatch.ExecuteAsync(IRelationalConnection connection, CancellationToken cancellationToken)
ClientConnectionId:70e5f8f6-1118-4d9b-8030-d47640d76072
Error Number:8102,State:1,Class:16
--- End of inner exception stack trace ---
at Microsoft.EntityFrameworkCore.Update.ReaderModificationCommandBatch.ExecuteAsync(IRelationalConnection connection, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.Update.Internal.BatchExecutor.ExecuteAsync(IEnumerable`1 commandBatches, IRelationalConnection connection, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.Update.Internal.BatchExecutor.ExecuteAsync(IEnumerable`1 commandBatches, IRelationalConnection connection, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.Update.Internal.BatchExecutor.ExecuteAsync(IEnumerable`1 commandBatches, IRelationalConnection connection, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.SaveChangesAsync(IList`1 entriesToSave, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.SaveChangesAsync(DbContext _, Boolean acceptAllChangesOnSuccess, 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.DbContext.SaveChangesAsync(Boolean acceptAllChangesOnSuccess, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.DbContext.SaveChangesAsync(Boolean acceptAllChangesOnSuccess, CancellationToken cancellationToken)
at Volo.Abp.EntityFrameworkCore.AbpDbContext`1.SaveChangesAsync(Boolean acceptAllChangesOnSuccess, CancellationToken cancellationToken)
at Volo.Abp.Uow.UnitOfWork.SaveChangesAsync(CancellationToken cancellationToken)
at Volo.Abp.Uow.UnitOfWork.CompleteAsync(CancellationToken cancellationToken)
at Volo.Abp.AspNetCore.Mvc.Uow.AbpUowActionFilter.OnActionExecutionAsync(ActionExecutingContext context, ActionExecutionDelegate next)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeNextActionFilterAsync>g__Awaited|10_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Rethrow(ActionExecutedContextSealed context)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeInnerFilterAsync>g__Awaited|13_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeNextExceptionFilterAsync>g__Awaited|25_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
2022-02-14 22:52:37.717 +08:00 [ERR] An error occurred while updating the entries. See the inner exception for details.
Microsoft.EntityFrameworkCore.DbUpdateException: An error occurred while updating the entries. See the inner exception for details.
---> Microsoft.Data.SqlClient.SqlException (0x80131904): 将截断字符串或二进制数据。
语句已终止。
at Microsoft.Data.SqlClient.SqlCommand.<>c.<ExecuteDbDataReaderAsync>b__169_0(Task`1 result)
at System.Threading.Tasks.ContinuationResultTaskFromResultTask`2.InnerInvoke()
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
--- End of stack trace from previous location ---
at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread)
--- End of stack trace from previous location ---
at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReaderAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReaderAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.Update.ReaderModificationCommandBatch.ExecuteAsync(IRelationalConnection connection, CancellationToken cancellationToken)
ClientConnectionId:aa1fd46c-db76-42de-a056-4b26bf293899
Error Number:8152,State:10,Class:16
--- End of inner exception stack trace ---
at Microsoft.EntityFrameworkCore.Update.ReaderModificationCommandBatch.ExecuteAsync(IRelationalConnection connection, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.Update.Internal.BatchExecutor.ExecuteAsync(IEnumerable`1 commandBatches, IRelationalConnection connection, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.Update.Internal.BatchExecutor.ExecuteAsync(IEnumerable`1 commandBatches, IRelationalConnection connection, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.Update.Internal.BatchExecutor.ExecuteAsync(IEnumerable`1 commandBatches, IRelationalConnection connection, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.SaveChangesAsync(IList`1 entriesToSave, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.SaveChangesAsync(DbContext _, Boolean acceptAllChangesOnSuccess, 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.DbContext.SaveChangesAsync(Boolean acceptAllChangesOnSuccess, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.DbContext.SaveChangesAsync(Boolean acceptAllChangesOnSuccess, CancellationToken cancellationToken)
at Volo.Abp.EntityFrameworkCore.AbpDbContext`1.SaveChangesAsync(Boolean acceptAllChangesOnSuccess, CancellationToken cancellationToken)
at Volo.Abp.Uow.UnitOfWork.SaveChangesAsync(CancellationToken cancellationToken)
at Volo.Abp.Uow.UnitOfWork.CompleteAsync(CancellationToken cancellationToken)
at Volo.Abp.AuditLogging.AuditingStore.SaveLogAsync(AuditLogInfo auditInfo)
at Volo.Abp.AuditLogging.AuditingStore.SaveAsync(AuditLogInfo auditInfo)
2022-02-14 22:52:37.718 +08:00 [INF] Request finished HTTP/2 POST https://localhost:5000/api/zlldcj/close application/json 848 - 500 - application/json;+charset=utf-8 3683.3877ms
2022-02-14 22:53:57.244 +08:00 [INF] Request starting HTTP/2 POST https://localhost:5000/api/zlldcj/close application/json 848
2022-02-14 22:53:57.249 +08:00 [INF] CORS policy execution failed.
2022-02-14 22:53:57.249 +08:00 [INF] Request origin https://localhost:5000 does not have permission to access the resource.
2022-02-14 22:53:57.278 +08:00 [INF] Executing endpoint 'WmsWebApi.ZlldcjLogs.ZlldcjLogAppService.CloseAsync (WmsWebApi.Application)'
2022-02-14 22:53:57.282 +08:00 [INF] Route matched with {action = "Close", controller = "ZlldcjLog", area = "", page = ""}. Executing controller action with signature System.Threading.Tasks.Task`1[WmsWebApi.ZlldcjLogs.ReturnResult] CloseAsync(WmsWebApi.ZlldcjLogs.ZlldcjLogDto) on controller WmsWebApi.ZlldcjLogs.ZlldcjLogAppService (WmsWebApi.Application).
2022-02-14 22:53:57.530 +08:00 [INF] Executing action method WmsWebApi.ZlldcjLogs.ZlldcjLogAppService.CloseAsync (WmsWebApi.Application) - Validation state: "Valid"
2022-02-14 22:54:02.475 +08:00 [INF] Entity Framework Core 5.0.13 initialized 'WmsWebApiDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: QuerySplittingBehavior=SplitQuery
2022-02-14 22:54:02.578 +08:00 [INF] Executed DbCommand (63ms) [Parameters=[@__zlldcjLog_ZLLDJ_0='?' (Size = 64)], CommandType='"Text"', CommandTimeout='30']
SELECT TOP(1) [t].[UID], [t].[AccountDate], [t].[BillNum], [t].[BillTime], [t].[BillType], [t].[CustId], [t].[DetailQty], [t].[DockCode], [t].[FinishTime], [t].[GateCode], [t].[GateName], [t].[Guid], [t].[OperName], [t].[ProjectId], [t].[Remark], [t].[SourceBillNum], [t].[SourceBillNum2], [t].[SourceBillNum3], [t].[StartTime], [t].[State], [t].[SubBillType], [t].[TransportType], [t].[TruckNum], [t].[VendId]
FROM [TB_BILL] AS [t]
WHERE [t].[BillNum] = @__zlldcjLog_ZLLDJ_0
2022-02-14 22:54:43.748 +08:00 [INF] Executed DbCommand (26ms) [Parameters=[@__zlldcjLog_ZLLDJ_0='?' (Size = 50)], CommandType='"Text"', CommandTimeout='30']
SELECT [t].[BillNum], [t].[BillLineID], [t].[BUn], [t].[BarCode], [t].[BaseOrder], [t].[BaseOrderDesc], [t].[BillType], [t].[BillTypeDesc], [t].[ClaimLocation], [t].[CostCenter], [t].[CreatDate], [t].[Creator], [t].[GetOrBack], [t].[UID], [t].[IsClosed], [t].[MoveReason], [t].[MoveType], [t].[OrderReason], [t].[PartCode], [t].[PickLocation], [t].[PickPerson], [t].[PickedQty], [t].[Qty], [t].[RejecteLocation], [t].[RejecteQty], [t].[Remark], [t].[ToBarCode], [t].[ToPartCode]
FROM [TM_PG_OTHER_INOUT_ASK] AS [t]
WHERE [t].[BillNum] = @__zlldcjLog_ZLLDJ_0
2022-02-14 22:56:30.096 +08:00 [INF] Executed action method WmsWebApi.ZlldcjLogs.ZlldcjLogAppService.CloseAsync (WmsWebApi.Application), returned result Microsoft.AspNetCore.Mvc.ObjectResult in 152566.7997ms.
2022-02-14 22:56:30.153 +08:00 [INF] Executed DbCommand (26ms) [Parameters=[@p23='?' (DbType = Int32), @p0='?' (DbType = DateTime2), @p1='?' (Size = 64), @p2='?' (DbType = DateTime2), @p3='?' (DbType = Int32), @p4='?' (Size = 50), @p5='?' (DbType = Int32), @p6='?' (Size = 4000), @p7='?' (Size = 50), @p8='?' (Size = 50), @p9='?' (Size = 50), @p10='?' (DbType = Guid), @p11='?' (Size = 4000), @p12='?' (Size = 50), @p13='?' (Size = 4000), @p14='?' (Size = 4000), @p15='?' (Size = 4000), @p16='?' (Size = 4000), @p17='?' (Size = 50), @p18='?' (DbType = Int32), @p19='?' (DbType = Int32), @p20='?' (Size = 50), @p21='?' (Size = 50), @p22='?' (Size = 50)], CommandType='"Text"', CommandTimeout='30']
SET NOCOUNT ON;
UPDATE [TB_BILL] SET [AccountDate] = @p0, [BillNum] = @p1, [BillTime] = @p2, [BillType] = @p3, [CustId] = @p4, [DetailQty] = @p5, [DockCode] = @p6, [FinishTime] = @p7, [GateCode] = @p8, [GateName] = @p9, [Guid] = @p10, [OperName] = @p11, [ProjectId] = @p12, [Remark] = @p13, [SourceBillNum] = @p14, [SourceBillNum2] = @p15, [SourceBillNum3] = @p16, [StartTime] = @p17, [State] = @p18, [SubBillType] = @p19, [TransportType] = @p20, [TruckNum] = @p21, [VendId] = @p22
WHERE [UID] = @p23;
SELECT @@ROWCOUNT;
2022-02-14 22:56:30.195 +08:00 [ERR] Failed executing DbCommand (41ms) [Parameters=[@p26='?' (Size = 50), @p27='?' (Size = 50), @p0='?' (Size = 50), @p1='?' (Size = 50), @p2='?' (Size = 50), @p3='?' (Size = 50), @p4='?' (Size = 50), @p5='?' (Size = 50), @p6='?' (Size = 50), @p7='?' (Size = 50), @p8='?' (Size = 50), @p9='?' (Size = 50), @p10='?' (Size = 50), @p11='?' (DbType = Int32), @p12='?' (DbType = Boolean), @p13='?' (Size = 50), @p14='?' (Size = 50), @p15='?' (Size = 50), @p16='?' (Size = 50), @p17='?' (Size = 50), @p18='?' (Size = 50), @p19='?' (Precision = 18) (Scale = 6) (DbType = Decimal), @p20='?' (Precision = 18) (Scale = 6) (DbType = Decimal), @p21='?' (Size = 50), @p22='?' (DbType = Decimal), @p23='?' (Size = 200), @p24='?' (Size = 50), @p25='?' (Size = 50)], CommandType='"Text"', CommandTimeout='30']
SET NOCOUNT ON;
UPDATE [TM_PG_OTHER_INOUT_ASK] SET [BUn] = @p0, [BarCode] = @p1, [BaseOrder] = @p2, [BaseOrderDesc] = @p3, [BillType] = @p4, [BillTypeDesc] = @p5, [ClaimLocation] = @p6, [CostCenter] = @p7, [CreatDate] = @p8, [Creator] = @p9, [GetOrBack] = @p10, [UID] = @p11, [IsClosed] = @p12, [MoveReason] = @p13, [MoveType] = @p14, [OrderReason] = @p15, [PartCode] = @p16, [PickLocation] = @p17, [PickPerson] = @p18, [PickedQty] = @p19, [Qty] = @p20, [RejecteLocation] = @p21, [RejecteQty] = @p22, [Remark] = @p23, [ToBarCode] = @p24, [ToPartCode] = @p25
WHERE [BillLineID] = @p26 AND [BillNum] = @p27;
SELECT @@ROWCOUNT;
2022-02-14 22:56:30.226 +08:00 [ERR] An exception occurred in the database while saving changes for context type 'WmsWebApi.EntityFrameworkCore.WmsWebApiDbContext'.
Microsoft.EntityFrameworkCore.DbUpdateException: An error occurred while updating the entries. See the inner exception for details.
---> Microsoft.Data.SqlClient.SqlException (0x80131904): 无法更新标识列 'UID'。
at Microsoft.Data.SqlClient.SqlCommand.<>c.<ExecuteDbDataReaderAsync>b__169_0(Task`1 result)
at System.Threading.Tasks.ContinuationResultTaskFromResultTask`2.InnerInvoke()
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
--- End of stack trace from previous location ---
at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread)
--- End of stack trace from previous location ---
at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReaderAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReaderAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.Update.ReaderModificationCommandBatch.ExecuteAsync(IRelationalConnection connection, CancellationToken cancellationToken)
ClientConnectionId:70e5f8f6-1118-4d9b-8030-d47640d76072
Error Number:8102,State:1,Class:16
--- End of inner exception stack trace ---
at Microsoft.EntityFrameworkCore.Update.ReaderModificationCommandBatch.ExecuteAsync(IRelationalConnection connection, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.Update.Internal.BatchExecutor.ExecuteAsync(IEnumerable`1 commandBatches, IRelationalConnection connection, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.Update.Internal.BatchExecutor.ExecuteAsync(IEnumerable`1 commandBatches, IRelationalConnection connection, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.Update.Internal.BatchExecutor.ExecuteAsync(IEnumerable`1 commandBatches, IRelationalConnection connection, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.SaveChangesAsync(IList`1 entriesToSave, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.SaveChangesAsync(DbContext _, Boolean acceptAllChangesOnSuccess, 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.DbContext.SaveChangesAsync(Boolean acceptAllChangesOnSuccess, CancellationToken cancellationToken)
Microsoft.EntityFrameworkCore.DbUpdateException: An error occurred while updating the entries. See the inner exception for details.
---> Microsoft.Data.SqlClient.SqlException (0x80131904): 无法更新标识列 'UID'。
at Microsoft.Data.SqlClient.SqlCommand.<>c.<ExecuteDbDataReaderAsync>b__169_0(Task`1 result)
at System.Threading.Tasks.ContinuationResultTaskFromResultTask`2.InnerInvoke()
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
--- End of stack trace from previous location ---
at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread)
--- End of stack trace from previous location ---
at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReaderAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReaderAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.Update.ReaderModificationCommandBatch.ExecuteAsync(IRelationalConnection connection, CancellationToken cancellationToken)
ClientConnectionId:70e5f8f6-1118-4d9b-8030-d47640d76072
Error Number:8102,State:1,Class:16
--- End of inner exception stack trace ---
at Microsoft.EntityFrameworkCore.Update.ReaderModificationCommandBatch.ExecuteAsync(IRelationalConnection connection, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.Update.Internal.BatchExecutor.ExecuteAsync(IEnumerable`1 commandBatches, IRelationalConnection connection, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.Update.Internal.BatchExecutor.ExecuteAsync(IEnumerable`1 commandBatches, IRelationalConnection connection, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.Update.Internal.BatchExecutor.ExecuteAsync(IEnumerable`1 commandBatches, IRelationalConnection connection, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.SaveChangesAsync(IList`1 entriesToSave, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.SaveChangesAsync(DbContext _, Boolean acceptAllChangesOnSuccess, 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.DbContext.SaveChangesAsync(Boolean acceptAllChangesOnSuccess, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.DbContext.SaveChangesAsync(Boolean acceptAllChangesOnSuccess, CancellationToken cancellationToken)
at Volo.Abp.EntityFrameworkCore.AbpDbContext`1.SaveChangesAsync(Boolean acceptAllChangesOnSuccess, CancellationToken cancellationToken)
at Volo.Abp.Uow.UnitOfWork.SaveChangesAsync(CancellationToken cancellationToken)
at Volo.Abp.Uow.UnitOfWork.CompleteAsync(CancellationToken cancellationToken)
at Volo.Abp.AspNetCore.Mvc.Uow.AbpUowActionFilter.OnActionExecutionAsync(ActionExecutingContext context, ActionExecutionDelegate next)
2022-02-14 22:56:30.257 +08:00 [ERR] ---------- RemoteServiceErrorInfo ----------
{
"code": null,
"message": "An internal error occurred during your request!",
"details": null,
"data": {},
"validationErrors": null
}
2022-02-14 22:56:30.257 +08:00 [ERR] An error occurred while updating the entries. See the inner exception for details.
Microsoft.EntityFrameworkCore.DbUpdateException: An error occurred while updating the entries. See the inner exception for details.
---> Microsoft.Data.SqlClient.SqlException (0x80131904): 无法更新标识列 'UID'。
at Microsoft.Data.SqlClient.SqlCommand.<>c.<ExecuteDbDataReaderAsync>b__169_0(Task`1 result)
at System.Threading.Tasks.ContinuationResultTaskFromResultTask`2.InnerInvoke()
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
--- End of stack trace from previous location ---
at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread)
--- End of stack trace from previous location ---
at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReaderAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReaderAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.Update.ReaderModificationCommandBatch.ExecuteAsync(IRelationalConnection connection, CancellationToken cancellationToken)
ClientConnectionId:70e5f8f6-1118-4d9b-8030-d47640d76072
Error Number:8102,State:1,Class:16
--- End of inner exception stack trace ---
at Microsoft.EntityFrameworkCore.Update.ReaderModificationCommandBatch.ExecuteAsync(IRelationalConnection connection, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.Update.Internal.BatchExecutor.ExecuteAsync(IEnumerable`1 commandBatches, IRelationalConnection connection, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.Update.Internal.BatchExecutor.ExecuteAsync(IEnumerable`1 commandBatches, IRelationalConnection connection, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.Update.Internal.BatchExecutor.ExecuteAsync(IEnumerable`1 commandBatches, IRelationalConnection connection, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.SaveChangesAsync(IList`1 entriesToSave, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.SaveChangesAsync(DbContext _, Boolean acceptAllChangesOnSuccess, 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.DbContext.SaveChangesAsync(Boolean acceptAllChangesOnSuccess, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.DbContext.SaveChangesAsync(Boolean acceptAllChangesOnSuccess, CancellationToken cancellationToken)
at Volo.Abp.EntityFrameworkCore.AbpDbContext`1.SaveChangesAsync(Boolean acceptAllChangesOnSuccess, CancellationToken cancellationToken)
at Volo.Abp.Uow.UnitOfWork.SaveChangesAsync(CancellationToken cancellationToken)
at Volo.Abp.Uow.UnitOfWork.CompleteAsync(CancellationToken cancellationToken)
at Volo.Abp.AspNetCore.Mvc.Uow.AbpUowActionFilter.OnActionExecutionAsync(ActionExecutingContext context, ActionExecutionDelegate next)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeNextActionFilterAsync>g__Awaited|10_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Rethrow(ActionExecutedContextSealed context)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeInnerFilterAsync>g__Awaited|13_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeNextExceptionFilterAsync>g__Awaited|25_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
2022-02-14 22:56:30.258 +08:00 [INF] Executing ObjectResult, writing value of type 'Volo.Abp.Http.RemoteServiceErrorResponse'.
2022-02-14 22:56:30.258 +08:00 [INF] Executed action WmsWebApi.ZlldcjLogs.ZlldcjLogAppService.CloseAsync (WmsWebApi.Application) in 152943.5393ms
2022-02-14 22:56:30.259 +08:00 [INF] Executed endpoint 'WmsWebApi.ZlldcjLogs.ZlldcjLogAppService.CloseAsync (WmsWebApi.Application)'
2022-02-14 22:56:30.279 +08:00 [INF] Entity Framework Core 5.0.13 initialized 'AbpAuditLoggingDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: QuerySplittingBehavior=SplitQuery
2022-02-14 22:56:30.336 +08:00 [ERR] Failed executing DbCommand (27ms) [Parameters=[@p0='?' (DbType = Guid), @p1='?' (Size = 96), @p2='?' (Size = 512), @p3='?' (Size = 64), @p4='?' (Size = 64), @p5='?' (Size = 128), @p6='?' (Size = 256), @p7='?' (Size = 40), @p8='?' (Size = 64), @p9='?' (Size = -1), @p10='?' (DbType = Int32), @p11='?' (DbType = DateTime2), @p12='?' (Size = 4000), @p13='?' (Size = 16), @p14='?' (DbType = Int32), @p15='?' (DbType = Guid), @p16='?' (DbType = Guid), @p17='?' (DbType = Guid), @p18='?' (Size = 4000), @p19='?' (Size = 256), @p20='?' (DbType = Guid), @p21='?' (Size = 256)], CommandType='"Text"', CommandTimeout='30']
SET NOCOUNT ON;
INSERT INTO [AbpAuditLogs] ([Id], [ApplicationName], [BrowserInfo], [ClientId], [ClientIpAddress], [ClientName], [Comments], [ConcurrencyStamp], [CorrelationId], [Exceptions], [ExecutionDuration], [ExecutionTime], [ExtraProperties], [HttpMethod], [HttpStatusCode], [ImpersonatorTenantId], [ImpersonatorUserId], [TenantId], [TenantName], [Url], [UserId], [UserName])
VALUES (@p0, @p1, @p2, @p3, @p4, @p5, @p6, @p7, @p8, @p9, @p10, @p11, @p12, @p13, @p14, @p15, @p16, @p17, @p18, @p19, @p20, @p21);
2022-02-14 22:56:30.364 +08:00 [ERR] An exception occurred in the database while saving changes for context type 'Volo.Abp.AuditLogging.EntityFrameworkCore.AbpAuditLoggingDbContext'.
Microsoft.EntityFrameworkCore.DbUpdateException: An error occurred while updating the entries. See the inner exception for details.
---> Microsoft.Data.SqlClient.SqlException (0x80131904): 将截断字符串或二进制数据。
语句已终止。
at Microsoft.Data.SqlClient.SqlCommand.<>c.<ExecuteDbDataReaderAsync>b__169_0(Task`1 result)
at System.Threading.Tasks.ContinuationResultTaskFromResultTask`2.InnerInvoke()
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
--- End of stack trace from previous location ---
at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread)
--- End of stack trace from previous location ---
at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReaderAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReaderAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.Update.ReaderModificationCommandBatch.ExecuteAsync(IRelationalConnection connection, CancellationToken cancellationToken)
ClientConnectionId:aa1fd46c-db76-42de-a056-4b26bf293899
Error Number:8152,State:10,Class:16
--- End of inner exception stack trace ---
at Microsoft.EntityFrameworkCore.Update.ReaderModificationCommandBatch.ExecuteAsync(IRelationalConnection connection, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.Update.Internal.BatchExecutor.ExecuteAsync(IEnumerable`1 commandBatches, IRelationalConnection connection, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.Update.Internal.BatchExecutor.ExecuteAsync(IEnumerable`1 commandBatches, IRelationalConnection connection, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.Update.Internal.BatchExecutor.ExecuteAsync(IEnumerable`1 commandBatches, IRelationalConnection connection, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.SaveChangesAsync(IList`1 entriesToSave, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.SaveChangesAsync(DbContext _, Boolean acceptAllChangesOnSuccess, 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.DbContext.SaveChangesAsync(Boolean acceptAllChangesOnSuccess, CancellationToken cancellationToken)
Microsoft.EntityFrameworkCore.DbUpdateException: An error occurred while updating the entries. See the inner exception for details.
---> Microsoft.Data.SqlClient.SqlException (0x80131904): 将截断字符串或二进制数据。
语句已终止。
at Microsoft.Data.SqlClient.SqlCommand.<>c.<ExecuteDbDataReaderAsync>b__169_0(Task`1 result)
at System.Threading.Tasks.ContinuationResultTaskFromResultTask`2.InnerInvoke()
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
--- End of stack trace from previous location ---
at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread)
--- End of stack trace from previous location ---
at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReaderAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReaderAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.Update.ReaderModificationCommandBatch.ExecuteAsync(IRelationalConnection connection, CancellationToken cancellationToken)
ClientConnectionId:aa1fd46c-db76-42de-a056-4b26bf293899
Error Number:8152,State:10,Class:16
--- End of inner exception stack trace ---
at Microsoft.EntityFrameworkCore.Update.ReaderModificationCommandBatch.ExecuteAsync(IRelationalConnection connection, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.Update.Internal.BatchExecutor.ExecuteAsync(IEnumerable`1 commandBatches, IRelationalConnection connection, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.Update.Internal.BatchExecutor.ExecuteAsync(IEnumerable`1 commandBatches, IRelationalConnection connection, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.Update.Internal.BatchExecutor.ExecuteAsync(IEnumerable`1 commandBatches, IRelationalConnection connection, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.SaveChangesAsync(IList`1 entriesToSave, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.SaveChangesAsync(DbContext _, Boolean acceptAllChangesOnSuccess, 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.DbContext.SaveChangesAsync(Boolean acceptAllChangesOnSuccess, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.DbContext.SaveChangesAsync(Boolean acceptAllChangesOnSuccess, CancellationToken cancellationToken)
at Volo.Abp.EntityFrameworkCore.AbpDbContext`1.SaveChangesAsync(Boolean acceptAllChangesOnSuccess, CancellationToken cancellationToken)
at Volo.Abp.Uow.UnitOfWork.SaveChangesAsync(CancellationToken cancellationToken)
at Volo.Abp.Uow.UnitOfWork.CompleteAsync(CancellationToken cancellationToken)
at Volo.Abp.AuditLogging.AuditingStore.SaveLogAsync(AuditLogInfo auditInfo)
at Volo.Abp.AuditLogging.AuditingStore.SaveAsync(AuditLogInfo auditInfo)
2022-02-14 22:56:30.368 +08:00 [WRN] Could not save the audit log object:
AUDIT LOG: [500: POST ] /api/zlldcj/close
- UserName - UserId : -
- ClientIpAddress : ::1
- ExecutionDuration : 152981
- Actions:
- WmsWebApi.ZlldcjLogs.ZlldcjLogAppService.CloseAsync (152927 ms.)
{"dto":{"zlldj":"2000124670","zllitem":1,"zdjlx":"20","zltlx":"2","matnr":"000000000030048287","bdmng":1.000,"meins":"ST","bknum":0.0,"enmng":0.0,"werks":"1000","lgorT1":"","lgorT2":"1010","lgorT3":"","kostl":"","aufnr":"","bwart":"311","grund":"0000","zllr":"珍珍","kzear":"","rsnum":"0000000000","rspos":"0000","ernam":"HAND","erdat":"2022-02-14","erzet":"15:33:11","aenam":"","aedat":"0000-00-00","aezet":"00:00:00","zbzsm":"","anlN1":"","vbeln":"","posnr":"000000"}}
- Exceptions:
- An error occurred while updating the entries. See the inner exception for details.
Microsoft.EntityFrameworkCore.DbUpdateException: An error occurred while updating the entries. See the inner exception for details.
---> Microsoft.Data.SqlClient.SqlException (0x80131904): 无法更新标识列 'UID'。
at Microsoft.Data.SqlClient.SqlCommand.<>c.<ExecuteDbDataReaderAsync>b__169_0(Task`1 result)
at System.Threading.Tasks.ContinuationResultTaskFromResultTask`2.InnerInvoke()
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
--- End of stack trace from previous location ---
at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread)
--- End of stack trace from previous location ---
at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReaderAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReaderAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.Update.ReaderModificationCommandBatch.ExecuteAsync(IRelationalConnection connection, CancellationToken cancellationToken)
ClientConnectionId:70e5f8f6-1118-4d9b-8030-d47640d76072
Error Number:8102,State:1,Class:16
--- End of inner exception stack trace ---
at Microsoft.EntityFrameworkCore.Update.ReaderModificationCommandBatch.ExecuteAsync(IRelationalConnection connection, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.Update.Internal.BatchExecutor.ExecuteAsync(IEnumerable`1 commandBatches, IRelationalConnection connection, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.Update.Internal.BatchExecutor.ExecuteAsync(IEnumerable`1 commandBatches, IRelationalConnection connection, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.Update.Internal.BatchExecutor.ExecuteAsync(IEnumerable`1 commandBatches, IRelationalConnection connection, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.SaveChangesAsync(IList`1 entriesToSave, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.SaveChangesAsync(DbContext _, Boolean acceptAllChangesOnSuccess, 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.DbContext.SaveChangesAsync(Boolean acceptAllChangesOnSuccess, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.DbContext.SaveChangesAsync(Boolean acceptAllChangesOnSuccess, CancellationToken cancellationToken)
at Volo.Abp.EntityFrameworkCore.AbpDbContext`1.SaveChangesAsync(Boolean acceptAllChangesOnSuccess, CancellationToken cancellationToken)
at Volo.Abp.Uow.UnitOfWork.SaveChangesAsync(CancellationToken cancellationToken)
at Volo.Abp.Uow.UnitOfWork.CompleteAsync(CancellationToken cancellationToken)
at Volo.Abp.AspNetCore.Mvc.Uow.AbpUowActionFilter.OnActionExecutionAsync(ActionExecutingContext context, ActionExecutionDelegate next)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeNextActionFilterAsync>g__Awaited|10_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Rethrow(ActionExecutedContextSealed context)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeInnerFilterAsync>g__Awaited|13_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeNextExceptionFilterAsync>g__Awaited|25_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
2022-02-14 22:56:30.368 +08:00 [ERR] An error occurred while updating the entries. See the inner exception for details.
Microsoft.EntityFrameworkCore.DbUpdateException: An error occurred while updating the entries. See the inner exception for details.
---> Microsoft.Data.SqlClient.SqlException (0x80131904): 将截断字符串或二进制数据。
语句已终止。
at Microsoft.Data.SqlClient.SqlCommand.<>c.<ExecuteDbDataReaderAsync>b__169_0(Task`1 result)
at System.Threading.Tasks.ContinuationResultTaskFromResultTask`2.InnerInvoke()
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
--- End of stack trace from previous location ---
at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread)
--- End of stack trace from previous location ---
at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReaderAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReaderAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.Update.ReaderModificationCommandBatch.ExecuteAsync(IRelationalConnection connection, CancellationToken cancellationToken)
ClientConnectionId:aa1fd46c-db76-42de-a056-4b26bf293899
Error Number:8152,State:10,Class:16
--- End of inner exception stack trace ---
at Microsoft.EntityFrameworkCore.Update.ReaderModificationCommandBatch.ExecuteAsync(IRelationalConnection connection, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.Update.Internal.BatchExecutor.ExecuteAsync(IEnumerable`1 commandBatches, IRelationalConnection connection, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.Update.Internal.BatchExecutor.ExecuteAsync(IEnumerable`1 commandBatches, IRelationalConnection connection, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.Update.Internal.BatchExecutor.ExecuteAsync(IEnumerable`1 commandBatches, IRelationalConnection connection, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.SaveChangesAsync(IList`1 entriesToSave, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.SaveChangesAsync(DbContext _, Boolean acceptAllChangesOnSuccess, 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.DbContext.SaveChangesAsync(Boolean acceptAllChangesOnSuccess, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.DbContext.SaveChangesAsync(Boolean acceptAllChangesOnSuccess, CancellationToken cancellationToken)
at Volo.Abp.EntityFrameworkCore.AbpDbContext`1.SaveChangesAsync(Boolean acceptAllChangesOnSuccess, CancellationToken cancellationToken)
at Volo.Abp.Uow.UnitOfWork.SaveChangesAsync(CancellationToken cancellationToken)
at Volo.Abp.Uow.UnitOfWork.CompleteAsync(CancellationToken cancellationToken)
at Volo.Abp.AuditLogging.AuditingStore.SaveLogAsync(AuditLogInfo auditInfo)
at Volo.Abp.AuditLogging.AuditingStore.SaveAsync(AuditLogInfo auditInfo)
2022-02-14 22:56:30.368 +08:00 [INF] Request finished HTTP/2 POST https://localhost:5000/api/zlldcj/close application/json 848 - 500 - application/json;+charset=utf-8 153124.9320ms