Microsoft Content Management Server - CmsDeployExport sp2 - missing files

This is Interesting: Free IT Magazines  
Home > Archive > Microsoft Content Management Server > September 2007 > CmsDeployExport sp2 - missing files





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 CmsDeployExport sp2 - missing files
Martin Sebela

2007-09-17, 7:24 am

Hi,

we've installed sp2 (because of sql 2005) on our CMS servers. There were
some problems, but Stefan's page
(http://blogs.technet.com/stefan_gos.../16/414617.aspx)
helped me to solve it ... very thanks.

One problem is still still outstanding: Our synchro application between
productive and presentation server sometimes ignores new files in resource
gallery. I don't know why, the record in Node table looks correct (modify
time etc.) and DBCheck utility didn't find any problems.

We use CmsDeployExport.Export with time-stamp. It's generate correct .sdo
file with changes in channels, templates, resources, but some files are
totally ignored.

It worked fine before sp2.

Could you help me, please?

Thanks,
Martin

-------------------------------------------------------------------------
System.Console.WriteLine("Přihlašeuji se do CMS");

_cmsDeployExport = new CmsDeployExportClass();
_cmsDeployExport.AuthenticateAsCurrentUser();

CmsDeployExportOptions cmsWebExportOption = _cmsDeployExport.Options;
cmsWebExportOption.IncludeRightsGroups = 1;
cmsWebExportOption.IncludeCreatedBy = 2;

string exportFolder = ConfigurationSettings.AppSettings["ExportFolder"];
filename = exportFolder + "ok" + DateTime.Now.ToString("yyMMddhhmmss") +
".sdo";

int timeRangeMin = 60;

try
{
_cmsDeployExport.Export(filename, timeRangeMin, "");
}
catch(Exception ex)
{
throw new Exception("Export sdo souboru vyvolal výjimku.", ex);
}
-------------------------------------------------------------------------
Stefan Goßner [MSFT]

2007-09-17, 7:24 am

Hi Martin,

content deployment will not deploy resource gallery items not referenced by
postings.
resource gallery items will only be deployed together with the postings they
are bound too.

This is by design.

Cheers,
Stefan


"Martin Sebela" <MartinSebela@discussions.microsoft.com> wrote in message
news:35C801B3-6C0B-4626-9D00-5F2D9FAFBBA3@microsoft.com...
> Hi,
>
> we've installed sp2 (because of sql 2005) on our CMS servers. There were
> some problems, but Stefan's page
> (http://blogs.technet.com/stefan_gos.../16/414617.aspx)
> helped me to solve it ... very thanks.
>
> One problem is still still outstanding: Our synchro application between
> productive and presentation server sometimes ignores new files in resource
> gallery. I don't know why, the record in Node table looks correct (modify
> time etc.) and DBCheck utility didn't find any problems.
>
> We use CmsDeployExport.Export with time-stamp. It's generate correct .sdo
> file with changes in channels, templates, resources, but some files are
> totally ignored.
>
> It worked fine before sp2.
>
> Could you help me, please?
>
> Thanks,
> Martin
>
> -------------------------------------------------------------------------
> System.Console.WriteLine("Prihlaseuji se do CMS");
>
> _cmsDeployExport = new CmsDeployExportClass();
> _cmsDeployExport.AuthenticateAsCurrentUser();
>
> CmsDeployExportOptions cmsWebExportOption = _cmsDeployExport.Options;
> cmsWebExportOption.IncludeRightsGroups = 1;
> cmsWebExportOption.IncludeCreatedBy = 2;
>
> string exportFolder = ConfigurationSettings.AppSettings["ExportFolder"];
> filename = exportFolder + "ok" + DateTime.Now.ToString("yyMMddhhmmss") +
> ".sdo";
>
> int timeRangeMin = 60;
>
> try
> {
> _cmsDeployExport.Export(filename, timeRangeMin, "");
> }
> catch(Exception ex)
> {
> throw new Exception("Export sdo souboru vyvolal výjimku.", ex);
> }
> -------------------------------------------------------------------------



Martin Sebela

2007-09-17, 7:18 pm

Hi Stefan,

I know what you describe. But my problem arises with referenced posting and
resource. Posting is copied to the .sdo file (and presentation CMS server)
without resource file. If you click on the link you will get 404 error page.

Regards,
Martin

"Stefan Goßner [MSFT]" wrote:

> Hi Martin,
>
> content deployment will not deploy resource gallery items not referenced by
> postings.
> resource gallery items will only be deployed together with the postings they
> are bound too.
>
> This is by design.
>
> Cheers,
> Stefan
>
>
> "Martin Sebela" <MartinSebela@discussions.microsoft.com> wrote in message
> news:35C801B3-6C0B-4626-9D00-5F2D9FAFBBA3@microsoft.com...
>
>
>

Stefan Goßner [MSFT]

2007-09-18, 7:23 am

Hi Martin,

then the link to the resource is either not stored as a managed link or the
resource gallery item being referenced is marked as deleted.
You might want to open a support case to get this analyzed in more details.

Cheers,
Stefan


"Martin Sebela" <MartinSebela@discussions.microsoft.com> wrote in message
news:710023BF-528C-49CB-82C6-AB8C7434C119@microsoft.com...[vbcol=seagreen]
> Hi Stefan,
>
> I know what you describe. But my problem arises with referenced posting
> and
> resource. Posting is copied to the .sdo file (and presentation CMS server)
> without resource file. If you click on the link you will get 404 error
> page.
>
> Regards,
> Martin
>
> "Stefan Goßner [MSFT]" wrote:
>


Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com