An object in the SharePoint administrative framework, “SPSolutionLanguagePack Name=0 Parent=SPSolution Name=yoursolution.wsp”, depends on other objects which do not exist.

At a client, I was trying to add a solution and got this error in both PowerShell as Stsadm:

An object in the SharePoint administrative framework, “SPSolutionLanguagePack Name=0 Parent=SPSolution Name=yoursolution.wsp”, depends on other objects which do not exist.  Ensure that all of the objects dependencies are created and retry this operation.

yoursolution.wsp: The Solution installation failed.

After googling a bit, I found this solution:

1. Stop the SharePoint Timer Service
2. Open C:\Application Data\Microsoft\SharePoint\Config\<<GUID>> folder
3. Take a backup of Cache.ini file
4. Delete all the XML files in the GUID folder
5. Open the Cache.ini file in edit mode and delete the contents of it.
6. Type 1.
7. Save and close the file.
8. Start the SharePoint Timer Service.

It did the trick, although I cannot really recommend deleting and modifying SP internal documents. After you restart the Timer Service, SP creates all those xml files again.

About: Marijn

Marijn Somers (MVP) has over 14 years experience in the SharePoint world, starting out with SP2007. Over the years the focus has grown to Office 365, with a focus on collaboration and document management. He is a business consultant at Balestra and Principal Content Provider for "Mijn 365 Coach" that offers dutch employee video training. His main work tracks are around user adoption, training and coaching and governance. He is also not afraid to dig deeper in the technicalities with PowerShell, adaptive cards or custom formatting in lists and libraries. You can listen to him on the biweekly "Office 365 Distilled" podcast.

%d bloggers like this: