Microsoft distributes Microsoft SQL Server 2008 R2 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 2008 R2 fix release.

Symptoms

Consider the following scenario:

  • You run an application that opens a connection to a local cube in Microsoft SQL Server 2008 R2 Analysis Service (SSRS 2008 R2).

  • The application opens and closes the connection several times when the application creates the local cube. For example, you run one of the following applications:

    • You run Microsoft Excel to open and close a connection to a local cube several times.

    • You run Microsoft Access to open and close a connection to a local cube when you switch between the pivot chart views of a table.

    • You run the MSOLAP, ADOMD.NET or AMO provider in an application to manipulate a connection of a local cube. 

  • The application tries to close the last connection to the local cube.

In this scenario, the application may crash.

Cause

This issue occurs because a race condition error occurs between the threads inside the Analysis Service local cube engine (Msmdlocal.dll). When the last connection is released, the engine tries to unload itself. However, there are many race conditions between the thread that is closing the last connection and the other internal threads. Therefore, the application may crash.

Resolution

Cumulative update information

SQL Server 2008 R2

The fix for this issue was first released in Cumulative Update 6. For more information about how to obtain this cumulative update package for SQL Server 2008 R2, click the following article number to view the article in the Microsoft Knowledge Base:

2489376 Cumulative Update package 6 for SQL Server 2008 R2 Note Because the builds are cumulative, each new fix release contains all the hotfixes and all the security fixes that were included with the previous SQL Server 2008 R2 fix release. We recommend that you consider applying the most recent fix release that contains this hotfix. For more information, click the following article number to view the article in the Microsoft Knowledge Base:

981356 The SQL Server 2008 R2 builds that were released after SQL Server 2008 R2 was released

Status

Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.

References

For more information about local cubes, visit the following Microsoft Developer Network (MSDN) website:

General information about local cubes For more information about the Incremental Servicing Model for SQL Server, click the following article number to view the article in the Microsoft Knowledge Base:

935897 An Incremental Servicing Model is available from the SQL Server team to deliver hotfixes for reported problemsFor 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 packagesFor 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

Need more help?

Want more options?

Explore subscription benefits, browse training courses, learn how to secure your device, and more.

Communities help you ask and answer questions, give feedback, and hear from experts with rich knowledge.