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:
CREATE ASSEMBLY AnalysisServicesDll AUTHORIZATION Owner FROM 'C:\Program Files\Microsoft SQL Server\100\Setup Bootstrap\SQLServer2008R2\x86\Microsoft.AnalysisServices.DLL' WITH PERMISSION_SET = UNSAFE
- An Analysis Management Objects (AMO) assembly
- An ADOMD.NET assembly
- An XML for Analysis (XMLA) assembly
Assembly 'Assembly name' references assembly 'microsoft.sharepoint, version=126.96.36.199, 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:
Cumulative update information
SQL Server 2008 R2The 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 R2Note 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.
|Analysis Management Objects (AMO)||Microsoft.AnalysisServices.dll|
|XML for Analysis (XMLA)||Microsoft.AnalysisServices.XMLA.dll|