Welcome to MSDN Blogs Sign in | Join | Help

Content Deployment

Greetings, everyone! My name is Tyler Butler, and I’m a Program Manager working on the Web Content Management (WCM) features in Microsoft Office SharePoint Server (MOSS) 2007 at Microsoft. There’s been a lot of interest in learning more about the WCM feature set that has been built into MOSS and how Internet-facing sites can be built, maintained, and supported on top of MOSS. In this post, I’ll cover how a particular WCM feature called Content Deployment supports multi-farm topologies and can be used to enable authoring -> staging -> production scenarios. I’ll talk a little about previous solutions to the problem, give you an overview of the Content Deployment feature, and discuss the architecture of the feature in-depth.

I would like to point out before we get started that even though I will be discussing the Content Deployment feature’s application in Internet-facing scenarios, the feature is most definitely useable for intranet sites as well. Because content is deployed from site collection to site collection, it can even be used to deploy content to another location on the same machine. Bottom line: the Content Deployment feature is very flexible and has uses beyond the scenarios that I’ll be discussing in this post.

First, let’s make sure we’re all on the same page by presenting a typical IT scenario. If you’re running an Internet-facing site that contains content authored by people on your internal network, chances are that you have a network separation (i.e. firewall(s)) between the intranet and the Internet-facing network. You want your internal authors to have access to the site so they can author, edit, and approve content, but you want that network (the intranet) shielded from incoming Internet traffic for security purposes. After all, the Internet is a big scary place no doubt populated with people who’d like nothing better than to get onto your internal network and wreak havoc. However, if Internet users can’t access your site, then what good is it?

The most common solution to this problem is to have two server farms: one internal farm (in the intranet) dedicated to your authors/editors/designers and a second farm (in the Internet-facing network) that hosts your production site. Your internal farm is read/write, while your production farm is most likely read-only. If you have this sort of topology though, you need a way to get the authored content from your authoring farm to your production farm. This is where Content Deployment comes in. In a nutshell, deployment allows you to push out your content from one server farm to another. For the purposes of this post, I’m going to focus on a two-tier topology (authoring -> production), but you can also have a three-tier topology (authoring -> staging -> production) or even an n-tier topology if you need it.

If you have used Content Management Server (CMS) 2002, then you’re somewhat familiar with Content Deployment already. In CMS, you would export your content from the authoring farm to an .sdo file, transport it via your own method to the production farm, then initiate an import of the .sdo file on the production farm. There were three basic steps: export, transport, and import, but there wasn’t any UI to help you configure this process – it was all manual.

In MOSS, things work in much the same way. The three basic phases of the process remain the same; however, Content Deployment takes care of transporting the content across the wire for you and instantiates the remote import as well. We even provide a UI in the SharePoint Central Administration site that allows you to configure, run, and monitor the deployment of your content.

So how exactly does this all work? So glad you asked! :-) There are two core conceptual objects to understand: paths and jobs. A path is basically a connection between a source farm and a destination farm. The path contains information about which source web application and site collection you are deploying, authentication information for the destination farm, and the web application and site collection on the destination farm. In short, a path represents the mapping between your authoring and production site collections.

However, a path by itself doesn’t actually deploy any content. In order to do that, you create a job. A job is associated with a path, and it determines exactly which sites in the source site collection will be deployed and on what schedule. You can have many different jobs for a given path, each running on different schedules and deploying specific sections of your site. That’s right – a job has a schedule and can deploy content updates regularly without the need to manually kick it off every time. For example, let’s say you have a Press Releases site that needs to be updated every hour, and an Employee Bios site that only needs to be updated every month. You would create two different jobs, one that runs every hour and deploys the Press Releases site, and another that runs monthly and deploys the Employee Bios site.

Let’s say you also need to push out your data to a third farm, perhaps a read-only extranet. No problem! You simply create another path that maps your authoring site to the extranet site, and create jobs that deploy the appropriate content on the appropriate schedule. One important thing to note is that deployment is always one way: source -> destination. It’s a “single-master” system.

Deployment is also pretty smart. By default, it only deploys the changes since the last successful deployment, which saves bandwidth and time. And if there aren’t any changes, the deployment will complete without redoing any unnecessary work. Of course, full deployments every time can be configured if that’s what you really want.

What about dependencies? What if a page is dependent on a page layout or image that has been updated? No cause for concern; deployment automatically picks up the dependent page layout and packages it up along with the page itself – even if the dependent resources aren’t in the same site. Let me clarify what that means. In the above scenario with the Press Releases and Employee Bios sites, let’s say you configured the two jobs I talked about on two different schedules. Whenever the Press Releases job runs, it will check to see if any of the content it’s deploying is dependent on other resources, and will pick those resources regardless of where they live in your site collection. This ultimately means that you don’t have to worry about content not rendering on your production environment because your jobs run on different schedules and have interdependent content – Content Deployment takes care of it all for you!

As I alluded to earlier, Content Deployment is configured and managed in the SharePoint Central Administration site, so the person configuring it is a Central Administrator. Usually this is OK, but there might be instances where a page needs to be deployed from authoring to production as quickly as possible. The site owner, who probably isn’t a Central Administrator, needs to get that content out ASAP, and doesn’t have time to wait for the next scheduled deployment. What does the site owner do?

For scenarios like this, Content Deployment has a special job called “Quick Deploy” that is automatically created for every path in any site collection with the Publishing Resources feature enabled. This job, once enabled in a path, wakes up every few minutes (15 minutes, by default) and checks a special list for content that should be deployed. If the site owner has rights, he or she can deploy pages quickly to production by using the “Quick Deploy” link on the Page Editing toolbar. This adds that page to the special list, which the Quick Deploy job will check the next time it wakes up. Pretty nifty, eh? By default, only the site owner has the Quick Deploy right. In order to give other users the same privileges, you simply add them to the Quick Deploy Users group.

And that, ladies and gents, is Content Deployment in a nutshell – albeit a fairly large nutshell. :-) I should also mention that if the Content Deployment feature doesn’t meet your needs for some reason (perhaps you have physically separated networks and require an alternative transport method such as “sneaker-net”), you can always use our APIs, which are well documented in the MOSS SDK, to craft a custom solution that meets your exact needs. I think that you’ll find this feature compelling and exciting, especially if your IT infrastructure leverages a multi-farm topology.

I hope that this information was useful to you, and I look forward to getting a lot of feedback from you after Beta 2 is publicly available later this quarter. If you have any immediate feedback, please post a comment here.

 

Tyler Butler, Program Manager for WCM

Published Tuesday, May 02, 2006 6:03 AM by sptblog
Filed under: ,

Comment Notification

If you would like to receive an email when updates are made to this post, please register here

Subscribe to this post's comments using RSS

Comments

# re: Content Deployment

Great post thank you, I have a question though, what if you want to create a custom deployment job that does the regular content deployment and then runs some other task (proprietory in this case), does the API give access to stuff like what objects are being deployed during this deployment session.
Also, if new page layouts are being deployed will dependant code/controls also be deployed as part of the job.
Tuesday, May 02, 2006 5:55 AM by TonyS

# re: Content Deployment

Thankx Tyler, very good article! I assume that only content is published, which has been approved, right?
We often have the scenario that we work on a "refresh" of a punch of pages and want to comit them all at once (not as soon as they are approved). So probably the person how does the approval will aprove some pages during a longer time period (say one month). During this period, there may be changes to some of the pages which should now be deployed... Is such a scenario possible or to we have to ajust our workflow... Thankx. Harry
Tuesday, May 02, 2006 9:42 AM by Harry Pfleger

# Tech Talk PT » Blog Archive » Content Deployment

Wednesday, May 03, 2006 10:09 AM by Tech Talk PT » Blog Archive » Content Deployment

# re: Content Deployment

Are there any improvements to backup / restore for sharepoint sites, especially those with templates?  This is something that can be accomplished several different ways in V2, but I think they are all more or less cumbersome.
Wednesday, May 03, 2006 5:23 PM by Richard Brown

# re: Content Deployment

Thanks for taking the time to write this article, Tyler; this is very good news for us.  Like the others, I have a few questions.  

1.  In our current deployment scenario, I have noticed there is a short period of time while MCMS 2002 is committing the changes from the imported SDO that the server farm does not respond to incoming requests in a timely fashion.  Request timeouts can occur during this period.  On the other hand, a deployment is atomic.   Does the new Content Deployment feature commit all new content at the same time (one atomic commit, in case there are multiple pages dependant on one another, due to links and the like), or does it commit page by page, and if it's atomic, does it have this issue with commitment?

2.  To expand on Harry's question, I presume there are at least two states for each page; one if the page has been edited, and the other is the page in it's approved state.  Can we have more than those two?

3.  You mention the APIs in the MOSS SDK.  The version I have is named OSS12sdk.chm, and there are only placeholders for the deployment API section.  Is there a more recent version available, and where do I get it?  Is Content Deployment working in Beta 1?

4.  I, too, am concerned about dependant controls and code.  

Regards,
Mike Sharp
Wednesday, May 03, 2006 5:42 PM by Mike Sharp

# Office 2007 content deployment

Thursday, May 04, 2006 2:06 AM by Portals

# Office 2007 content deployment

Thursday, May 04, 2006 2:06 AM by Portals

# re: Content Deployment

Great questions guys, and I'll try to address them...

"Also, if new page layouts are being deployed will dependant code/controls also be deployed as part of the job."

No - you'll be responsible for ensuring that the backing assemblies for controls and web parts are available on the destination farm. Deployment only takes content. If the assemblies are on the destination farm, though, things will work as expected.

"what if you want to create a custom deployment job that does the regular content deployment and then runs some other task (proprietory in this case), does the API give access to stuff like what objects are being deployed during this deployment session."

Hmmm, seems to be two separate issues... Deployment uses the PRIME API, which is a core public WSS API with a known schema, so yes you can crack open the manifest and see what items are in it. And PRIME does surface a callback that you can use to kick off a proprietary task. I should be clear though - at this point you're talking about your own custom solution using PRIME directly, which is how you'll extend this if you need to.  We will be providing a couple of helper methods that will essentially allow you to create your own custom solution that does all the stuff we do (turn down caching on the destination while deployment's occurring, for example).

"I assume that only content is published, which has been approved, right?"

Sort of.  Deployment will take the most recent major (published) version AND the most recent minor (draft) version of a page.  HOWEVER, all scheduling will be respected on the destination, so if you schedule a draft to go live at 1pm and it's deployed to production at 11am, it won't be visible until 1pm, as expected. We also respect the security you've placed on items after they're deployed, if you so choose.  This has more of an impact in intranet/extranet scenarios than in the internet-facing scenarios I discussed in the post.

"Are there any improvements to backup / restore for sharepoint sites, especially those with templates?"

Not my area of expertise, but yes, there have been improvements to backup/restore. Unfortunately I am not the expert on those features so I can't talk about them intelligently.  Deployment and PRIME are not targeted at backup/restore - that's a separate feature-set.

"Does the new Content Deployment feature commit all new content at the same time (one atomic commit, in case there are multiple pages dependant on one another, due to links and the like), or does it commit page by page, and if it's atomic, does it have this issue with commitment?"

Deployment, and PRIME in general, is not atomic. Like you point out, there are good and bad things with this approach.  Your site will be reachable while deployment is running (though it will be under additional load of course, so non-peak times are the best time to do deployment), but if the remote import fails, you'll have to run deployment again to jump-start the process.  We are confident this won't pose a problem for people though, and PRIME is a fully re-entrant system.

"To expand on Harry's question, I presume there are at least two states for each page; one if the page has been edited, and the other is the page in it's approved state.  Can we have more than those two?"

Conceivably you could do this with metadata on the page, but we only have two-built in "states" as far as published/draft is concerned.  You can do some pretty incredible things with workflow though, so I'm fairly positive you would be able to do what you want with a nice workflow on your pages.

RE: SDK

The deployment/PRIME sections of the SDK are not yet available and I unfortunately don't know when they will be.  Check again in the Beta 2 SDK.
Friday, May 05, 2006 10:15 PM by Tyler Butler (MSFT)

# re: Content Deployment

       i have an assignment related to dealing with sharepoint server. need to create folders & manage it. uploading files into it & getting the user info who last updated the file. how to go with this.


right now , i have created an aspx file which calls the DWS service of the sharepoint services. i have a doubt in it. either it is a service from WSS / share point server...

i need to upload files into the server. now if the folder already exists, i need to use the same/ i need to create................. and uplaod the file in specific folder.........

& also i need to get the info abt who updated the file recently?


can u give me a solution for this?

please reply to vichulaura@gmail.com
thanks in advance..............
Saturday, May 06, 2006 3:05 AM by vijayan

# re: Content Deployment

hi,

kindly help me in resolving this issue.
i need to uplaod files from java application into sharepoint server.
for that i have tried it in .net creating an application & creating a folder. i done it. but am not sure where to palce the fiels . by default, it saves the file in document library( it is shown as shared documents ) . i couldn't create anywhere else/...... then do i need to create list to place my file into the server?

dwsServ.Dws dws_obj = new dwsServ.Dws();

dws_obj.Credentials = new NetworkCredential("username", "pwd", "domain");

dws_obj.Url = http://(Ip address)/vijayan/_vti_bin/dws.asmx ;

string result = dws_obj.CreateFolder("document library/folder1/folder2");

here first time, i had mentioned the document library. but after that i didn't mention anything . but the folders are created there....

iam not able to palce the folder in sub directories.........


so assume if folder is created......... but where to palce the fiel & how to  ????

needed immediatley ... can u help me please?

please reply to vichulaura@gmail.com
--
Regards
Vijayan
Saturday, May 06, 2006 9:18 AM by vijayan

# re: Content Deployment

I've been working with various .Net CMS Systems for a few years now. The most powerful of which I have experienced are Interwoven Teamsite and RedDot, both of which use a deployment model rather than a dynamic model. When I use the word deployment, I mean the CMS takes the content and the template and transforms this into static pages and deploys them to a web server. With what you have just discussed, you are basically doing a import/export across two Sharepoint instances.

Is it possible to simply deploy static pages from the Internal CMS over FTP to a simple web server on the External Farm?

There are advantages and disadvantages of both from a performance point of view (render once rather than every page hit) and also a licensing issue (having to purchase MOSS on internal and external servers).
I have always seen this as one of MCMS's major flaws compared to its competitors and it appears that M$ have acknowledge it, but haven't followed suit. Is there any major reason for this? Do M$ see MOSS as now competing at Teamsite/RedDot level?

Thanks for the interesting read.
Jeremy
Sunday, May 07, 2006 8:37 PM by Jeremy Thake

# MOSS Deployment

I read a good article about the new Deployment features on MOSS (M$ Office Sharepoint Server) by Tyler...
Sunday, May 07, 2006 8:51 PM by C# .Net Tales

# re: Content Deployment

Hmm - agreed with Jeremy, what are the Licensing requirements for having separate Internal and External MOSS systems? While the deployment sounds neat, some of our customers won't like that - and we'll be static export.
Monday, May 08, 2006 4:51 AM by Andy Burns

# re: Content Deployment

This is very cool. I can't wait to try it out!

Question: Can Content Deployment be used for SharePoint Lists and Document Libraries too, not just WCM pages?
Monday, May 08, 2006 12:26 PM by Joel Ward

# re: Content Deployment

What type of content can we push down to the destination using the Content Deployment?

I have a customer who wants their documents (*.doc, *.pdf etc) in a particular document library of a central portal (WSS) to be pushed down to branch office WSS.

Is this possible with the use of Content Deployment and can it be automated?
Tuesday, May 09, 2006 9:26 PM by Shoon

# re: Content Deployment

A slightly different question than the last 2.  Is is possible to just push folders of documents (*.doc) out to a particular document library (ie no central portal, just a bunch of documents in a folder going out to WSS)?
Wednesday, May 10, 2006 11:58 AM by Richard Brown

# re: Content Deployment

Joel, in MOSS 2007, there's no difference between a "WCM page" and a Web Parts page that has Lists and Libraries and other things on it -- they're now all just SharePoint pages. :-) Once a SharePoint site is activated ("lit up") with the MOSS Publishing feature, every page in that site is WCM enabled! This is the power and benefit of deeply integrating WCM functionality into MOSS.
Wednesday, May 10, 2006 10:56 PM by Lawrence Liu [MSFT]

# re: Content Deployment

Vijayan, for the very specific dev questions that you've asked, you'll have a better chance of getting them answered in the *.Development newsgroups listed on the SharePoint Community home page: http://www.microsoft.com/sharepoint/community.
Wednesday, May 10, 2006 11:01 PM by Lawrence Liu [MSFT]

# re: Content Deployment

There have been some great follow-up questions since my last response, so I’ll try to tackle some of them here…

One question that got brought up more than once is how deployment keeps things in sync across multiple instances.  Luckily, we don’t really have to worry about this because SharePoint does this for us.  As Lawrence pointed out, the WCM features are built right into SharePoint, so we get all of the great topology management goodies that they have.  Keeping Web Front-Ends within a farm in sync is something that SharePoint deals with quite well, and deployment itself doesn’t have to concern itself with managing that.  That said, if you want to keep things in sync across farms, content deployment is your friend.  You set up a schedule for when you want the deployments to occur, and how you want them to work, then it takes care of things for you.  Bottom-line: keeping individual instances in sync within a farm is handled by the SharePoint platform, and content deployment can be used to keep things in sync across farms.

Another question was around security – how are things secured on the destination farm? It’s entirely up to you.  If you’re building an extranet site with different authenticated users from a different domain, you may choose to deploy the roles you’ve defined, then apply those roles appropriately on the extranet site. Or if you’re doing an internet-facing scenario, you might choose to take no security information and explicitly secure everything on the destination.  Deployment surfaces several options when dealing with security, so you can choose to mirror your security settings or break away and manage them independently on each farm.

So all this deployment stuff sounds great, but can you use it with docs and other content besides WCM pages?  YES!!! This is a built-in feature that copies site content, regardless of whether it’s a document, a list, a page, etc.  It can totally be used to deploy out team sites if you want. The Quick Deploy feature is specific to WCM pages, but everything else is WCM independent.

I will point out that deployment assumes you are replicating your site hierarchy on your destination.  I.e. there’s no re-parenting.  You can’t map your http://site/foo/bar source site to http://site/bar.  There are ways to do this in PRIME, but deployment assumes your site hierarchies will be the same on both sides.

These are great questions, and I’d love to get your feedback as soon as you get your hands on Beta 2!
Thursday, May 11, 2006 5:11 PM by Tyler Butler [MSTF]

# Random valuable finds...

Wednesday, May 17, 2006 10:33 PM by Andrew Connell [MVP MCMS]

# Dot-Com Meets SharePoint: Building an Internet-Facing Web Site Using Microsoft Office SharePoint Server 2007


Hi
 
My name is Jim Masson, and I'm a Lead Program Manager working on the Web Content Management...
Wednesday, June 14, 2006 4:47 PM by Enterprise Content Management (ECM) Team Blog

# re: Content Deployment

Maybe it's just the fragmented and (frankly) sparse information around MOSS that's available but, from the perspective of an MCMS2002 practitioner this just seems to have made an already too complex framework even more complex and without appreciable (i.e. cost justifiable) benefits driving migration.

When can we expect a straightforward migration guide or will we be waiting for Bill English, Lim Mei Ying, and others to bring it all together before any serious migration/adoption starts?
Wednesday, June 14, 2006 5:25 PM by richardlwarren

# re: Content Deployment

Richard, take a look at the MOSS Migration Center at http://msdn.microsoft.com/office/server/moss/2007/migration for plenty of info on migrating from MCMS 2002 to MOSS 2007.

<Lawrence />
Thursday, June 15, 2006 9:47 AM by sptblog

# re: Content Deployment

hi,
     I have a query related restoring a backup of wss site. We have a site created in wss 2.0 and now we are migraing to wss 3.0 . While doing so i tried to restore the back of my site directly expecting that it will automatically upgrade it. But this didn't happen. I have no clue how to go forward with it. I searched in the blogs too but no gain. If you could guide me in this issue i will be gr8ful to you.

Regards,
Mangesh
Friday, June 16, 2006 9:14 AM by Mangesh

# re: Content Deployment

All the documentation for upgrade is here. TAke a look at it.
http://www.microsoft.com/office/preview/beta/deploy.mspx
-Iyaz
Friday, June 16, 2006 1:41 PM by Iyaz

# re: Content Deployment

Great article , thanks Tyler

It was mentioned earlier that you need to activate the publishing feature in a site to allow it to take part in the deployment job. Where do I do this ? and does it need to be enabled in both the source and destination ?

Thanks

Steve Smith
Saturday, June 17, 2006 10:29 AM by Steve Smith

# re: Content Deployment

Steve,

The publishing feature is only required to be enabled if you want to use Quick Deploy. Any site can be deployed using the regular deplioyment jobs and paths.

You won't need to enable anything on the destination. In fact, you shouldn't. Deployment will take care of enabling the right features on the destination when you deploy.

Tyler
Monday, June 19, 2006 1:25 PM by Tyler Butler [MSFT]

# re: Content Deployment

If you have multiple farms for authoring content that are geographically distributed (Australia, US) and one production farm (US), how do you deploy content - would it be done using content deployment by setting up paths and jobs or would we have to use PRIME API to replicate content?
Wednesday, June 28, 2006 1:56 PM by Sri

# re: Content Deployment

So what gets sent across the wire? Can we get hold of it?
Thursday, August 03, 2006 10:30 AM by Ians555

# re: Content Deployment

Question for you: We have installed 2007 twice on different servers as part of the learning process. They are different farms. On one server, I have Content Deployment options available to me under Operations (Central Admin). On the other server, I don't. I cannot determine what is different, or how to enable Content Deployment option on the server that is missing it. Can you please advise on how to enable this option.
Thanks.
Alison Z
Wednesday, August 09, 2006 4:27 PM by AlisonZ

# re: Content Deployment

We have 2 MOSS farms configured. All servers are configured for UK, the Site Collections are set to UK but content deployment fails between the 2 farms with the following error:

Content deployment job 'Quick Deploy job for path 'Auth to Live'' failed.The remote Web service request failed with this message: 'String was not recognized as a valid DateTime.'; Details: '<detail><errorstring xmlns="http://schemas.microsoft.com/CmsPublishing/soap/">String was not recognized as a valid DateTime.</errorstring></detail>'.

I know another company with the same error. Is this a known issue with the BETA?
Tuesday, August 15, 2006 6:06 AM by IanS

# re: Content Deployment

I too have had this problem (amoungst others with MOSS at the moment :o))
It looks like the Beta softwares' deployment only works on US build boxes, this is a common problem with Beta software and Microsoft. I've put up a question on the Sharepoint forum and I've been told that it might be fixed in the next refresh release which is pencilled in for the end of August.
Tuesday, August 15, 2006 2:11 PM by ians555

# re: Content Deployment

I am trying to deploy content from one site collection to another on the same server (just for testing). It keeps failing with the following exception:

Content deployment job 'Remote import job for job with sourceID = ae9286f6-3dbb-47a6-a16d-54b5130192e2' failed.The exception thrown was 'Microsoft.SharePoint.SPException' : 'A folder with the name _catalogs/masterpage/Forms/Page Layout already exists.'

I tried creating different site collections and tried the same with no luck. Am I doing something wrong?
Friday, August 25, 2006 4:18 PM by Amol

# re: Content Deployment

We are using MSOSS as a tool for developing one of MS application.

We are facing problem with WCM when trying to publish the page. We want to publish only approved pages not draft one but WCM out of the box doesn't support this feature. It moves all the files from staging to production irrespective of the status.

Please let me know how can I achieve this? If we need to write separate code then please give me some pointers from where I can refer them.

Thanks in Advance
Tuesday, August 29, 2006 6:49 PM by Deevas Bohra

# re: Content Deployment

Regarding AlisonZ's comment about the Content Deployment missing from Central Admin on one server but not on another - has anyone got a fix for this ??

Thanks
Wednesday, September 06, 2006 12:23 PM by Dan Hibbert

# re: Content Deployment

MOSS BETA 2 TECH REFRESH - Content Deployment

Now running 2 farms with the Beta 2 Tech Refresh, all with UK regional settings and still content deployment doesn't work.

Previously I could create a path but now even that fails with "Value does not fall within the expected range".
Has anyone else experienced this?
Friday, September 22, 2006 5:06 AM by IanS

# re: Content Deployment

Has anyone had any problems with Content Deployment post-B2TR? I get an error if I select one time only, and then it creates a job to run @ 1am 30/12/2006? Also when I tell it to Run Now it jus hangs in a prepare state?
Monday, September 25, 2006 9:24 AM by Ians555

# Office 2007, SharePoint Server 2007 e WSS

SharePoint 2007 - General information SharePoint Server 2007 - Hidden gems Microsoft Office SharePoint
Tuesday, September 26, 2006 6:38 AM by Raul Ribeiro

# re: Content Deployment

You say "there's no difference between a "WCM page" and a Web Parts page that has Lists and Libraries and other things on it -- they're now all just SharePoint pages".  But what about the lists and libraries themselves--not a web part page that displays a view of them, but the lists and libraries themselves--can these be deployed?  In other words, if I add a document to a document library, will Content Deployment copy this document to another farm?  
Wednesday, September 27, 2006 2:08 PM by david_tappan

# re: Content Deployment

For those that had issues with the Content Deployment links not appearing in Operations.  Install the DeploymentLinks feature and the Content Deployment links will appear as desired.

STSADM.EXE -o installfeature -filename deploymentlinks\feature.xml

Friday, October 06, 2006 12:10 AM by TOwen

# re: Content Deployment

We have a requirement that changes to pages and custom lists to be pushed out from staging to live site through quick deploy. Pages I can quick deploy. How can I do for the custom lists ?

Friday, October 20, 2006 5:24 AM by SR

# re: Content Deployment

I am having the exact same problem here. I am using MOSS2007 beta2 without TR.

-----------------------------------------------

Friday, August 25, 2006 4:18 PM by Amol

I am trying to deploy content from one site collection to another on the same server (just for testing). It keeps failing with the following exception:

Content deployment job 'Remote import job for job with sourceID = ae9286f6-3dbb-47a6-a16d-54b5130192e2' failed.The exception thrown was 'Microsoft.SharePoint.SPException' : 'A folder with the name _catalogs/masterpage/Forms/Page Layout already exists.'

I tried creating different site collections and tried the same with no luck. Am I doing something wrong?

-------------------------------------------------------

Wednesday, October 25, 2006 6:09 AM by japi

# re: Content Deployment

Found something on antother blog regarding the error "Value does not fall within the expected range".  Check it out here:

http://www.sharepointblogs.com/henkhooiveld/archive/2006/10/04/13276.aspx

-doug

Wednesday, October 25, 2006 5:08 PM by BA-Doug

# re: Content Deployment

Tyler,

Wonderful information - just what I needed.

One question though - I enabled the publishing feature for a site collection (using the Site settings --> Site Collection Features --> Office SharePoint Server Publishing --> Activate). I am logged on as Admin and create a new page. I dont yet see the "Quick Deploy" link on the Page Editing Toolbar. Is there any other setting I should look at? I am using Beta 2 TR. --Thanks for the article.

Wednesday, October 25, 2006 5:18 PM by Chris

# Building tylerbutler.com, Part 1: Planning and Basic Branding

Hi everyone, I'm Tyler Butler. You may remember me from such exciting blog posts as Content Deployment

Monday, October 30, 2006 8:20 PM by Enterprise Content Management (ECM) Team Blog

# re: Content Deployment

Tyler, this is a great post, thanks for the info. We're having a problem that I was hoping you could help with. We're using content deployment for a publishing portal across two B2TR servers. To get the content moved, we had to create a completely blank site collection using stsadm on the target server. That worked, but it did not activate the OSS Publishing Feature or the Publishing Resources feature, so we can't author content on the target server. We tried manually activating the Publishing Resources feature and got an error about using a name for a document library that already exists. We think this is the Style Library, which got copied over as part of the content deployment. So now we're stuck with all of our content, but no publishing. Any ideas?

Thursday, November 02, 2006 8:14 AM by Ed

# Tyler Butler : MOSS Club en ECM

Il y a 3 régles dans le MOSS Club: Il faut utiliser MOSS. Il faut utiliser MOSS. Il faut utiliser MOSS.

Thursday, November 02, 2006 8:18 AM by The Mit's Blog

# Basic and Advanced Deployment in a Nutshell

Thanks to those of you who partipated in my SharePoint Connection basic and advanced Deployment talks

Tuesday, November 14, 2006 1:36 AM by Joel Oleson's SharePoint Land

# re: Content Deployment

I am undecided about what the best practice would be for a MOSS 2007 project that I am working on.  

I have 500 plus subsites in a web application under one site collection.  Each one of this subsites is a seperate business however they may share information from list in the top-level site.  I am confused about whether these sub-sites should be site collections in the same application and if they where site collections would I be able to use the same masterpage for all of the site collections.  If I made a change to the masterpage could all of the sites realize the change without having to go to each site and update it with the new masterpage.  Please advise or point me to an article that speaks on this Thanks!

Wednesday, November 29, 2006 3:21 PM by Victor Dailey

# re: Content Deployment

Hi I'm getting the following error when trying to deploy, any ideas why?

12/4/2006 3:04 PM The specified name is already in use. A list, survey, discussion board, or document library cannot

have the same name as another list, survey, discussion board, or document library in this Web site. Use your browser's Back button,

and type a new name. at Microsoft.SharePoint.Library.SPRequest.CreateListOnImport(String bstrUrl, Guid& pguidListId, String bstrTitle,

String bstrDescription, Int32 lTemplateID, String bstrFeatureId, Guid guidRootFolderId, Int64 llFlags, Int32 iVersion, Int32 iAuthor,

String bstrFields, String bstrContentTypes, String bstrImageUrl, String bstrEventSinkAssembly, String bstrEventSinkClass,

String bstrEventSinkData, Guid guidDocTemplateId, String bstrViews, String bstrForms, Boolean bCompressedSchema) at

Microsoft.SharePoint.Deployment.ListSerializer.CreateList(SPWeb parentWeb, Dictionary`2 listMetaData, Boolean usingPublicSchema)

at Microsoft.SharePoint.Deployment.ListSerializer.SetObjectData(Object obj, SerializationInfo info, StreamingContext context,

ISurrogateSelector selector) at Microsoft.SharePoint.Deployment.XmlFormatter.ParseObject(Type objectType, Boolean isChildObject)

at Microsoft.SharePoint.Deployment.XmlFormatter.DeserializeObject(Type objectType, Boolean isChildObject, DeploymentObject envelope)

at Microsoft.SharePoint.Deployment.XmlFormatter.Deserialize(Stream serializationStream) at Microsoft.SharePoint.Deployment.

ObjectSerializer.Deserialize(Stream serializationStream) at Microsoft.SharePoint.Deployment.ImportObjectManager.ProcessObject(XmlReader

xmlReader) at Microsoft.SharePoint.Deployment.SPImport.DeserializeObjects() at Microsoft.SharePoint.Deployment.SPImport.Run()  

12/4/2006 3:04 PM Content deployment job 'Remote import job for job with sourceID = 1cee2746-3f6b-4a30-87b4-fd198270dead'

failed.The exception thrown was 'Microsoft.SharePoint.SPException' : 'The specified name is already in use. A list, survey,

discussion board, or document library cannot have the same name as another list, survey, discussion board, or document library

in this Web site. Use your browser's Back button, and type a new name.'

Tuesday, December 05, 2006 4:43 AM by Markus

# re: Content Deployment

i am getting the same error.... any thoughts?

Tuesday, December 12, 2006 2:23 PM by Ace

# Global & Multi Farm Deployments

There have been a bunch of questions lately around Global Deployments. Here are some essential resources

Wednesday, December 13, 2006 4:26 PM by Joel Oleson's SharePoint Land

# re: Content Deployment

I am getting the same error:

The specified name is already in use. A list, survey, discussion board, or document library cannot have the same name as another list, survey, discussion board, or document library in this Web site. Use your browser's Back button, and type a new name. at Microsoft.SharePoint.Library.SPRequest.CreateListOnImport.....

Has anyone foud the resolution to this issue?

Monday, December 18, 2006 5:14 PM by nn

# re: Content Deployment

Something we have noticed here (RTM 2007) is that non-break-space characters (&nbsp;) man times get converted to this strange character (Â) when we depoly content.  Ideas, or thoughts on this?

Stacey Abshire

Tuesday, January 02, 2007 10:17 AM by Stacey Abshire

# A few of my favorite MOSS 2007 Links

Hi all, I will be posting this as an article as well, with a link available from the front page. That

Sunday, January 14, 2007 3:30 PM by Johnwe's SharePoint WebLog

# A few of my favorite MOSS 2007 Links

Hi all, I will be posting this as an article as well, with a link available from the front page. That

Sunday, January 14, 2007 3:32 PM by Johnwe's SharePoint WebLog

# MOSS 2007 Links

Architecture, Installation, and Migration · Planning and Architecture for MOSS 2007 (large Whitepaper,

Sunday, January 14, 2007 3:36 PM by Johnwe's SharePoint WebLog

# MOSS 2007 Links

Architecture, Installation, and Migration · Planning and Architecture WhitePaper (Fairly Large Guide,

Sunday, January 14, 2007 3:50 PM by Johnwe's SharePoint WebLog

# Links utili per MOSS2007

VIA Johnwe Architecture, Installation, and Migration Planning and Architecture WhitePaper (Fairly...

Monday, January 15, 2007 11:01 AM by Romeo Pruno

# re: Content Deployment

Will content deployment automatically deploy any site columns and site content related to the lists being deployed?  Related, can you deploy site columns and site content with content deployment?

Wednesday, January 17, 2007 2:38 PM by Doug Durrie

# [Content Deployment] Authering, Staging, Deploying

I found a nice article on it ( http://blogs.msdn.com/sharepoint/archive/2006/05/02/588140.aspx ) written

Wednesday, January 24, 2007 8:07 AM by Code Eater

# re: Content Deployment

I am getting the same error as Stacey with the weird characters, can anyone give some feedback on this?

"Something we have noticed here (RTM 2007) is that non-break-space characters (&nbsp;) man times get converted to this strange character (Â) when we depoly content.  Ideas, or thoughts on this?"

Wednesday, January 24, 2007 10:53 AM by Rez Khamis

# re: Content Deployment

I am tring to run a job but it gets Failed for tow below errors:

1-User cannot be found. at Microsoft.SharePoint.SPUserCollection.GetByID(Int32 id) at Microsoft.SharePoint.SPWeb.get_Author() at Microsoft.SharePoint.Deployment.WebSerializer.GetDataFromObjectModel(Object obj, SerializationInfo info, StreamingContext context) at Microsoft.SharePoint.Deployment.DeploymentSerializationSurrogate.GetObjectData(Object obj, SerializationInfo info, StreamingContext context) at Microsoft.SharePoint.Deployment.XmlFormatter.SerializeObject(Object obj, ISerializationSurrogate surrogate, String elementName, Boolean bNeedEnvelope) at Microsoft.SharePoint.Deployment.XmlFormatter.Serialize(Stream serializationStream, Object topLevelObject) at Microsoft.SharePoint.Deployment.ObjectSerializer.Serialize(DeploymentObject deployObject, Stream serializationStream) at Microsoft.SharePoint.Deployment.SPExport.SerializeObjects() at Microsoft.SharePoint.Deployment.SPExport.Run()

2-Content deployment job 'test_test' failed.The exception thrown was 'Microsoft.SharePoint.SPException' : 'User cannot be found.'

what can i do?

Monday, January 29, 2007 8:56 AM by Karim.Aziz

# re: Content Deployment

To answer the previous post, in the content deployment path/job, there are two options for "deploy user names" and "security information in the content deployment". If you deploy user names but don't deploy security, then when you create a user in your "source" farm, that user gets deployed to the "destination" farm but the user's security information can't be found. We found that it works best to turn off both options (i.e. uncheck "deploy user names" and select "None" for security information) for deploying from an authoring environment to a production environment.

However, we are also experiencing the issue with the "nbsp" tags getting converted to a strange character. This is a major issue keeping us from using content deployment. Is there any resolution to this issue?

Tuesday, January 30, 2007 3:00 PM by MossMan

# re: Content Deployment

Hi Tyler,

We are looking at using Content Deployment to develop a customer's MOSS 2007 solution locally (outside a customer's network/AD) and then deploy it onto their infrastructure. However, when testing our deployment scenario we have a hit a bit of a snag - all of the workflows we setup against document/form libraries etc. do not get deployed - we have to go in and set them up manually.

Is there any way to make content deployment deploy the workflows? (We have already installed the features with the workflows in on the target machine) Or is there a better way to do a develop and deploy arrangement?

Kind regards,

Rick Hobbs

Monday, February 05, 2007 12:33 PM by Rick Hobbs

# re: Content Deployment

Karim.Aziz,

We've run into this same issue (User Cannot be found). MossMan's resolution, although logical does not resolve this issue. We found the cause of this issue is when a user creates a site and then they are subsequently removed from SharePoint altogether. So the reason it's happening is the user that created the site no longer exists in the Site Collection.

To resolve this, run this query: Perform the query:

Select Author, FullUrl from Webs where FullUrl = <offending site!!>

and update the Author field with a valid user account. Typically your SharePoint service account would be the best account to put in here.

Let me know if it works

Jim Schwartz

jim_schwartz9@yahoo.com

imason inc. (www.imason.com)

Wednesday, February 07, 2007 10:50 AM by Jim

# re: Content Deployment

I am still facing 2 errors 'User cannot be found' and I did uncheck "deploy user names" and select "None" for security information.

Thursday, February 08, 2007 10:11 AM by Karim.Aziz

# re: Content Deployment - ERROR

Hi,

The concept of publihsing is good, but how does one get around this error:

Scenario - test publishing of \ site from port 80 to a new site on port 81

Result:

"Content deployment job 'Remote import job for job with sourceID = 76a4a8b1-0c5a-47f0-82dd-7a8764631c5f' failed.The exception thrown was 'Microsoft.SharePoint.SPException' : 'The specified name is already in use. A list, survey, discussion board, or document library cannot have the same name as another list, survey, discussion board, or document library in this Web site. Use your browser's Back button, and type a new name.'"

Second error message:

"The specified name is already in use. A list, survey, discussion board, or document library cannot have the same name as another list, survey, discussion board, or document library in this Web site. Use your browser's Back button, and type a new name. at Microsoft.SharePoint.Library.SPRequest.CreateListOnImport(String bstrUrl, Guid& pguidListId, String bstrTitle, String bstrDescription, Int32 lTemplateID, String bstrFeatureId, Guid guidRootFolderId, Int64 llFlags, Int32 iVersion, Int32 iAuthor, String bstrFields, String bstrContentTypes, String bstrImageUrl, String bstrEventSinkAssembly, String bstrEventSinkClass, String bstrEventSinkData, Guid guidDocTemplateId, String bstrViews, String bstrForms, Boolean bCompressedSchema) at Microsoft.SharePoint.Deployment.ListSerializer.CreateList(SPWeb parentWeb, Dictionary`2 listMetaData, Boolean usingPublicSchema) at Microsoft.SharePoint.Deployment.ListSerializer.SetObjectData(Object obj, SerializationInfo info, StreamingContext context, ISurrogateSelector selector) at Microsoft.SharePoint.Deployment.XmlFormatter.ParseObject(Type objectType, Boolean isChildObject) at Microsoft.SharePoint.Deployment.XmlFormatter.DeserializeObject(Type objectType, Boolean isChildObject, DeploymentObject envelope) at Microsoft.SharePoint.Deployment.XmlFormatter.Deserialize(Stream serializationStream) at Microsoft.SharePoint.Deployment.ObjectSerializer.Deserialize(Stream serializationStream) at Microsoft.SharePoint.Deployment.ImportObjectManager.ProcessObject(XmlReader xmlReader) at Microsoft.SharePoint.Deployment.SPImport.DeserializeObjects() at Microsoft.SharePoint.Deployment.SPImport.Run()"

Nasty!

Sunday, February 11, 2007 10:04 AM by Dave

# re: Content Deployment

I have tried to deploy application using Content Deployment. But, unsuccessfull.

I am deploying application from one Sharepoint Server to another. Created Application and collection, path and job, Test works fine, connection between servers is OK, and no problems with firewall.

The error that i receive is : "Content deployment job 'DepJOBTest' failed.The remote upload Web request failed."

Thanks.

Tuesday, February 13, 2007 4:32 AM by FRKI

# re: Content Deployment

Dave,

We hit this one and found that two causes for it:

1) The target site we were exporting to was not created using the "Blank Site" template. Using other templates (like the collaboration portal one) caused this error.

2) Enabling some (not sure which) features on the target site.

My advise would be to create the target site using the "Blank Site" template, don't activate any features, and try the export.

All the best,

Rick.

Tuesday, February 13, 2007 5:55 AM by Rick Hobbs

# re: Content Deployment

Anyone have any success at getting rid of the strange character (Â) that appears on the destination MOSS server after a content deployment????

Monday, February 19, 2007 5:02 PM by Peter

# Content Deployment – Step By Step Tutorial

I was looking around and realized that I couldn't find an easy set of instructions to set up Content

Monday, February 26, 2007 2:52 PM by Jackie Bodine: SharePoint Blog

# re: Content Deployment - Job is only Preparing?

I have the same problem as mentioned in a previous post - My Content Deployment Jobs hangs in a prepare state?

If I use the function "Check deployment of specific content" to examine the URL the result is "<my path> --- Object not found"

Any suggestions?

Wednesday, February 28, 2007 9:59 AM by haurum

# re: Content Deployment

I have a sceanario where i have to do content deployment across web farms residing in different country  with out overriding the navigation layout(Master page)of the other country web farm as they wnat to keep the navigation as it is but just get the content,Is that possible?

Mag

Wednesday, February 28, 2007 4:32 PM by Mag

# re: Content Deployment-

I have tried to deploy application using Content Deployment. But, unsuccessfull.

while i gave the destination central adminstration server address i got error maessage as "The remote upload Web request failed."

Could any one helpout please..

Saturday, March 03, 2007 12:50 PM by Irfan

# Content deployment losing information!

We seem to have a problem with content deployment, in that although our pages and document libraries and their associated views are all deployed to the live server, the document library webparts on the pages lose track of the views they are associated with - so instead of each page showing a specific view of the document library, each page is showing the entire document library!

I've not been able to find any resolution to this problem so far; it certainly doesn't sound like expected behaviour!

Tuesday, March 06, 2007 12:30 PM by Alex

# re: Content Deployment

Special characters...

Stacey, Rez, MossMan, Peter, etc.  Let me preface everything I'm about to say, with "this is how I understand it".

The characters that are causing problems seem to be above 127 on the character map (i.e. greater than 128 bits).  Example:  ® is 174 on the character map (keystroke "alt+0174"), which indicates it's over 1 byte.  A non-breaking (&nbsp;) space is more than one byte.

No matter how you enter them, via the Rich Text editor, or HTML editor... copy and paste to notepad to strip out formatting... etc.  The characters "appear" to get encoded to ISO in the deployment process and there is no documentation to explain it.

I have a call into Microsoft, and I'm waiting to hear back.  Their support lines are very busy.  Will post my findings.

Wednesday, March 07, 2007 4:04 PM by Chris Topazi

# re: Content Deployment

From the blog:  “I will point out that deployment assumes you are replicating your site hierarchy on your destination.  I.e. there’s no re-parenting.  You can’t map your http://site/foo/bar source site to http://site/bar."

Are you not able to route content from:  http://Mysite/foo/bar to http://Yoursite/foo/bar?

My "Path" processes without problems.  Job “test Run” succeeds. However when the job is run, it fails.  

I've created a blank site on my new farm (destination). The Destination is in new domain - therefore admin users between farms are not the same. Do I need to give rights to the sql account from the old domain (source Site) into the new SQL database server (Destination)?

In the destination Central admin, I allow the old farm "source" administrator the rights to Central Admin. I have allowed the destination to accept content.  Because the servers are in different farms - My Source Server does not appear in the drop down for “Source Server”.   "Deployment Settings" page.  Is it needed here?  

Thursday, March 08, 2007 3:30 PM by jLo

# re: Content Deployment

From the blog:  “I will point out that deployment assumes you are replicating your site hierarchy on your destination.  I.e. there’s no re-parenting.  You can’t map your http://site/foo/bar source site to http://site/bar."">http://site/bar."

I had the same problem.  I resolved mine by:

Making sure when creating http://site/bar that in the destination Central Admin, when in "Define the Managed Paths" the path: is "bar/" and the type: is "Explicit inclusion".

Friday, March 09, 2007 10:43 AM by Chris Topazi

# re: Content Deployment

Has anyone had issues with content deployment jobs returning the status "Timed Out" or never getting past the "Preparing" stage?  Our scheduled jobs "Timed Out" Sunday evending and we can't even get a job to start at this point.

Wednesday, March 14, 2007 10:23 AM by Anthony

# re: Content Deployment

We are having issues with content deployment this week too. Our jobs seem to hang in the "preparing" state, but if we let them run, they successfully run exactly 1 hour after we start them. In fact, the problems appear exactly as described in KB 932563, which is the DST issue in Australia, but I'm located in the US so it shouldn't apply.

Is anyone else experiencing content deployment issues that started this week, which could potentially be due to the DST issue?

Wednesday, March 14, 2007 1:02 PM by MossMan

# re: Content Deployment

I have had the same problem.  My latest attemp is:  deploy from one web application - (publishing template - no content on site) to another web application (blank template) on the same server.  Using integrated security.  Both web apps using Kerbros.  

Wednesday, March 14, 2007 3:02 PM by lj

# re: Content Deployment

Mag--

We had the same issue regarding navigation not changing after deployment.  Deploying the entire site collection a second (or maybe a third time) and giving IIS a reset seems to clear everything up.

Friday, March 16, 2007 12:50 PM by Anthony

# re: Content Deployment

I have 3 cases open with Microsoft 1)crazy characters being ecoded during deployment 2)deployment failure 3)the SSP not crawling my site.

I've found a work around for the odd characters and deployment out of pure necessity and lack of knowledgable support from the lower tiers of the Microsoft support staff.

stsadm.exe backup/restore command line utility.  You can backup individual site collections and deploy them manually.  It does have a few issues that you will have to correct in the production enviroment like the search links are hard coded to the old collection URLs, but for the short term, it seems to work.

http://www.microsoft.com/resources/documentation/wss/2/all/adminguide/en-us/stsf19.mspx?mfr=true

Monday, March 19, 2007 12:32 PM by Chris Topazi

# re: Content Deployment

Chris, I'd be very interested in hearing the response from Microsoft on the alien characters as this is something I've been getting as well, not just from a backup/restore but also an import/export

Tuesday, March 20, 2007 3:23 AM by Ians555

# re: Content Deployment

try incremental content deployment jobs across two farms ( lets say authoring -> staging )... it breaks.

Wednesday, March 21, 2007 3:36 AM by alex talarico

# re: Content Deployment

Has anyone successfully used Content deployment in a 64 bit OS environment?  

I am able to Deploy content within 32 bit environments and between 32 bit environments.   However, I have two 64 bit environments Dev and Prod.  I am unable to deploy content within either of the 64 bit server farms or between the two 64 bit farms.  Receive Timeout every time.  IIS and  Central Admin Timeout/Session settings have been set.  Virus scan temporarily turned off. In fact, my 32 bit environment will deploy long before my high end 64 bit servers fail - which in one case was 2-3 hours later.

Wednesday, March 21, 2007 10:32 PM by JL

# re: Content Deployment

Ians555 - Unfortunately I can't replicate the alien characters until I resolve the searching on our farm and the deployment issues.  

We've had 2 developers and 1-2 network admins working on this with 3 different tiers of Microsoft support for over 5 business days.

Unfortunately, I have resigned from my job and do not forsee me resolving these issues before my last day (3/30/2007).  I will tell my replacement to post his/her solution.

Thursday, March 22, 2007 1:59 PM by Chris Topazi

# re: Content Deployment

The alien characters must be linked to job quitting as I too have resigned and my last day is also 3/30/2007, oh well, hopefully someone else might solve this problem in out absence. :o)

Friday, March 23, 2007 3:40 AM by Ians555

# re: Content Deployment

Two option to remove time out, till MS releases some patches to fix this issue..

1) Change time zone to any other zone that is not affected by DST

or UnCheck OS Clcok settings,  "Automatically adjust clock for daylight saving changes"

Shine

Thursday, March 29, 2007 1:41 AM by Shine Achuthan

# re: Content Deployment

I have exactly the same errors as Karim Aziz with the content deployment.

("Deploy user names" unchecked and "None" selected for security information.)

1-User cannot be found. at Microsoft.SharePoint.SPUserCollection.GetByID(Int32 id) at Microsoft.SharePoint.SPWeb.get_Author() at Microsoft.SharePoint.Deployment.WebSerializer.GetDataFromObjectModel(Object obj, SerializationInfo info, StreamingContext context) at Microsoft.SharePoint.Deployment.DeploymentSerializationSurrogate.GetObjectData(Object obj, SerializationInfo info, StreamingContext context) at Microsoft.SharePoint.Deployment.XmlFormatter.SerializeObject(Object obj, ISerializationSurrogate surrogate, String elementName, Boolean bNeedEnvelope) at Microsoft.SharePoint.Deployment.XmlFormatter.Serialize(Stream serializationStream, Object topLevelObject) at Microsoft.SharePoint.Deployment.ObjectSerializer.Serialize(DeploymentObject deployObject, Stream serializationStream) at Microsoft.SharePoint.Deployment.SPExport.SerializeObjects() at Microsoft.SharePoint.Deployment.SPExport.Run()

2-Content deployment job 'test_test' failed.The exception thrown was 'Microsoft.SharePoint.SPException' : 'User cannot be found.'

Has anyone foud the resolution to this issue?

Wednesday, April 11, 2007 8:59 AM by Bob Gratton

# re: Content Deployment

Regarding the "The remote upload Web request failed." issue that some people seem to be having - check the Event Viewer Application log for any "Office SharePoint Server" Errors. I had the same issue but found the following in my Event log error "Publishing: Content deployment job failed. Error: 'System.Net.WebException: The remote name could not be resolved: 'web01.pfizer.emea'". This was because I was publishing from one DOMAIN to another and my SOURCE DOMAIN did not recognise my TARGET DOMAIN. I simply added an entry into my HOSTS file for the TARGET machine and IP address and this fixed the problem.

NOTE: I activated and deactivated Features on my Targer machine but this did not have any effect for my particular manifestation of the problem.

Wednesday, April 25, 2007 5:59 AM by Ian Walters

# re: Content Deployment

I am having the following problem when i am trying to execute a job. The job fails and although  i have 2 errors in "job details status" they are not listed in the "errors and warnings list" . The list contains only warnings of the type "A Web Part or Web Form Control type could not be found, or is not registered as safe. The Web Part will still be exported."

and no errors...

any ideas?

Monday, April 30, 2007 10:19 AM by Yiannis

# re: Content Deployment

We had the weird characters issue as well and it seemed to resolve when we upgraded to sql server 2005 sp1 to sp2.

Tuesday, May 01, 2007 5:05 PM by Brett

# re: Content Deployment - Preparing Status

I have my application [publishing] running on server having RTM, but when I try Content Deployment feature to deploy it on destination server [having licenced copy], it always remains in Preparing status. even not throwing any error. I have created blank site on destination server.

Is anyone facing same problem? Any workaround please?

Can we find errorlog anywhere for the same?

Thanks,

Bhavini

Wednesday, May 02, 2007 7:55 AM by Bhavini

# re: Content Deployment

We made some investigations to find out the source of the problem with special characters. You can find the results in my blog.

Saturday, May 05, 2007 10:11 PM by Peter Holpar

# Content Deployment Scenario

Hello

I have a client who has 2 branches(London,Dubai). They want to implement sharepoint in each branch in a manner that each brach will have a separate database cluster and SPS server. These two branches are linked through a high bandwidth line. But again as a matter of contingency they want to have separate installations of Sharepoint.

The difficulty is that they want to synchronize the branches, remember database are separate. Whatever information they develop in any of the branch should be available on other. Its more like a replication scenario.

Can you tell me what is the best way to solve this problem? Can I use bi directional content deployment in this scenario? Or Can we replicate databases? Or Use some third party replication software?

Monday, May 07, 2007 1:51 AM by Ahsan

# re: Content Deployment

Content deployment is good feature, but still in pre

For those who are trying to use

Content deployment is good feature, but still in premature state, before any one consider using this feature in production, please bewaring of following issues, probably it will help you. Other wise it could be a nightmare.

1) Strange characters that are inserted into the content on the sites after a successful content deployment. To an extent we can resolve this by cleaning up the content. Not practical to clean up because end users are not going to use HTML editor.

2)  Failure of incremental deployment of content (Deploy only new, changed, or deleted content). Users are not affected by this, this just a head ache for IT to push content.

3) Webpart view on the destination site not matching the webpart view on the source site after full content deployment.  In future MS fixes second issue, probably go to destination site and reset webpart default view.

Thursday, May 17, 2007 1:23 PM by Shine

# re: Content Deployment

I understand that WCM is a feature of MOSS 2007. I also understand that there is no way we can configure "Accept incoming content deployment jobs".

We are planning to use 3-tier(DEV-STAGING-PRODUCTION) architecture. Is it possible to use MOSS on DEV and Staging, and WSS 3.0 in PRODUCTION(this being final destination)?

After all, content job just copies all the content objects from the source site collection/Site/Subsite. Just curious.

Please advise.

Thursday, May 17, 2007 7:24 PM by Maritan

# How to fix the user not found error

Hey Bob and Karim,

I've got good news and bad news.  The good news is that I've found a way to fix the user not found errors, the bad news is that this fix is totally unsupported and may void your warranty.

Use at your own risk!

Backup your database before editing!

Essentially what is happening (at least in my case) is that when the content deployment starts it tries to do an export of the site, while doing so it checks to see who the author of the site is, if the author doesn't exist it crashes. The author of the site is stored in the Webs database table.

select * from webs

This will show you all the sites (and subsites) on that sitecollection. The author column shows you who sharepoint has recorded as creating your site.  You can see who this use is by querying the userinfo table.

Select * from userInfo where tp_id = [TheAuthorIDFromWebs]

If that user no longer exists or you've renamed  the user in your ID then you will need to change the Author in Webs to an ID of a user that does exist and has permission to the site.

Select * from userInfo where tp_SiteId = [siteId]

This query will give you a list of all the users that have access to the site whose id you  pass in.  Pick one of those users and use their  ID as the new author in the webs folder.  This should fix your problem.

This worked for me on my test database, hopefully it fixes your problems as well.  I suggest a support call to Microsoft to find a supported solution, but this might get you through if you are in a hurry.

Tuesday, June 12, 2007 8:41 PM by Estyn

# allow anonymous users to upload files to an internet site .

I have a sharepoint site configured for internet access (forms authentication) and is trying to use the web service to upload files to a doc lib.

Is it possible to configure a doc lib to allow anonynmous users to upload files??

currently when i upload the doc, it gets redirected to login page.

Appreciate any help.

Sree

Wednesday, June 13, 2007 3:03 PM by Sreekumar Menon

# Check deployment of specific content

Hi,

I have a web application on a sharepoint which i want to move to Production. How do i move the Content for that specfic application from our development to the Production or UAT server.

I tried the "Check deployment of specific content  " but i get the following message after seaching the URL.

Object URL not found. Check the URL and try again.

Appreciate your help.

Wednesday, June 13, 2007 5:40 PM by Rahul

# re: Content Deployment

I am trying to create content in sharepoint through C# code in which I am useing SPSite and SPWeb method. When I deploy the application the sharepoint site it give me deployment error "The request failed with HTTP status 503: Service Unavailable". Can anyone help me in this problem.

# re: Content Deployment The remote upload Web request failed.

Every time I am trying the Content Deployment I am getting the error..

Content deployment job 'CD J 1' failed. The remote upload Web request failed.

After analyzing the share point log file I found this error.

Failed to communicate with destination server for Content Deployment job 'CD J 1'. Exception was: 'System.Net.WebException: The request failed with HTTP status 503: Service Unavailable.

Wednesday, June 20, 2007 2:41 AM by Abhishek Agrawal

# Error User cannot found

Hi ,

 Iam Ugrading the sites from SPS 2003 to MOSS . All sites are upgrading successsfuly but default site is show following issue. plz anybody can help to overcome of this issue

[SiteSequence] [ERROR] [6/25/2007 12:10:32 PM]: Action 12.0.1.0 of Microsoft.SharePoint.Portal.Upgrade.SiteSequence failed.

[SiteSequence] [ERROR] [6/25/2007 12:10:32 PM]: User cannot be found.

[SiteSequence] [ERROR] [6/25/2007 12:10:32 PM]:    at Microsoft.SharePoint.SPUserCollection.GetByID(Int32 id)

  at Microsoft.SharePoint.SPSite.get_Owner()

  at Microsoft.SharePoint.Portal.Upgrade.PortalSiteUpgradeAreaAndListingData.GetLegacySPGroups(Int32 legacyGroupId, SPWeb web, LegacyAreaSecurityMember webGroup, Boolean upgradeSspRights)

  at Microsoft.SharePoint.Portal.Upgrade.PortalSiteUpgradeAreaAndListingData.InjectSecuritySettings(AreaData SPSArea, Int32 parentPermId)

  at Microsoft.SharePoint.Portal.Upgrade.PortalSiteUpgradeAreaAndListingData.RunUpgradeLoop1(SPSite site, AreaData SPSArea, Int32 parentPermId)

  at Microsoft.SharePoint.Portal.Upgrade.PortalSiteUpgradeAreaAndListingData.Upgrade()

  at Microsoft.SharePoint.Upgrade.SPActionSequence.Upgrade()

[PortalSiteUpgradeAreaAndListingData] [12.0.1.0] [DEBUG] [6/25/2007 12:10:32 PM]: Begin Rollback()

[PortalSiteUpgradeAreaAndListingData] [12.0.1.0] [DEBUG] [6/25/2007 12:10:32 PM]: End Rollback()

[PortalSiteUpgradeAreaAndListingData] [12.0.1.0] [DEBUG] [6/25/2007 12:10:32 PM]: Begin Dispose()

[PortalSiteUpgradeAreaAndListingData] [12.0.1.0] [DEBUG] [6/25/2007 12:10:32 PM]: End Dispose()

[PortalSiteUpgradeAreaAndListingData] [12.0.1.0] [DEBUG] [6/25/2007 12:10:32 PM]: Elapsed time: 00:00:52.4218750.

[SPManager] [ERROR] [6/25/2007 12:10:32 PM]: Upgrade [SPSite Url=http://i-share1:1112] failed. Microsoft.SharePoint.Portal.Upgrade.SiteSequence has the ContinueOnFailiure bit set. Moving on to the next object in sequence.

[SPManager] [ERROR] [6/25/2007 12:10:32 PM]: User cannot be found.

[SPManager] [ERROR] [6/25/2007 12:10:32 PM]:    at Microsoft.SharePoint.SPUserCollection.GetByID(Int32 id)

  at Microsoft.SharePoint.SPSite.get_Owner()

  at Microsoft.SharePoint.Portal.Upgrade.PortalSiteUpgradeAreaAndListingData.GetLegacySPGroups(Int32 legacyGroupId, SPWeb web, LegacyAreaSecurityMember webGroup, Boolean upgradeSspRights)

  at Microsoft.SharePoint.Portal.Upgrade.PortalSiteUpgradeAreaAndListingData.InjectSecuritySettings(AreaData SPSArea, Int32 parentPermId)

  at Microsoft.SharePoint.Portal.Upgrade.PortalSiteUpgradeAreaAndListingData.RunUpgradeLoop1(SPSite site, AreaData SPSArea, Int32 parentPermId)

  at Microsoft.SharePoint.Portal.Upgrade.PortalSiteUpgradeAreaAndListingData.Upgrade()

  at Microsoft.SharePoint.Upgrade.SPActionSequence.Upgrade()

[SPManager] [ERROR] [6/25/2007 12:10:32 PM]: Action 12.0.1.0 of Microsoft.SharePoint.Portal.Upgrade.SiteSequence failed.

[SPManager] [ERROR] [6/25/2007 12:10:32 PM]:    at Microsoft.SharePoint.Upgrade.SPActionSequence.Upgrade()

  at Microsoft.SharePoint.Upgrade.SPManager.Upgrade(Object o, Boolean bRecurse)

[SPManager] [DEBUG] [6/25/2007 12:10:32 PM]: Elapsed time upgrading [SPSite Url=http://i-share1:1112]: 00:01:16.

[SPManager] [DEBUG] [6/25/2007 12:10:32 PM]: Disposing SPSite Url=http://i-share1:1112.

[SPManager] [INFO] [6/25/2007 12:10:32 PM]: Resetting the status of PersistedUpgradableObject: SPContentDatabase Name=iflex_site_Pair Parent=SPDatabaseServiceInstance to Online.

[SPManager] [INFO] [6/25/2007 12:10:32 PM]: Finished upgrading SPContentDatabase Name=iflex_site_Pair Parent=SPDatabaseServiceInstance.

[SPSiteCollectionMigrator] [DEBUG] [6/25/2007 12:10:32 PM]: Recording contents from site SPSite Url=http://i-share1:1112 to the change log

[SPManager] [DEBUG] [6/25/2007 12:10:34 PM]: Elapsed time migrating [SPMigratableSiteCollection Parent=SPManager]: 00:26:16.9375000.

[SPHierarchyManager] [DEBUG] [6/25/2007 12:10:34 PM]: ------------------- Begin Growing Tree -------------------

[SPManager] [DEBUG] [6/25/2007 12:10:34 PM]: CanUpgrade [SPMigratableSiteCollection Parent=SPManager] returned: True.

[SPManager] [DEBUG] [6/25/2007 12:10:34 PM]: CanUpgrade [SPMigratableSiteCollection Parent=SPManager] returned: True.

[SPManager] [DEBUG] [6/25/2007 12:10:34 PM]: NeedsUpgrade [SPMigratableSiteCollection Parent=SPManager] returned: False.

[SPHierarchyManager] [DEBUG] [6/25/2007 12:10:34 PM]: -------------------- End Growing Tree --------------------

[SPManager] [INFO] [6/25/2007 12:10:34 PM]: Gradual Upgrade session finishes. root object = SPMigratableSiteCollection Parent=SPManager, recursive = True. 2 errors and 0 warnings encountered.

[SPManager] [DEBUG] [6/25/2007 12:10:34 PM]: Removing exclusive upgrade regkey by setting the mode to none

Tuesday, June 26, 2007 8:53 AM by Niyaz

# re: Content Deployment

We created a job for content deployment.When this job starts ,cpu usage time reaches to 100% and sqlserv.exe (Sql server ) taking 98-99% of the CPU time.Are we missing something??

Friday, June 29, 2007 2:57 AM by Ravi Diwakar

# re: Content Deployment

our content deployment is broken. apparently there is a problem in the database, which causes the job to fail. Our development party is not allowed to make changes to the database. So we're dependent on MS for a fix. this doesn't scale very well if a lot of people have the same types of problem - MS becomes a bottleneck in fixing

this gives me some serious doubts as to the robustness of the content deployment feature. Additionally, it is a single point of failure.

I am now at the stage where I would advise anyone to steer clear of this feature

Tuesday, July 24, 2007 5:08 AM by pieter-jan

# re: Content Deployment

Hi there I've been reading all the comments...

I have a new one, well related to the one someone posted about UK site collections.

I have installed MOSS 2007 in English ans created the source web site collection and destination site collection in spanish, the content deployment job simply does not work...If your sites are in other lenguage that your installation,

Any thoughts?

Luis.

Tuesday, August 07, 2007 12:04 PM by Luis Du Solier G.

# re: Content Deployment

I got this error when trying to deploy to multiple site collection. There's a KB article:

http://support.microsoft.com/kb/923592

But it doesn't work. I already used a blank site template - same result...

Content deployment job 'Remote import job for job with sourceID = a5a53c71-7a84-4f41-99a5-9e6bd80387ef' failed.The exception thrown was 'Microsoft.SharePoint.SPException' : 'Unable to import the folder _catalogs/masterpage/Forms/Page Layout. There is already an object with the Id 87a351cd-61cd-43e6-8e02-8bcf8382d920 in the database from another site collection.'

Thursday, August 09, 2007 7:53 PM by Mike

# # Error User cannot found

Friday, August 10, 2007 10:58 AM by paulzanbaka

# re: Content Deployment

pieter-jan, I completely agree. The feature is absolutely riddled with bugs. I am looking for a third party solution.

We are evaluating echo. The funny thing is the quote on their landing page from Fitz. Apparently he realizes that using the built in Content Deployment stuff is likely to get you fired or cost you a customer.

Tuesday, August 14, 2007 5:57 PM by DTW

# re: Content Deployment

Hi,

I am unable to locate publishing tab in template option while create new site.What could be the cause...

Monday, August 20, 2007 4:31 AM by Sourabh

# re: Content Deployment Scenario

Dear all,

i have the same problem like the other guy who writes the first arcticle about the "Content Deployment Scenario". Are there any best practices for doing something in this way? Is there perhaps a function for bi-directional synchronising between two differnt server farms?

Sorry, i searched and searched and searched and didn't find anything for solving this problem...

Thanks in advance

Thursday, August 23, 2007 7:40 AM by Siggi

# re: Content Deployment

Hi,

i have taken the backup of Mysite (personal site ) from One domain ie Domain1 and restoring to otherdomain ie Domain2  getting an error

user can not be found.

can any body suggest me what is the prerequisite is there to restore from one domain to other

Wednesday, August 29, 2007 3:32 AM by Prakash

# re: Content Deployment

I'm trying to setup content deployment between two  farms and getting the dreaded bland message "The remote upload Web Request failed".  From what I have seen, the export and transporting phases goes ok (contentDeployment directory in both servers have transient files that are cleanup), but the import phase fails without any message.  Anybody has has idea how to debug this?

(IE.  I had another environment where the content deployment used to work, and now exhibit this same behavior).

Thursday, August 30, 2007 4:35 PM by Pablo

# re: Content Deployment

I will try to be brief...

MOSS 2007 Enterprise + Serbian Language pack installed after creating site collection, pages ...  -> MOSS 2007 Enterprise + Serbian Language pack (empty!) content deployment job fails with error:

3:58 PM Could not find language Serbian (Latin, Serbia). at Microsoft.SharePoint.Deployment.ImportRequirementsManager.VerifyInstalledLanguage(String id, String name) at Microsoft.SharePoint.Deployment.ImportRequirementsManager.VerifyLanguage(SPRequirementObject reqObj) at Microsoft.SharePoint.Deployment.ImportRequirementsManager.Validate(SPRequirementObject reqObj) at Microsoft.SharePoint.Deployment.ImportRequirementsManager.DeserializeAndValidate() at Microsoft.SharePoint.Deployment.SPImport.VerifyRequirements() at Microsoft.SharePoint.Deployment.SPImport.Run()  

3:58 PM Content deployment job 'Remote import job for job with sourceID = ***' failed.The exception thrown was 'Microsoft.SharePoint.SPException' : 'Could not find language Serbian (Latin, Serbia).'

Tuesday, October 02, 2007 10:37 AM by Dragan Panjkov

# re: Content Deployment

Hello Dear!

I´ve just read the Tyler's explanation about using paths and jobs to migrate sharepoint solutions among environments.

I´ve tried to do it unsuccesfully, because there are lots of features and workflows that aren´t migrated.

Either I have un 'access denied' error or the workflow are not migrated at all.

Hence there are more than one year this article has been written I think there is somebody trying to do the same as I do.

Would anybody give me some way to investigate about the problemas I´ve been having?

Thanks eby,

Larissa

Monday, October 08, 2007 9:45 AM by Larissa Andrade

# re: Content Deployment

Hi,

I am facing following issue while content deployment.... I've created a portal using MOSS2007 which contains lists, content types & some site columns in content types and these columns are look up columns referred to the lists. Now I want to migrate the portal from development to staging. How can I do it so that the identities remain same.....because if identities changes then sie columns will refer old lists whereas new lists on staging will have some new GUIDS. Please suggest ...thanks in advance....

Wednesday, October 10, 2007 7:40 AM by Arpug8

# re: Content Deployment

Hi Andrew, I am writing in regard to a question that I have not been able to find from various MOSS presentation, reference sites, blogs etc . I come from a CMS 2002 background and am looking at some guidance/recommendation on how I would setup an internet facing site within a DMZ (ie back-to-back perimiter) that satisfies both content authoring site (ie authentication/authorisation) and production site (anonymous) within the one signle MOSS farm. From a CMS implementation I would create two sites, one read for Internet users and another read/write for CMS authoring. Both sites will be configured to point to the same single CMS SqlServer database. Is this possible in MOSS 2007 ? I would of thought one would create two web applications (and/or sites) for this on the MOSS server and setup content deployment between the two sites but doesn't this result in two physical replica of database content being created ? Or do I just enable anonymous access on a single Internet site in addition to using site to satisfy this requirement? These are corporate sites so any display of login options for custom authentication is not appropriate. Any suggestions or guidance appreciated.

Thursday, October 11, 2007 3:12 AM by Matt

# re: Content Deployment

What about stage and production web application have different web config file and we don't want the stage one overwrite the production one?

Wednesday, October 24, 2007 5:08 PM by JY

# STSADM export, Content Deployment, Content Migration API, Features/Solutions - deployment options compared

Back in May I wrote a post titled SharePoint deployment options : Features or Content Deployment? , which

Monday, October 29, 2007 7:43 AM by Mirrored Blogs

# re: Content Deployment

Monday, October 29, 2007 6:30 PM by Serge van den Oever [Macaw]

# re: Content Deployment

Regarding "The remote upload Web request failed"

Some has already answer this but here is one additional information.

Look at the event log to find out the exact server that is listed in the event log and then use that full server name in your host file. It should work.

Tuesday, November 06, 2007 3:40 PM by Ken Nguyen

# Migrating sites betwqeen domains

I have created a site in a test environment adn am now trying to migrate the site onto the real environment but the domain names are different. can any one suggest some thing. i did a back up and restore but that did not seem to work. my site got listed in the list of web applications and site collections but then i could not open the site.

Also, the sub-sites did not get restored. any suggestion of how to do it?

I have tried this only using stsadm.exe with backup and export commands but nothing seems to work!

Awaiting a response fromt he experienced as my experience in MOSS is of only 3 months.

Wednesday, December 12, 2007 3:07 AM by Nimi Kaul

# content management

Hi, i am working in an MNC in India as a content developer we use a internal tool  for content management,Could you please help to find out more growth in content management through MOSS.

Saturday, December 22, 2007 6:42 AM by Samy

# re: Content Deployment

Good article.

I receive the following error while trying to run a content deployment job from QA to Prod.

Operation is not valid due to the current state of the object. at Microsoft.SharePoint.Administration.SPContentDatabase.ValidateDatabaseSchemaCompatibility() at Microsoft.SharePoint.SPSite.PreinitializeServer(SPRequest request) at Microsoft.SharePoint.SPSite.GetSPRequest() at Microsoft.SharePoint.SPSite.get_Request() at Microsoft.SharePoint.Deployment.RequirementsManager..ctor(SPSite site, String tempLocation) at Microsoft.SharePoint.Deployment.ExportRequirementsManager..ctor(SPSite site, String tempLocation) at Microsoft.SharePoint.Deployment.SPExport.InitializeExport() at Microsoft.SharePoint.Deployment.SPExport.Run()

Any suggestions?

Monday, January 28, 2008 9:53 AM by will

# re: Content Deployment

Presumably the staging server and the production server have to be physically connected? But if the staging server is in a domain and using domain service accounts, does the production server have to be in the same domain as a member server? Thanks.

Hugh Anderson

Tuesday, February 12, 2008 5:49 PM by unclehughie1

# re: Content Deployment

I have not seen many replies recently but I will still go ahead and ask this question.

When creating a job I have two options with regards to content:

1.  New Content

2.  All content irrespective of whether it has been deployed in the past or not.

Are these specific to a job or a path?  For example if I create a path to a ste collection with say 10 sites.

I then create 3 jobs to do a deployment to 3 of the 10 sites.

Now I create a 4th job and point it to the root of the 10 sites and tell it to deploy only New, Changed or deleted content.

Will the 4th job:

1.  Deploy all Content from all 10 sites (my observation says yes)

2.  Deploy content from 7 sites as 3 have already been deployed via other jobs for this path.

I would think the latter holds true but my observations says otherwise.  I am observing a bug or a feature?  :-)

If my observations are correct, then what is the strategy for deploying extremely large amounts of content?

My thought was to break down initial deployment and then create a master job for all subseuent incremental deployments.

Also, it would be great to fix the code such that if a deployment fails for example during transportation, to keep teh expoerted files and give the user a chance to say "try again".  Right now after a 10 hour export a minor network glitch results in a complete wipe out of all exported files with no way to start where it left of.

Thanks.

Thursday, February 14, 2008 11:26 PM by Ranjan Banerji

# re: Content Deployment

Hi, Can you tell me the drawbacks of migration of SPS 2003 to MOSS 2007

Friday, February 15, 2008 12:55 AM by Jenny

# re: Content Deployment

Hi. I have a problem with content deployment.

In my sharepoint solution there are master page, layouts, content types and fields.

Some fields are lookup fields. I create them in the feature activation event handler

after creating their lists. Generally, the process works on deployment to blank site

collection, but it creates my layouts/master pages in content DB,

meaning with status "customized".

To avoid this, i activate my feature on destination site before deployment,

which creates lists and lookup fields in destination site collection.

After this the deployment fails with error "The specified name is already in use".

What is the best solution for my scenario?

Thanks.

Sunday, February 17, 2008 7:10 AM by Sergey

# re: Content Deployment

Hi. I had the popular "primary key violation" error with incremental content deployment jobs.  In November, I then applied hotfix kb936867 and everything worked great.  Unfortunately, SP1 promptly unfixed this for me and I am right back where I started.  Re-installing the hotfix gives me the error "The expected version of the product was not found".  Any help on how to resolve this issue once and for all?

Thanks.

Thursday, February 28, 2008 11:09 PM by jabahooie

# Content Deployment - mdf grows up / PK constraint

Hi all,

We have the problem, that our mdf-files grows up on destination-site when we do a full-deployment. sourcesite allways 4GB - destination 4,8,12,16... GB!!!

Also we have in incr. deployment all 2 or 3 days the same error (so we just can fix them with full-deployment - and mdf-files are growing up again).:

***Content deployment job 'test - Incr' failed.The exception thrown was 'System.Data.SqlClient.SqlException' : 'Violation of PRIMARY KEY constraint 'PK__#ExportObjects____7CDF21ED'. Cannot insert duplicate key in object 'dbo.#ExportObjects'. The statement has been terminated.' ***

have anyone an idea to fix them?

Monday, March 03, 2008 6:35 AM by Dominik

# Content Deployment as a replication mechanism for realtime scenarios

Hi Tyler,

Thanks for providing writeups and answers around content deployment.

We are evaluating this feature for a requirement where

1) pages

2) sites

3) sites with subsites

are expected to be replicated(using Content Deployment API - Export and Import) to other sites within the site collection.

We have been able to perform the page replication. However we have following questions. Could you please provide some guidance around these?

Scenario:

1) Page replication required realtime accross 20 sites when the page is approved

2) Sites with Subsites replication can happen to take some time

Questions

1) Is this a good design practice to use content deployment to be used for realtime and online scenarios(for eg: page replication when it is approved)

2) As this involves IO(export and import), In a clustering environment what care needs to be taken?

Thanks

Bala

Friday, March 21, 2008 9:15 AM by Bala

# re: Content Deployment

I have three content deployment jobs running on the same application servr under one database server and one content database.It runs every 15 min from source to destination(about 50-60 MB data)

But the jobs fails intermittently with error code "Content deployment job 'JobforFI' failed.The exception thrown was 'Microsoft.SharePoint.SPException' : 'Cannot complete this action. Please try again.'" and no matter what time I rerun the job and may be after 1 min it runs successfully.It happens with all the three jobs with no specific pattern.They fail atleast thrice in 24 hours and then get successfull with next schedule.Current version:12.0.0.6020

Wednesday, May 07, 2008 11:24 AM by Olga

# re: Content Deployment

Is it possible to synchronize two moss servers which are placed at remote locations using content deployment? If so how to achieve this?

Monday, May 19, 2008 8:00 AM by me_anand

# SharePoint Content Deployment Walkthrough

SharePoint Content Deployment Walkthrough

Thursday, May 29, 2008 7:06 AM by Digital Strawberry Girl

# re: Content Deployment

We have a scenario where we have 1 internal site that needs to be published to 2 external sites. I have worked this out. But how do I deploy 2 different home pages? As the 2 external sites will need different home pages. Is there a way to achive this?

Wednesday, June 04, 2008 7:22 PM by rachael

# re: Content Deployment

@rachael: I'm not sure I understand your scenario... Do you want to have the same content deployed to two different target site collections and simply have the default page set differently for each target? Or do the targets already have existing content and you are trying to use deployment to "graft" another site into the targets?

Thursday, June 05, 2008 1:42 AM by Tyler Butler [MSFT]

# Importing Content from SP 2003

we migrated from SP 2003 to MOSS 2007. After migration, we noticed that we have lots of discrepancies between two servers. Now, I am wondering how can I import those contents from 2003 to 2007, Any idea.

Thanks in advance,

BK

Thursday, June 05, 2008 6:43 PM by BK

# re: Content Deployment

Ha ha,

one could pity the poor Sharepoint Team Bloggers - they write 5 kB of an entry and get replied with MBs of error messages from actual Sharepoint users... :-D

On second thought, I don't pity them at all... >:-[

Monday, June 09, 2008 11:17 AM by Juergen

# re: Content Deployment

Thank you,

This post gave me a great vision over Content Deployment.

Sunday, July 06, 2008 8:04 AM by Basem Alabbasi

# re: Content Deployment

Hi

I met a problem about content deployment. I have two site collection, one is source site, anther is target site. The target site allow anonymous access, but the source site doesnot. I set a content deployment job update only new, changed, or deleted content. Every time when I run this job, the target site allow anonymous access will be closed, but I don't want the content deployment job to change this setting in targe site.

In fact, at my local test machine all the thing is work fine. It will not change the anonymous access setting, but It happened all the time on the real server. I could not figure out why, anybody can help me or give me some good advice?

Monday, July 14, 2008 2:13 AM by Scott

# re: Content Deployment

I must say I am enlightened after going through this "Content Deployment" page. However my dilemma still haunts me, can I deploy content(Web Pages and attachments) from several intranet sites in a CMS (for instance Drupal)into SharePoint, and if so how would I go about it?

Many thanks in advance.

Tuesday, July 15, 2008 12:21 PM by Imran Abdulla

# re: Content Deployment

Good artical,

I have a site which is already exist in MCMS 2002. Now i want to migrate MCMS site to MOSS 2007.

So how do i deploy my MCMS Site content to MOSS very first time??? Can content deployment job accept the input file as .SDO file, so i can deploy my exprted MCMS .SDO file to MOSS 2007 site collection

Thursday, August 14, 2008 2:00 PM by Nirav

# re: Content Deployment

hello Scott,

please choose "None" as security information in content deployment whil creating content deployment path. That way security info from source will not get imported into destination site collection.

Sunday, August 24, 2008 1:14 AM by amrita.talreja

# re: Content Deployment

Hello,

To get rid of the "_catalogs/masterpage/Forms/Page Layout already exists" error create the destination site collection in a different content database.

Thursday, August 28, 2008 3:34 PM by Djé

# re: Content Deployment

We have a production farm and a dev farm in the same domain setup for content

deployment.  This had been working fine up until this past week.  I had a

sneaking suspicion it's due to DST, but none of the errors I get are pointing

this direction.

The Content Deployment works fine between the two dev test systems, but

pushing it up to our production server gives a time-out.

When the quick deployment job runs, it exports fine, but the imports time

out with the error:

The connection to the destination server was lost after the remote import

job was started. The import job might still succeed. Content deployment will

continue to attempt to reestablish a connection with the destination server.

On the destination server I always get the event error:

The connection to the destination server was lost after the remote import job was started. The import job might still succeed. Content deployment will continue to attempt to reestablish a connection with the destination server.

Wednesday, October 29, 2008 5:10 PM by curiousmonkey

# Content Deployment failed, incremental deployment ok though

Any idea about this? Please help.

A duplicate name "ProjComments" was found. at Microsoft.SharePoint.SPFieldCollection.AddFieldToWeb(String strXml, Boolean checkDisplayName) at Microsoft.SharePoint.SPFieldCollection.AddFieldAsXmlInternal(String schemaXml, Boolean addToDefaultView, SPAddFieldOptions op) at Microsoft.SharePoint.Deployment.FieldTemplateSerializer.CreateField(SPWeb web, SerializationInfoHelper infoHelper) at Microsoft.SharePoint.Deployment.FieldTemplateSerializer.SetObjectData(Object obj, SerializationInfo info, StreamingContext context, ISurrogateSelector selector) at Microsoft.SharePoint.Deployment.XmlFormatter.ParseObject(Type objectType, Boolean isChildObject) at Microsoft.SharePoint.Deployment.XmlFormatter.DeserializeObject(Type objectType, Boolean isChildObject, DeploymentObject envelope) at Microsoft.SharePoint.Deployment.XmlFormatter.Deserialize(Stream serializationStream) at Microsoft.SharePoint.Deployment.ObjectSerializer.Deserialize(Stream serializationStream) at Microsoft.SharePoint.Deployment.ImportObjectManager.ProcessObject(XmlReader xmlReader) at Microsoft.SharePoint.Deployment.SPImport.DeserializeObjects() at Microsoft.SharePoint.Deployment.SPImport.Run()

Tuesday, November 18, 2008 1:29 PM by curiousmonkey

# re: Content Deployment

For additional information, don't forget the Content Deployment webcast on http://www.microsoft.com/events/series/sharepointserver.aspx.

Tuesday, February 17, 2009 5:30 PM by HikeBandit

# Content Deployment – Best Practices

Dentro de las capacidades que ofrece Microsoft Office SharePoint Server (MOSS) 2007, hay algo llamado

Wednesday, May 06, 2009 3:13 AM by Luis Du Solier - SharePoint en Español

# Content Deployment – Best Practices

Dentro de las capacidades que ofrece Microsoft Office SharePoint Server (MOSS) 2007, hay algo llamado

Wednesday, May 06, 2009 3:16 AM by SharePoint en Español - Luis Du Solier G.

Leave a Comment

(required) 
required 
(required) 
 
Page view tracker