Microsoft KB Archive/316295

= FIX: MDX Queries from Query Analyzer to a Linked Analysis Server Result in Fatal Exception =

Article ID: 316295

Article Last Modified on 2/20/2007

-

APPLIES TO


 * Microsoft SQL Server 2000 Analysis Services

-



This article was previously published under Q316295



BUG #: 12736 (Plato7X)



SYMPTOMS
When you execute a Multidimensional Expressions (MDX) query against a SQL Server Linked Analysis Server configured with the AllowInProcess property set to true, an error message similar to the following occurs if there are any syntax errors in the MDX query:

Server: Msg 7399, Level 16, State 1, Line 1

OLE DB provider 'MSOLAP' reported an error.

ODBC: Msg 0, Level 19, State 1

SqlDumpExceptionHandler: Process 51 generated fatal exception c0000005 EXCEPTION_ACCESS_VIOLATION. SQL Server is terminating this process.

[OLE/DB provider returned message: An unexpected internal error has occurred.]

[OLE/DB provider returned message: Formula error - cannot find dimension member (&quot;[Time].[1999]&quot;) - in a name-binding 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 --- 03-JAN-2002  19:04       8.0.562.0    213,572  Msmdcb80.dll 19-MAR-2002 13:57       8.0.0.601  4,043,328  Msmddo80.dll 19-MAR-2002 13:56       8.0.601.0  1,008,192  Msmdgd80.dll 19-MAR-2002 12:53       8.0.601.0  1,774,148  Msmdsrv.exe 19-MAR-2002 13:57       8.0.601.0  2,024,016  Msolap80.dll 18-APR-2001 00:23   2000.80.382.0    815,676  Sqldata.dll 19-MAR-2002 13:56   2000.80.534.0    590,396  Sqlsort.dll NOTE: Due to file dependencies, the most recent hotfix or feature that contains the preceding files may also contain additional files.



STATUS
Microsoft has confirmed that this is a problem in the Microsoft products that are listed at the beginning of this article.



Steps to Reproduce Behavior
 Open SQL Enterprise Manager and create a new linked server with the following characteristics:  Linked Server Name = &quot;olap&quot; Provider Name = &quot;Microsoft OLE DB Provider for OLAP Services 8.0&quot; Product Name = &quot;Analysis Services 2000&quot; Data Source = &quot;localhost&quot;</li> Catalog = &quot;Foodmart 2000&quot;</li></ul> </li> Click Provider Options, and then click to select AllowInProcess.</li> Click OK.</li>  Start Query Analyzer and execute the following query to verify that the linked server works properly: SELECT * FROM openquery(olap,'SELECT MEASURES.MEMBERS ON COLUMNS,  PRODUCT.MEMBERS ON ROWS FROM SALES') </li>  Now execute the following query: SELECT * FROM openquery(olap,'SELECT MEASURES.MEMBERS ON COLUMNS,   PRODUCT.MEMBERS ON ROWS FROM SALES WHERE ([Time].[1999])') </li></ol>

Additional query words: QFE OLAP HOTFIX

Keywords: kbbug kbfix kbqfe KB316295

-

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

© Microsoft Corporation. All rights reserved.