SharePoint Use Cases

26 Jul, 2007

Web parts and extended portals

Posted by: Toni Frankola In: SharePoint  Bookmark and Share

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.
Tags:


Documentation Toolkit for SharePoint

Comments

1 | http://

August 31st, 2007 at 6:39 pm

Avatar

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

September 4th, 2007 at 9:46 pm

Avatar

thank you

4 | Partner

September 19th, 2007 at 11:25 am

Avatar

partner

5 | Sohbet

September 19th, 2007 at 11:26 am

Avatar

very good

6 | annuaire gratuit

January 7th, 2008 at 5:41 pm

Avatar

very informative but i’d have enjoyed more developpement

7 | youtube

February 27th, 2008 at 9:25 pm

Avatar

very informative but i’d have enjoyed more developpement

10 | travesti

March 21st, 2008 at 10:49 pm

Avatar

. 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

11 | redtube

April 26th, 2008 at 9:50 pm

Avatar

Thanks for post, and nice all comments ! :)

13 | perde

April 27th, 2008 at 5:12 pm

Avatar

hello

14 | perde

May 3rd, 2008 at 2:14 pm

Avatar

hello

Comment Form


About

Real-life use case and opinions about collaboration, CRM and web technologies and stuff by Toni Frankola. More...

Toni Frankola - SharePoint MVP Profile

All postings on this blog are provided "AS IS" with no warranties, and confer no rights. All entries in this blog are my opinion and don't necessarily reflect the opinion of my employer.

Page optimized by WP Minify WordPress Plugin