Staging module. Synchronization client error.

Mark Ellis asked on April 4, 2014 00:20

Hi,

I am getting the following error when attempting to sync changes using the staging module functionality. Any guidance as to why this is happening would be much appreciated. Checking the server status is all good.

Synchronization client error: Exception occurred: System.Web.Services.Protocols.SoapException: Server was unable to process request. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Net.Sockets.SocketException: No such host is known at System.Net.Dns.InternalGetHostByAddress(IPAddress address, Boolean includeIPv6) at System.Net.Dns.GetHostEntry(String hostNameOrAddress) at Microsoft.Web.Services3.DnsCache.GetHostEntry(String hostNameOrAddress) at Microsoft.Web.Services3.Messaging.SoapTcpTransport..ctor(XmlNodeList configData) at Microsoft.Web.Services3.Messaging.SoapTcpTransport..ctor() --- End of inner exception stack trace --- at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor) at System.Reflection.RuntimeConstructorInfo.Invoke(BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) at Microsoft.Web.Services3.Messaging.Configuration.MessagingTransportConfiguration.LoadTransport(String typeName, XmlNodeList configData) at Microsoft.Web.Services3.Messaging.Configuration.MessagingTransportConfiguration..ctor(String scheme, String type) at Microsoft.Web.Services3.Messaging.Configuration.MessagingTransportsCollection..ctor() --- End of inner exception stack trace --- at System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean noCheck, Boolean& canBeCached, RuntimeMethodHandleInternal& ctor, Boolean& bNeedSecurityCheck) at System.RuntimeType.CreateInstanceSlow(Boolean publicOnly, Boolean skipCheckThis, Boolean fillCache, StackCrawlMark& stackMark) at System.RuntimeType.CreateInstanceDefaultCtor(Boolean publicOnly, Boolean skipCheckThis, Boolean fillCache, StackCrawlMark& stackMark) at System.Activator.CreateInstance(Type type, Boolean nonPublic) at System.Configuration.TypeUtil.CreateInstanceWithReflectionPermission(Type type) at System.Configuration.ConfigurationElement.CreateElement(Type type) at System.Configuration.ConfigurationElement.get_Item(ConfigurationProperty prop) at Microsoft.Web.Services3.Messaging.Configuration.MessagingConfiguration.GetTransport(String scheme) at Microsoft.Web.Services3.Referral.Via.set_Value(Uri value) at Microsoft.Web.Services3.Referral.Via..ctor(Uri value) at Microsoft.Web.Services3.Utilities.AspNetHelper.SetDefaultAddressingProperties(SoapContext context, HttpContext httpContext) at Microsoft.Web.Services3.WseProtocol.CreateRequestSoapContext(SoapEnvelope requestEnvelope) at Microsoft.Web.Services3.WseProtocol.FilterRequest(SoapEnvelope requestEnvelope) at Microsoft.Web.Services3.WseProtocol.RouteRequest(SoapServerMessage message) at System.Web.Services.Protocols.SoapServerProtocol.Initialize() at System.Web.Services.Protocols.ServerProtocolFactory.Create(Type type, HttpContext context, HttpRequest request, HttpResponse response, Boolean& abortProcessing) --- End of inner exception stack trace ---

Recent Answers


Brenden Kehren answered on April 4, 2014 06:53

Check your BIN directory on both servers and ensure the Microsoft.Web.Services3.dll is named as such and not Microsoft.Web.Services3.dll.rename.

0 votesVote for this answer Mark as a Correct answer

Juraj Ondrus answered on April 5, 2014 03:29

Hi,

To add to Brenden's post - please check that the staging service is enabled on the target instance (especially global vs. site level settings).

Best regards,
Juraj Ondrus

0 votesVote for this answer Mark as a Correct answer

Mark Ellis answered on April 6, 2014 19:03

Thanks for your help gents but still no luck. Staging service is enabled and the settings are all correct. On each server there was a Microsoft.Web.Services3.dll as well as a Microsoft.Web.Services3.dll.rename so I deleted the rename file but still no luck.

Not sure what else it could be, every one of these I've set up before has worked straight away..

0 votesVote for this answer Mark as a Correct answer

Brenden Kehren answered on April 8, 2014 15:12

What URL are you using to access the staging service? It should be something like http://www.yourdomain.com/CMSPages/syncserver.asmx

0 votesVote for this answer Mark as a Correct answer

Andrew Radburnd answered on February 13, 2015 06:12

Hi Mark,

Sorry to re-open an old thread but I am just wondering if you managed to fix this error and if you remember what the issue was?

I am having the same issue/error and like you said have never had an issue setting these up previously.

Any comment would be greatly appreciated.

1 votesVote for this answer Mark as a Correct answer

   Please, sign in to be able to submit a new answer.