Re: Silverlight RIA Services

2010-08-16 Thread David Burela
Have you tried hitting the service directly in a browser? You can do a basic check to ensure that the domain service is actually being hosted. If your fully qualified class name was Myapp.RiaProject.Services.MyDomainService then you would browse to it by just replacing the dots with - and adding .

Re: Silverlight RIA Services

2010-08-15 Thread KO CHANG
Hi Shingi, It all look right to me, however, I am curious about the static declaration on title within the metadata class. Is there a reason why it is static? Ko On Thu, Aug 12, 2010 at 9:19 PM, Shingi Mutandwa wrote: > > > The EDMX and the RIA services are in different projects and therefor

RE: Silverlight RIA Services

2010-08-15 Thread Tony Wright
t.com [mailto:ozsilverlight-boun...@ozsilverlight.com] On Behalf Of Shingi Mutandwa Sent: Thursday, 12 August 2010 9:19 PM To: ozSilverlight Subject: Re: Silverlight RIA Services The EDMX and the RIA services are in different projects and therefore the "Generate metadata" checkbox is disabled when

Re: Silverlight RIA Services

2010-08-12 Thread Shingi Mutandwa
The EDMX and the RIA services are in different projects and therefore the “Generate metadata” checkbox is disabled when generating the domain service in Visual Studio. However we created a partial class in the same project containing the EDMX and applied the [include] attr like so:- [MetadataTyp

Re: Silverlight RIA Services

2010-08-12 Thread Shingi Mutandwa
Deleted the generated_code folder but I am still having the same issue. The domain service class was generated by Visual studio and I did not add anything to it. On Thu, Aug 12, 2010 at 8:09 PM, KO CHANG wrote: > Hi Shinji, > > It is likely that you didn't declare any ria service operation re

Re: Silverlight RIA Services

2010-08-12 Thread KO CHANG
Hi Shinji, It is likely that you didn't declare any ria service operation regarding the entity. For example, have you got any [Insert], [Update], [Delete], [Query] methods within the domain service? Ko ___ ozsilverlight mailing list ozsilverlight@ozs

Re: Silverlight RIA Services

2010-08-12 Thread Chris Anderson
ilverlight.com] *On Behalf Of *Shingi Mutandwa > *Sent:* Thursday, 12 August 2010 5:41 PM > *To:* ozSilverlight > *Subject:* Re: Silverlight RIA Services > > > > Hi Tony > > I have the service class decorated with > > [EnableClientAccess()] > > Regards, > >

RE: Silverlight RIA Services

2010-08-12 Thread Tony Wright
Sent: Thursday, 12 August 2010 5:41 PM To: ozSilverlight Subject: Re: Silverlight RIA Services Hi Tony I have the service class decorated with [EnableClientAccess()] Regards, Shingi On Thu, Aug 12, 2010 at 5:34 PM, wrote: Hi Shingi, It sounds like the object does not exist within the

Re: Silverlight RIA Services

2010-08-12 Thread Shingi Mutandwa
ngi.mutan...@gmail.com> wrote: > > > Could somebody help me with the System.InvalidOperationException with the > > message below inside the generated client code of my Silverlight RIA > > services:- > > > > This EntityContainer does not contain an Entity

Re: Silverlight RIA Services

2010-08-12 Thread tonywr
class? Regards, Tony On Thu, Aug 12th, 2010 at 5:24 PM, Shingi Mutandwa wrote: > Could somebody help me with the System.InvalidOperationException with the > message below inside the generated client code of my Silverlight RIA > services:- > > This EntityContainer does not con

Silverlight RIA Services

2010-08-12 Thread Shingi Mutandwa
Could somebody help me with the System.InvalidOperationException with the message below inside the generated client code of my Silverlight RIA services:- This EntityContainer does not contain an EntitySet of type 'Deintegro.DAL.Data.Title'. If the type is external to this EntityContain