Moving Identity Modules outside the ASP.NET MVC Project -
Moving Identity Modules outside the ASP.NET MVC Project -
i'm using asp.net mvc 5 , identity 2.0
i moved identity 2.0 classes (classes defined in model/identitymodel.cs
, startup/identityconfig.cs
) class library because models need reside outside website, , applicationuser
class.
after moving classes had install microsoft.aspnet.identity.entityframework
, microsoft.aspnet.identity.owin
nuget.
now when run application, next error:
an unhandled exception generated during execution of current web request. info regarding origin , location of exception can identified using exception stack trace below.
stack trace here
i don't know went wrong , where. seems work till startup.cs
.
i managed solve deleting database, , letting ef create new 1 me. applicationdbinitializer
's seed() called appropriately , worked fine.
asp.net-mvc asp.net-identity owin
Comments
Post a Comment