Sunday, December 11, 2011

Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information.

Problem :
When i created the MVC3 project while having the Domain on a separate project and reffed the dll to the web project i came across this error "Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information."

Solution:
Remove the reference to the Entity Framework dll and add the Entity Framework dll on the domain bin project again.

Reason :
When i started the web project i added reference to EF 4.1 but while completing the domain i refereed to EF 4.2. This was the cause to the problem.

 :) coding