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 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 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.
More Information
The following table contains information about data providers and assemblies that are used to support Microsoft PowerPivot for SharePoint.
Data provider |
Assembly |
---|---|
Analysis Management Objects (AMO) |
Microsoft.AnalysisServices.dll |
Client Adomd.net |
Microsoft.AnalysisServices.AdomdClient.dll |
XML for Analysis (XMLA) |
Microsoft.AnalysisServices.XMLA.dll |