Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. SharePoint
  4. Sharepoint 2010 - Web parts are not visible after deployment via PowerShell on test server

Sharepoint 2010 - Web parts are not visible after deployment via PowerShell on test server

Scheduled Pinned Locked Moved SharePoint
sysadminphpsharepointcomwindows-admin
5 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • R Offline
    R Offline
    Rocky
    wrote on last edited by
    #1

    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

    N P 2 Replies Last reply
    0
    • R Rocky

      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

      N Offline
      N Offline
      Not Active
      wrote on last edited by
      #2

      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

      R 1 Reply Last reply
      0
      • R Rocky

        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

        P Offline
        P Offline
        peac3maker
        wrote on last edited by
        #3

        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

        N 1 Reply Last reply
        0
        • P peac3maker

          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

          N Offline
          N Offline
          Not Active
          wrote on last edited by
          #4

          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

          1 Reply Last reply
          0
          • N Not Active

            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

            R Offline
            R Offline
            Rocky
            wrote on last edited by
            #5

            Yes that was the problem, I didn't know you have to activate the feature before being able to see the web parts :) Thanks a lot and sorry for the delayed response, I had already figured that out actually

            Rocky My Blog

            1 Reply Last reply
            0
            Reply
            • Reply as topic
            Log in to reply
            • Oldest to Newest
            • Newest to Oldest
            • Most Votes


            • Login

            • Don't have an account? Register

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • World
            • Users
            • Groups