|
Home > Archive > Microsoft Content Management Server > February 2004 > MCMS Export Not Working Correctly
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 |
MCMS Export Not Working Correctly
|
|
| Charles 2004-02-04, 10:46 am |
| I have two Win2k Servers running MCMS 2002 w/sp1, the
first is an authoring server the second the production
server. We have two channels defined from the
root "\Internet" and "\Intranet".
I have two standard scripts that export the data from the
two distinct channels, specifing the channel name in the
script. The scripts are run 30 minues apart so as not to
hit the server at the same time. We started the Internet
script first, and it ran fine for over a month. When the
Intranet script was started, we noticed some things not
working properly. The Intranet script will notice and mark
items in the Internet channel as published, then when the
Internet script runs, it will not publish the changes. We
stopped the Intranet script for a few days, and if the
Internet script runs alone, everything works fine. As soon
as we start the Intranet script, things get mixed up.
Any suggestions?
| |
| Stefan [MSFT] 2004-02-04, 10:46 am |
| Hi Charles,
complicate to give an answer when no additional information about what
exactly these scripts do is available.
Cheers,
Stefan.
--
This posting is provided "AS IS" with no warranties, and confers no rights.
"Charles" <anonymous@discussions.microsoft.com> wrote in message
news:61b901c3e675$78c7ada0$a301280a@phx.gbl...quote:
> I have two Win2k Servers running MCMS 2002 w/sp1, the
> first is an authoring server the second the production
> server. We have two channels defined from the
> root "\Internet" and "\Intranet".
>
> I have two standard scripts that export the data from the
> two distinct channels, specifing the channel name in the
> script. The scripts are run 30 minues apart so as not to
> hit the server at the same time. We started the Internet
> script first, and it ran fine for over a month. When the
> Intranet script was started, we noticed some things not
> working properly. The Intranet script will notice and mark
> items in the Internet channel as published, then when the
> Internet script runs, it will not publish the changes. We
> stopped the Intranet script for a few days, and if the
> Internet script runs alone, everything works fine. As soon
> as we start the Intranet script, things get mixed up.
>
> Any suggestions?
| |
| =?Utf-8?B?Q2hhcmxlcw==?= 2004-02-04, 10:46 am |
| Stefan,
I have two channels created:
/Channel_1
/Channel_2
I have created two scripts (via the API) to export published changes for each channel. The first script exports data from Channel_1 and the second script exports data from Channel_2, into seperate *.sdo files. Each script is run 30 minutes apart, Channel_
1 at the top of the hour, Channel_2 at the bottom of the hour. If someone edits and publishes a change in Channel_1, lets say 15 minutes after the hour, the next script to run is the Channel_2 script. When the Channel_2 script runs, it picks up the publis
hed page in Channel_1 and marks it as published. So when the Channel_1 script runs at the top of the hour it does not pick up the change.
The reason we have two scripts and two channels is we are using the same authoring server for our Internet and intranet web sites. Our production servers are on seperate boxes, which is why we need to export the changes seperately, they have different des
tinations.
After every export there is an XML file created, and looking into the XML file for the Channel_2 script, you can see it picked up pages in the Channel_1 channel even though we explicitly specify the channel in the script.
We are using the standard API calls to export the data from the CMS repository. Below is a small piece of code from the export script:
pCMSDeployExport = New CmsDeployExport
pCMSDeployExport.AuthenticateAsUser(username, pwd)
ReportURL = pCMSDeployExport.Export(m_localPath, 0, parentChannel.Guid)
Does this help?
Thanks!
----- Stefan [MSFT] wrote: -----
Hi Charles,
complicate to give an answer when no additional information about what
exactly these scripts do is available.
Cheers,
Stefan.
--
This posting is provided "AS IS" with no warranties, and confers no rights.
"Charles" <anonymous@discussions.microsoft.com> wrote in message
news:61b901c3e675$78c7ada0$a301280a@phx.gbl...[QUOTE][color=darkred]
> I have two Win2k Servers running MCMS 2002 w/sp1, the
> first is an authoring server the second the production
> server. We have two channels defined from the
> root "\Internet" and "\Intranet".
> two distinct channels, specifing the channel name in the
> script. The scripts are run 30 minues apart so as not to
> hit the server at the same time. We started the Internet
> script first, and it ran fine for over a month. When the
> Intranet script was started, we noticed some things not
> working properly. The Intranet script will notice and mark
> items in the Internet channel as published, then when the
> Internet script runs, it will not publish the changes. We
> stopped the Intranet script for a few days, and if the
> Internet script runs alone, everything works fine. As soon
> as we start the Intranet script, things get mixed up.
| |
| Stefan [MSFT] 2004-02-04, 10:46 am |
| Hi Charles,
ok I got this!
What I don't understand: I have never heard that the GUID approach would not
work.
Are you sure that parentChannel.Guid is the GUID of Channel_1 or Channel_2
and not the GUID of a parenChannel of these two?
Cheers,
Stefan.
--
This posting is provided "AS IS" with no warranties, and confers no rights.
"Charles" <anonymous@discussions.microsoft.com> wrote in message
news:5DE2BD14-584A-4264-86F3-2BE27B8AE809@microsoft.com...quote:
> Stefan,
> I have two channels created:
>
> /Channel_1
> /Channel_2
>
> I have created two scripts (via the API) to export published changes for
each channel. The first script exports data from Channel_1 and the second
script exports data from Channel_2, into seperate *.sdo files. Each script
is run 30 minutes apart, Channel_1 at the top of the hour, Channel_2 at the
bottom of the hour. If someone edits and publishes a change in Channel_1,
lets say 15 minutes after the hour, the next script to run is the Channel_2
script. When the Channel_2 script runs, it picks up the published page in
Channel_1 and marks it as published. So when the Channel_1 script runs at
the top of the hour it does not pick up the change.quote:
>
> The reason we have two scripts and two channels is we are using the same
authoring server for our Internet and intranet web sites. Our production
servers are on seperate boxes, which is why we need to export the changes
seperately, they have different destinations.quote:
>
> After every export there is an XML file created, and looking into the XML
file for the Channel_2 script, you can see it picked up pages in the
Channel_1 channel even though we explicitly specify the channel in the
script.quote:
>
> We are using the standard API calls to export the data from the CMS
repository. Below is a small piece of code from the export script:quote:
> pCMSDeployExport = New CmsDeployExport
> pCMSDeployExport.AuthenticateAsUser(username, pwd)
> ReportURL = pCMSDeployExport.Export(m_localPath, 0,
parentChannel.Guid)quote:
>
> Does this help?
> Thanks!
> ----- Stefan [MSFT] wrote: -----
>
> Hi Charles,
>
> complicate to give an answer when no additional information about
whatquote:
> exactly these scripts do is available.
>
> Cheers,
> Stefan.
>
> --
> This posting is provided "AS IS" with no warranties, and confers no
rights.quote:
>
>
> "Charles" <anonymous@discussions.microsoft.com> wrote in message
> news:61b901c3e675$78c7ada0$a301280a@phx.gbl...
>
>
>
|
|
|
|
|