Time out Exception whiling accesing web service(wcf)
i have an webservcie writ开发者_JAVA百科ten it works fine . but some time i get this message error telling time outexception was unhandled
Time out Exception
how can i increase time for accessing the webservice for the application. is there any setting need to be done.
please let me know. if any one knows the silution for it
thank you
Unless you know for a fact it's a huge data set you're calling, a timeout usually suggests a different problem. The client not locating the service or perhaps an authentication issue.
If it is a large dataset here's config to change the settings http://social.msdn.microsoft.com/Forums/en/wcf/thread/360f7997-82f8-40d0-8fd5-8cbbf1c44534
Also be aware, WCF has a maximum message size of 64k by default, but it can be adjust up to a few gig if necessary.
精彩评论