Morten Empeños Blog

Search:

The type IUserStore`1 does not have an accessible constructor

Posted on Jan 26, 2015 by Morten Empeño

Setting up Unity in an MVC application with authentication may cause the error: The type IUserStore`1 does not have an accessible constructor This blog describes why and how to fix it.

Read More

Categories: ASP.NET

Tags: Unity, MVC

Multiple database contexts with Unit of Work

Posted on Feb 06, 2015 by Morten Empeño

In this blog I explain how you can fix the error: The relationship between the two objects cannot be defined because they are attached to different ObjectContext objects. In my case I ran in to the problem when building an application with a generic repository, using Unit of Work and using Unity for dependency injection.

Read More

Categories: ASP.NET

Tags: Unity, MVC


Page 1 of 1

Categories

Tags