[MetadataException: Schema specified is not valid. Errors:
App_Code.CNModel.csdl(3,4) : error 0019: The EntityContainer name must be unique. An EntityContainer with the name 'ChestnutChroniclesEntities' is already defined.
App_Code.CNModel.csdl(7,4) : error 0019: Each type name in a schema must be unique. Type name 'ChestnutChroniclesModel.MOL' was already defined.
App_Code.CNModel.csdl(17,4) : error 0019: Each type name in a schema must be unique. Type name 'ChestnutChroniclesModel.RSVP' was already defined.]
System.Data.Metadata.Edm.EdmItemCollection.LoadItems(IEnumerable`1 xmlReaders, IEnumerable`1 sourceFilePaths, SchemaDataModelOption dataModelOption, DbProviderManifest providerManifest, ItemCollection itemCollection, Boolean throwOnError) +8748359
System.Data.Metadata.Edm.EdmItemCollection.Init(IEnumerable`1 xmlReaders, IEnumerable`1 filePaths, Boolean throwOnError) +120
System.Data.Metadata.Edm.EdmItemCollection..ctor(IEnumerable`1 xmlReaders, IEnumerable`1 filePaths) +169
System.Data.Metadata.Edm.EdmMetadataEntry.LoadEdmItemCollection(MetadataArtifactLoader loader) +89
System.Data.Metadata.Edm.EdmItemCollectionLoader.LoadItemCollection(EdmMetadataEntry entry) +18
System.Data.Metadata.Edm.MetadataCache.LoadItemCollection(IItemCollectionLoader`1 itemCollectionLoader, T entry) +130
System.Data.Metadata.Edm.MetadataCache.GetOrCreateEdmItemCollection(String cacheKey, MetadataArtifactLoader loader, Object& entryToken) +138
System.Data.EntityClient.EntityConnection.LoadEdmItemCollection(MetadataWorkspace workspace, MetadataArtifactLoader artifactLoader) +106
System.Data.EntityClient.EntityConnection.GetMetadataWorkspace(Boolean initializeAllCollections) +467
System.Data.Objects.ObjectContext.RetrieveMetadataWorkspaceFromConnection() +26
System.Data.Objects.ObjectContext..ctor(EntityConnection connection, Boolean isConnectionConstructor) +174
System.Data.Objects.ObjectContext..ctor(String connectionString, String defaultContainerName) +29
ChestnutChroniclesModel.ChestnutChroniclesEntities..ctor() in e:\web\chestnut\App_Code\CNModel.Designer.cs:26
rsvp..ctor() in e:\web\chestnut\rsvp.aspx.cs:15
ASP.rsvp_aspx..ctor() in App_Web_iy0pzc0a.2.cs:0
__ASP.FastObjectFactory_app_web_iy0pzc0a.Create_ASP_rsvp_aspx() in App_Web_iy0pzc0a.24.cs:0
System.Web.Compilation.BuildResultCompiledType.CreateInstance() +31
System.Web.Compilation.BuildManager.CreateInstanceFromVirtualPath(VirtualPath virtualPath, Type requiredBaseType, HttpContext context, Boolean allowCrossApp) +104
System.Web.UI.PageHandlerFactory.GetHandlerHelper(HttpContext context, String requestType, VirtualPath virtualPath, String physicalPath) +33
System.Web.UI.PageHandlerFactory.GetHandler(HttpContext context, String requestType, String virtualPath, String path) +39
System.Web.MaterializeHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +386
System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step) +50
System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +163
|