title: Error message 'Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information.'
body: <p>I have developed an application using <a href="http://en.wikipedia.org/wiki/ADO.NET_Entity_Framework" rel="noreferrer">Entity Framework</a>, SQL Server 2000, Visual Studio 2008 and Enterprise Library.</p>
  <p>It works absolutely fine locally, but when I deploy the project to our test environment, I am getting the following error:</p>
  <blockquote>
  <p>Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information</p>
  <p>Stack trace: at System.Reflection.Module._GetTypesInternal(StackCrawlMark&amp; stackMark)</p>
  <p>at System.Reflection.Assembly.GetTypes()</p>
  <p>at System.Data.Metadata.Edm.ObjectItemCollection.AssemblyCacheEntry.LoadTypesFromAssembly(LoadingContext context)</p>
  <p>at System.Data.Metadata.Edm.ObjectItemCollection.AssemblyCacheEntry.InternalLoadAssemblyFromCache(LoadingContext context)</p>
  <p>at System.Data.Metadata.Edm.ObjectItemCollection.AssemblyCacheEntry.LoadAssemblyFromCache(Assembly assembly, Boolean loadReferencedAssemblies, Dictionary<code>2 knownAssemblies, Dictionary</code>2&amp; typesInLoading, List`1&amp; errors)</p>
  <p>at System.Data.Metadata.Edm.ObjectItemCollection.LoadAssemblyFromCache(ObjectItemCollection objectItemCollection, Assembly assembly, Boolean loadReferencedAssemblies)</p>
  <p>at System.Data.Metadata.Edm.ObjectItemCollection.LoadAssemblyForType(Type type)</p>
  <p>at System.Data.Metadata.Edm.MetadataWorkspace.LoadAssemblyForType(Type type, Assembly callingAssembly)</p>
  <p>at System.Data.Objects.ObjectContext.CreateQuery[T](String queryString, ObjectParameter[] parameters)</p>
  </blockquote>
  <p>Entity Framework seems to have issue, any clue how to fix it?</p>