Featured post

c# - Usage of Server Side Controls in MVC Frame work -

i using asp.net 4.0 , mvc 2.0 web application. project requiremrnt have use server side control in application not possibl in noraml case. ideally want use adrotator control , datalist control. i saw few samples , references in codepleax mvc controllib howwver found less useful. can tell how utilize theese controls in asp.net application along mvc. note: please provide functionalities related adrotator , datalist controls not equivalent functionalities thanks in advace. mvc pages not use normal .net solution makes use of normal .net components impossible. a normal .net page use event driven solution call different methods service side mvc use actions , view completly different way handle things. also, mvc not use viewstate normal .net controlls require. found article discussing mixing of normal .net , mvc.

.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 ...


Comments

Popular posts from this blog

c# - Usage of Server Side Controls in MVC Frame work -

cocoa - Nesting arrays into NSDictionary object (Objective-C) -

ios - Very simple iPhone App crashes on UILabel settext -