Add-SPSolution : Operation is not valid due to the current state of the object.
At line:1 char:1
+ Add-SPSolution
+ ~~~~~~~~~~~~~~
+ CategoryInfo : InvalidData: (Microsoft.Share...dletAddSolution:
SPCmdletAddSolution) [Add-SPSolution], InvalidOperationException
+ FullyQualifiedErrorId : Microsoft.SharePoint.PowerShell.SPCmdletAddSolutIon
I have received this error when I’m trying to deploy an .wsp file to the SharePoint farm using PowerShell Scripts.
It’s kind of unusual the error I have got but
IIS reset
Solved my problem.
Comments