Portal Engine Questions on portal engine and web parts.
Version 5.x > Portal Engine > Staging synchronization error View modes: 
User avatar
Member
Member
jonm-latinlink - 3/19/2012 6:33:26 AM
   
Staging synchronization error
Hi,

Sorry if this should be posted in the Bug Reports forum instead.

I am getting an error when trying to stage content from our staging server to our live web server. This error doesn't occur each time I try to stage, but only intermittently. The issue can be resolved by restarting the application on the live web server through CMS Desk->Site Manager->Administration->System but obviously I don't want to have to do that unless it's absolutely necessary.

The error below is shown in the Synchronization log when I try and stage an object or document:

Synchronization client error: Exception occurred: System.Web.Services.Protocols.SoapHeaderException: SOAP header Security was not understood. at System.Web.Services.Protocols.SoapHeaderHandling.SetHeaderMembers(SoapHeaderCollection headers, Object target, SoapHeaderMapping[] mappings, SoapHeaderDirection direction, Boolean client) at System.Web.Services.Protocols.SoapServerProtocol.CreateServerInstance() at System.Web.Services.Protocols.WebServiceHandler.Invoke() at System.Web.Services.Protocols.WebServiceHandler.CoreProcessRequest()

Can anyone help me solve this error?

Thanks,

User avatar
Kentico Support
Kentico Support
kentico_radekm - 3/19/2012 9:14:29 PM
   
RE:Staging synchronization error
Hello.

Could you please try to add following lines to the system.web section in the web.config file?

<webServices>
<soapExtensionImporterTypes>
<add type="Microsoft.Web.Services3.Description.WseExtensionImporter, Microsoft.Web.Services3, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" />
</soapExtensionImporterTypes>
<soapServerProtocolFactory type="Microsoft.Web..Services3.WseProtocolFactory, Microsoft.Web.Services3, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" />
<protocols>
<add name="HttpSoap"/>
<remove name="HttpPost" />
<remove name="HttpGet" />
</protocols>
</webServices>


References:
geeknotes.wordpress.com/2007/03/15/wse-30-hell-soap-header-security-was-not-understood/forums.asp.net/t/1126448.aspx

http://geeknotes.wordpress.com/2007/03/15/wse-30-hell-soap-header-security-was-not-understood/

Please note particular version number can differ according to version and .NET Framework. Thank you.

Best Regards,
Radek Macalik

User avatar
Member
Member
jonm-latinlink - 3/20/2012 5:29:24 AM
   
RE:Staging synchronization error
Hi,

Thanks for the information and link. Should I add this into the web.config on the staging server or the live production server (or both)?

And how will I know what version of WSE or .Net framework we are using?

Many thanks,
Jon

User avatar
Member
Member
jonm-latinlink - 3/26/2012 8:43:22 AM
   
RE:Staging synchronization error
Hi,

Could anyone give me an answer to the above?

Thanks!

Jon

User avatar
Kentico Support
Kentico Support
kentico_radekm - 3/26/2012 5:14:51 PM
   
RE:Staging synchronization error
Hello.


I guess it should be on the server where web service is running, so target one. However, if this will not help, you can try to place it into both.

As for version of .NET your application is running on - it can be found according to version of your assemblies (dll files in Bin folder) or web.config settings.

Best Regards,
Radek Macalik

User avatar
Member
Member
DesignByOnyx - 4/3/2012 11:56:19 AM
   
RE:Staging synchronization error
Hey, I just started getting this same error. The provided solution does not work for me. I can't synch and my client is flipping out. Manual synchronization is taking place... but is very tedious.

I have been using synchronization for a long while now with no problems. The only thing that has happened is we applied a standard Windows Update to our server. For the first time in several months.

Please advise.

~Ryan

User avatar
Member
Member
DesignByOnyx - 4/3/2012 12:48:13 PM
   
RE:Staging synchronization error
Error fixed: Applied latest Kentico hotfix.

User avatar
Certified Developer v7
Certified  Developer v7
jkane-ecentricarts - 7/27/2012 1:04:32 PM
   
RE:Staging synchronization error
The posted sample has an error in it - the link to the source is no longer found.

This fragment with the double dot:
Microsoft.Web..Services3.WseProtocolFactory,

should be replaced with this one having a single dot:
Microsoft.Web.Services3.WseProtocolFactory,

User avatar
Kentico Support
Kentico Support
kentico_radekm2 - 7/30/2012 1:06:15 AM
   
RE:Staging synchronization error
Hello.

Thank you for your update and sharing this observation with us.

Regarding not working link in my previous post, you are right that it is not working now, but it was just one of many articles dealing with that error message, so another articles can be found if you google for "soap header security was not understood" search phrase. Thank you.

Best Regards,
Radek Macalik