Base solution for your next web application
Open Closed

LoginAync fails in Zero 0.6.3.4 #134


User avatar
0
pnw created

I upgraded to ABP 0.6.3.1 and Zero 0.6.3.4 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)
  • User Avatar
    0
    hikalkan created
    Support Team

    Hi,

    You should add a new migration like:

    Add-Migration "Added_AuthorizationSource_To_User"

    Have a nice day.

  • User Avatar
    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: [http://forum.aspnetboilerplate.com/viewtopic.php?f=3&t=214])

  • User Avatar
    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