Basically if there are requirements where we want to provide some internal site information in form of API to external clients or if presentation layer would be heterogeneous in that cases we can go for a web service layer in between dal and presentation layer. I am not sure if you have any such requirement. Along with what Stephen suggested you can also try to set the proxy timeout as below
WebReference.ProxyClass myProxy = new WebReference.ProxyClass(); //Set the timeout in milliseconds - e.g. 100 seconds myProxy.Timeout = 10000; as your service is not waiting enough while your long running procedures or TSQL statements are still executing in the backend and you are getting timeout errors. P.S using webservices as a layer in between does slows down a bit the overall response time. May be this is one of the answer you are looking for. On Wed, Sep 5, 2012 at 4:53 PM, Stephen Russell <[email protected]>wrote: > On Wed, Sep 5, 2012 at 3:28 AM, crazy <[email protected]> wrote: > > My main question is using webservices between Presentation and DAL > cause > > reason for decreasing the performnace of the system or delay in response > to > > the Presentation layer? > > > > What tactise I have to adopt in search functionalities in order to avoid > > Time out error ? > > please advise. > > > ------------------------- > > Sorry to rewrite the same answer but you need to REWRITE the existing > process. That is where the problem lies, not in transportation > between the GUI and the back end process. It is your back end > process that is killing you. > > You probably need some new index tweaks to stop table scans. Or you > are summing data that should already be in that state of summarized as > of last nights data? > > Once again transportation is probably not your problem. Unless yo are > moving 100,000 + rows back to the GUI and trying to load that into a > set of controls. > > -- > Stephen Russell > Sr. Analyst > Ring Container Technology > Oakland TN > > 901.246-0159 cell > > -- > You received this message because you are subscribed to the Google > Groups "DotNetDevelopment, VB.NET, C# .NET, ADO.NET, ASP.NET, XML, XML > Web Services,.NET Remoting" group. > To post to this group, send email to [email protected] > To unsubscribe from this group, send email to > [email protected] > For more options, visit this group at > http://groups.google.com/group/dotnetdevelopment?hl=en?hl=en > or visit the group website at http://megasolutions.net > -- Jay -- You received this message because you are subscribed to the Google Groups "DotNetDevelopment, VB.NET, C# .NET, ADO.NET, ASP.NET, XML, XML Web Services,.NET Remoting" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/dotnetdevelopment?hl=en?hl=en or visit the group website at http://megasolutions.net
