Microsoft KB Archive/903030

= FIX: A Decision Support Objects (DSO) connection attempt fails after you install SQL Server 2000 Analysis Services Service Pack 4 =

Article ID: 903030

Article Last Modified on 1/23/2007

-

APPLIES TO


 * Microsoft SQL Server 2000 Analysis Services SP4

-



BUG #: 14653 (Plato7X)



SYMPTOMS
After you install Microsoft SQL Server 2000 Analysis Services Service Pack 4 (SP4), a Decision Support Objects (DSO) connection attempt fails.

This problem occurs after you modify a repository connection string value in the registry.



CAUSE
This problem occurs because SQL Server 2000 Analysis Services SP4 does not automatically encrypt new values in the following registry keys:

After you install SQL Server 2000 Analysis Services SP4, a DSO connection attempt fails after you modify a repository connection string by inserting a new value programmatically.



Hotfix rollup package information
To resolve this problem, obtain hotfix rollup package 907323. For more information, click the following article number to view the article in the Microsoft Knowledge Base:

907323 Hotfix rollup package for SQL Server 2000 Analysis Services Service Pack - Build 2174

Hotfix information
A supported hotfix is now available from Microsoft, but it is only intended to correct the problem that is described in this article. Only apply it to systems that are experiencing this specific problem. This hotfix may receive additional testing. Therefore, if you are not severely affected by this problem, we recommend that you wait for the next SQL Server 2000 Analysis Services service pack that contains this hotfix.

To resolve this problem immediately, contact Microsoft Product Support Services to obtain the hotfix. For a complete list of Microsoft Product Support Services telephone numbers and information about support costs, visit the following Microsoft Web site:

http://support.microsoft.com/contactus/?ws=support

Note In special cases, charges that are ordinarily incurred for support calls may be canceled if a Microsoft Support Professional determines that a specific update will resolve your problem. The usual support costs will apply to additional support questions and issues that do not qualify for the specific update in question.

Prerequisites
To apply this hotfix, you must have SQL Server 2000 Analysis Services SP4 installed on the computer.

Restart information
You do not have to restart the computer after you apply this hotfix. However, the Analysis Services service is stopped and then restarted during the installation of this hotfix.

Registry information
You do not have to change the registry.

File information
This hotfix contains only those files that are required to correct the issues that this article lists. This hotfix may not contain 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 2000 32-bit versions
Note Because of file dependencies, the most recent hotfix or feature that contains these files may also contain additional files.



STATUS
Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the &quot;Applies to&quot; section.



MORE INFORMATION
When you install Microsoft SQL Server 2000 Analysis Services Service Pack 3 (SP3), the registry keys that are mentioned in the &quot;Cause&quot; section are encrypted to improve security. SQL Server 2000 Analysis Services SP3 contains the code that is required to detect and to automatically encrypt a repository connection string value in the registry during a DSO connection attempt.

When you modify a repository connection string value in the registry, SQL Server 2000 Analysis Services SP3 encrypts the repository connection string value when the next DSO connection attempt occurs. This functionality is not available after you install SQL Server 2000 Analysis Services SP4.

This hotfix includes a new RepositoryManager object in the DSO library (Msmddo80.dll) to provide an automated technique to modify the repository connection string. The RepositoryManager object contains the following methods:
 * The GetRepositoryConnectionString method
 * The GetRemoteRepositoryConnectionString method
 * The UpdateRepositoryConnectionStrings method

The following code example illustrates how to use the RepositoryManager object to retrieve the repository connection string values. set RepCnStrMngr = CreateObject(&quot;DSO.RepositoryManager&quot;) cnStr = RepCnStrMngr.GetRepositoryConnectionString remoteCnStr = RepCnStrMngr.GetRemoteRepositoryConnectionString Note In this code example,  is the name of the server.

The following code example illustrates how to use the RepositoryManager object to update the repository connection string values. set RepCnStrMngr = CreateObject(&quot;DSO.RepositoryManager&quot;) RepCnStrMngr.UpdateRepositoryConnectionStrings, (connetionStr), ( remoteConnectionStr ) Note In this code example,  is the name of the server.

For more information about the naming schema for 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 the terminology that Microsoft uses when Microsoft corrects software after it is released, 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

Additional query words: Registry Repository Encryption

Keywords: kbbug kbfix kbhotfixserver kbqfe KB903030

-

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

© Microsoft Corporation. All rights reserved.