Page 1 of 1

Could not open edmx file in DevArt Entity Developer

Posted: Fri 06 Mar 2015 17:54
by anand123
when I try to open edmx in Entity Developer getting below error. but same edmx opens in VS and no error while compiling.

MSL parsing failed: The attribute 'StoreEntitySet' of tag 'MappingFragment' has a unexpected value 'T600_VOYACC' at line #12497.

But when I add "s" with entity set names, it opens without error. But there are 120 tables in edmx, change all entity names is not possible. is it any other fix for this?

Code: Select all

<edmx:StorageModels>
      <Schema Namespace="VMModel.Store" Alias="Self" Provider="Devart.Data.Oracle" ProviderManifestToken="Oracle, 11.2.0.1" xmlns:store="http://schemas.microsoft.com/ado/2007/12/edm/EntityStoreSchemaGenerator" xmlns:devart="http://devart.com/schemas/edml/StorageSchemaExtensions/1.0" xmlns="http://schemas.microsoft.com/ado/2009/11/edm/ssdl">  
......
<EntitySet Name="T600_VOYACC" EntityType="Self.T600_VOYACC" Schema="SYSADM" store:Type="Tables"  />



<edmx:Mappings>
      <Mapping Space="C-S" xmlns="http://schemas.microsoft.com/ado/2009/11/mapping/cs">
        <EntityContainerMapping StorageEntityContainer="VMModelStoreContainer" CdmEntityContainer="VMEntities">
          <EntitySetMapping Name="OPRVoyages">
            <EntityTypeMapping TypeName="VMModel.OPRVoyage">
              <MappingFragment StoreEntitySet="T600_VOYACC">  
                <ScalarProperty Name="VEGenerated" ColumnName="VE_GENERATED" />

Re: Could not open edmx file in DevArt Entity Developer

Posted: Mon 09 Mar 2015 14:49
by Shalex
We cannot reproduce the problem with the latest (5.7.556) build of Entity Developer. Please upgrade. If this doesn't help, send us a test *.edmx model which works with Microsoft EDM Designer but fails with Devart Entity Developer.

Re: Could not open edmx file in DevArt Entity Developer

Posted: Tue 10 Mar 2015 12:56
by anand123
Thanks Shalex .

it works with latest entity developer.

Re: Could not open edmx file in DevArt Entity Developer

Posted: Tue 10 Mar 2015 14:07
by Shalex

Code: Select all

The 'Instance' member of the Entity Framework provider type 'Devart.Data.Oracle.Entity.OracleEntityProviderServices, Devart.Data.Oracle.Entity, Version=8.4.359.0, [...]
Try the following:

1. Remove old references to the Devart.* assemblies from your project and add the new ones:
C:\Program Files (x86)\Devart\dotConnect\Oracle\Devart.Data.dll
C:\Program Files (x86)\Devart\dotConnect\Oracle\Devart.Data.Oracle.dll
C:\Program Files (x86)\Devart\dotConnect\Oracle\Entity\EF6\Devart.Data.Oracle.Entity.dll

2. Update the dotConnect for Oracle version in the *.config file of your application. Please note that the revision number of provider in the entityFramework section is *.6 (8.4.359.6) but it should be *.0 (8.4.359.0) in DbProviderFactories.