Skip to main content

Thinking out aloud - Dave Hunter's SharePoint Blog

Go Search
Home
Blog
  

Locations of visitors to this page


 Useful Links

  Microsoft UK events
  SharePoint 2007 on CodePlex
  SharePoint Community Portal
  SharePoint User Group
  SharePoint Community Portal
  SharePoint Pedia
  SharePoint MSDN Forums
  SharePoint University
Home > Thinking out aloud - Dave Hunter's SharePoint Blog > Posts > Content Deployment Walkthrough
My thoughts and findings on Microsoft Information worker technologies, including MCMS and SharePoint 2007 (MOSS).
Content Deployment Walkthrough
One of the new features of SharePoint 2007 is content deployment.  In MCMS 2002 you needed to export a SDO (Solution Deployment Object) that contained the Postings, Templates and Resources you wished to deploy to another environment.
 
Key points:
  1. Content Deployment keeps the same GUIDs for the objects so you cannot deploy to the same web application (due to the uniqueness of the objects in the same database) unless the site has its own content database.  For more information please see http://www.davehunter.co.uk/Blog/Lists/Posts/Post.aspx?ID=55.
  2. The deployment destination must have a site collection created using the blank template.

After discussing the key points, here are the possible scenarios for content deployment.

Deployment scenarios not possible

Steps to deploy content:

  1. In Central Administration, select the Operations tab
  2. Under Content Deployment section choose "Content deployment settings". 
  3. Click on "Accept incoming content deployment jobs".
  4. Choose the Import Server (Destination).  For this example I have used the local server.
  5. Choose the Export Server (Source).  For this example I have used the local server.
  6. Select "Do not require encryption".
  7. Click OK.
  8. On the Operations tab, select "Content deployment paths and jobs".
  9. We are now going to define a new path
    1. Click on "New Path".
    2. Type a Name and Description.  This walkthrough is deploying content from Staging to Live, so I have named the path "Staging to Live".
    3. Select the Source Web Application and the Source Site Collection.  In this example I am deploying content from http://intranet-staging.
    4. Enter the URL of the destination Central Administration.  This walkthrough is moving content within the same farm so the URL will be this central administration.
    5. Leave the selection for connecting by using the application pool account.  If this path is deploying to different SharePoint farms you should use a domain account with rights in both environments.
    6. Click "Connect".
    7. Wait until you receive the message "Connection succeeded".
    8. Select the Destination Web Application and the Destination Site Collection.  In this example I am deploying content to http://intranet-live.
    9. Select to Deploy user names and ALL security information. 
    10. Click "OK".
    11. The Path has now been created.
  10. Now we have a path connecting the source and the destination, we need to create a job.  A job is defining what content you wish to deploy and when (scheduled or a one off job).
    1. Hover next to the path and click on "Create Job".
    2. Type in a descriptive name.  I am going to call this "All content".
    3. Make sure the path is selected.
    4. In this example we are deploying the entire site collection, so keep this checked.
    5. The job will be run by the administrator, so we don't need to define schedule.
    6. Select "Deploy all content, including content that has been deployed before".
    7. You can enter an email address in the box provided and receieve emails if the job succeeds or fails by selecting the options.
    8. Click "OK".
    9. You now have a job defined.  This won't run authomatically it needs to be kicked off by a user.
  11. On the Manage Content Deployment Paths and Jobs, click "Run Now" on the job.
  12. Wait a few seconds and refresh the page.
  13. Once you have a status of "Running" you can click on this status to take you to the report page. 
    This displays the current progress of the job (items exported, items imported, current status, lifetime of the job and any errors or warnings).
  14. Wait on this page until the job reaches an end point, either succeeded or failed.
Hope this helps!
  Copyright
This work is licenced under a Creative Commons Attribution-Noncommercial-No Derivative Works 2.0 UK: England & Wales License
  Site Map

Comments

Error in diploying job between two servers

I have http://vsp-fe-dev/ as application server installed sharepoint central administration, and web front server http://psp-fe-dev/ with central adminsitration services running on, so i am trying to add job to deploy the application from http://vsp-fe-dev/ on port 80 to http://psp-fe-dev:22222/ and i follow thte instructions above, using the administrative account for bove servers "both joined to same domain", but each time error comes in html script with errormessage :

.....................................................................................
<table width=100% border=0 class="ms-titleareaframe" cellpadding=0>
<TR>
<TD valign=top width="100%" style="padding-top: 10px" class="ms-descriptiontext">
   <span id="ctl00_PlaceHolderMain_LabelMessage">The file you are attempting to save or retrieve has been blocked from this Web site by the server administrators.</span>
   <P><span class="ms-descriptiontext">
<span id="ctl00_PlaceHolderMain_helptopic_troubleshooting"><A Title="Troubleshoot issues with Windows SharePoint Services. - Opens in new window" HREF="javascript:HelpWindowKey('troubleshooting')">Troubleshoot issues with Windows SharePoint Services.</A></span>

</span>
</TD>
</TR>
 </table>
.....................................................................................

so any idea why is that happened and how to solve it.

many thanks
at 09/06/2008 12:07

Failed Status after running deployment

That's very helpfully. Thanks

I'm having a failed status after running the created job. It tests successfully.
I'm getting "Access denied" and "Content deployment job 'Remote import job for job with sourceID = 1e2463e6-cd28-4d82-80be-3bf898b89842' failed.The exception thrown was 'System.UnauthorizedAccessException' : 'Access denied.'" errors. Going to the actual destination URL, the error message says it can't find a specified file.
Please help.

Cheers

Aj
at 11/07/2008 15:00

Failed Status after running deployment

That's very helpfully. Thanks

I'm having a failed status after running the created job. It tests successfully.
I'm getting "Access denied" and "Content deployment job 'Remote import job for job with sourceID = 1e2463e6-cd28-4d82-80be-3bf898b89842' failed.The exception thrown was 'System.UnauthorizedAccessException' : 'Access denied.'" errors. Going to the actual destination URL, the error message says it can't find a specified file.
Please help.

Cheers

Aj
at 11/07/2008 15:06

Failed Status after running deployment

That's very helpfully. Thanks

I'm having a failed status after running the created job. It tests successfully.
I'm getting "Access denied" and "Content deployment job 'Remote import job for job with sourceID = 1e2463e6-cd28-4d82-80be-3bf898b89842' failed.The exception thrown was 'System.UnauthorizedAccessException' : 'Access denied.'" errors. Going to the actual destination URL, the error message says it can't find a specified file.
Please help.

Cheers

Aj
at 11/07/2008 15:47

 Dave Hunter

I'm currently a Senior Consultant at Netstore 2e2. I specialise in Microsoft Information Worker technologies (especially MOSS, MCMS and .NET), with over 8 years of experience within this area of specialism. 

I have gained two certifications for MOSS and WSS and look to complete the full certification track soon.

View Dave Hunter's profile on LinkedIn

  Subscribe in a reader


 Latest Posts

I’m attending the first ever SharePoint Saturday in the UK31/08/2010 19:43
I’ve re-joined CIBER UK31/08/2010 19:26
I’ve been Awarded a MVP for SharePoint01/04/2010 19:49
SharePoint 2010 Training on Microsoft E-Learning15/03/2010 17:56
SharePoint UK User Group - Thursday 27th August London Meeting25/08/2009 17:56
CAML Query that filters on the current user23/07/2009 17:50
Microsoft Ramp Up Free SharePoint Developer Training22/07/2009 20:59
How To: Change a SharePoint Application Pool Programmatically07/07/2009 18:08
SharePoint Forums Topping 100 Answers06/07/2009 12:29
Find out the SharePoint Internal Name for a Column or Site Column28/05/2009 09:56
1 - 10 Next