Deleted items are not deployed
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Web Servers reviews > Microsoft Content Management Server > Deleted items are not deployed




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    Deleted items are not deployed  
Mike Parris


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
01-23-07 12:24 PM

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





[ Post a follow-up to this message ]



    Re: Deleted items are not deployed  
Stefan Goßner [MSFT]


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
01-23-07 06: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







[ Post a follow-up to this message ]



    Re: Deleted items are not deployed  
Stefan Goßner [MSFT]


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
01-23-07 06: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:
> 







[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 09:15 PM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register