YAFNET: Invalid column name 'Flags'.

From the latest source and in an upgrade scenario from 1.9.6, the following error is thrown:

Invalid column name ‘Flags’. Exception Details: System.Data.SqlClient.SqlException: Invalid column name ‘Flags’.

Line 102:    public IDataReader ExecuteReader()
Line 103:    {
Line 104:        return dbCmd.ExecuteReader();
Line 105:    }
Line 106:

Source File: C:\Users\User\Desktop\YAFNET-master\yafsrc\ServiceStack\ServiceStack.OrmLite\OrmLiteCommand.cs Line: 104

Best

About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Comments: 18 (8 by maintainers)

Most upvoted comments

Hi The forum works but: 1-No installation or upgrade page! 2-Nobody can login.All users get “Wrong password” error and therefore I can not check the forum to see if everything work. 3-The table “yaf_UserProfile” is messed up and shows the following error when trying to select it:

Msg 208, Level 16, State 1, Line 2
Invalid object name 'yafnet.dbo.yaf_UserProfile'.
  1. Yes thats is correct. The database is updated automatically, and when finished logged in the event log.
  2. If you cant logged in that means you dont migrated the web.config, as described in the upgrade Readme

Its Important that the membership password settings are migrated to the app settings.

  1. This table is deleted on the upgrade. This mirror table of the membership profile was never used.