Silverlight 4 WCF RIA Service Timeout Problem

前端 未结 2 1427
孤城傲影
孤城傲影 2021-01-22 06:05

I have a Silverlight 4 usercontrol that calls a very long running WCF RIA service. As shown below, I am increasing the default timeout period.

_domainContext =          


        
2条回答
  •  迷失自我
    2021-01-22 06:41

    There are two possibilities that come to mind:

    1. You have not configured your DomainService to serilalize enough objects. The default is very small. Try this tip I put in yesterday to increase the resultset allocation
    2. Your data source may be timing out. In that case you need to increase the command timeout for LINQ to SQL, EF, or ADO.NET accordingly. This is the less likely cause, but one to consider.

提交回复
热议问题