INF: Different Kinds of Analysis Services Timeouts

Article translations Article translations
Article ID: 304213 - View products that this article applies to.
This article was previously published under Q304213
This article has been archived. It is offered "as is" and will no longer be updated.
Expand all | Collapse all

SUMMARY

There are several kinds of timeout objects in the Decision Support Object (DSO) object model. This article outlines the difference between the different timeout objects.

MORE INFORMATION

Timeout Objects In Analysis Services 2000
  • DSO Server.ConnectTimeout is the timeout for DSO to connect to the server.
  • DSO Server.Timeout is the timeout for DSO to communicate with the server once connected.

    NOTE: There is no way to set the connect timeout for Analysis Services and DSO to connect to the data source such as Microsoft SQL Server and Oracle. DSO always uses 15 seconds and Analysis Services uses the default.
  • The registry entry HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\OLAP Server\CurrentVersion\MaxOLEDBTimeout is the timeout for the server and DSO to communicate with the data source.
  • DSO also has a LockTimeout property that is not used at this time.
In the Server Properties dialog box in Analysis Manager, under the Processing tab, you can set a Server Timeout property that in turn sets both DSO Server.Timeout and HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\OLAP Server\CurrentVersion\MaxOLEDBTimeout to the same value. It does not make sense for the two timeouts to be different because the smaller timeout fails the operation anyway.

Timeout Objects In OLAP Services 7.0

  • The HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\OLAP Server\Server Connection Info\ServerConnectTimeout registry entry (if specified) is the timeout for DSO to connect to the server.
  • DSO Server.Timeout is the timeout for DSO to communicate with the server once connected.

    NOTE: There is no way to set the connect timeout for the server and DSO to connect to the data source such as Microsoft SQL Server and Oracle. DSO always uses 15 seconds and Analysis Service uses the default.
  • The registry entry HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\OLAP Server\CurrentVersion\MaxOLEDBTimeout is the timeout for the server to communicate with the data source (executing SQL statements). DSO does not use any timeout that implies provider default.
There is no exposed dialog box in OLAP Manager to change the server timeout value in OLAP 7.0. The only way to set the DSO Server.Timeout property is to write DSO code. Here is a Visual Basic code sample to set the DSO Server.Timeout property:
Dim dsoServer As new DSO.Server

' put the name of your server
dsoServer.Connect "server_name"

' default is 3600, it is in seconds - 1hour, change it to 10000 seconds, for example.
dsoServer.Timeout = 10000

dsoServer.Update
dsoServer.CloseServer
				

Properties

Article ID: 304213 - Last Review: February 27, 2014 - Revision: 4.3
APPLIES TO
  • Microsoft SQL Server OLAP Services
  • Microsoft SQL Server 2000 Analysis Services
Keywords: 
kbnosurvey kbarchive kbinfo KB304213

Give Feedback

 

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com