Open Closed

LoginAync fails in Zero #134

pnw created

I upgraded to ABP and Zero and now I get an HTTP 500 at userManager.LoginAsync of AccountController.cs that carries this in the Response Body:

Exception Details: System.Data.SqlClient.SqlException: Invalid column name 'AuthenticationSource'.

3 Answer(s)
  • 0
    hikalkan created
    Support Team


    You should add a new migration like:

    Add-Migration "Added_AuthorizationSource_To_User"

    Have a nice day.

  • 0
    hans abelshausen created

    This is also an error of my login: Failed to load resource: the server responded with a status of 500 (Internal Server Error) Perhaps it is the same problem described here: [])

  • 0
    pnw created

    I ran the 'update-database [connect string]' command in Package Manager to create a whole new database so I could compare the columns to my production database. I found I needed to add AuthenticationSource:

    ALTER TABLE dbo.AbpUsers ADD AuthenticationSource nvarchar(64) NULL