Microsoft KB Archive/912017

= FIX: Error message when you connect to an instance of SQL Server 2005 Analysis Services: &quot;A connection cannot be made. Ensure that the server is running.&quot; =

Article ID: 912017

Article Last Modified on 7/26/2006

-

APPLIES TO


 * Microsoft SQL Server 2005 Analysis Services

-



BUG #: 410034 (SQLBUDT)



''Microsoft distributes Microsoft SQL Server 2005 fixes as one downloadable file. Because the fixes are cumulative, each new release contains all the hotfixes and all the security fixes that were included with the previous SQL Server 2005 fix release.''



This article describes the following about this hotfix release:
 * The issues that are fixed by this hotfix package
 * The prerequisites for applying this hotfix package
 * Whether you must restart the computer after you apply this hotfix package
 * Whether this hotfix package is replaced by any other hotfix package
 * Whether you must make any registry changes after you apply this hotfix package
 * The files that are contained in this hotfix package



SYMPTOMS
When you connect to an instance of Microsoft SQL Server 2005 Analysis Services, you may receive an error message that is similar to the following:

Cannot connect to

A connection cannot be made. Ensure that the server is running. (Microsoft.AnalysisServices.AdomdClient)

When you connect to an instance of SQL Server 2005 Analysis Services from Microsoft Office Excel 2003, you may receive the following error message:

Initialization of the data source failed. Check the database server or contact your database administrator. Make sure the external database is available, and then try the operation again.

If you see this message again, create a new data source to connect to the database.

Note This article discusses one possible cause of this problem. The fix that this article describes will help only if the problem that you experience is caused by the scenario that is described in the &quot;Cause&quot; section.



CAUSE
This problem may occur because no memory can be allocated to the new connection.

Each connection to an instance of SQL Server 2005 Analysis Services is allocated memory for cached information that relates to the connection. Some cached information is marked as non-cleanable. The memory that the non-cleanable cached information occupies is not released when memory runs low. Therefore, if new connections keep coming in, available memory is exhausted.



Service pack information
To resolve this problem, obtain the latest service pack for Microsoft SQL Server 2005. For more information, click the following article number to view the article in the Microsoft Knowledge Base:

913089 How to obtain the latest service pack for SQL Server 2005

Prerequisites
You must have SQL Server 2005 Analysis Services installed to apply this hotfix.

Restart information
You do not have to restart the computer after you apply this hotfix. However, this hotfix stops and then restarts the Analysis Services service. If you have configured SQL Server 2005 Analysis Services for HTTP access, you have to stop Microsoft Internet Information Services (IIS) and then restart it after the installation is finished. If you have installed SQL Server 2005 Analysis Services as a named instance, you must stop the SQL Server Browser service because the Msmdredir.dll component of the SQL Server Browser service is updated when you apply this hotfix.

Registry information
You do not have to change the registry after you apply this hotfix.

Hotfix file information
This hotfix contains only those files that are required to correct the issues that this article lists. This hotfix may not contain of all the files that you must have to fully update a product to the latest build.

The English version of this hotfix has the file attributes (or later file attributes) that are listed in the following table. The dates and times for these files are listed in Coordinated Universal Time (UTC). When you view the file information, it is converted to local time. To find the difference between UTC and local time, use the Time Zone tab in the Date and Time tool in Control Panel.

SQL Server 2005 Analysis Services, Itanium architecture version


STATUS
Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the &quot;Applies to&quot; section. This problem was first corrected in Microsoft SQL Server 2005 Service Pack 1.



MORE INFORMATION
For more information about how to connect to an instance of SQL Server 2005 Analysis Services from Office Excel 2003, visit the following Microsoft Web site:

http://www.microsoft.com/office/solutions/accelerators/exceladdin/default.mspx

For more information about the naming schema for Microsoft SQL Server updates, click the following article number to view the article in the Microsoft Knowledge Base:

822499 New naming schema for Microsoft SQL Server software update packages

For more information about software update terminology, click the following article number to view the article in the Microsoft Knowledge Base:

824684 Description of the standard terminology that is used to describe Microsoft software updates

Keywords: kbsql2005olapsp1fix kbsql2005sp1fix kbsql2005presp1fix kbsql2005as kbsql2005bi kbfix kbsqlserv2005fix kbexpertiseadvanced kbpubtypekc kbhotfixserver kbqfe KB912017

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.