Hi, have you run database migration?
SubscriptionPaymentType
column was added by this migration https://github.com/aspnetzero/aspnet-zero-core/blob/dev/aspnet-core/src/MyCompanyName.AbpZeroTemplate.EntityFrameworkCore/Migrations/20190103081952_Recurring_Payment_Changes.cs
See https://docs.aspnetzero.com/documents/zero/latest/Getting-Started-Angular#database-migrations
Hi, two factor settings are configured per host (fallback) -> tenant.
Can you check the setting value of IsSmsProviderEnabled
for hoet and Default tenant in the database?
You need to add cors policy to appSettings.production.json
similar to appSettings.json
https://github.com/aspnetzero/aspnet-zero-core/blob/1c1643fa8b6aef155c3f05617920c26dd2d808d9/aspnet-core/src/MyCompanyName.AbpZeroTemplate.Web.Host/appsettings.json#L15
Hi, please share your ANZ project version and framework (e.g. .net core & angular 6.7.0)
also, can you provide the full stack trace for the exception Invalid object name 'AbpLanguages'
You can inject IAbpZeroLdapModuleConfig
(for system) or ILdapSettings
(for tenant) to determind if LDAP is enabled.
ANZ uses ABP framework's AbpZeroLdapModule to implement LDAP authentication.
See ANZ implemenation at https://github.com/aspnetzero/aspnet-zero-core/blob/dev/aspnet-core/src/MyCompanyName.AbpZeroTemplate.Core/Authorization/Ldap/AppLdapAuthenticationSource.cs
It seems that the you are trying to store LdapSettingNames.IsEnabled
for each tenant and load it during module initialization.
This approach is incorrect as module initialization shouldn't have tenan/user concept. The more appropriate way is to get it from configuraiton.
configurationAccessor.Configuration["Integration:IsActiveDirectoryEnabled"];
See breaking changes of Abp 4.2.0
Breaking Changes #4251: Added NormalizedUserName and NormalizedEmailAddress to AbpUser and NormalizedName to AbpRole. #4193: Removed LastLoginTime from AbpUserBase and UserAccount. #3897: Implemented Organization Unit Roles.
https://github.com/aspnetboilerplate/aspnetboilerplate/releases/tag/v4.2.0
#3897: Implemented Organization Unit Roles.
New Organization Unit Roles methods were added in AbpUserStore
https://github.com/aspnetboilerplate/aspnetboilerplate/pull/4242
Can you share the code in GHRIntegrationModule/PostInitialize()
which calls SettingManager.GetSettingValueAsync()
Also you might want to consider moving EnsureMigrated()
into YourProjectEntityFrameworkCoreModule
Hi, you can user LinkedAccount
on admin1
of tenant1 with admin2
of tenant2.
You may proceed with user impersonation after you have logged into the other admin account.
See https://docs.aspnetzero.com/documents/zero/latest/Development-Guide-Angular#linked-accounts
Hi, can you share if you are using .net framework or .net core?
Also can you share the full stacktrace of the SqlException?