Posts

Showing posts from August, 2012

Error 'file was not found' when running Add-SPSolution on sharepoint mangament shell

If you get the error message The specified file was not found. when running the command  Add-SPSolution -LiteralPath XXXXXXXX but the XXXXXXX file exists and the connected user has the right to read this file, execute the two following steps before executing the command: Run the Power Shell as Administrator (right click > Run as administrator) Do NOT copy paste the command, parameter and file but write it by hand entirely! Use the tab completion to ensure correct spelling. (In my case the XXXXXXX file was  'C:\Program Files\Microsoft\SharePoint 2010 Administration Tookit\Content Management Interoperability Services (CMIS) Connectors\spcmis.wsp')