##### SharePoint 2010 Documentation Only #####

Run the SharePoint 2010 Management Shell Console which should be located in your Microsoft SharePoint 2010 Products folder of your start menu.
This automatically loads the Microsoft.SharePoint.PowerShell snappin so that we can execute SharePoint commands
(Remember to use "Run as administrator)

Use the following PowerShell commands for deployment

1) To add the farm solution use the following"Add-SPSolution" command

Add-SPSolution “C:\<Path to My WSPs>\Obilogic.RSSReader2010.wsp“


2) To install the solution use the following "Install-SPSolution" command

Install-SPSolution –Identity Obilogic.RSSReader2010.wsp –WebApplication http://<MySPwebapp> -GACDeployment


3) To enable the site collection features use the "Enable-SPFeature" command
(these can also be activate/deactivated via the GUI http://<MySPwebapp>/_layouts/ManageFeatures.aspx?Scope=Site)

Enable-SPFeature –Identity "Obilogic.RSSReader2010_Obilogic RSS Reader2010 Web Part" –url http://<MySPwebapp>


Notes:
1. It is a Farm Solution. You would encounter security issue as shown below if you try to deploy it as a Sandboxed Solution.

Exception Details: System.Security.SecurityException: Request for the
permission of type 'System.Net.WebPermission, System, Version=2.0.0.0,
Culture=neutral, PublicKeyToken=b77a5c561934e089' failed.

This is because Sandbox solutions run under partial trust and thus cannot retreive the Feed Url's

2. Use semi-colon (;) as your feed delimeter.

Last edited Apr 17, 2011 at 8:46 PM by obilogic, version 2

Comments

No comments yet.