Stack Trace at System.Data.Entity.Core.Metadata.Edm.MetadataCollection`1.AddToDictionary(Dictionary`2 identityDictionary, List`1 orderedList, String identity, Int32 index, Boolean updateIfFound)
at System.Data.Entity.Core.Metadata.Edm.MetadataCollection`1.AddInternalHelper(T item, CollectionData collectionData, Boolean updateIfFound)
at System.Data.Entity.Core.Metadata.Edm.MemberCollection.Add(EdmMember member)
at System.Data.Entity.Core.Metadata.Edm.StructuralType.AddMember(EdmMember member, Boolean forceAdd)
at System.Data.Entity.ModelConfiguration.Mappers.PropertyMapper.MapIfNotNavigationProperty(PropertyInfo propertyInfo, EntityType entityType, Func`1 entityTypeConfiguration)
at System.Data.Entity.ModelConfiguration.Mappers.TypeMapper.<>c__DisplayClass14.<MapEntityType>b__e(PropertyMapper m, PropertyInfo p)
at System.Data.Entity.ModelConfiguration.Mappers.TypeMapper.MapStructuralElements[TStructuralTypeConfiguration](Type type, ICollection`1 annotations, Action`2 propertyMappingAction, Boolean mapDeclaredPropertiesOnly, Func`1 structuralTypeConfiguration)
at System.Data.Entity.ModelConfiguration.Mappers.TypeMapper.MapEntityType(Type type)
at System.Data.Entity.DbModelBuilder.<>c__DisplayClassd.<MapTypes>b__7(Type type)
at System.Linq.Enumerable.WhereListIterator`1.MoveNext()
at System.Data.Entity.Utilities.IEnumerableExtensions.Each[T](IEnumerable`1 ts, Action`1 action)
at System.Data.Entity.DbModelBuilder.MapTypes(EdmModel model)
at System.Data.Entity.DbModelBuilder.Build(DbProviderManifest providerManifest, DbProviderInfo providerInfo)
at System.Data.Entity.DbModelBuilder.Build(DbConnection providerConnection)
at System.Data.Entity.Internal.LazyInternalContext.CreateModel(LazyInternalContext internalContext)
at System.Data.Entity.Internal.RetryLazy`2.GetValue(TInput input)
at System.Data.Entity.Internal.LazyInternalContext.InitializeContext()
at System.Data.Entity.Internal.InternalContext.GetEntitySetAndBaseTypeForType(Type entityType)
at System.Data.Entity.Internal.Linq.InternalSet`1.Initialize()
at System.Data.Entity.Internal.Linq.InternalSet`1.get_InternalContext()
at System.Data.Entity.Infrastructure.DbQuery`1.System.Linq.IQueryable.get_Provider()
at System.Linq.Queryable.Where[TSource](IQueryable`1 source, Expression`1 predicate)
at WebXRM_ENT.TrainingCourse.LoadCourses(Int32 ParentID) in C:\_w\XRM.NET\XRM.NET\WebXRM\WebXRM_ENT\Entities\TrainingCourse.vb:line 69
at WebXRM_ENT.TrainingCourse.PopulateTreeRec(Int32 HideInactive, ArrayList& InactiveCourses, Int32 topicID, TreeNode node) in C:\_w\XRM.NET\XRM.NET\WebXRM\WebXRM_ENT\Entities\TrainingCourse.vb:line 157
at WebXRM.Train_Main.Page_Load(Object sender, EventArgs e) in C:\_w\XRM.NET\XRM.NET\WebXRM\WebXRM\Training\Train_Main.aspx.vb:line 11
at System.Web.UI.Control.OnLoad(EventArgs e)
at WebXRM.BasePage.OnLoad(EventArgs e) in C:\_w\XRM.NET\XRM.NET\WebXRM\WebXRM\BasePage.vb:line 1591
at System.Web.UI.Adapters.ControlAdapter.OnLoad(EventArgs e)
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)