Connector:Connection time out. HRESULT=0x800A1527
Technote (troubleshooting)
Problem(Abstract)
VB script that saves a report as a report view and sends the report by email returnig connection timeout error.
Symptom
Connection to <A style="BORDER-RIGHT: 0px; PADDING-RIGHT: 0px; BORDER-TOP: 0px; PADDING-LEFT: 0px; PADDING-BOTTOM: 0px; MARGIN: 0px; VERTICAL-ALIGN: baseline; BORDER-LEFT: 0px; COLOR: rgb(0,100,157); PADDING-TOP: 0px; BORDER-BOTTOM: 0px; FONT-FAMILY: Arial, sans-serif; outline-width: 0px; outline-style: none; outline-color: initial" href="http://www-01.ibm.com/support/docview.wss?uid=swg21343350" :9300/p2pd/servlet/dispatch"" >http://<hostname>:9300/p2pd/servlet/dispatch failed.
Error description:
Connector:Connection time out. HRESULT=0x800A1527 - Connector:Unspecified HTTP error. HRESULT=0x800A1518
Cause
The timeout for the HTTPConnector30 object of the SOAP Toolkit 3.0 was being reached as a large amount of data was being retrieved.
Environment
Cognos SDK
Resolving the problem
Increase the timeout for the HTTPConnector30 object of the SOAP Toolkit 3.0. Steps:SOAP Connection Timeout Error in Visual Basic 6.0 Applications
A Visual Basic 6.0 application that extracts a large amount of data may encounter the SOAP error.
The default timeout for the HTTPConnector30 object of the
SOAP Toolkit 3.0 is 30 seconds, which may be insufficient. Visual Basic 6.0 users can modify this
limit by using the setTimeout method to increase the timeout. The setTimeout method signature
is
Public Function setTimeout(timeout As Long)
where timeout is in milliseconds. This method can be used with all services, including the dispatcher.
The following code snippet demonstrates how to set the timeout for the Agent Service to 60 seconds.
Set Connector = CreateObject("MSSOAP.HttpConnector30")
Connector.Property("Timeout") = 99999999