Quantcast
Channel: SharePoint 2010 - Development and Programming forum
Viewing all articles
Browse latest Browse all 11571

Add-SPSolution : Failed to extract the cab file in the solution.

$
0
0

Hi, I have a simple powershell:

Add-PSSnapin "Microsoft.SharePoint.PowerShell" -ErrorAction SilentlyContinue
Add-SPSolution -LiteralPath "BNP.Cardif.Intranet.wsp"

The WSP file is on the same directory of the PS1 file, even thought it gives me the message:

Add-SPSolution : Failed to extract the cab file in the solution.
At C:\Workspace\BNP\BNP.Cardif.Intranet\BNP.Cardif.Intranet\bin\Debug\Add-SPSolution.ps1:3 char:1+ Add-SPSolution -LiteralPath "BNP.Cardif.Intranet.wsp"+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~+ CategoryInfo          : InvalidData: (Microsoft.Share...dletAddSolution:SPCmdletAddSolution) [Add-SPSolution], S
   PException+ FullyQualifiedErrorId : Microsoft.SharePoint.PowerShell.SPCmdletAddSolution
Any ideas pls? Thanks


Viewing all articles
Browse latest Browse all 11571

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>