Догађаји
Мицрософт 365 Цоммунитy Цонференце
6. мај 14 - 9. мај 00
Вештина за еру АИ на крајњем Мицрософт 365 догађају под водством заједнице, 6-8. маја у Лас Вегасу.
Сазнајте вишеОвај прегледач више није подржан.
Надоградите на Microsoft Edge бисте искористили најновије функције, безбедносне исправке и техничку подршку.
This article was written by Zakir Haveliwala, Senior Support Escalation Engineer.
You may receive the following error in Windows Event Viewer or the SharePoint Unified Logging Service (ULS) logs:
Cannot open database "Database name of PowerPivot Service application" requested by the login. The login failed. Login failed for user 'username'.
This is an indication of an orphaned record about the PowerPivot service application database in SharePoint. This issue may occur after you delete a PowerPivot service application. The records for the deleted PowerPivot service application database are sometimes not removed from the SharePoint configuration database. Therefore, SharePoint throws an error when it can't open the PowerPivot service application database since it no longer exists.
To fix this issue, remove these orphaned records. You can open the SharePoint Management Shell on a SharePoint server and run the following command:
Get-SPDatabase | where {$_.exists -eq $false}
This will display a list of the databases that no longer exist on the SharePoint database server. The PowerPivot database that's referenced in the previous error should show in this list. After confirming this, you can remove the orphaned record by running this command:
Get-SPDatabase | where {$.exists -eq $false} | foreach {$.delete()}
Then the orphaned record that points to the old PowerPivot service application database will be removed, and the error that you noticed earlier will stop occurring.
Догађаји
Мицрософт 365 Цоммунитy Цонференце
6. мај 14 - 9. мај 00
Вештина за еру АИ на крајњем Мицрософт 365 догађају под водством заједнице, 6-8. маја у Лас Вегасу.
Сазнајте вишеОбука
Модул
Deploy a Microsoft Power Platform Solution By Using a Service Principal - Training
Learn how to deploy a Microsoft Power Platform solution by using a service principal.