I am trying to create a global webpart that should represent a filecenter. The filecenter is a document library on the root site of my sharepoint portal.

I followed this guide here: <http://blog.concurrency.com/sharepoint/creating-global-list-or-library-web-parts-with-sharepoint-designer-2010/>

to create a global webppart. The creation process went without any errors and I could also deploy the webpart on a child site of my sharepoint portal without any problems. However, once I try to access deeper folder structures via the webpart I created, the webpart stops working and shows an error instead. It is possible to download and open files that are in the root folder of the library and I can also upload new files to it via the webpart, but as soon as I try to go to a subfolder the error occurs. I hope someone can help me, as I am pretty desperate right now.

Here's the full error message from the log files: 

```
System.ArgumentException: Value does not fall within the expected range.   
 at Microsoft.SharePoint.SPWeb.GetWebRelativeUrlFromUrl(String strUrl, Boolean includeQueryString, Boolean canonicalizeUrl)    
 at Microsoft.SharePoint.SPWeb.GetItem(String strUrl, Boolean bFile, Boolean cacheRowsetAndId, Boolean bDatesInUtc, String[] fields)    
 at Microsoft.SharePoint.SPList.EnsureCurrentFolderInfo()    
 at Microsoft.SharePoint.SPList.DoesUserHavePermissions(SPBasePermissions permissionMask, Boolean checkFolder)    
 at Microsoft.SharePoint.Utilities.RightsSensitiveVisibilityHelper.UserHasRights(PermissionContext permissionContext, SPBasePermissions permissions, PermissionMode permissionMode, SPContext context, SPWeb contextWeb, SPList contextList)    
 at Microsoft.SharePoint.Utilities.RightsSensitiveVisibilityHelper.ShouldBeVisible(PermissionContext permissionContext, SPBasePermissions permissions, PermissionMode permissionMode, PageModes pageModes, AuthenticationRestrictions authenticationRestrictions, SPContext renderContext, SPList contextList)    
 at Microsoft.SharePoint.WebControls.MenuItemTemplate.OnPreRender(EventArgs args)    
 at System.Web.UI.Control.PreRenderRecursiveInternal()    
 at System.Web.UI.Control.PreRenderRecursiveInternal()    
 at System.Web.UI.Control.PreRenderRecursiveInternal()    
 at System.Web.UI.Control.PreRenderRecursiveInternal()    
 at System.Web.UI.Control.PreRenderRecursiveInternal()    
 at System.Web.UI.Control.PreRenderRecursiveInternal()    
 at System.Web.UI.Control.PreRenderRecursiveInternal()    
 at System.Web.UI.Control.PreRenderRecursiveInternal()    
 at System.Web.UI.Control.PreRenderRecursiveInternal()    
 at System.Web.UI.Control.PreRenderRecursiveInternal()    
 at System.Web.UI.Control.PreRenderRecursiveInternal()    
 at System.Web.UI.Control.PreRenderRecursiveInternal()    
 at System.Web.UI.Control.PreRenderRecursiveInternal()    
 at System.Web.UI.Control.PreRenderRecursiveInternal()    
 at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)

```

Hope someone can help :)

best regards,
daZza