Activities of "LiSong"

  • ABP Framework version: v9.X.X
  • UI Type: MVC
  • Database System: SQL Server
  • Tiered (for MVC) or Auth Server Separated (for Angular): no
  • Exception message and full stack trace:
  • Steps to reproduce the issue:

I have a running ABP website that does not support multi-tenancy. How should I add the multi-tenancy feature to this website?

Question
  • ABP Framework version: v8.2.2
  • UI Type: MVC
  • Database System: SQL Server
  • Tiered (for MVC) or Auth Server Separated (for Angular): yes
  • Exception message and full stack trace:
  • Steps to reproduce the issue:

We are building a multi-tenancy project and hope to enable the same account to switch between tenants, with the account having different roles in different tenants. How can this be achieved?

Question
  • ABP Framework version: v0.X.X
  • UI Type: MVC
  • Database System: SQL Server
  • Tiered (for MVC) or Auth Server Separated (for Angular): no
  • Exception message and full stack trace:
  • Steps to reproduce the issue:

I have created a CRUD page, and I added a logic to check for the delete button:

        [Authorize(TappPermissions.TappOrganizations.Delete)]
        public override async Task DeleteAsync(Guid id)
        {
            var users = await _tappOrganizationUsersAppService.GetListAsync(new GetTappOrganizationUsersInput()
            {
                TappOrganization = id,
                MaxResultCount = 1
            });

            if (users.Items.Any())
                throw new Exception("This organization can't be deleted because it has users associated with it.");

            await _tappOrganizationRepository.DeleteAsync(id);
        }

and I am trying to show the exception message on this pop up window. how can I do that? thanks

Answer

for the #2, after we enable it, the recaptcha was not stable, I checked the code and found that the recaptcha google js code is on the bottom, this could cause issues if users take action immediately before the js code is loaded, can you tell me how we can move the js code to the head tag?

            <script src="https://www.google.com/recaptcha/api.js?hl=en&render=99999"></script>
            <script>grecaptcha.ready(function(){ grecaptcha.reExecute = function(callback){grecaptcha.execute
Answer

#2, we didn't enable it, that was the issue, our settings is just like your screenshot; #3, no, we tried many times, normally the cookie won't become invalid and we don't need to re-login, this issue happened randomly

Question
  • ABP Framework version: v9.0.3
  • UI Type: MVC
  • Database System: SQL Server
  • Tiered (for MVC) or Auth Server Separated (for Angular): yes/no
  • Exception message and full stack trace:
  • Steps to reproduce the issue:

I published the site recently and had my co-workers test, they found three strange bugs that I can't repeat:

this happened when saving a form

2. on register page, we didn't enable google recaptcha, again, I can't repeat this myself.

  1. There is another strange issue: after registration is complete, it immediately redirects to the login page, and it seems that the user's cookie becomes invalid after registration. again, can't repeat it, however, this happened twice on my co-worker's computer.

any suggestions to debug?

yes, the same

  • ABP Framework version: v9.X.X
  • UI Type: MVC
  • Database System: EF Core (SQL Server, Oracle, MySQL, PostgreSQL, etc..) / MongoDB
  • Tiered (for MVC) or Auth Server Separated (for Angular): yes/no
  • Exception message and full stack trace:
  • Steps to reproduce the issue:
  1. Currently when a user checks/uncheckes the "Remember Me" option during login, does it make any differences? I tested it, it seems both remember the logged in status
  2. how long the auth cookie expire time by default? I want to ensure users are logged out after 8 hours, how can I do that? Thanks!

no, I didn't override the page

yes! worked

Showing 81 to 90 of 124 entries
Boost Your Development
ABP Live Training
Packages
See Trainings
Mastering ABP Framework Book
The Official Guide
Mastering
ABP Framework
Learn More
Mastering ABP Framework Book
Made with ❤️ on ABP v10.8.0-preview. Updated on October 21, 2026, 11:09
1
ABP Assistant
🔐 You need to be logged in to use the chatbot. Please log in first.