SubSites WebPart "an external component has thrown an exception"

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



Hi all,

I would like to customize a template changing the default.aspx.

I want to show the SubSites WebPart
(http://www.microsoft.com/sharepoint/downloads/components/detail.asp?a1=413),
but when I change the page, (adding de register tag and the WebPart)
this error is shown: "An external component has thrown an exception".

If I add the control modifying the page I have no problem.

I would like to disable the custom error but modifying the web.config
(custom errors: off) it is not enought. How could I do it?



The steps I have followed are:

1) Register the webpart as safe
2)add the .dll to the GAC
3)modify the default.aspx:
<%@ Register TagPrefix="WpNs1" Namespace="SubSites" Assembly="SubSites,
Version=1.1.0.0, Culture=neutral, PublicKeyToken=2715b3a91cb84b87" %>

and

<WpNs1:SubSites runat="server" />


Do you know what can I do??

Thank you very much

.



Relevant Pages

  • custom webpart for searching document in subsites,libraries (sql,c
    ... webpart query content database to search for documents using ... Anyone modified the searchresults.aspx to do subsite searching ...? ... /// This method gets the custom tool parts for this Web Part by overriding ... fullurl,dirname,leafname,timelastmodified,'' modifedby, '' modifiedbyID \n" ...
    (microsoft.public.sharepoint.windowsservices)
  • Tool part not saving to web part property
    ... I've created a webpart with a custom toolpart. ... protected override void RenderWebPart ... public override void SyncChanges ...
    (microsoft.public.sharepoint.portalserver.development)
  • Tool part not saving to web part property
    ... I've created a webpart with a custom toolpart. ... protected override void RenderWebPart ... public override void SyncChanges ...
    (microsoft.public.sharepoint.portalserver)
  • Re: Conditionnal visibility of a webpart ?
    ... > variable that can be used on your web page to hide/unhide a div element. ... I've a webpart which display a list of customers. ... >> For example I'll write a custom webpart which apply the visibility to ...
    (microsoft.public.sharepoint.windowsservices)
  • Re: How to intercept 404 file not found responses
    ... \par Steven Cheng ... \par Microsoft MSDN Online Support Lead ... \par> with IIS custom error page since sharepoint engine handle it completely. ...
    (microsoft.public.sharepoint.portalserver.development)