Sharepoint Forum

 
Home » Forum » Sharepoint       Ask a questionRSS Feeds

SP Site Migration using stsadm Help needed

  Asked By: Yasasvi Wali         Date: Jan 03, 2010      Category: Sharepoint      Views: 832
 

i am migrating a sp sitecollection to another sitecollection using stsadm export
and import commands

Both exports and import commands for stsadm work successfully . But the problem
is that in my site collection i have a list that has custom display form for
item. On the destination site collection every thing works well but for
this custom display form it shows an error message saying

"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"

on seeing the custom disp form page in SPDesigner placeholderPageinTittlearea
show 2 controls with "Error Rendering Control" Message

Can anyone help plz what is the causing this error really needed help for that

Tagged:              

 

4 Answers Found

 
Answer #1       Answered By: Ali Javed          Answered On: Jan 03, 2010       

When you created your custom  display form  I suspect you used a dataform web
part. When you create a dataform web  part it embeds the GUID of the list  in
the XSLT code used by the web part. But when you export the list to another
site the GUID changes, so the web part  can no longer open  the referenced
list in the new site. Take a look at the following BLOG article on how to
update the list IDs (GUIDs) after exporting a site  or list.

zieglers.wordpress.com/.../updating-list-id-values-in-dataform
webpart-after-import-operation/

 
Answer #2       Answered By: Karrie Wooten          Answered On: Jan 03, 2010       

it was really helpfull i figured out a way by retainig my
GUID's while importing site  through API code and it worked for me.

I just wanted to know that is there any way to backup / Restore site using any
API code in MOSS2207

 
Answer #3       Answered By: Alan West          Answered On: Jan 03, 2010       

STSADM Export/Import does not retain the GUIDs, but STSADM Backup/Restore does
retain the GUIDs. But if you retain the GUIDs make sure that you restore the
new site  to a different Web Application (content database) or you will have
issues. You can't have two things in the same database that have the same GUID.

 
Answer #4       Answered By: Maribel Todd          Answered On: Jan 03, 2010       
 
Didn't find what you were looking for? Find more on SP Site Migration using stsadm Help needed Or get search suggestion and latest updates.


Your Answer
  • Answer should be atleast 30 Characters.
  • Please put code inside [Code] your code [/Code].