locked
Update ASPNETDB schema for ASP.NET Identity RRS feed

  • Question

  • User1608048578 posted

    Is there a tool to update the ASPNETDB schema to work with the current version of ASP.NET Identity?

    I have used the "Schema Comparison" tool to generate an update script, but is that really what I should be doing? I haven't run the script yet.

    Sunday, October 12, 2014 5:18 AM

Answers

All replies

  • User-1716253493 posted

    Maybe you can use aspnet_regsql.exe inside C:\Windows\Microsoft.NET\Framework\<net version>\

    Deferent net version deferent schema

    Sunday, October 12, 2014 5:32 AM
  • User1608048578 posted

    No, I tried that already. The script generated by c:\windows\microsoft.net\Framework64\v4.0.30319\aspnet_regsql.exe did not include the missing columns.

    Sunday, October 12, 2014 5:50 AM
  • User1608048578 posted

    For  what it is worth, I updated the aspnetdb database manually. I can log in now. However, I would still like to know if there is a better way.

    Monday, October 13, 2014 4:46 PM
  • User71929859 posted

    For  what it is worth, I updated the aspnetdb database manually. I can log in now. However, I would still like to know if there is a better way.

    Check here

    http://www.asp.net/identity/overview/migrations/migrating-an-existing-website-from-sql-membership-to-aspnet-identity

    There are no tools which will automate the whole task. It involves several steps so it's pretty much a manual process.

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Monday, October 20, 2014 5:07 AM