The sync error I was receiving on the WSUS server:
TypeInitializationException: The type initializer for ‘Microsoft.UpdateServices.ServerSyncWebServices.ServerSync.ServerSyncProxy’ threw an exception. —> System.Net.WebException: The underlying connection was closed: An unexpected error occurred on a send.
at Microsoft.UpdateServices.Internal.ClassFactory.CreateInstance(Type type, Object[] args)
at Microsoft.UpdateServices.ServerSync.ServerSyncLib.GetWebServiceProxyInternal(UpdateServerConfiguration serverConfig, WebServiceCommunicationHelper webServiceHelper, Boolean useCompressionProxy)
at Microsoft.UpdateServices.ServerSync.ServerSyncLib.GetWebServiceCompressionProxy(UpdateServerConfiguration serverConfig, WebServiceCommunicationHelper webServiceHelper)
at Microsoft.UpdateServices.ServerSync.CatalogSyncAgentCore.RetrieveSubscriptionData()
at Microsoft.UpdateServices.ServerSync.CatalogSyncAgentCore.ExecuteSyncProtocol(Boolean allowRedirect)
Some things I tried to fix this:
Restart the server
After trying a wsus cleanup the sync was still failing
Here is an update that Microsoft recommends:
http://support.microsoft.com/kb/2734608
Setps that ultimately fixed the sync issue:
“C:\Program Files\Update Services\Tools\wsusutil.exe” usecustomwebsite true
“C:\Program Files\Update Services\Tools\wsusutil.exe” configuressl servername.domain
Restart the following three services in the following order: Update Services, BITS, IIS Admin Service.
Sync started working after following these steps.
Solution was found on Microsoft Answers.
{ 4 comments }
I had the exact same issue on my server. It was a hit or miss if it would synch and I restarted the server several different times but no luck. All I did to fix it was to restart the services you had mentioned in that exact order and I was able to synch after I did that. Thanks for the info!
Thanks for this, helped to fix the sync issues I was having here, saved me a great deal of time. It’s great when you can actually find reliable, straight to the point information that fixes the issue. Again, thanks very much!
Thanks for this post is a solution help to fix the sync! Great job! Thanks !!!!
Still works today. Needed to do after verifying IIS settings and resetting incorrect Content folder settings.