Unable to find metadata
Unable to find metadata
I am getting an error when trying to use Entity Developers generated data model that says:
"Unable to find metadata for 'DataSourceModel1Entities'
I am using VS2010 RC1 and the latest beta version of the devArt toolkit. I am also using the Oracle dotNet connector. Please let me know what options I can try. Thanks!
"Unable to find metadata for 'DataSourceModel1Entities'
I am using VS2010 RC1 and the latest beta version of the devArt toolkit. I am also using the Oracle dotNet connector. Please let me know what options I can try. Thanks!
Issue Still Exists
The issue still exists. Where do I place the metadata files? I placed them in the web project under the root? Do I need to set the Copy to Output Directory or any other parameters? Thanks for your help!
I recommend you to wait for the upcoming build (it will be available in several days).
This build will contain fix concerning metadata, so no workarounds will be necessary.
Unfortunately, we are unable to provide RIA Services support for Devart Entity Data Models (.edml),
so you will be able to use only Microsoft Entity Data Models (.edmx) anyway.
This build will contain fix concerning metadata, so no workarounds will be necessary.
Unfortunately, we are unable to provide RIA Services support for Devart Entity Data Models (.edml),
so you will be able to use only Microsoft Entity Data Models (.edmx) anyway.
Thank you for your feedback. Is there any timeline concerning support for the release of RIA services or will this always be a feature only integrated with Microsoft's Entity Framework? I have seen examples of using NHibernate with RIA services so I would think this could eventually be done. I completely understand that this is all new stuff but I do like the looks of your designer and would love to use if if it could eventually meet this need. Thanks!
-
- Posts: 19
- Joined: Thu 08 Apr 2010 11:24
- Location: Belgium
I'm trying the very same thing.. but I just cannot select any entities while adding a new Domain Service Class?
1. In Entity Developer I selected the "add metadata to output folder", then F7 and export to VS2010 project (subfolder Devart).
2. MODEL save AS ...edml (in subfolder Devart) + edml was renamed to edmx.
3. Added edmx + entity classes to project.. the edmx can be opened as a normal one.
4. Try adding a new Domain Service Class.. I can select my DataObject.. but cannot see any Entities underneath. If I press OK I receive an error.
"Unable to load the specified metadata resource."
or
"Could not find any resources appropriate for the specified culture or the neutral culture. Make sure "System.ServiceModel.DomainServices.EntityFramework.MetadataResource.resources" was correctly embedded or linked into assembly "Microsoft.VisualStudio.ServiceModel.DomainServices.Tools" at compile time, or that all the satellite assemblies required are loadable and fully signed."
Where do I put which files?
Please help.
Regards,
Joost Van Gansbeke
dotConnect for Oracle 5.60 (Developer) with Visual Studio 2010
1. In Entity Developer I selected the "add metadata to output folder", then F7 and export to VS2010 project (subfolder Devart).
2. MODEL save AS ...edml (in subfolder Devart) + edml was renamed to edmx.
3. Added edmx + entity classes to project.. the edmx can be opened as a normal one.
4. Try adding a new Domain Service Class.. I can select my DataObject.. but cannot see any Entities underneath. If I press OK I receive an error.
"Unable to load the specified metadata resource."
or
"Could not find any resources appropriate for the specified culture or the neutral culture. Make sure "System.ServiceModel.DomainServices.EntityFramework.MetadataResource.resources" was correctly embedded or linked into assembly "Microsoft.VisualStudio.ServiceModel.DomainServices.Tools" at compile time, or that all the satellite assemblies required are loadable and fully signed."
Where do I put which files?
Please help.
Regards,
Joost Van Gansbeke
dotConnect for Oracle 5.60 (Developer) with Visual Studio 2010
Please check that you have added the Model.csdl, Model.ssdl, and Model.msl files to the project.
The Copy To Output Directory property for these files should be set to Copy If Newer.
Also please make sure that your connection string contains proprer references to these metadata files.
It should not contain the "res://" part, instead it should contain either absolute or referential path to these files, for example,
in case these files are in the Bin folder of the project.
The Copy To Output Directory property for these files should be set to Copy If Newer.
Also please make sure that your connection string contains proprer references to these metadata files.
It should not contain the "res://" part, instead it should contain either absolute or referential path to these files, for example,
Code: Select all
metadata=DataSourceModel1.csdl|DataSourceModel1.ssdl|DataSourceModel1.msl
in case these files are in the Bin folder of the project.
-
- Posts: 19
- Joined: Thu 08 Apr 2010 11:24
- Location: Belgium
Have been trying for hours now, still I cannot get it to work.. "Unable to find metadata for 'Entities', which is the Entity Container Name of the Model in Entity Developer.
The error is triggered by the other frontend project, not the wcf project containing the model.
Maybe my connectionstring is wrong?
Andy ideas?
The error is triggered by the other frontend project, not the wcf project containing the model.
Maybe my connectionstring is wrong?
Andy ideas?
-
- Posts: 19
- Joined: Thu 08 Apr 2010 11:24
- Location: Belgium
I have tried to do this by using the Entity Developer against and Oracle Express database. I am able to create the model just fine, and then when I try to create the RIA domain service class, it does not see any of the entities. I am using VWD Express 2010 and the trial version of the provider. I have the metadata (csdl, etc.) added to the project with "Copy If Newer" set. I have also checked the connection string in the designer.vb file. All seems to be in order, yet the domain services class wizard does not show the entities. It does list the framework.