ABP Suite 5.1.2 After upgrading trying to access audit logs getting the following error.
[ERR] Invalid column name 'ImpersonatorTenantName'. Invalid column name 'ImpersonatorUserName'. Microsoft.Data.SqlClient.SqlException (0x80131904): Invalid column name 'ImpersonatorTenantName'. Invalid column name 'ImpersonatorUserName'. at Microsoft.Data.SqlClient.SqlCommand.<>c.<ExecuteDbDataReaderAsync>b__188_0(Task`1 result)
Yes and no luck. Still getting error.
No errors anywhere and 5.1.2
Link to documentation?
So, you are referring to something you cannot provide a link for? Since this is not an acceptable answer, can I get a credit for my support use?
I am trying to run the DbMigrator project like normal. This is showing up after removing an attempt to run abp add-module Volo.CmsKit --with-source-code. I did a git reset --hard and now getting the above errors.
I was able to run "abp add-module Volo.CmsKit --with-source-code --add-to-solution-file" to get the source added to the solutions. Now I am getting a new error.
System.IO.FileNotFoundException: Could not load file or assembly 'Volo.CmsKit.Admin.Application.Contracts
I have verified that the project exists.
Here is the complete error message.
2022-05-21 16:55:47.251 -07:00 [INF] Starting web host.
2022-05-21 16:56:05.366 -07:00 [FTL] Host terminated unexpectedly!
System.IO.FileNotFoundException: Could not load file or assembly 'Volo.CmsKit.Admin.Application.Contracts, Version=5.2.2.0, Culture=neutral, PublicKeyToken=null'. The system cannot find the file specified.
File name: 'Volo.CmsKit.Admin.Application.Contracts, Version=5.2.2.0, Culture=neutral, PublicKeyToken=null'
at System.Reflection.CustomAttribute._CreateCaObject(RuntimeModule pModule, RuntimeType type, IRuntimeMethodInfo pCtor, Byte** ppBlob, Byte* pEndBlob, Int32* pcNamedArgs)
at System.Reflection.CustomAttribute.AddCustomAttributes(ListBuilder1& attributes, RuntimeModule decoratedModule, Int32 decoratedMetadataToken, RuntimeType attributeFilterType, Boolean mustBeInheritable, ListBuilder
1 derivedAttributes)
at System.Reflection.CustomAttribute.GetCustomAttributes(RuntimeType type, RuntimeType caType, Boolean inherit)
at System.Attribute.GetCustomAttributes(MemberInfo element, Boolean inherit)
at Volo.Abp.Modularity.AbpModuleHelper.FindDependedModuleTypes(Type moduleType)
at Volo.Abp.Modularity.AbpModuleHelper.AddModuleAndDependenciesRecursively(List1 moduleTypes, Type moduleType, ILogger logger, Int32 depth) at Volo.Abp.Modularity.AbpModuleHelper.AddModuleAndDependenciesRecursively(List
1 moduleTypes, Type moduleType, ILogger logger, Int32 depth)
at Volo.Abp.Modularity.AbpModuleHelper.FindAllModuleTypes(Type startupModuleType, ILogger logger)
at Volo.Abp.Modularity.ModuleLoader.FillModules(List1 modules, IServiceCollection services, Type startupModuleType, PlugInSourceList plugInSources) at Volo.Abp.Modularity.ModuleLoader.GetDescriptors(IServiceCollection services, Type startupModuleType, PlugInSourceList plugInSources) at Volo.Abp.Modularity.ModuleLoader.LoadModules(IServiceCollection services, Type startupModuleType, PlugInSourceList plugInSources) at Volo.Abp.AbpApplicationBase.LoadModules(IServiceCollection services, AbpApplicationCreationOptions options) at Volo.Abp.AbpApplicationBase..ctor(Type startupModuleType, IServiceCollection services, Action
1 optionsAction)
at Volo.Abp.AbpApplicationWithExternalServiceProvider..ctor(Type startupModuleType, IServiceCollection services, Action1 optionsAction) at Volo.Abp.AbpApplicationFactory.Create(Type startupModuleType, IServiceCollection services, Action
1 optionsAction)
at Volo.Abp.AbpApplicationFactory.CreateAsync[TStartupModule](IServiceCollection services, Action1 optionsAction) at Microsoft.Extensions.DependencyInjection.ServiceCollectionApplicationExtensions.AddApplicationAsync[TStartupModule](IServiceCollection services, Action
1 optionsAction)
at Microsoft.Extensions.DependencyInjection.WebApplicationBuilderExtensions.AddApplicationAsync[TStartupModule](WebApplicationBuilder builder, Action`1 optionsAction)
at ProjectName.Web.Program.Main(String[] args) in C:\Repos\ProjectName\aspnet-core\src\ProjectName.Web\Program.cs:line 38
I resolved by making sure all the package references where updated.