in

SharePoint Blogs

The Best Place for SharePoint-related Blogs

Sharepoint Use Cases

This blog delivers real life use case and my opinions about Microsoft products.

Web parts and extended portals

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.
Published Jul 26 2007, 06:28 PM by toni
Filed under:

Comments

 

Links (7/26/2007) « Steve Pietrek’s SharePoint Stuff said:

Pingback from  Links (7/26/2007) « Steve Pietrek’s SharePoint Stuff

July 26, 2007 7:10 PM
 

Kim said:

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

August 31, 2007 1:39 PM
 

sohbet said:

thank you

September 4, 2007 4:46 PM
 

annuaire gratuit said:

very informative but i'd have enjoyed more developpement

January 7, 2008 11:41 AM
 

youtube said:

very informative but i'd have enjoyed more developpement

February 27, 2008 3:25 PM
 

perde said:

hello

May 3, 2008 9:14 AM
 

perde said:

www.npsperde.com

www.netperdesistemleri.com

May 3, 2008 9:15 AM
 

hikaye said:

thanks a lot

August 29, 2008 11:10 AM
 

perde said:

hello

September 15, 2008 12:38 PM
 

perde said:

slm

September 15, 2008 12:39 PM

Leave a Comment

(required )  
(optional )
(required )  
Add

About toni

My name is Toni Frankola and a work as Microsoft Team Leader at Perpetuum Mobile, Croatia. This blog delivers real life use case and my opinions about Microsoft products. Summary: IT consultant specialized in Customer Relationship Management (CRM) software – Microsoft Dynamics CRM, and IW solutions - Microsoft Office SharePoint. Specialties: - IT Project Management, Software requirements analysis and software architectures, IT Consulting, IT Sales and Marketing, Product positioning - MCSD, MCAD, MCTS, MBSS, MCT http://www.linkedin.com/in/tonifrankola

Need SharePoint Training? Attend a SharePoint Bootcamp!

Posts (c) their respective authors. Everything else (c) 2007 SharePoint Experts