Please note that VisualCron support is not actively monitoring this community forum. Please use our contact page for contacting the VisualCron support directly.


martintroye
2011-08-12T13:35:39Z
We have some longer running web service methods that we would like to call using a Webservice/WCF execute task. Is there a way we can set a timeout? This would be a timeout for the web service call not for the task. We are getting the following error: Exception in Task: Exception has been thrown by the target of an invocation. The operation has timed out.

Thanks
Sponsor
Forum information
Support
2011-08-12T13:37:20Z
After how long time and are you using WCF mode or Web service mode?
Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
martintroye
2011-08-12T14:19:55Z
It is a WCF service, it can vary but it can take 3 or 4 minutes.
Support
2011-08-15T06:48:06Z
What kind of binding is it? Is it BasicHTTP so you use the web service method anyway?
Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
Support
2011-08-15T06:52:41Z
Also, have you checked the values like:

closeTimeout="00:01:00"
openTimeout="00:01:00" receiveTimeout="00:10:00" sendTimeout="00:01:00"

from the configuration file?
Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
martintroye
2011-08-17T12:35:52Z
Since this is a client side time out are you talking about setting these values in a VisualCron configuration. The server side is already set with a sendTimeout of 25 minutes.
Support
2011-08-17T14:23:00Z
You are right. You said it was a WCF service but do you use Web service or WCF mode in the settings?
Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
martintroye
2011-08-17T14:40:31Z
Sorry not quite following your question. Are you talking about a setting on the VisualCron Task? The task type is set to Webservice/WCF execute. I do not see another setting for Web service or WCF mode. We are using version 5.63 protocol version 5.6.2
Support
2011-08-17T18:41:11Z
Thanks for the report. We see now that we use the default timeout of 100 seconds. We will add timeout properties for next version.
Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
Support
2011-08-17T19:21:43Z
This will be released in the beta forum this weekend - in version 5.8.0.
Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
Scroll to Top