Featured post
.net - Getting data into Silverlight app -
i new silverlight (and .net well, part) , working on creating silverlight business application. followed tutorial @ http://msdn.microsoft.com/en-us/library/ee796239%28v=vs.91%29.aspx , seems work fine except 1 problem: not tables/data making way over.
i using windows xp sp3, microsoft sql server 2008 , visual studio 2010 reference.
i created app in vs default template silverlight business application. created sql connection database. then, following tutorial, created entity classes , domain service, tutorial says to.
alright, here happens: dragged , dropped data grid onto xaml form. first 1 worked fine , displays data rows correctly. second 1 not, instead throws following error:
system.servicemodel.domainservices.client.domainoperationexception: load operation failed query 'getmydata'. remote server returned error: notfound. ---> system.servicemodel.communicationexception: remote server returned error: notfound. --> system.net.webexception: remote server returned error: notfound. --> system.net.webexception: remote server returned error: notfound. @ system.net.browser.browserhttpwebrequest.internalendgetresponse(iasyncresult asyncresult) ...
this error appears pop-up web page when try navigate it.
i have stepped through service.cs class on getmydata function , placed watch on data returned. shows there data, , can see individual line items supposedly returning, can't see error anywhere.
why work tables , not others? has else seen error? have seen couple of pages mention adding httpbindings , service tags web.config, following examples didn't work either. matter of fact, when add them makes entire app not compile.
is there piece of configuration missing somewhere?
after 2 days of wasteless try-and-error realized error depends on size of result set. in sample domainservice throws notfound while getting more 9000 records. proof this, create temporary table copy of 1 of failed tables. insert top 200 records of original data , try open temp table in sl-application. keep running app can delete entries , fill top 15000 original records. refresh app , ... boom. looks need kind of paging ...
- Get link
- X
- Other Apps
Comments
Post a Comment