SDAPI - Windows Service
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 > SDAPI - Windows Service




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

    SDAPI - Windows Service  
Brian Fernandes


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


 
11-13-06 01:43 PM

We have three production CMS servers - South Africa, Europe and in the US.
The idea behind the system noted below is to automatically push postings
from either SA or the EU to the US server once approved.

This system runs under a Window service and MSMQ - once a posting is
approved, a message is sent to a queue. The service polls every so often for
new "export notification" messages; when received, the appropriate posting
is then exported using the SDAPI, and then forwarded onto the US server via
another MSMQ queue.

This service works perfectly in the EU, but is failing in SA - we're getting
the following in the event log:
"MCMS Site Deployment - Error occured. System.InvalidOperationException:
There was an error generating the XML document. --->
System.InvalidCastException: Specified cast is not valid.". Exporting works
fine in site manager.

In an attempt to find the problem, a simple console application was created
that uses the same basic premise (read: code base) as the service - monitor
queue, export posting, send to another queue.

The frustrating bit: the console application, when running under the same
account as the Windows service, works perfectly - and the Windows service
fails.

Any guidance would be much appreciated,
Thanks...

Brian







[ Post a follow-up to this message ]



    Re: SDAPI - Windows Service  
Stefan Goßner [MSFT]


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


 
11-14-06 12:27 PM

Hi Brian,

please open a support case for this.
We might need to analyze a memory dump to see what's going on.

Cheers,
Stefan


"Brian Fernandes" <axionatananzi.co.za> wrote in message
news:eLC%23UTyBHHA.4844@TK2MSFTNGP02.phx.gbl...
> We have three production CMS servers - South Africa, Europe and in the US.
> The idea behind the system noted below is to automatically push postings
> from either SA or the EU to the US server once approved.
>
> This system runs under a Window service and MSMQ - once a posting is
> approved, a message is sent to a queue. The service polls every so often
> for new "export notification" messages; when received, the appropriate
> posting is then exported using the SDAPI, and then forwarded onto the US
> server via another MSMQ queue.
>
> This service works perfectly in the EU, but is failing in SA - we're
> getting the following in the event log:
> "MCMS Site Deployment - Error occured. System.InvalidOperationException:
> There was an error generating the XML document. --->
> System.InvalidCastException: Specified cast is not valid.". Exporting
> works fine in site manager.
>
> In an attempt to find the problem, a simple console application was
> created that uses the same basic premise (read: code base) as the
> service - monitor queue, export posting, send to another queue.
>
> The frustrating bit: the console application, when running under the same
> account as the Windows service, works perfectly - and the Windows service
> fails.
>
> Any guidance would be much appreciated,
> Thanks...
>
> Brian
>







[ Post a follow-up to this message ]



    Re: SDAPI - Windows Service  
Brian Fernandes


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


 
11-14-06 12:27 PM

Will do Stefan - thanks 


"Stefan Goßner [MSFT]" <stefang@online.microsoft.com> wrote in message
news:eV0q1q8BHHA.3836@TK2MSFTNGP02.phx.gbl...
> Hi Brian,
>
> please open a support case for this.
> We might need to analyze a memory dump to see what's going on.
>
> Cheers,
> Stefan
>
>
> "Brian Fernandes" <axionatananzi.co.za> wrote in message
> news:eLC%23UTyBHHA.4844@TK2MSFTNGP02.phx.gbl... 
>
>







[ Post a follow-up to this message ]



    Re: SDAPI - Windows Service  
Brian Fernandes


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


 
11-27-06 12:20 PM

Case has been opened & resolved.
For reference purposes, solution was to rename/remove the
"NRSiteDeployServer.dll" assembly in the service installation location; i.e.
set the server-side site deployment assembly reference's "CopyLocal"
property to "false".

Thanks Stefan & Yann-Loïc 

"Stefan Goßner [MSFT]" <stefang@online.microsoft.com> wrote in message
news:eV0q1q8BHHA.3836@TK2MSFTNGP02.phx.gbl...
> Hi Brian,
>
> please open a support case for this.
> We might need to analyze a memory dump to see what's going on.
>
> Cheers,
> Stefan
>
>
> "Brian Fernandes" <axionatananzi.co.za> wrote in message
> news:eLC%23UTyBHHA.4844@TK2MSFTNGP02.phx.gbl... 
>
>







[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 09:41 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