Microsoft KB Archive/238306

= FIX: Calculated Members Based on User Defined or MS Excel/VBA Functions Do Not Work when Accessed from Excel and Pivot Table Controls =

Article ID: 238306

Article Last Modified on 10/7/2005

-

APPLIES TO


 * Microsoft SQL Server OLAP Services

-



This article was previously published under Q238306



BUG #: 1350 (plato7x)



SYMPTOMS
Calculated members based on user-defined functions (UDFs) and Microsoft Excel or VBA functions do not work when accessed from Excel 2000, Office 2000 pivot table controls, or other clients that execute queries asynchronously.

If calculated members in a cube are based on Excel functions, VBA functions, or user-defined functions, the user is not able to gain access to these calculated members mentioned before, or gets an error message, such as:

An error occurred during attempt to get a cell value. Problem occurred.



CAUSE
This problem occurs whenever the client executes asynchronous queries involving a calculated member based on a user-defined, Excel, or VBA function.



RESOLUTION
A supported fix is now available from Microsoft, but it is only intended to correct the problem that is described in this article. Apply it only to computers that are experiencing this specific problem. This fix may receive additional testing. Therefore, if you are not severely affected by this problem, Microsoft recommends that you wait for the next SQL Server service pack that contains this hotfix.

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

http://support.microsoft.com/default.aspx?scid=fh;EN-US;CNTACTMS

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 typical support costs will apply to additional support questions and issues that do not qualify for the specific update in question.

The English version of this fix should have the following file attributes or later:   Date      Time    Version    Size    File name      Platform ---  07/27/99            7.0      41 MB   s700706i.exe   Intel NOTE: Due to file dependencies, the most recent hotfix or feature that contains the above files might also contain additional files.

The workaround is as follows:
 * 1) If a new application is being developed, then this problem can be avoided by executing the queries synchronously or writing the user-defined functions as free-threaded.
 * 2) If Excel or Office Web components are used to access data, then equivalent MDX expressions (if available) can be used instead of the user-defined, Excel, or VBA functions.



STATUS
Microsoft has confirmed this to be a problem in SQL Server OLAP Services version 7.0.

This problem was corrected in SQL Server OLAP Services version 7.0 Service Pack 2.

Keywords: kbbug kbfix kbqfe KB238306

-

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

© Microsoft Corporation. All rights reserved.