Click here to Skip to main content
Click here to Skip to main content
Technical Blog

Tagged as

Custom Web Parts is not getting displayed after deployment in Share Point 2010. How to Resolve?

, 10 Jul 2010 CPOL
Rate this:
Please Sign up or sign in to vote.
In SharePoint 2010, we can create Visual Web parts very easily from Visual Studio and can deploy it directly from Visual Studio...

In SharePoint 2010, we can create Visual Web parts very easily from Visual Studio and deploy it directly from Visual Studio. After deployment, when adding a web part on a SharePoint page, you might face the issue that custom web parts are not getting displayed under custom web parts section though your deployment was successful from Visual Studio.

Figure: No web parts after deployment

This problem might happen due to activation of features list of your corresponding web parts. To resolve this issue, you need to perform the following steps.

  1. Go To Site Action from your SharePoint Site and Navigate to Site Settings:

    Figure: Navigate to Site Settings
  2. In site setting page, select “Site Collection Features” under “Site Collection Administrator” Section.

    Figure: Select “Site Collection Features” for get the list of features
  3. There you will find the list of features that belong to your site collection. Just search for your own web parts features. You will find it as “deactivate State”.  :(

    Figure: Click on Activate to Activate the Feature
  4. Click on the “Activate” Button. You are done. :)
    To verify, you may again navigate to Edit Page and try to insert web part or you can go to “Web Parts Gallery” in “Site Settings” and just check out for your custom web parts controls.

    Figure: Verify Custom Web Parts from Web Parts Gallery

    Figure: Verify Custom Web Parts from Edit Page

Hope this post helps you to resolve your issue and save your time. :)

Cheers !


Filed under: General, My Articles, SharePoint 2010

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

Share

About the Author

Abhijit Jana
Technical Lead
India India
.NET Consultant | Former Microsoft MVP - ASP.NET | CodeProject MVP, Mentor, Insiders| Technology Evangelist | Author | Speaker | Geek | Blogger | Husband
 
Blog : http://abhijitjana.net
Web Site : http://dailydotnettips.com
Twitter : @AbhijitJana
My Kinect Book : Kinect for Windows SDK Programming Guide
Follow on   Twitter

Comments and Discussions

 
GeneralNice one - Have my 5 PinmentorKunalChowdhury10-Jul-10 2:50 
GeneralRe: Nice one - Have my 5 PinmvpAbhijit Jana10-Jul-10 2:53 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.

| Advertise | Privacy | Terms of Use | Mobile
Web02 | 2.8.1411022.1 | Last Updated 10 Jul 2010
Article Copyright 2010 by Abhijit Jana
Everything else Copyright © CodeProject, 1999-2014
Layout: fixed | fluid