|
Home > Archive > Microsoft Content Management Server > January 2007 > Deleted items are not deployed
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
Deleted items are not deployed
|
|
| Mike Parris 2007-01-23, 7:24 am |
| I'm having problems with items deleted via Site Manager not appearing in our
production site.
I am not specifying a start channel, but am still not getting the items
deleted in the production server. I am therefore trying to implement the fix
suggested in the MCMS FAQs.
I have tried to run the code in the MCMS faq, but get "ActiveX component
can't create object".
I have tried to run the code in a c# application, whch appears to run OK,
but does not return the deleted items.
In this code I am creating a CMSDeployExport object using -
SITEDEPLOYSERVERLib.CmsDeployExport exportjob = new
SITEDEPLOYSERVERLib.CmsDeployExportClass();
This is different to the script in the FAQ which uses -
set pCmsDeployExport = CreateObject("CmsDeployServer.CmsDeployExport.1")
I cannot create an object using "CmsDeployServer.CmsDeployExport.1" in c#.
Is SITEDEPLOYSERVERLib the same as CmsDeployServer?
What is the significance of the .1 at the end of CmsDeployExport?
Is there anything else I am missing?
Mike Parris
| |
| Stefan Goßner [MSFT] 2007-01-23, 1:18 pm |
| Hi Mike,
in C# you will have use an Interop to the COM object.
E.g. like this:
http://www.gotdotnet.com/Community/...c5-1c4911aa1553
But to come back to your issue: you should not delete items in Site Manager.
Items still in the deleted items folder cannot be deployed at all - no way.
Only items already purged from the deleted items folder can be deployed
using a site deployment script.
Cheers,
Stefan
"Mike Parris" <MikeParris@discussions.microsoft.com> wrote in message
news:84AE4D12-7227-4B27-A21B-4BC71ECC5E06@microsoft.com...
> I'm having problems with items deleted via Site Manager not appearing in
> our
> production site.
>
> I am not specifying a start channel, but am still not getting the items
> deleted in the production server. I am therefore trying to implement the
> fix
> suggested in the MCMS FAQs.
>
> I have tried to run the code in the MCMS faq, but get "ActiveX component
> can't create object".
>
> I have tried to run the code in a c# application, whch appears to run OK,
> but does not return the deleted items.
> In this code I am creating a CMSDeployExport object using -
> SITEDEPLOYSERVERLib.CmsDeployExport exportjob = new
> SITEDEPLOYSERVERLib.CmsDeployExportClass();
> This is different to the script in the FAQ which uses -
> set pCmsDeployExport = CreateObject("CmsDeployServer.CmsDeployExport.1")
>
> I cannot create an object using "CmsDeployServer.CmsDeployExport.1" in c#.
>
> Is SITEDEPLOYSERVERLib the same as CmsDeployServer?
> What is the significance of the .1 at the end of CmsDeployExport?
>
> Is there anything else I am missing?
>
> Mike Parris
| |
| Stefan Goßner [MSFT] 2007-01-23, 1:18 pm |
| Hi Mike,
yes. Such a deleted items folder is covered in Tips&Tricks section of the
following book:
http://tinyurl.com/8ugwj
Cheers,
Stefan
"Mike Parris" <MikeParris@discussions.microsoft.com> wrote in message
news:78532E40-0F61-45BF-A828-8C27BEA861E0@microsoft.com...[vbcol=seagreen]
> Thanks for the reply Stefan,
>
> I have to say this has been a great learning experience!
>
> We have a deployment script to export from the editing server, copy to the
> live server and then import to the live MCMS system.
> We avoided using client side script, we are using web services so that our
> users can have a web interface and we are using the Mutex interface to
> ensure
> only one update can take place at a time. None of this is covered in the
> books. So we were hoping that we were done.
>
> The reason we have been using Site Manager for deletes was because it
> appeared that we could have an "undelete" facility. It looks like we are
> going to have tell our Authors that when an item has gone, it is gone
> forever. Is there a way of creating a copy of a deleted item so that it
> can
> restored in the future?
>
> We have implemented a "Revert" facility for existing pages, so to not be
> able to restore a deleted item is pretty inconsistent.
>
> Mike
>
> "Mike Parris" wrote:
>
|
|
|
|
|