Friday, 15 April 2011

asp.net mvc 5 - No owin.Environment item was found in the context when creating user -



asp.net mvc 5 - No owin.Environment item was found in the context when creating user -

scenario:

i have class library project. has required dll's owin security. using class library project in web project. creating, adding roles (all sort of user management) in class library project , vision re-use project in multiple web project. made startup class in class library project , made other thing required. ex: identitymodel app.config has key

<appsettings> <add key="owin:appstartup" value="namespace.startup, assembly" /> <add key="owin:automaticappstartup " value="false" /> </appsettings> problem:

when seek create user, having error:

no owin.environment item found in context

any thought how prepare that??

asp.net-mvc-5 owin

No comments:

Post a Comment