The 'System.Web.Security.SqlMembershipProvider' requires a database schema compatible with schema version '1'

后端 未结 12 1668
隐瞒了意图╮
隐瞒了意图╮ 2020-12-08 09:26

I have a SQL Server 2008 DB with many tables filled with data and I used SQL Server Management Studio to generate a SQL dump by using the Script Wizard : Tasks -> Generate S

12条回答
  •  鱼传尺愫
    2020-12-08 10:18

    If you really haven't forgotten anything (views, SP's, etc. etc. etc.), then googling indicates that 'silly' solutions like closing the project and re-opening, rebuilding, or:

    The thing that actually did the trick was going through the ASP.NET Configuration utility (Visual Studio - under Website menu), taking the application offline and then back online. This actually just makes a change to web.config (not exactly sure what the change was). So after taking it offline, I had to upload web.config to the hosted solution. Then took the application back online, recopied web.config, etc.

    May be the answer.

提交回复
热议问题