Usage Note 23726: Why is my SAS BI Web Services for .NET application timing out?
First, note that it is inefficient to use XML to transfer large amounts of data because of the overhead of XML.
There are three actions you can take to change the Web service timeout values:
On the machine where SAS BI Web Services for .NET is installed, check the responseDeadlockInterval property of the <processModel> element in the machine.config file. (Search the %systemroot%\Microsoft.NET\Framework\v1.*\CONFIG\ folder for your machine.config file, where v1.* is the version of the .NET Framework that you are attempting to configure.) In ASP.NET 1.0, the value of this property is 10 minutes; in ASP.NET 1.1, the value is 3 minutes. Increase this value appropriately, depending on how long you expect your Web service requests to take.
-
Modify the executionTimeout attribute of the httpRuntime element in the web.config file for the SASWS Web application. The httpRuntime element might not exist in your web.config file, so you might need to add it as a child of the system.web element. The following code is an example of the httpRuntime element:
<httpRuntime
executionTimeout="300"
maxRequestLength="10000"/>
-
If you are developing a Web service client using Microsoft .NET, there is also a timeout specified in the Web service proxy class. When creating an instance of your Web service proxy class, be sure to specify an appropriate value for the proxyClass.Timeout property. This value is measured in milliseconds, so a value of 1200000 would create a timeout of 20 minutes.
Operating System and Release Information
| SAS System | SAS Integration Technologies | Microsoft® Windows® for 64-Bit Itanium-based Systems | 9.1 TS1M0 | |
| Microsoft Windows Server 2003 Datacenter 64-bit Edition | 9.1 TS1M0 | |
| Microsoft Windows Server 2003 Enterprise 64-bit Edition | 9.1 TS1M0 | |
| Microsoft Windows 2000 Advanced Server | 9.1 TS1M0 | |
| Microsoft Windows 2000 Datacenter Server | 9.1 TS1M0 | |
| Microsoft Windows 2000 Server | 9.1 TS1M0 | |
| Microsoft Windows 2000 Professional | 9.1 TS1M0 | |
| Microsoft Windows NT Workstation | 9.1 TS1M0 | |
| Microsoft Windows Server 2003 Datacenter Edition | 9.1 TS1M0 | |
| Microsoft Windows Server 2003 Enterprise Edition | 9.1 TS1M0 | |
| Microsoft Windows Server 2003 Standard Edition | 9.1 TS1M0 | |
| Microsoft Windows XP Professional | 9.1 TS1M0 | |
*
For software releases that are not yet generally available, the Fixed
Release is the software release in which the problem is planned to be
fixed.
| Type: | Usage Note |
| Priority: | low |
| Topic: | Third Party ==> Output ==> XML
|
| Date Modified: | 2005-08-01 16:54:57 |
| Date Created: | 2004-02-16 11:59:30 |