Unable to display this Web Part (SharePoint Error)
"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"
I was with this wierd problem, when i got a migration project from 2003 to 2007 . I was trying to create DataView Webpart from a List. I created the List in the site and then DVWP from it, all went fine. I imported both into my Test Server from Dev,OOOOpppsssssssss it broke throwing the error.
It took almost 2 days finding all possible solutions to fix it none worked ,ya finally googled got lots of hits but none was feasible for me.
Finally i got an incredible simple solution
Cause
========
The cause for this problem is a Sharepoint 2007 Designer BUG !!!! ,if you create a DVWP in Sharpeoint designer 2007 it will append the GUID of the LIST in the code and would link to DVWP, if you try to create a new List it will always create a new GUID which will never match up with the DVWP and it breaks.
Solution
=========
This would be pretty simple once you know the trick.
Open the page having problem in Sharepoint Designer 2007 Search for "ListID" and replace with "ListName" and change the "DefaultValue=" to your List name, VIOLA !! this would fix it.
I was with this wierd problem, when i got a migration project from 2003 to 2007 . I was trying to create DataView Webpart from a List. I created the List in the site and then DVWP from it, all went fine. I imported both into my Test Server from Dev,OOOOpppsssssssss it broke throwing the error.
It took almost 2 days finding all possible solutions to fix it none worked ,ya finally googled got lots of hits but none was feasible for me.
Finally i got an incredible simple solution
Cause
========
The cause for this problem is a Sharepoint 2007 Designer BUG !!!! ,if you create a DVWP in Sharpeoint designer 2007 it will append the GUID of the LIST in the code and would link to DVWP, if you try to create a new List it will always create a new GUID which will never match up with the DVWP and it breaks.
Solution
=========
This would be pretty simple once you know the trick.
Open the page having problem in Sharepoint Designer 2007 Search for "ListID" and replace with "ListName" and change the "DefaultValue=" to your List name, VIOLA !! this would fix it.
Comments
Post a Comment