WebPortal: authentication not working

Hello. I'm using OneIM 8.2 and I have this strange error on Portal.

I can't understand what causes it.

I tried many changes without success.

Parents Reply Children
  • Thanks Barry but the error is the same. that's strange actually.

    2022-03-10 14:35:22.2328  INFO (    WebLog ) : Loading compiled webapp DLL: Webapp_VI_StandardWeb_Debug_APNwjZ3s3FHMCdroMosc7JSTGxhJAx4AX 
    2022-03-10 14:35:22.2638  INFO (    WebLog ) : Loading assembly: Webapp_VI_StandardWeb_Debug_APNwjZ3s3FHMCdroMosc7JSTGxhJAx4AX, Version=1.0.8103.30434, Culture=neutral, PublicKeyToken=null 
    2022-03-10 14:35:22.3117  INFO (    WebLog ) : Loading compiled webapp DLL: Webapp_VI_UserRegistration_Web_Debug_APNwjZ3s3FHMCdroMosc7JSTGxhJAx4AX 
    2022-03-10 14:35:22.3117  INFO (    WebLog ) : Loading assembly: Webapp_VI_UserRegistration_Web_Debug_APNwjZ3s3FHMCdroMosc7JSTGxhJAx4AX, Version=1.0.8094.40398, Culture=neutral, PublicKeyToken=null 
    2022-03-10 14:35:33.8320  INFO (    WebLog meg1tqiol15dbwehzbww5co5) : Module instance created: VI_Session 
    2022-03-10 14:35:33.8320  INFO (    WebLog meg1tqiol15dbwehzbww5co5) : Session meg1tqiol15dbwehzbww5co5 started 
    2022-03-10 14:35:33.8320  INFO (    WebLog meg1tqiol15dbwehzbww5co5) : Authenticating session using RoleBasedADSAccount 
    2022-03-10 14:35:34.9986  WARN (    WebLog meg1tqiol15dbwehzbww5co5) : System.Exception: Single-sign-on failed, URL was /ExternalUsers/page.axd?RuntimeFormID=d38b455d-46b0-4f9a-b17b-91bdf6a739fc&aeweb_handler=p&aeweb_rp=&wproj=0&ContextID=VI_Session ---> VI.Base.ViException: Failed to authenticate user. ---> VI.Base.ViException: You are not authorized to use this database.
       at VI.DB.Auth.AdsAccountHelper.<GetPersonDataAsync>d__1.MoveNext()

  • it sounds as if you anonymous authentication turned on in IIS for this site and this is why the user cannot be determined error previously

  • Thanks Troy.

    I think that the windows authorization works well but there is a issue accessing the site.

    2022-03-10 19:32:14.9031  INFO (    WebLog axwmd5df30tv42hphbnihgzs) : Authenticating session using ADSAccount
    2022-03-10 19:32:15.9187  WARN (    WebLog axwmd5df30tv42hphbnihgzs) : System.Exception: Single-sign-on failed, URL was /IdentityManager/ ---> VI.Base.ViException: Failed to authenticate user. ---> VI.Base.ViException: You are not authorized to use this database.

    I don't understand the message "You are not authorized to use this database". What database?

  • I would try ADSAccount with manual input/role based set for the primary authentication and confirm that this works first