Sharepoint 2010 - Web parts are not visible after deployment via PowerShell on test server
-
Hey guys, This is the first time I'm doing a deployment of a web part so please excuse me in case I'm making a silly mistake. My solution has about 3-4 webparts that I developed over the Win7 environment and now I need to deploy these to the remote server for testing which is Win Server 2008 R2. I made the wsp file which I moved over to the remote server, then I used the powerShell command Add-SPSolution and Install-SPSolution with -webapplication and -GacDeployment switches. The trouble is that the wsp gets installed, that I know because when I do stsadm -o -enumsolutions, it shows an XML output showing that wsp and its status as "Deployed". But when I open up the SharePoint administration website, go to a page, edit, add a webpart then it does not show the web part in the list of web parts. Any ideas?! Thanks in advance,
Rocky My Blog
-
Hey guys, This is the first time I'm doing a deployment of a web part so please excuse me in case I'm making a silly mistake. My solution has about 3-4 webparts that I developed over the Win7 environment and now I need to deploy these to the remote server for testing which is Win Server 2008 R2. I made the wsp file which I moved over to the remote server, then I used the powerShell command Add-SPSolution and Install-SPSolution with -webapplication and -GacDeployment switches. The trouble is that the wsp gets installed, that I know because when I do stsadm -o -enumsolutions, it shows an XML output showing that wsp and its status as "Deployed". But when I open up the SharePoint administration website, go to a page, edit, add a webpart then it does not show the web part in the list of web parts. Any ideas?! Thanks in advance,
Rocky My Blog
Why are you trying to add webparts to a page in Central Admin? It seems as though the feature has not been activated in the scope of the site you are trying to use.
I know the language. I've read a book. - _Madmatt
-
Hey guys, This is the first time I'm doing a deployment of a web part so please excuse me in case I'm making a silly mistake. My solution has about 3-4 webparts that I developed over the Win7 environment and now I need to deploy these to the remote server for testing which is Win Server 2008 R2. I made the wsp file which I moved over to the remote server, then I used the powerShell command Add-SPSolution and Install-SPSolution with -webapplication and -GacDeployment switches. The trouble is that the wsp gets installed, that I know because when I do stsadm -o -enumsolutions, it shows an XML output showing that wsp and its status as "Deployed". But when I open up the SharePoint administration website, go to a page, edit, add a webpart then it does not show the web part in the list of web parts. Any ideas?! Thanks in advance,
Rocky My Blog
I'll tell you what I would do using sharepoint 2007. Try checking the webpart gallery http://yourspserver/\_catalogs/wp/ If you can't find the webpart there, click on "New" and try to find your webpart there. Select it and press "Populate Gallery". Your webpart should now show up in the gallery and also show up on the pages. Hope that helps Cheers
-
I'll tell you what I would do using sharepoint 2007. Try checking the webpart gallery http://yourspserver/\_catalogs/wp/ If you can't find the webpart there, click on "New" and try to find your webpart there. Select it and press "Populate Gallery". Your webpart should now show up in the gallery and also show up on the pages. Hope that helps Cheers
peac3maker wrote:
I'll tell you what I would do using sharepoint 2007.
Absolutely irrelevant since the question clearly stated 2010. Looking for the webpart in the gallery is not helpful either. The part is not deployed to the site collection it won't be in the galley nor be anywhere it can be added.
I know the language. I've read a book. - _Madmatt
-
Why are you trying to add webparts to a page in Central Admin? It seems as though the feature has not been activated in the scope of the site you are trying to use.
I know the language. I've read a book. - _Madmatt