A recurrent problem is that new webparts doesn't appear after deployment on the SharePoint server
First of all be sure that your new webparts are included in the feature (left side) and that the scope of your feature is right
You tried to update your solution.wsp :
Update-SPSolution –Identity solution.wsp –LiteralPath “C:\solution.wsp” –GacDeployment
You tried to retract , delete and then add and install your solution but no result :
Uninstall-SPSolution –Identity solution.wsp –WebApplication http://mysite/
Remove-SPSolution –Identity solution.wsp
Add-SPSolution -LiteralPath C:\sharedfolder\Release\solution.wsp
Install-SPSolution -Identity "solution.wsp" -webapplication "http://mysite/" -GACDEployment
The solution for this problem is to disable your feature before retracting and then enabling it after installation :
Disable-SPFeature -Identity solution_Feature1 -url "http://mysite/"
Uninstall-SPSolution –Identity solution.wsp –WebApplication http://mysite/
Remove-SPSolution –Identity solution.wsp
Add-SPSolution -LiteralPath C:\sharedfolder\Release\solution.wsp.wsp
Install-SPSolution -Identity "solution.wsp" -webapplication "http://mysite/" -GACDEployment
Enable-SPFeature -Identity solution_Feature1 -url "http://mysite/"
First of all be sure that your new webparts are included in the feature (left side) and that the scope of your feature is right
You tried to update your solution.wsp :
Update-SPSolution –Identity solution.wsp –LiteralPath “C:\solution.wsp” –GacDeployment
You tried to retract , delete and then add and install your solution but no result :
Uninstall-SPSolution –Identity solution.wsp –WebApplication http://mysite/
Remove-SPSolution –Identity solution.wsp
Add-SPSolution -LiteralPath C:\sharedfolder\Release\solution.wsp
Install-SPSolution -Identity "solution.wsp" -webapplication "http://mysite/" -GACDEployment
The solution for this problem is to disable your feature before retracting and then enabling it after installation :
Disable-SPFeature -Identity solution_Feature1 -url "http://mysite/"
Uninstall-SPSolution –Identity solution.wsp –WebApplication http://mysite/
Remove-SPSolution –Identity solution.wsp
Add-SPSolution -LiteralPath C:\sharedfolder\Release\solution.wsp.wsp
Install-SPSolution -Identity "solution.wsp" -webapplication "http://mysite/" -GACDEployment
Enable-SPFeature -Identity solution_Feature1 -url "http://mysite/"
No comments:
Post a Comment