I am trying to test the
ADO.NET entity model feature with SQL Anywhere
11.0.1 with EBF 2222. A simple web page with access to a SQL Anywhere
11 database throws up an exception:
Schema specified is not valid. Errors:
iAnywhere.Data.SQLAnywhere.StoreSchemaMapping.msl(3,4) : error 2002:
The EntityContainer 'SchemaInformation' for the conceptual model
specified as part of this MSL does not exist in MetadataWorkspace.
Description: An unhandled exception occurred during the execution of
the current web request. Please review the stack trace for more
information about the error and where it originated in the code.
Exception Details: System.Data.MappingException: Schema specified is
not valid. Errors:
iAnywhere.Data.SQLAnywhere.StoreSchemaMapping.msl(3,4) : error 2002:
The EntityContainer 'SchemaInformation' for the conceptual model
specified as part of this MSL does not exist in MetadataWorkspace.
Source Error:
An unhandled exception was generated during the execution of the
current web request. Information regarding the origin and location of
the exception can be identified using the exception stack trace
below.
Stack Trace:
[MappingException: Schema specified is not valid. Errors:
iAnywhere.Data.SQLAnywhere.StoreSchemaMapping.msl(3,4) : error 2002:
The EntityContainer 'SchemaInformation' for the conceptual model
specified as part of this MSL does not exist in MetadataWorkspace.]
System.Data.Mapping.StorageMappingItemCollection.Init
(EdmItemCollection edmCollection, StoreItemCollection storeCollection,
IEnumerable`1 xmlReaders, List`1 filePaths, Boolean throwOnError)
+3626277
System.Data.Metadata.Edm.StoreMetadataEntry.LoadStoreCollection
(EdmItemCollection edmItemCollection, MetadataArtifactLoader loader)
+272
System.Data.Metadata.Edm.StoreItemCollectionLoader.LoadItemCollection
(StoreMetadataEntry entry) +16
System.Data.Metadata.Edm.MetadataCache.LoadItemCollection
(IItemCollectionLoader`1 itemCollectionLoader, T entry) +123
System.Data.Metadata.Edm.MetadataCache.GetOrCreateStoreAndMappingItemCollections
(String cacheKey, MetadataArtifactLoader loader, EdmItemCollection
edmItemCollection, Object& entryToken) +172
System.Data.EntityClient.EntityConnection.LoadStoreItemCollections
(MetadataWorkspace workspace, DbConnection storeConnection,
DbProviderFactory factory, DbConnectionOptions connectionOptions,
EdmItemCollection edmItemCollection, MetadataArtifactLoader
artifactLoader) +137
System.Data.EntityClient.EntityConnection.GetMetadataWorkspace
(Boolean initializeAllCollections) +298
System.Data.EntityClient.EntityConnection.GetMetadataWorkspace() +9
System.Web.UI.WebControls.EntityDataSourceWrapperCollection..ctor
(ObjectContext context, EntitySet entitySet, EntityType
restrictedEntityType) +171
System.Web.UI.WebControls.EntityDataSourceView.ExecuteSelect
(DataSourceSelectArguments arguments, Creator qbConstructor) +280
System.Web.UI.WebControls.EntityDataSourceView.ExecuteSelect
(DataSourceSelectArguments arguments) +154
System.Web.UI.WebControls.BaseDataList.GetData() +38
System.Web.UI.WebControls.DataList.CreateControlHierarchy(Boolean
useDataSource) +153
System.Web.UI.WebControls.BaseDataList.OnDataBinding(EventArgs e)
+54
System.Web.UI.WebControls.BaseDataList.DataBind() +55
System.Web.UI.WebControls.BaseDataList.EnsureDataBound() +60
System.Web.UI.WebControls.BaseDataList.CreateChildControls() +69
System.Web.UI.Control.EnsureChildControls() +87
System.Web.UI.Control.PreRenderRecursiveInternal() +44
System.Web.UI.Control.PreRenderRecursiveInternal() +171
System.Web.UI.Control.PreRenderRecursiveInternal() +171
System.Web.UI.Page.ProcessRequestMain(Boolean
includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
+842
Any help will welcome.
thanks in advance
--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:2.0.50727.3053;
ASP.NET Version:2.0.50727.3053