BaseAreaWebPart "Cannot add web part to the web part page"

BaseAreaWebPart "Cannot add web part to the web part page"

Post by gwiersm » Sat, 21 Aug 2004 00:20:25


We are trying to inherit from the BaseAreaWebPart class and adding it
to the portal site as a webpart.

After packaging and deploying as a webpart we receieve a "Cannot add
web part to the web part page. For more assistance contact site
administrator" error.

Has anyone successfully used the baseAreaWebPart before? There seems
to be a derth of information on this class!



1. Web Part page and Web Part Zone and Web Part life-cycle.

2. Create Web Part Page through Web Part Pages Services?

We are trying to build a "Content Publishing Service", which will publish
web part pages (and their web parts) from one server to another server. This
is all at the portal level, not team sites level. The only two ways we could
think of to do this is to use the existing Web Part Pages Services, or build
our own service.

The SharePoint SDK tells us that we have everything we need in the existing
service, except one thing. How do we create a web part page on a different
server? The source area and destination area were created from the same
template, and so the SMARTPGS files are identical. The web part page would
have to be tied to the destination area's smart pages template files,

Any thoughts, or other ideas??



3. Trouble adding ListView web part in a custom web part

4. Adding web part to web part zone programmatically?

5. Help adding Web Parts to CompanyWeb Web Part Gallery

6. adding web parts to web part zones from code

7. Importing Web Part and displays as ErrorWebPart in "Manage Web Parts" page

8. MOSS 2007: Renaming a web part page makes all web parts invisible!!!

9. display custom web part inside Page Viewer web part

10. Problem Connecting Web Parts on Different Web Part Pages

11. How to get back deleted web parts and populate Web Part Page Galle

12. How to get back deleted web parts and populate Web Part Page G

13. Creating a web part simillar to Page viewer web part

14. Web Part Error in Web Part Page Gallery

15. Linking a Link web part to a Page Viewer web part