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.
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:
In this scenario, the create operation fails. Additionally, you receive the following error message:
Assembly 'Assembly name' references assembly 'microsoft.sharepoint, version=18.104.22.168, 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.
Assembly name is a placeholder for the assembly name.
Public key token is a placeholder for the public key token.
This issue occurs because the AMO, ADOMD.NET, and XMLA assemblies incorrectly depend on the following two assemblies:
These two assemblies are used to support Microsoft PowerPivot for SharePoint. However, an error occurs when you do not have SharePoint installed.
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
Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.
The following table contains information about data providers and assemblies that are used to support Microsoft PowerPivot for SharePoint.