Base solution for your next web application
Open Closed

IUserTokenProviderAccessor is not registered #1835


User avatar
0
sampath created

Hi,

I have updated my app to V 1.13.0 and working fine on localhost.But when I published it to Azure where it shows below mentioned error.Can you tell me why ?


3 Answer(s)
  • User Avatar
    0
    hikalkan created
    Support Team

    Have you added [DependsOn(typeof(AbpZeroOwinModule))] to your web module?

  • User Avatar
    0
    sampath created

    Hi, Yes,it's there.The only thing which I have removed is this Configuration.Navigation.Providers.Add<MpaNavigationProvider>();//MPA!.Hence I'm using SPA.Can you tell me why this error then ?

    [DependsOn(
            typeof(AbpWebMvcModule),
            typeof(AbpZeroOwinModule),
            typeof(IPDataModule),
            typeof(IPApplicationModule),
            typeof(IPWebApiModule),
            typeof(AbpWebSignalRModule),
            typeof(AbpRedisCacheModule), //AbpRedisCacheModule dependency can be removed if not using Redis cache
            typeof(AbpHangfireModule))] //AbpHangfireModule dependency can be removed if not using Hangfire
        public class IPWebModule : AbpModule
        {
        }
    
  • User Avatar
    0
    sampath created

    Hi, It seems to be a publishing issue.I have published it again and now it's working.Cheers :)