|
Home > Archive > Microsoft Content Management Server > September 2006 > SDAPI Import Question
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 |
SDAPI Import Question
|
|
| Tony Cheng 2006-09-16, 1:34 pm |
| Hi all,
I have a schedule to run a script every 15 minutes. The script will
replicate new postings from backend to frontend using SDAPI. And for each
replication, a report url will be returned by CmsDeployImport.Import method.
But I found that even the import fails due to some reason, e.g. Violation of
PRIMARY KEY constraint 'PK__##impBlobData__51F3A1A0', the Import method does
not throw exception and return a report url as usual.
I want to ask how I can check the export/import function works properly in
programming. Any error code or number will be return ?
Thanks.
Tony
| |
| Stefan [MSFT] 2006-09-16, 1:34 pm |
| Hi Tony,
this is most likely a known bug.
Please install the following hotfix depending on your service pack level:
SP1a: 913072
SP2: 916114
Cheers,
Stefan
--
This posting is provided "AS IS" with no warranties, and confers no rights
"Tony Cheng" <sdasd@fdfsds.com> wrote in message
news:eHZf83H2GHA.3516@TK2MSFTNGP06.phx.gbl...
> Hi all,
>
> I have a schedule to run a script every 15 minutes. The script will
> replicate new postings from backend to frontend using SDAPI. And for each
> replication, a report url will be returned by CmsDeployImport.Import
> method. But I found that even the import fails due to some reason, e.g.
> Violation of PRIMARY KEY constraint 'PK__##impBlobData__51F3A1A0', the
> Import method does not throw exception and return a report url as usual.
>
> I want to ask how I can check the export/import function works properly in
> programming. Any error code or number will be return ?
>
> Thanks.
>
> Tony
>
| |
| Tony Cheng 2006-09-16, 1:34 pm |
| Hi Stefan,
Actually you have already answered me this known bug 
This time what I want to ask is that when I use SDAPI to replicate postings
vetween servers in scheduled task, how can I know the import or export are
successful ? As the import method only return a report url. I don't know
whether it is successful until I open the report.
I want to ask that any programming code I can use to check with this
Thx
Tony
"Stefan [MSFT]" <stefang@online.microsoft.com> wrote in message
news:O96SltJ2GHA.1292@TK2MSFTNGP03.phx.gbl...
> Hi Tony,
>
> this is most likely a known bug.
> Please install the following hotfix depending on your service pack level:
>
> SP1a: 913072
> SP2: 916114
>
> Cheers,
> Stefan
>
> --
> This posting is provided "AS IS" with no warranties, and confers no rights
>
>
> "Tony Cheng" <sdasd@fdfsds.com> wrote in message
> news:eHZf83H2GHA.3516@TK2MSFTNGP06.phx.gbl...
>
>
| |
| Stefan [MSFT] 2006-09-16, 1:34 pm |
| Hi Tony,
the only way to know this is to check the report.
Cheers,
Stefan
--
This posting is provided "AS IS" with no warranties, and confers no rights
"Tony Cheng" <sdasd@fdfsds.com> wrote in message
news:uBGt9cK2GHA.4108@TK2MSFTNGP04.phx.gbl...
> Hi Stefan,
>
> Actually you have already answered me this known bug 
>
> This time what I want to ask is that when I use SDAPI to replicate
> postings vetween servers in scheduled task, how can I know the import or
> export are successful ? As the import method only return a report url. I
> don't know whether it is successful until I open the report.
>
> I want to ask that any programming code I can use to check with this
>
> Thx
>
> Tony
>
>
> "Stefan [MSFT]" <stefang@online.microsoft.com> wrote in message
> news:O96SltJ2GHA.1292@TK2MSFTNGP03.phx.gbl...
>
>
| |
| Tony Cheng 2006-09-16, 1:34 pm |
| Hi Stefan,
Thanks for your reply.
Tony
"Stefan [MSFT]" <stefang@online.microsoft.com> wrote in message
news:etLkVvK2GHA.4484@TK2MSFTNGP02.phx.gbl...
> Hi Tony,
>
> the only way to know this is to check the report.
>
> Cheers,
> Stefan
>
> --
> This posting is provided "AS IS" with no warranties, and confers no rights
>
>
> "Tony Cheng" <sdasd@fdfsds.com> wrote in message
> news:uBGt9cK2GHA.4108@TK2MSFTNGP04.phx.gbl...
>
>
|
|
|
|
|