Is there a way to load menus dynamically with a cache to avoid frequent requests?
@IanW, I assign a feature value for each tenant and based on that tenant list of reports will available and those are displayed on the menu. I'm able to achieve this. But I need those dynamic menus to be available on permissions for roles and users. So that I can restrict those menus for particular user or roles.
Hope this is clear?
Hi,
May I know how to implement this https://github.com/abpframework/abp/issues/4448 in more detail.
Any other Realtime implementation would be great.
Since the hierarchy is Tenant -> Edition -> Default, Ideally Edition level values should be override on tenant level.
Hi,
The feature you want to implement is already available in previous version of ABP v7.4.5 or less.
If possible try to use previous version of ABP.
Thanks
No. That won't be possible. We have migrated all our application to 8.0.0.
Any other suggestion?
hi
Do you have
appsettings.secrets.json
andAbpLicenseCode
inside your app?Can your app run successfully without window service ?
Yes. I do have appsettings.secrets.json with AbpLicenseCode. It is running fine on iis and docker without any issues.
hi
Wanted to deploy the app as a window service with kestrel server. But facing following error when starting the server,
Are there any error logs on logs.txt and Win Event Viewer?
please find the logs as below
2024-01-09 19:52:45.005 +05:30 [ERR] ABP-LIC-0021 - The path is empty. (Parameter 'path')
2024-01-09 19:52:45.005 +05:30 [ERR] ABP-LIC-0021 - The path is empty. (Parameter 'path')
2024-01-09 19:52:45.005 +05:30 [ERR] ABP-LIC-0021 - The path is empty. (Parameter 'path')
2024-01-09 19:52:45.016 +05:30 [ERR] ABP-LIC-0021 - The path is empty. (Parameter 'path')
2024-01-09 19:52:45.017 +05:30 [ERR] ABP-LIC-0021 - The path is empty. (Parameter 'path')
2024-01-09 19:52:45.020 +05:30 [ERR] ABP-LIC-0021 - The path is empty. (Parameter 'path')
2024-01-09 19:52:45.020 +05:30 [ERR] ABP-LIC-0021 - The path is empty. (Parameter 'path')
2024-01-09 19:52:45.023 +05:30 [ERR] ABP-LIC-0021 - The path is empty. (Parameter 'path')
2024-01-09 19:52:45.024 +05:30 [ERR] ABP-LIC-0021 - The path is empty. (Parameter 'path')
2024-01-09 19:52:45.033 +05:30 [ERR] ABP-LIC-0021 - The path is empty. (Parameter 'path')
2024-01-09 19:52:45.042 +05:30 [ERR] ABP-LIC-0021 - The path is empty. (Parameter 'path')
2024-01-09 19:52:45.051 +05:30 [ERR] ABP-LIC-0021 - The path is empty. (Parameter 'path')
2024-01-09 19:52:45.052 +05:30 [ERR] ABP-LIC-0021 - The path is empty. (Parameter 'path')
2024-01-09 19:52:45.061 +05:30 [ERR] ABP-LIC-0021 - The path is empty. (Parameter 'path')
2024-01-09 19:52:45.065 +05:30 [ERR] ABP-LIC-0021 - The path is empty. (Parameter 'path')
2024-01-09 19:52:45.065 +05:30 [ERR] ABP-LIC-0021 - The path is empty. (Parameter 'path')
2024-01-09 19:52:45.077 +05:30 [ERR] ABP-LIC-0021 - The path is empty. (Parameter 'path')
2024-01-09 19:52:45.085 +05:30 [ERR] ABP-LIC-0021 - The path is empty. (Parameter 'path')
2024-01-09 19:52:45.086 +05:30 [ERR] ABP-LIC-0021 - The path is empty. (Parameter 'path')
2024-01-09 19:52:45.087 +05:30 [ERR] ABP-LIC-0021 - The path is empty. (Parameter 'path')
2024-01-09 19:52:45.089 +05:30 [ERR] ABP-LIC-0021 - The path is empty. (Parameter 'path')
2024-01-09 19:52:45.104 +05:30 [ERR] ABP-LIC-0021 - The path is empty. (Parameter 'path')
2024-01-09 19:52:45.115 +05:30 [ERR] ABP-LIC-0021 - The path is empty. (Parameter 'path')
2024-01-09 19:52:45.124 +05:30 [ERR] ABP-LIC-0021 - The path is empty. (Parameter 'path')
2024-01-09 19:52:45.125 +05:30 [ERR] ABP-LIC-0021 - The path is empty. (Parameter 'path')
2024-01-09 19:52:45.125 +05:30 [ERR] ABP-LIC-0021 - The path is empty. (Parameter 'path')
2024-01-09 19:52:45.128 +05:30 [ERR] ABP-LIC-0021 - The path is empty. (Parameter 'path')
2024-01-09 19:52:45.132 +05:30 [ERR] ABP-LIC-0021 - The path is empty. (Parameter 'path')
2024-01-09 19:52:45.140 +05:30 [ERR] ABP-LIC-0021 - The path is empty. (Parameter 'path')
2024-01-09 19:52:45.149 +05:30 [ERR] ABP-LIC-0021 - The path is empty. (Parameter 'path')
2024-01-09 19:52:45.149 +05:30 [ERR] ABP-LIC-0021 - The path is empty. (Parameter 'path')
2024-01-09 19:52:45.151 +05:30 [ERR] ABP-LIC-0021 - The path is empty. (Parameter 'path')
2024-01-09 19:52:45.160 +05:30 [ERR] ABP-LIC-0021 - The path is empty. (Parameter 'path')
2024-01-09 19:52:45.170 +05:30 [ERR] ABP-LIC-0021 - The path is empty. (Parameter 'path')
2024-01-09 19:52:45.371 +05:30 [INF] User profile is available. Using 'C:\Users\Lsiva\AppData\Local\ASP.NET\DataProtection-Keys' as key repository and Windows DPAPI to encrypt keys at rest.
Authorization failed for the request at filter 'Volo.Abp.AspNetCore.Mvc.AntiForgery.AbpAutoValidateAntiforgeryTokenAuthorizationFilter'.
Can you try using HTTPS?
Yes. If I use https, I'm able to upload files. But delete is throwing the same error.
I could spot the following error on console,
DELETE http://localhost/api/file-management/file-descriptor/bb52d808-98ac-1344-4e8c-3a0f863fad33 405 (Method Not Allowed)
Even I faced the same issue while I upgraded from 7.3 to 7.4. And it was because some new tables have been added and it was causing the issue. It resolved when I ran migration.
But facing difficulty in applying this migration changes to my production? Is there any way where we can migrate the schema changes on OnPostApplicationInitializationAsync? Because we cant manually do this on our customers DB.
Hello Sraman,
Please do have look to this similar ticket https://support.abp.io/QA/Questions/3296/Integration-with-SendGrid
You just need to change email settings like https://docs.abp.io/en/abp/latest/Emailing#email-settings
Please do let me know if anything else needed
Thank you, Anjali
OK Thanks. How can we change the existing email templates for forgot password?