Search found 33 matches

by RobIntechnica
Fri 03 Sep 2010 14:09
Forum: Entity Framework support
Topic: RIA and MSBuild
Replies: 17
Views: 6569

AndreyR wrote:Rob, unfortunately, we have not received anything.
You can try support * devart * com or andreyr * devart * com.
Please try once again.
Hi,

I've now sent again to andreyr address.

The file is 2MB. I hope this is not too big?

Thanks
by RobIntechnica
Fri 03 Sep 2010 08:26
Forum: Entity Framework support
Topic: RIA and MSBuild
Replies: 17
Views: 6569

AndreyR wrote:I have performed a simple test and everything worked correctly with .edmx.
Could you please send me (support * devart * com, subject "DomainService, .edml") a test project reproducing the problem?
I have just sent the test project. Please can you confirm receipt? Thanks
by RobIntechnica
Thu 02 Sep 2010 13:29
Forum: Entity Framework support
Topic: RIA and MSBuild
Replies: 17
Views: 6569

AndreyR wrote:I have performed a simple test and everything worked correctly with .edmx.
Could you please send me (support * devart * com, subject "DomainService, .edml") a test project reproducing the problem?
Yes it works as EDMX. Did you mean to say EDML?
by RobIntechnica
Thu 02 Sep 2010 09:43
Forum: Entity Framework support
Topic: RIA and MSBuild
Replies: 17
Views: 6569

AndreyR wrote:Actually, there is no need to change the extension from .edml to .edmx.
I recommended this to remove our deployment code from consideration and narrow down the problem.
Could you please try to work with .edml? There should be no problems, generally.
Please notify me if the error persists.
Hi

I have found that we DO need to rename the .EDML to .EDMX for it to work (and also change Build Action to EntityDeploy).

If you do not, it compiles OK, but gets "Could not find the conceptual model type..." as a run time error when the domain service is called.

Thanks

Rob
by RobIntechnica
Mon 16 Aug 2010 09:33
Forum: Entity Framework support
Topic: RIA and MSBuild
Replies: 17
Views: 6569

AndreyR wrote:Glad to hear the issue is resolved.
As for the test project, we have not received it (as far as I understand, there is no need in it already, just for your information).
Yes there's no need, but it was sent Thu 29/07/2010 FYI.

What's the reason for renaming the EDML to EDMX, and will this be fixed?

Can I keep it as EDMX or should I use EDML during development then change it to EDMX for deploys?

Thanks
by RobIntechnica
Sun 15 Aug 2010 15:01
Forum: Entity Framework support
Topic: RIA and MSBuild
Replies: 17
Views: 6569

Hi

I've finally managed to get it working. :D

I had to
  • * Rename entities to EDMX and change to entity deploy (as you advised above)
    * Remove the Silverlight project from my solution
    * Compile solution using 64bit MSBuild
I think the problem was a combination of neither MSBuild x86 or MSBuild x64 being able to compile the solution as a whole as Silverlight has to be 32 bit and the linked RIA site 64 bit, as well as the EDML/EDMX bug.

I compiled the Silverlight project on my local machine (x86 OS) then dropped in the XAP file later.
by RobIntechnica
Fri 13 Aug 2010 14:08
Forum: Entity Framework support
Topic: RIA and MSBuild
Replies: 17
Views: 6569

Hi

Any luck with the sample project I sent?

I cannot get my Domain Service to compile on x64 when Devart Entities are used.

This works fine in a normal ASP.NET site, but not for Silverlight.

Thanks
by RobIntechnica
Tue 27 Jul 2010 13:50
Forum: Entity Framework support
Topic: RIA and MSBuild
Replies: 17
Views: 6569

AndreyR wrote:Try to set MetadataArtifactProcessing to EmbedInOutputAssembly, like it is advised here.
Hi, yes this is what it is set to already. I have tried changing this to copy to output directory also with no luck.

Our Team City CI Server is Windows Server 2003 R2 Standard x64 with SP2. Have you any other ideas on how to fix this? Thanks
by RobIntechnica
Fri 23 Jul 2010 15:07
Forum: Entity Framework support
Topic: RIA and MSBuild
Replies: 17
Views: 6569

RIA and MSBuild

Hi

We're using dotConnect for Oracle with RIA Services for Silverlight 3.0. We are using a dotConnect EDML file for the data model, which is accessed from Silverlight via a DomainService.

It is working fine in Visual Studio 2008 but we are having trouble getting it to compile with MSBuild. We use the Team City build system which calls MSBuild to build the solution.

The MSBuild error is:-

C:\Program Files (x86)\MSBuild\Microsoft\Silverlight\v3.0\Microsoft.Ria.Client.targets(261,5): error : Could not find the conceptual model type for 'ReportingDataModel.TRAITS'.

This is using .NET 3.5

Any ideas on what could be the problem? Thanks in advance.
by RobIntechnica
Fri 28 May 2010 09:58
Forum: dbForge for Oracle
Topic: Unique Constraint Bug?
Replies: 4
Views: 3334

.jp wrote:This bug is already fixed.
Please download the recent version of OraDeveloper Tools.
Hi

I still get this with 2.55.168. Is the fix present in this version?

Also, I get an error that a DATE column cannot be null, even though this is set to a default of SYSDATE in DDL.

Thanks
by RobIntechnica
Fri 28 May 2010 08:40
Forum: Entity Framework support
Topic: RIA Services - Many to Many
Replies: 2
Views: 3291

Thanks very much for the links. Adding to the many to many wasn't a problem, it was only when I came to delete. I've worked round this by enabling cascade delete at the database level and altered the relationship in the model to reflect this.

I'll try the adding an extra column approach if I need this in future.
by RobIntechnica
Tue 25 May 2010 17:10
Forum: Entity Framework support
Topic: RIA Services - Many to Many
Replies: 2
Views: 3291

RIA Services - Many to Many

Hi

I'm Using RIA Services PDC 2009 to query my dotConnect for Oracle entity diagram, but I can't seem to access a many to many relationship. It works fine for one to many on the client. Many to many works on the server though.

In domain service on server this is fine:-

Code: Select all

 private void Test()
        {
            XYZ_FILE file = new XYZ_FILE();

            var x = file.XYZ_FOLDER;

        }
        
In Silverlight client this gets an error on the 2nd line:-

Code: Select all

 private void Test()
        {
            XYZ_FILE file = new XYZ_FILE();

            var x = file.XYZ_FOLDER;

        }

Error 7 'XYZDataModel.XYZ_FILE' does not contain a definition for 'XYZ_FOLDER' and no extension method 'XYZ_FOLDER' accepting a first argument of type 'XYZDataModel.XYZ_FILE' could be found (are you missing a using directive or an assembly reference?)

What could be the problem? Thanks
by RobIntechnica
Thu 20 May 2010 10:01
Forum: dotConnect for Oracle
Topic: Unknown connection string parameter
Replies: 11
Views: 11413



in web.config solves it too.
by RobIntechnica
Wed 19 May 2010 10:41
Forum: Entity Developer
Topic: Unable to find metadata
Replies: 20
Views: 10613

AndreyR wrote:I have made some tests with EF 4 RTM and RIA Services 4 RC.
The .edmx model generated over Oracle database works smoothly.
The .edml model has a foreign key problem, it is investigated now.
I will post here as soon as any new information about the .edml problem is available.
I have been using EDML with RIA Services PDC 2009 on Visual Studio 2008 with no problems. Can you confirm that the problem is only with VS 2010? Ta.
by RobIntechnica
Wed 19 May 2010 09:20
Forum: dotConnect for Oracle
Topic: Unknown connection string parameter
Replies: 11
Views: 11413

Thanks, my colleague managed to solve that error by uninstalling and then installing a different version of dotConnect, but we recently got the error on a new server we were going to use dotConnect with.

This time, having looked at the problem in more detail, have realised that the error is because of the AspNetOracleMembershipProvider which we don't actually make use of so have just commented the add line out of machine.config to make it work.

Just wondering why does the installer add this line by default to assume you want to use a membership provider? Thanks.