I made a custom search web part for SharePoint as described at: http://msdn2.microsoft.com/en-us/library/ms551453.aspx

While developing, in number of occasions, I received an error: „Cannot import this web part”. The error seemed to appear randomly.
As usual, the solution was simple. My SharePoint portal was extended to two sites.

Simple rule:

  • If you are deploying web parts to SharePoint portals you need to deploy to each \app_bin folder

Recommendation:

  • While you are developing web parts it is recommended that you deploy them to sites that are not extended. If you have an extended portal you will encounter numerous problems like the one mentioned above. Also, every time you rebuild your DLL you will need to remove all web parts from SharePoint pages and add them again.

15 Comments

  1. http:// Says

    Wow. I just wasted a day trying to figure out why my sharepoint site wasn’t working like all the walkthroughs! THANK YOU!

  2. sohbet Says

    thank you

  3. Sohbet Says

    Thanks

  4. Partner Says

    partner

  5. Sohbet Says

    very good

  6. annuaire gratuit Says

    very informative but i’d have enjoyed more developpement

  7. youtube Says

    very informative but i’d have enjoyed more developpement

  8. perde Says

    slm

  9. travesti Says

    . The netroots shares the neoliberal critique of interest group brokerage as a model of party-building. Absolutely nobody nowadays makes the sort of arguments that you heard from the 1980s-vintage left about the possibility of winning elections purely through increasing voter turnou

  10. redtube Says

    Thanks for post, and nice all comments ! 🙂

  11. perde Says

    slm

  12. perde Says

    hello

  13. perde Says

    hello

Leave a Reply