Quantcast
Channel: CSLA .NET
Viewing all articles
Browse latest Browse all 764

Specified argument was out of the range of valid values.

$
0
0

Csla 4.3.10.0  Silverlight app

I am getting the following error.

"Specified argument was out of the range of valid values. Parameter name: Unhandled CSLA Known type was found"

This occurs at this point

 

 public static void GetAuthorNVL(EventHandler<DataPortalResult<AuthorNVL>> callback)

        {

            if (_list == null)

                DataPortal.BeginFetch<AuthorNVL>((o, e) =>

                    {

                        _list = e.Object;

                        callback(o, e);

                    });

            else

                callback(null, new DataPortalResult<AuthorNVL>(_list, null, null));

        }

 

 

on the Beginfetch - it does not get to the dataportal.  The error bubbles up to my ViewModel.

It occurs for all objects - background is I have created a new SL  project and added in existing  libraries from another working project (so I know the libraries/code works)..  I'm sure it is something to do with the way the project has been set up (rather than specific code).  

Can anyone help please.

 

 


Viewing all articles
Browse latest Browse all 764

Trending Articles