April 07, 2008, 11:58 AM
FaisalWebFocus webservice timeout
Hi,
Can anyone please tell me how to increase WebFocus webservice timeouts?
April 08, 2008, 09:48 AM
Mike HoneycuttI'm not sure if it is a solution for your problem, but I recently had a WebFocus program that timed out after 1 minute. The problem was Internet Explorer. I changed the following in the Windows Registry, rebooted, and it fixed the problem.
--Insert standard "Be careful messing with the Registry" comments here --
Mike Honeycutt
UNC Asheville
=============================
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings]
Value Name: ReceiveTimeout
Data Type: REG_DWORD (DWORD Value)
Value Data: Time in milliseconds
Default seemed to be 60000 (1 minute) - changed to 180,000 - then reboot
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings]
Value Name: KeepAliveTimeout
Data Type: REG_DWORD (DWORD Value)
Value Data: Time in milliseconds (default = 120,000)
April 08, 2008, 12:00 PM
EfremWhere is the Timeout happening.
In your Browser or your application.
What language is your application written in.
Need details.
April 08, 2008, 12:31 PM
FaisalThe timeout is happening at the call to the webservice. Most of the time the service returns data fine, but for a larger set of data it has a tendency to timeout.
The application is written in ASP.NET 2.0.
April 08, 2008, 01:01 PM
EfremYour problem is in .NET.
I remember running into this a few years ago.
I think the following code solved my timeout issue.
Dim wfss As New WF.WebFocus
wfss.Timeout = -1
Let me know if this works.