CslaDataProvider in Silverlight project – data retrieved but not displayed

CslaDataProvider in Silverlight project – data retrieved but not displayed

Old forum URL: forums.lhotka.net/forums/t/6377.aspx


Fel posted on Monday, February 09, 2009

Normal 0 false false false EN-US X-NONE X-NONE MicrosoftInternetExplorer4 On my test page, I populate the grid with data in table with help of CslaDataProvider. I was able to make it working. Then, I moved all stored procedures, tables and data to another database. I’ve changed connection string WCF service. I know that the stored procedure should return 10 rows. On my grid, I see 10 empty rows, no data. I’ve checked fetch method in DataPortal.

It returns correct info however this info is not saved in the object.

When I check DataChanged event for the data provider, 10 rows in Data property but they are all empty strings. I select one of rows in the grid, I’m getting error message: “User not authorized to get object type xxx”. 


I think I have issue with authorization.
I switch database back to old one. It works fine. Working database is local when other is remote.

What am I missing?

Thanks for any suggestion

Fel replied on Tuesday, February 10, 2009

Oops.

My GetUser stored procedure was not returning correct info.

Copyright (c) Marimer LLC