Sometime back in my project , I couldn't deploy wsp packages anymore. After some analysis found there are lot of one time job were running and it was blocking wsp deplopyment. Here I have provided the steps to resolve it, - In Central Admin checked in Farm Solution Management the status was stuck on Deploying - Stopped the SharePoint Admin and SharePoint Timer services - Checked and found multiple One-time jobs, deleted those using the scripts below: - Get-SPTimerJob | where{$_.DisplayName -eq $null} | foreach-object {$_.Delete()}Get-SPTimerJob | where{$_.schedule.description -eq "One-time"} | ForEach-Object{$_.Delete()} - Checked if the timer service is ON using the script - $farm = Get-SPFarm - $disab...
Comments
Post a Comment