I Created a site with a XsltListView Webpart displaying list content from another site in the same site collection. I created it using Sharepoint Designer by exporting the Webpart from the original web to the new one. When I click on a folder or want to send a row of data to another WebPart, an exeption is thrown, presumably because SharePoint creates URLs of folder Items or files relatively to the current web, which is of course wrong.
I read about that somewhere before but I did not find a solution. How do I fix this?
Exception message and stack trace if a row of data is send to another webpart:
Der Wert liegt außerhalb des erwarteten Bereichs. (means: Argument out of Range)
bei Microsoft.SharePoint.SPWeb.GetWebRelativeUrlFromUrl(String strUrl, Boolean includeQueryString, Boolean canonicalizeUrl)
bei Microsoft.SharePoint.SPListItem.get_Url() bei Microsoft.SharePoint.WebPartPages.BaseXsltListWebPart.get_ConnectionProviderDataTable()
bei Microsoft.SharePoint.WebPartPages.DataFormWebPart.get_RowData()
bei Microsoft.SharePoint.WebPartPages.DataFormWebPart.GetRowData(RowCallback callback)
bei Microsoft.SharePoint.WebPartPages.DataFormWebPart.System.Web.UI.WebControls.WebParts.IWebPartRow.GetRowData(RowCallback callback)
Thanks!