Hi , I have this error when I try to connect to a database with collation chinese and SO XP zh-CN
I try run custom tool, update model and nothing on XP chinese.
delete and create the new model and nothing same error.
I review the string connections and are OK.
other data: Originally the model was created on Collation Latin1 SQLexpress on W7 ultimate en-US
I created a new project to connect to the same database on XP chinese and run perfect and I can read and execute querys.
IdeaBlade.EntityModel.EntityServerException: Key 'RMS_ULEntities': The model's metadata artifact files (csdl, msl, ssdl) are either invalid or could not be found, either as resources in an assembly or loose in the output directory. Perhaps you have multiple assemblies containing the same metadata. Check the connection string for key 'RMS_ULEntities', which says the artifact filenames are RMS_Model.csdl, RMS_Model.ssdl, and RMS_Model.msl. Do these names match the actual artifact filenames? All three root names (e.g., 'RMS_Model') should be the same and match the edmx filename unless you changed them deliberately. ---> IdeaBlade.EntityModel.EntityServerException: The model's metadata artifact files (csdl, msl, ssdl) are either invalid or could not be found, either as resources in an assembly or loose in the output directory. Perhaps you have multiple assemblies containing the same metadata. Check the connection string for key 'RMS_ULEntities', which says the artifact filenames are RMS_Model.csdl, RMS_Model.ssdl, and RMS_Model.msl. Do these names match the actual artifact filenames? All three root names (e.g., 'RMS_Model') should be the same and match the edmx filename unless you changed them deliberately. ---> System.Data.MetadataException: ?????????§¹??????:
RMS_Model.csdl(3,79) : ???? 0004: Could not load file or assembly 'System.Xml.resources, Version=4.0.0.0, Culture=zh-CN, PublicKeyToken=b77a5c561934e089' or one of its dependencies. ?????????????????
?? System.Data.Metadata.Edm.EdmItemCollection.LoadItems(IEnumerable`1 xmlReaders, IEnumerable`1 sourceFilePaths, SchemaDataModelOption dataModelOption, DbProviderManifest providerManifest, ItemCollection itemCollection, Boolean throwOnError)
?? System.Data.Metadata.Edm.EdmItemCollection.Init(IEnumerable`1 xmlReaders, IEnumerable`1 filePaths, Boolean throwOnError)
?? System.Data.Metadata.Edm.EdmItemCollection..ctor(IEnumerable`1 xmlReaders, IEnumerable`1 filePaths)
?? System.Data.Metadata.Edm.MetadataCache.EdmMetadataEntry.LoadEdmItemCollection(MetadataArtifactLoader loader)
?? System.Data.Metadata.Edm.MetadataCache.EdmItemCollectionLoader.LoadItemCollection(EdmMetadataEntry entry)
?? System.Data.Metadata.Edm.MetadataCache.LoadItemCollection[T](IItemCollectionLoader`1 itemCollectionLoader, T entry)
?? System.Data.Metadata.Edm.MetadataCache.GetOrCreateEdmItemCollection(String cacheKey, MetadataArtifactLoader loader, Object& entryToken)
?? System.Data.EntityClient.EntityConnection.LoadEdmItemCollection(MetadataWorkspace workspace, MetadataArtifactLoader artifactLoader)
?? System.Data.EntityClient.EntityConnection.GetMetadataWorkspace(Boolean initializeAllCollections)
?? System.Data.Objects.ObjectContext.RetrieveMetadataWorkspaceFromConnection()
?? System.Data.Objects.ObjectContext..ctor(EntityConnection connection, Boolean isConnectionConstructor)
?? IdeaBlade.EntityModel.Edm.EdmKey.CreateObjectContext()
?? IdeaBlade.EntityModel.Edm.EdmKey.CreateContext()
--- ??????????????¦Â ---
?? IdeaBlade.EntityModel.Edm.EdmKey.CreateContext()
?? IdeaBlade.EntityModel.Edm.EdmKey.Initialize()
?? IdeaBlade.EntityModel.Edm.EdmKey.CreateContext()
--- ??????????????¦Â ---
?? IdeaBlade.EntityModel.EntityManager.HandleEntityServerException(Exception ex, Boolean tryToHandle, PersistenceOperation operation, Boolean throwOnError)
?? IdeaBlade.EntityModel.EntityManager.ExecuteServerQuery(IEntityQuerySurrogate entityQuery)
?? IdeaBlade.EntityModel.EntityManager.ExecuteFetch(IEntityFinder finder)
?? IdeaBlade.EntityModel.EntityQueryFinder.Execute()
?? IdeaBlade.EntityModel.EntityManager.ExecuteQueryCore(IEntityQuery query, Boolean isAsync)
?? IdeaBlade.EntityModel.EntityQuery`1.System.Linq.IQueryProvider.Execute[TResult](Expression expression)
?? System.Linq.Queryable.FirstOrDefault[TSource](IQueryable`1 source)
?? Cmx.Rms.RmsUniversalLink.DAL.Common.InterfaceRepository.GetInterfacePriority(Int32 iPriority)
?? Cmx.Rms.RmsUniversalLink.SAP.BL.InterfaceService.GetInterfacePriority(InterfacePriority priority)
?? Cmx.Rms.RmsUniversalLink.ListenerRms.SetupTimer()