Base solution for your next web application
Open Closed

Current user did not login to the application #861


User avatar
0
papinaser created

Hi. After Shutdown my pc and come back for runnig my project I have this error: Current user did not login to the application!

if (!AbpSession.UserId.HasValue)
       {
          throw new AbpAuthorizationException(LocalizationManager.GetString(AbpConsts.LocalizationSourceName, "CurrentUserDidNotLoginToTheApplication"));
       }

I clear browser cash but same error again. Thank you.


1 Answer(s)
  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi,

    After running your application, can you try to go "http://localhost:xxx/Account/Logout" and login again ?