Have you done a clean solution lately? Sometimes the generated code gets out
of sync with the original, and the only way to get it to regenerate is to
clean first.

 

T.

 

From: [email protected]
[mailto:[email protected]] 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,

Shingi

On Thu, Aug 12, 2010 at 5:34 PM, <[email protected]> wrote:

Hi Shingi,

It sounds like the object does not exist within the generated code within
the Silverlight component.

This means that the object is not shared properly from the web app.

There are a number of reasons for this - perhaps you don't have an
[EnableClientAccess] attribute
on your class?

Regards,
Tony



On Thu, Aug 12th, 2010 at 5:24 PM, Shingi Mutandwa
<[email protected]> 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 EntitySet of type
> 'Deintegro.DAL.Data.Title'. If the type is external to this
> EntityContainer,
> please make sure you've called AddReference to establish the external
> link.
>
> The exception gets thrown when it tries to return the value of an
> association property.
>
> Regards,
>
> Shingi
>




_______________________________________________
ozsilverlight mailing list
[email protected]
http://prdlxvm0001.codify.net/mailman/listinfo/ozsilverlight

 

_______________________________________________
ozsilverlight mailing list
[email protected]
http://prdlxvm0001.codify.net/mailman/listinfo/ozsilverlight

Reply via email to