Next generation's garbage RSS 2.0
# Friday, November 02, 2007

Scenario: You just made a nice DVWP and you exported it and mounted it on another page and kaboom -- FAIL.

Unable to display this Web Part. To troubleshoot the problem, open this Web page in a Windows SharePoint Services-compatible HTML editor such as Microsoft Office SharePoint Designer. If the problem persists, contact your Web server administrator.

Whoops. Different site. Even though the DVWP references the list by GUID, it doesn't work cross-site. Here's how to fix that.

Leave the broken DVWP where it is. Add another DVWP on the same page, in the Data Source Library, click "Connect to another library..." and point it at the site where the data came from. You should now be able to expand the lists/libraries and insert that. Now, just grab the stuff inside <SharePointWebControls:SPDataSource> and copy that over the broken one's data source. Throw away the temporary web part and you should be good to go.

Friday, November 02, 2007 11:03:22 PM (US Mountain Standard Time, UTC-07:00)  #    Comments [0] -
SharePoint
Comments are closed.
Archive
<February 2012>
SunMonTueWedThuFriSat
2930311234
567891011
12131415161718
19202122232425
26272829123
45678910
All Content © 2012, Hafthor Stefansson - Disclaimer: The opinions expressed herein are my own personal opinions and do not represent my employer's view in any way. - Sign In