FIX: Orphaned entries for the PowerPivot service application database are left in the SharePoint configuration database after you uninstall the PowerPivot service application on a computer that is running SQL Server 2008 R2 Analysis Services


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


You deploy a PowerPivot application to a SharePoint farm on a computer that is running Microsoft SQL Server 2008 R2 Analysis Services. After you uninstall the last instance of the PowerPivot service application, the PowerPivot application database is removed. However, the records for the PowerPivot service application database are not removed from the Objects table in the SharePoint configuration database. 

This issue prevents you from recreating the PowerPivot Service application by using the same application database name. Also, this issue may trigger a Microsoft SharePoint health message that resembles the following:
Alert description: A critical incident has occurred where a database was not found on server <Server Name>.



Event ID: 3760

Event Description: SQL Database '<Database name of PowerPivot Service application>' on SQL Server instance '<Instance name>' not found. Additional error information from SQL Server is included below.



Cannot open database "<Database name of PowerPivot Service application>" requested by the login. The login failed.


Login failed for user '<User Name>'.

Resolution


SQL Server 2008 R2

The fix for this issue was first released in Cumulative Update 3. 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:
2261464 Cumulative update package 3 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


You can run the following SQL query against the SharePoint configuration database to view the orphaned PowerPivot application database entries.

SELECT Id, classid, parentid, name, status, version, properties
FROM objects
WHERE name like '%PowerPivot%'
ORDER BY name

References


For more information about how to deploy a PowerPivot application to a SharePoint farm, visit the following Microsoft Developer Network (MSDN) website:For more information about how to install PowerPivot for SharePoint component, visit the following MSDN website:For more information about how to uninstall PowerPivot for SharePoint component, visit the following MSDN website: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 problems

For 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 packages
For 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