DetailPage-MSS-KB

Microsoft small business knowledge base

Article ID: 2491439 - Last Review: February 21, 2011 - Revision: 1.0

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.

On This Page

SYMPTOMS

Consider the following scenario:
  • You install an instance of Microsoft SQL Server 2008 R2 on a computer.
  • Microsoft SharePoint is not installed on the computer.
  • You try to create one of the following assemblies on the instance of SQL Server 2008 R2: 
    • An Analysis Management Objects (AMO) assembly
    • An ADOMD.NET assembly
    • An XML for Analysis (XMLA) assembly
    For example, you try to run the following statement to create an assembly on the instance of SQL Server 2008 R2:
    CREATE ASSEMBLY AnalysisServicesDll AUTHORIZATION Owner FROM 'C:\Program Files\Microsoft SQL Server\100\Setup Bootstrap\SQLServer2008R2\x86\Microsoft.AnalysisServices.DLL' WITH PERMISSION_SET = UNSAFE
In this scenario, the create operation fails. Additionally, you receive the following error message:
Assembly 'Assembly name' references assembly 'microsoft.sharepoint, version=14.0.0.0, culture=neutral, publickeytoken=Public key token.', which is not present in the current database. SQL Server attempted to locate and automatically load the referenced assembly from the same location where referring assembly came from, but that operation has failed (reason: 2(The system cannot find the file specified.)). Please load the referenced assembly into the current database and retry your request.
Notes
  • Assembly name is a placeholder for the assembly name.
  • Public key token is a placeholder for the public key token.

CAUSE

This issue occurs because the AMO, ADOMD.NET, and XMLA assemblies incorrectly depend on the following two assemblies:
  • Microsoft.SharePoint.dll
  • Microsoft.AnalysisServices.SharePoint.Integration.dll
These two assemblies are used to support Microsoft PowerPivot for SharePoint. However, an error occurs when you do not have SharePoint installed.

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  (http://support.microsoft.com/kb/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  (http://support.microsoft.com/kb/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.

MORE INFORMATION

The following table contains information about data providers and assemblies that are used to support Microsoft PowerPivot for SharePoint.
Collapse this tableExpand this table
Data providerAssembly
Analysis Management Objects (AMO)Microsoft.AnalysisServices.dll
Client Adomd.netMicrosoft.AnalysisServices.AdomdClient.dll
XML for Analysis (XMLA)Microsoft.AnalysisServices.XMLA.dll


APPLIES TO
  • Microsoft SQL Server 2008 R2 Analysis Services
Keywords: 
kbqfe kbexpertiseadvanced kbsurveynew kbfix KB2491439
Share
Additional support options
Ask The Microsoft Small Business Support Community
Contact Microsoft Small Business Support
Find Microsoft Small Business Support Certified Partner
Find a Microsoft Store For In-Person Small Business Support