Manually Set Definition Demo

9 posts, 0 answers
  1. Richard Harrigan
    Richard Harrigan avatar
    235 posts
    Member since:
    Nov 2009

    Posted 12 Dec 2011 Link to this post

    Hi

    I tried to execute the Manually Set Definition demo and got the following:  It failed on GetEmployeeSet.  I installed 64Bit SQLExpress 2008 R2 but not the tools.  Is there something on need to do to get this working.

    Thanks
    Rich

    Microsoft JScript runtime error: Unhandled Error in Silverlight Application An error occurred while loading data through the 'GetEmployee_Set' query on DomainContext of type 'EmployeesDomainContext' and the error was not handled.  If this error is expected, then you must handle the LoadedData event on the DomainDataSource and call LoadedDataEventArgs.MarkErrorAsHandled() to avoid this exception.
     
    Load operation failed for query 'GetEmployee_Set'. The underlying provider failed on Open. InnerException message: Failed to generate a user instance of SQL Server due to a failure in starting the process for the user instance. The connection will be closed.   at Telerik.Windows.Controls.RadDomainDataSource.OnLoadedData(LoadedDataEventArgs args)
       at Telerik.Windows.Controls.RadDomainDataSource.OnViewLoadedData(Object sender, LoadedDataEventArgs e)
       at Telerik.Windows.Data.QueryableDomainServiceCollectionViewBase.OnLoadedData(LoadedDataEventArgs args)
       at Telerik.Windows.Data.QueryableDomainServiceCollectionView`1.OnDomainServiceCollectionLoadCompleted(Object sender, LoadOperationCompletedEventArgs`1 e)
       at Telerik.Windows.Controls.DomainServices.DomainServiceCollection`1.OnLoadCompleted(LoadOperationCompletedEventArgs`1 args)
       at Telerik.Windows.Controls.DomainServices.DomainServiceCollection`1.OnLoadOperationCompleted(LoadOperation`1 loadOperation)
       at System.ServiceModel.DomainServices.Client.DomainContext.<>c__DisplayClass13`1.<Load>b__11(LoadOperation lo)
       at System.ServiceModel.DomainServices.Client.LoadOperation.<>c__DisplayClass4`1.<Create>b__0(LoadOperation`1 arg)
       at System.ServiceModel.DomainServices.Client.LoadOperation`1.InvokeCompleteAction()
       at System.ServiceModel.DomainServices.Client.OperationBase.Complete(Exception error)
       at System.ServiceModel.DomainServices.Client.LoadOperation.Complete(Exception error)
       at System.ServiceModel.DomainServices.Client.DomainContext.CompleteLoad(IAsyncResult asyncResult)
       at System.ServiceModel.DomainServices.Client.DomainContext.<>c__DisplayClass1b.<Load>b__17(Object )

  2. Dimitrina
    Admin
    Dimitrina avatar
    3769 posts

    Posted 13 Dec 2011 Link to this post

    Hello Richard Harrigan,

    From the stack trace that you have provided, it seems that the exception is thrown by the WCF RIA DomainService residing on the server-side. 

    Our components operate on the client-side and we have no server-side code or control over what happens on the server side. That falls in WCF RIA Services territory. We simply call the methods on the DomainContext. 

    I guess that you could find some more information on this Silverlight forum.

    All the best,
    Didie
    the Telerik team

    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

  3. DevCraft banner
  4. Richard Harrigan
    Richard Harrigan avatar
    235 posts
    Member since:
    Nov 2009

    Posted 13 Dec 2011 Link to this post

    Hi

    Could you please provide a simple program that demonstrates how the propertygrid works with the grid.

    Source data created at client
    Binding between property grid and grid
    Just a few columns

    Thanks
    Rich

  5. Richard Harrigan
    Richard Harrigan avatar
    235 posts
    Member since:
    Nov 2009

    Posted 20 Dec 2011 Link to this post

    Hi,

    Is there any progress on my request from my previous reply?

    Thanks
    Rich

  6. Vlad
    Admin
    Vlad avatar
    11100 posts

    Posted 20 Dec 2011 Link to this post

    Hello,

    Have you tried to simply bind RadGridView and RadPropertyGrid to some client-side data similar to our demo? 

    All the best,
    Vlad
    the Telerik team

    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

  7. Richard Harrigan
    Richard Harrigan avatar
    235 posts
    Member since:
    Nov 2009

    Posted 20 Dec 2011 Link to this post

    The demo does not work as I mentioned in a previous request.  I am looking for a working example. 

    Thank you
    Rich
  8. Vlad
    Admin
    Vlad avatar
    11100 posts

    Posted 20 Dec 2011 Link to this post

    Hi,

    I'm afraid that the exception posted in your first reply is not related to Telerik components in any way. Please check our reply for more info.

    Kind regards,
    Vlad
    the Telerik team

    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

  9. Richard Harrigan
    Richard Harrigan avatar
    235 posts
    Member since:
    Nov 2009

    Posted 20 Dec 2011 Link to this post

    Hi

    I do not want to modify your sample that does not work on my machine for who knows why.   I would appreciate it if you would just modifiy your sample so that it works with local data (As you suggested) and we can both move on. 

    Thanks
    Rich
  10. Vlad
    Admin
    Vlad avatar
    11100 posts

    Posted 21 Dec 2011 Link to this post

    Hello,

     You can simply copy desired part of the demo form our online example

    All the best,
    Vlad
    the Telerik team

    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

Back to Top
DevCraft banner