locked
Software Updates Synchronization, error code 0X80131500 RRS feed

  • Question

  • Hello,

    I need some help to get the Software Updates Synchronization to work again.

    Some days ago the Software Updates Synchronization ended to work, with the error code 0X80131500.

    (I have cleaned out, and now only test with updates for Skype and Windows 8, normally we only use the Software Updates for third-party updates via Secunia CSI)

    In SMS_WSUS_SYNC_MANAGER, you will see the following error:
     WSUS Synchronization failed.
     Message: Failed to sync some of the updates.
     Source: Microsoft.SystemsManagementServer.SoftwareUpdatesManagement.WsusSyncAction.WSyncAction.SyncUpdates.

    If I check the log wsyncmgr.log, I sees the following:

    Wakeup by inbox drop SMS_WSUS_SYNC_MANAGER 2013-07-15 08:31:18 10496 (0x2900)
    Found local sync request file SMS_WSUS_SYNC_MANAGER 2013-07-15 08:31:23 10496 (0x2900)
    Starting Sync SMS_WSUS_SYNC_MANAGER 2013-07-15 08:31:23 10496 (0x2900)
    Performing sync on local request SMS_WSUS_SYNC_MANAGER 2013-07-15 08:31:23 10496 (0x2900)
    Read SUPs from SCF for stocm.OURDOMAIN.local SMS_WSUS_SYNC_MANAGER 2013-07-15 08:31:23 10496 (0x2900)
    Found 1 SUPs SMS_WSUS_SYNC_MANAGER 2013-07-15 08:31:23 10496 (0x2900)
    Found active SUP stocm.OURDOMAIN.local from SCF File. SMS_WSUS_SYNC_MANAGER 2013-07-15 08:31:23 10496 (0x2900)
    STATMSG: ID=6701 SEV=I LEV=M SOURCE="SMS Server" COMP="SMS_WSUS_SYNC_MANAGER" SYS=stocm.OURDOMAIN.local SITE=SOP PID=5264 TID=10496 GMTDATE=må jul 15 06:31:23.766 2013 ISTR0="" ISTR1="" ISTR2="" ISTR3="" ISTR4="" ISTR5="" ISTR6="" ISTR7="" ISTR8="" ISTR9="" NUMATTRS=0 SMS_WSUS_SYNC_MANAGER 2013-07-15 08:31:23 10496 (0x2900)
    Synchronizing WSUS server stocm.OURDOMAIN.local SMS_WSUS_SYNC_MANAGER 2013-07-15 08:31:25 10496 (0x2900)
    STATMSG: ID=6704 SEV=I LEV=M SOURCE="SMS Server" COMP="SMS_WSUS_SYNC_MANAGER" SYS=stocm.OURDOMAIN.local SITE=SOP PID=5264 TID=10496 GMTDATE=må jul 15 06:31:25.025 2013 ISTR0="" ISTR1="" ISTR2="" ISTR3="" ISTR4="" ISTR5="" ISTR6="" ISTR7="" ISTR8="" ISTR9="" NUMATTRS=0 SMS_WSUS_SYNC_MANAGER 2013-07-15 08:31:25 10496 (0x2900)
    Using account SODERBERGPARTN\SCCMLocalAdmin to connect to WSUS Server SMS_WSUS_SYNC_MANAGER 2013-07-15 08:31:25 10496 (0x2900)
    Synchronizing WSUS server stocm.OURDOMAIN.local ... SMS_WSUS_SYNC_MANAGER 2013-07-15 08:31:25 11696 (0x2DB0)
    sync: Starting WSUS synchronization SMS_WSUS_SYNC_MANAGER 2013-07-15 08:31:25 11696 (0x2DB0)
    sync: WSUS synchronizing categories SMS_WSUS_SYNC_MANAGER 2013-07-15 08:31:31 11696 (0x2DB0)
    Done synchronizing WSUS Server stocm.OURDOMAIN.local SMS_WSUS_SYNC_MANAGER 2013-07-15 08:31:33 11696 (0x2DB0)
    Sleeping 2 more minutes for WSUS server sync results to become available SMS_WSUS_SYNC_MANAGER 2013-07-15 08:31:33 11696 (0x2DB0)
    Set content version of update source {A0A0CEF9-7800-4617-A320-D74A9E7BEB37} for site SOP to 589 SMS_WSUS_SYNC_MANAGER 2013-07-15 08:33:34 10496 (0x2900)
    Synchronizing SMS database with WSUS server stocm.OURDOMAIN.local SMS_WSUS_SYNC_MANAGER 2013-07-15 08:33:34 10496 (0x2900)
    STATMSG: ID=6705 SEV=I LEV=M SOURCE="SMS Server" COMP="SMS_WSUS_SYNC_MANAGER" SYS=stocm.OURDOMAIN.local SITE=SOP PID=5264 TID=10496 GMTDATE=må jul 15 06:33:34.319 2013 ISTR0="" ISTR1="" ISTR2="" ISTR3="" ISTR4="" ISTR5="" ISTR6="" ISTR7="" ISTR8="" ISTR9="" NUMATTRS=0 SMS_WSUS_SYNC_MANAGER 2013-07-15 08:33:34 10496 (0x2900)
    Using account SODERBERGPARTN\SCCMLocalAdmin to connect to WSUS Server SMS_WSUS_SYNC_MANAGER 2013-07-15 08:33:34 10496 (0x2900)
    Synchronizing SMS database with WSUS server stocm.OURDOMAIN.local ... SMS_WSUS_SYNC_MANAGER 2013-07-15 08:33:34 10160 (0x27B0)
    sync: Starting SMS database synchronization SMS_WSUS_SYNC_MANAGER 2013-07-15 08:33:34 10160 (0x27B0)
    requested localization languages: en,sv SMS_WSUS_SYNC_MANAGER 2013-07-15 08:33:34 10160 (0x27B0)
    Syncing all updates SMS_WSUS_SYNC_MANAGER 2013-07-15 08:33:34 10160 (0x27B0)
    Requested categories: Product=Windows 8, ProductFamily=Skype, UpdateClassification=Security Updates, UpdateClassification=Update Rollups, UpdateClassification=Service Packs, UpdateClassification=Tools, UpdateClassification=Feature Packs, UpdateClassification=Updates, UpdateClassification=Definition Updates, UpdateClassification=Critical Updates SMS_WSUS_SYNC_MANAGER 2013-07-15 08:33:34 10160 (0x27B0)
    sync: SMS synchronizing categories SMS_WSUS_SYNC_MANAGER 2013-07-15 08:33:34 10160 (0x27B0)
    sync: SMS synchronizing categories, processed 0 out of 214 items (0%) SMS_WSUS_SYNC_MANAGER 2013-07-15 08:33:34 10160 (0x27B0)
    sync: SMS synchronizing categories, processed 214 out of 214 items (100%) SMS_WSUS_SYNC_MANAGER 2013-07-15 08:33:36 10160 (0x27B0)
    sync: SMS synchronizing categories, processed 214 out of 214 items (100%) SMS_WSUS_SYNC_MANAGER 2013-07-15 08:33:36 10160 (0x27B0)
    sync: SMS synchronizing updates SMS_WSUS_SYNC_MANAGER 2013-07-15 08:33:36 10160 (0x27B0)
    sync: SMS synchronizing updates, processed 0 out of 32 items (0%) SMS_WSUS_SYNC_MANAGER 2013-07-15 08:33:38 10160 (0x27B0)
    Synchronizing update 2489efa5-a44c-4157-9f65-db2cc4c272d7 - Security Update for Microsoft .NET Framework 3.5 on Windows 8 (KB2833959) SMS_WSUS_SYNC_MANAGER 2013-07-15 08:33:38 10160 (0x27B0)

    error 14: SQL Error Message Failed to generate documents:A .NET Framework error occurred during execution of user-defined routine or aggregate "fnGenerateLanternDocumentsTable": ~~System.TypeInitializationException: The type initializer for 'System.Data.SqlClient.SqlConnection' threw an exception. ---> System.TypeInitializationException: The type initializer for 'System.Data.SqlClient.SqlConnectionFactory' threw an exception. ---> System.TypeInitializationException: The type initializer for 'System.Data.SqlClient.SqlPerformanceCounters' threw an exception. ---> System.MethodAccessException: Attempt by method 'System.Configuration.TypeUtil.CreateInstanceRestricted(System.Type, System.Type)' to access method 'System.Diagnostics.SwitchElementsCollection..ctor()' failed. ---> System.Security.SecurityException: Request failed.~~System.Security.SecurityException: ~~   at System.Security.CodeAccessSecurityEngine.ThrowSecurityException(RuntimeAssembly asm, PermissionSet granted, PermissionSet refused, RuntimeMethodHandleInternal rmh, SecurityAction action, Object demand, IPermission permThatFailed)~~   at System.Security.CodeAccessSecurityEngine.CheckSetHelper(PermissionSet grants, PermissionSet refused, PermissionSet demands, RuntimeMethodHandleInternal rmh, Object assemblyOrString, SecurityAction action, Boolean throwException)~~   at System.Security.PermissionListSet.CheckSetDemandWithModification(PermissionSet pset, PermissionSet& alteredDemandSet, RuntimeMethodHandleInternal rmh)~~   at System.Security.PermissionListSet.CheckSetDemand(PermissionSet pset, RuntimeMethodHandleInternal rmh)~~   at System.Security.PermissionListSet.DemandFlagsOrGrantSet(Int32 flags, PermissionSet grantSet)~~   at System.Security.CodeAccessSecuri~~ ...~~System.TypeInitializationException: ~~   at System.Data.SqlClient.SqlConnection..ctor()~~   at System.Data.SqlClient.SqlConnection..ctor(String connectionString)~~   at Microsoft.SystemsManagementServer.SQLCLR.Utilities.IsDesktopConfigurationItem(String ciAuthoringScopeId, String ciLogicalName, Int32 ciVersion)~~   at Microsoft.SystemsManage..., Digest:<DesiredConfigurationDigest xmlns="http://schemas.microsoft.com/SystemsCenterConfigurationManager/2009/07/10/DesiredConfiguration"><SoftwareUpdate AuthoringScopeId="Site_A0A0CEF9-7800-4617-A320-D74A9E7BEB37" LogicalName="SUM_6c9323cb-22d6-4bdb-8309-9ed6ded8bce2" Version="202"><Annotation xmlns="http://schemas.microsoft.com/SystemsCenterConfigurationManager/2009/06/14/Rules"><DisplayName Text=""/><Description Text=""/></Annotation><ConfigurationMetadata SmsUniqueIdentity="6c9323cb-22d6-4bdb-8309-9ed6ded8bce2" Version="202"><Provider SourceType="default"><Operation Name="Detect"><Parameter Name="ScanTool"><Property Name="ScanToolId" Value="{A0A0CEF9-7800-4617-A320-D74A9E7BEB37}"/><Property Name="MinCatalogVersion" Value="590"/></Parameter></Operation><Operation Name="Install"><Content ContentId="6c9323cb-22d6-4bdb-8309-9ed6ded8bce2" Version="1"><FileContent Name="windows8-rt-kb2833959-x86.cab" Size="6429955" Signed="true" Hash="A37A1D40B0581FDC6EC0E5FB1DC04EE84AD7FC52" HashAlgorithm="SHA1" SourceURL="http://wsus.ds.download.windowsupdate.com/msdownload/update/software/secu/2013/05/windows8-rt-kb2833959-x86_a37a1d40b0581fdc6ec0e5fb1dc04ee84ad7fc52.cab"/></Content><Parameter Name="CommandLine"><Property Name="CommandLine" Value="/WUSInstaller /UpdateID:6c9323cb-22d6-4bdb-8309-9ed6ded8bce2"/></Parameter><Parameter Name="RequiresExclusiveHandling"><Property Name="RequiresExclusiveHandling" Value="False"/></Parameter></Operation></Provider></ConfigurationMetadata></SoftwareUpdate></DesiredConfigurationDigest> SMS_WSUS_SYNC_MANAGER 2013-07-15 08:33:46 10160 (0x27B0)

    Failed to sync update 2489efa5-a44c-4157-9f65-db2cc4c272d7. Error: Failed to save update 6c9323cb-22d6-4bdb-8309-9ed6ded8bce2. CCISource error: 14. Source: Microsoft.SystemsManagementServer.SoftwareUpdatesManagement.UpdatesManager.UpdatesManagerClass.DefineUpdate SMS_WSUS_SYNC_MANAGER 2013-07-15 08:33:46 10160 (0x27B0)

    Synchronizing update 2a50d8b7-4c3f-4a67-b5ed-8054af0e2409 - Security Update for Microsoft .NET Framework 3.5 on Windows 8 and Windows Server 2012 for x64-based Systems (KB2832418) SMS_WSUS_SYNC_MANAGER 2013-07-15 08:33:46 10160 (0x27B0)

    error 14: SQL Error Message Failed to generate documents:A .NET Framework error occurred during execution of user-defined routine or aggregate "fnGenerateLanternDocumentsTable": ~~System.TypeInitializationException: The type initializer for 'System.Data.SqlClient.SqlConnection' threw an exception. ---> System.TypeInitializationException: The type initializer for 'System.Data.SqlClient.SqlConnectionFactory' threw an exception. ---> System.TypeInitializationException: The type initializer for 'System.Data.SqlClient.SqlPerformanceCounters' threw an exception. ---> System.MethodAccessException: Attempt by method 'System.Configuration.TypeUtil.CreateInstanceRestricted(System.Type, System.Type)' to access method 'System.Diagnostics.SwitchElementsCollection..ctor()' failed. ---> System.Security.SecurityException: Request failed.~~System.Security.SecurityException: ~~   at System.Security.CodeAccessSecurityEngine.ThrowSecurityException(RuntimeAssembly asm, PermissionSet granted, PermissionSet refused, RuntimeMethodHandleInternal rmh, SecurityAction action, Object demand, IPermission permThatFailed)~~   at System.Security.CodeAccessSecurityEngine.CheckSetHelper(PermissionSet grants, PermissionSet refused, PermissionSet demands, RuntimeMethodHandleInternal rmh, Object assemblyOrString, SecurityAction action, Boolean throwException)~~   at System.Security.PermissionListSet.CheckSetDemandWithModification(PermissionSet pset, PermissionSet& alteredDemandSet, RuntimeMethodHandleInternal rmh)~~   at System.Security.PermissionListSet.CheckSetDemand(PermissionSet pset, RuntimeMethodHandleInternal rmh)~~   at System.Security.PermissionListSet.DemandFlagsOrGrantSet(Int32 flags, PermissionSet grantSet)~~   at System.Security.CodeAccessSecuri~~ ...~~System.TypeInitializationException: ~~   at System.Data.SqlClient.SqlConnection..ctor()~~   at System.Data.SqlClient.SqlConnection..ctor(String connectionString)~~   at Microsoft.SystemsManagementServer.SQLCLR.Utilities.IsDesktopConfigurationItem(String ciAuthoringScopeId, String ciLogicalName, Int32 ciVersion)~~   at Microsoft.SystemsManage..., Digest:<DesiredConfigurationDigest xmlns="http://schemas.microsoft.com/SystemsCenterConfigurationManager/2009/07/10/DesiredConfiguration"><SoftwareUpdate AuthoringScopeId="Site_A0A0CEF9-7800-4617-A320-D74A9E7BEB37" LogicalName="SUM_0a75ed46-8be8-416d-8899-68dc6aea56e5" Version="203"><Annotation xmlns="http://schemas.microsoft.com/SystemsCenterConfigurationManager/2009/06/14/Rules"><DisplayName Text=""/><Description Text=""/></Annotation><ConfigurationMetadata SmsUniqueIdentity="0a75ed46-8be8-416d-8899-68dc6aea56e5" Version="203"><Provider SourceType="default"><Operation Name="Detect"><Parameter Name="ScanTool"><Property Name="ScanToolId" Value="{A0A0CEF9-7800-4617-A320-D74A9E7BEB37}"/><Property Name="MinCatalogVersion" Value="590"/></Parameter></Operation><Operation Name="Install"><Content ContentId="0a75ed46-8be8-416d-8899-68dc6aea56e5" Version="1"><FileContent Name="windows8-rt-kb2832418-x64.cab" Size="6031583" Signed="true" Hash="5527FCE8AC04F289CFBAF42619CA25648577012F" HashAlgorithm="SHA1" SourceURL="http://wsus.ds.download.windowsupdate.com/msdownload/update/software/secu/2013/05/windows8-rt-kb2832418-x64_5527fce8ac04f289cfbaf42619ca25648577012f.cab"/></Content><Parameter Name="CommandLine"><Property Name="CommandLine" Value="/WUSInstaller /UpdateID:0a75ed46-8be8-416d-8899-68dc6aea56e5"/></Parameter><Parameter Name="RequiresExclusiveHandling"><Property Name="RequiresExclusiveHandling" Value="False"/></Parameter></Operation></Provider></ConfigurationMetadata></SoftwareUpdate></DesiredConfigurationDigest> SMS_WSUS_SYNC_MANAGER 2013-07-15 08:33:47 10160 (0x27B0)

    Failed to sync update 2a50d8b7-4c3f-4a67-b5ed-8054af0e2409. Error: Failed to save update 0a75ed46-8be8-416d-8899-68dc6aea56e5. CCISource error: 14. Source: Microsoft.SystemsManagementServer.SoftwareUpdatesManagement.UpdatesManager.UpdatesManagerClass.DefineUpdate SMS_WSUS_SYNC_MANAGER 2013-07-15 08:33:47 10160 (0x27B0)

    Synchronizing update 2223c30d-27f0-43d6-bcf7-52d3fc7bd83d - Security Update for Microsoft .NET Framework 3.5 on Windows 8 and Windows Server 2012 for x64-based Systems (KB2833959) SMS_WSUS_SYNC_MANAGER 2013-07-15 08:33:47 10160 (0x27B0)

    error 14: SQL Error Message Failed to generate documents:A .NET Framework error occurred during execution of user-defined routine or aggregate "fnGenerateLanternDocumentsTable": ~~System.TypeInitializationException: The type initializer for 'System.Data.SqlClient.SqlConnection' threw an exception. ---> System.TypeInitializationException: The type initializer for 'System.Data.SqlClient.SqlConnectionFactory' threw an exception. ---> System.TypeInitializationException: The type initializer for 'System.Data.SqlClient.SqlPerformanceCounters' threw an exception. ---> System.MethodAccessException: Attempt by method 'System.Configuration.TypeUtil.CreateInstanceRestricted(System.Type, System.Type)' to access method 'System.Diagnostics.SwitchElementsCollection..ctor()' failed. ---> System.Security.SecurityException: Request failed.~~System.Security.SecurityException: ~~   at System.Security.CodeAccessSecurityEngine.ThrowSecurityException(RuntimeAssembly asm, PermissionSet granted, PermissionSet refused, RuntimeMethodHandleInternal rmh, SecurityAction action, Object demand, IPermission permThatFailed)~~   at System.Security.CodeAccessSecurityEngine.CheckSetHelper(PermissionSet grants, PermissionSet refused, PermissionSet demands, RuntimeMethodHandleInternal rmh, Object assemblyOrString, SecurityAction action, Boolean throwException)~~   at System.Security.PermissionListSet.CheckSetDemandWithModification(PermissionSet pset, PermissionSet& alteredDemandSet, RuntimeMethodHandleInternal rmh)~~   at System.Security.PermissionListSet.CheckSetDemand(PermissionSet pset, RuntimeMethodHandleInternal rmh)~~   at System.Security.PermissionListSet.DemandFlagsOrGrantSet(Int32 flags, PermissionSet grantSet)~~   at System.Security.CodeAccessSecuri~~ ...~~System.TypeInitializationException: ~~   at System.Data.SqlClient.SqlConnection..ctor()~~   at System.Data.SqlClient.SqlConnection..ctor(String connectionString)~~   at Microsoft.SystemsManagementServer.SQLCLR.Utilities.IsDesktopConfigurationItem(String ciAuthoringScopeId, String ciLogicalName, Int32 ciVersion)~~   at Microsoft.SystemsManage..., Digest:<DesiredConfigurationDigest xmlns="http://schemas.microsoft.com/SystemsCenterConfigurationManager/2009/07/10/DesiredConfiguration"><SoftwareUpdate AuthoringScopeId="Site_A0A0CEF9-7800-4617-A320-D74A9E7BEB37" LogicalName="SUM_393a2161-b85d-439e-9038-7fc7befaeed0" Version="202"><Annotation xmlns="http://schemas.microsoft.com/SystemsCenterConfigurationManager/2009/06/14/Rules"><DisplayName Text=""/><Description Text=""/></Annotation><ConfigurationMetadata SmsUniqueIdentity="393a2161-b85d-439e-9038-7fc7befaeed0" Version="202"><Provider SourceType="default"><Operation Name="Detect"><Parameter Name="ScanTool"><Property Name="ScanToolId" Value="{A0A0CEF9-7800-4617-A320-D74A9E7BEB37}"/><Property Name="MinCatalogVersion" Value="590"/></Parameter></Operation><Operation Name="Install"><Content ContentId="393a2161-b85d-439e-9038-7fc7befaeed0" Version="1"><FileContent Name="windows8-rt-kb2833959-x64.cab" Size="11789251" Signed="true" Hash="8150A8E8BD5CC80D396C628BD55E94A8BA2DC0B4" HashAlgorithm="SHA1" SourceURL="http://wsus.ds.download.windowsupdate.com/msdownload/update/software/secu/2013/05/windows8-rt-kb2833959-x64_8150a8e8bd5cc80d396c628bd55e94a8ba2dc0b4.cab"/></Content><Parameter Name="CommandLine"><Property Name="CommandLine" Value="/WUSInstaller /UpdateID:393a2161-b85d-439e-9038-7fc7befaeed0"/></Parameter><Parameter Name="RequiresExclusiveHandling"><Property Name="RequiresExclusiveHandling" Value="False"/></Parameter></Operation></Provider></ConfigurationMetadata></SoftwareUpdate></DesiredConfigurationDigest> SMS_WSUS_SYNC_MANAGER 2013-07-15 08:33:47 10160 (0x27B0)

    Failed to sync update 2223c30d-27f0-43d6-bcf7-52d3fc7bd83d. Error: Failed to save update 393a2161-b85d-439e-9038-7fc7befaeed0. CCISource error: 14. Source: Microsoft.SystemsManagementServer.SoftwareUpdatesManagement.UpdatesManager.UpdatesManagerClass.DefineUpdate SMS_WSUS_SYNC_MANAGER 2013-07-15 08:33:47 10160 (0x27B0)

    Synchronizing update 0eec7b70-2ba5-46cc-8d57-d9ca1f9cb309 - Security Update for Microsoft .NET Framework 3.5 on Windows 8 x86 (KB2832418) SMS_WSUS_SYNC_MANAGER 2013-07-15 08:33:47 10160 (0x27B0)

    error 14: SQL Error Message Failed to generate documents:A .NET Framework error occurred during execution of user-defined routine or aggregate "fnGenerateLanternDocumentsTable": ~~System.TypeInitializationException: The type initializer for 'System.Data.SqlClient.SqlConnection' threw an exception. ---> System.TypeInitializationException: The type initializer for 'System.Data.SqlClient.SqlConnectionFactory' threw an exception. ---> System.TypeInitializationException: The type initializer for 'System.Data.SqlClient.SqlPerformanceCounters' threw an exception. ---> System.MethodAccessException: Attempt by method 'System.Configuration.TypeUtil.CreateInstanceRestricted(System.Type, System.Type)' to access method 'System.Diagnostics.SwitchElementsCollection..ctor()' failed. ---> System.Security.SecurityException: Request failed.~~System.Security.SecurityException: ~~   at System.Security.CodeAccessSecurityEngine.ThrowSecurityException(RuntimeAssembly asm, PermissionSet granted, PermissionSet refused, RuntimeMethodHandleInternal rmh, SecurityAction action, Object demand, IPermission permThatFailed)~~   at System.Security.CodeAccessSecurityEngine.CheckSetHelper(PermissionSet grants, PermissionSet refused, PermissionSet demands, RuntimeMethodHandleInternal rmh, Object assemblyOrString, SecurityAction action, Boolean throwException)~~   at System.Security.PermissionListSet.CheckSetDemandWithModification(PermissionSet pset, PermissionSet& alteredDemandSet, RuntimeMethodHandleInternal rmh)~~   at System.Security.PermissionListSet.CheckSetDemand(PermissionSet pset, RuntimeMethodHandleInternal rmh)~~   at System.Security.PermissionListSet.DemandFlagsOrGrantSet(Int32 flags, PermissionSet grantSet)~~   at System.Security.CodeAccessSecuri~~ ...~~System.TypeInitializationException: ~~   at System.Data.SqlClient.SqlConnection..ctor()~~   at System.Data.SqlClient.SqlConnection..ctor(String connectionString)~~   at Microsoft.SystemsManagementServer.SQLCLR.Utilities.IsDesktopConfigurationItem(String ciAuthoringScopeId, String ciLogicalName, Int32 ciVersion)~~   at Microsoft.SystemsManage..., Digest:<DesiredConfigurationDigest xmlns="http://schemas.microsoft.com/SystemsCenterConfigurationManager/2009/07/10/DesiredConfiguration"><SoftwareUpdate AuthoringScopeId="Site_A0A0CEF9-7800-4617-A320-D74A9E7BEB37" LogicalName="SUM_0979de90-24e7-46e7-862f-febf7a8a6348" Version="202"><Annotation xmlns="http://schemas.microsoft.com/SystemsCenterConfigurationManager/2009/06/14/Rules"><DisplayName Text=""/><Description Text=""/></Annotation><ConfigurationMetadata SmsUniqueIdentity="0979de90-24e7-46e7-862f-febf7a8a6348" Version="202"><Provider SourceType="default"><Operation Name="Detect"><Parameter Name="ScanTool"><Property Name="ScanToolId" Value="{A0A0CEF9-7800-4617-A320-D74A9E7BEB37}"/><Property Name="MinCatalogVersion" Value="590"/></Parameter></Operation><Operation Name="Install"><Content ContentId="0979de90-24e7-46e7-862f-febf7a8a6348" Version="1"><FileContent Name="windows8-rt-kb2832418-x86.cab" Size="4313255" Signed="true" Hash="485B6961AC836D2D6C047D4A63299D98C4B44542" HashAlgorithm="SHA1" SourceURL="http://wsus.ds.download.windowsupdate.com/msdownload/update/software/secu/2013/05/windows8-rt-kb2832418-x86_485b6961ac836d2d6c047d4a63299d98c4b44542.cab"/></Content><Parameter Name="CommandLine"><Property Name="CommandLine" Value="/WUSInstaller /UpdateID:0979de90-24e7-46e7-862f-febf7a8a6348"/></Parameter><Parameter Name="RequiresExclusiveHandling"><Property Name="RequiresExclusiveHandling" Value="False"/></Parameter></Operation></Provider></ConfigurationMetadata></SoftwareUpdate></DesiredConfigurationDigest> SMS_WSUS_SYNC_MANAGER 2013-07-15 08:33:48 10160 (0x27B0)

    Failed to sync update 0eec7b70-2ba5-46cc-8d57-d9ca1f9cb309. Error: Failed to save update 0979de90-24e7-46e7-862f-febf7a8a6348. CCISource error: 14. Source: Microsoft.SystemsManagementServer.SoftwareUpdatesManagement.UpdatesManager.UpdatesManagerClass.DefineUpdate SMS_WSUS_SYNC_MANAGER 2013-07-15 08:33:48 10160 (0x27B0)

    Synchronizing update 6bac21e0-8b77-47f2-a8d8-d80026de4e6d - Security Update for Microsoft .NET Framework 4.5 on Windows 8 (KB2833958) SMS_WSUS_SYNC_MANAGER 2013-07-15 08:33:48 10160 (0x27B0)

    error 14: SQL Error Message Failed to generate documents:A .NET Framework error occurred during execution of user-defined routine or aggregate "fnGenerateLanternDocumentsTable": ~~System.TypeInitializationException: The type initializer for 'System.Data.SqlClient.SqlConnection' threw an exception. ---> System.TypeInitializationException: The type initializer for 'System.Data.SqlClient.SqlConnectionFactory' threw an exception. ---> System.TypeInitializationException: The type initializer for 'System.Data.SqlClient.SqlPerformanceCounters' threw an exception. ---> System.MethodAccessException: Attempt by method 'System.Configuration.TypeUtil.CreateInstanceRestricted(System.Type, System.Type)' to access method 'System.Diagnostics.SwitchElementsCollection..ctor()' failed. ---> System.Security.SecurityException: Request failed.~~System.Security.SecurityException: ~~   at System.Security.CodeAccessSecurityEngine.ThrowSecurityException(RuntimeAssembly asm, PermissionSet granted, PermissionSet refused, RuntimeMethodHandleInternal rmh, SecurityAction action, Object demand, IPermission permThatFailed)~~   at System.Security.CodeAccessSecurityEngine.CheckSetHelper(PermissionSet grants, PermissionSet refused, PermissionSet demands, RuntimeMethodHandleInternal rmh, Object assemblyOrString, SecurityAction action, Boolean throwException)~~   at System.Security.PermissionListSet.CheckSetDemandWithModification(PermissionSet pset, PermissionSet& alteredDemandSet, RuntimeMethodHandleInternal rmh)~~   at System.Security.PermissionListSet.CheckSetDemand(PermissionSet pset, RuntimeMethodHandleInternal rmh)~~   at System.Security.PermissionListSet.DemandFlagsOrGrantSet(Int32 flags, PermissionSet grantSet)~~   at System.Security.CodeAccessSecuri~~ ...~~System.TypeInitializationException: ~~   at System.Data.SqlClient.SqlConnection..ctor()~~   at System.Data.SqlClient.SqlConnection..ctor(String connectionString)~~   at Microsoft.SystemsManagementServer.SQLCLR.Utilities.IsDesktopConfigurationItem(String ciAuthoringScopeId, String ciLogicalName, Int32 ciVersion)~~   at Microsoft.SystemsManage..., Digest:<DesiredConfigurationDigest xmlns="http://schemas.microsoft.com/SystemsCenterConfigurationManager/2009/07/10/DesiredConfiguration"><SoftwareUpdate AuthoringScopeId="Site_A0A0CEF9-7800-4617-A320-D74A9E7BEB37" LogicalName="SUM_a8891461-32fe-450f-8585-1b5ffbd91788" Version="202"><Annotation xmlns="http://schemas.microsoft.com/SystemsCenterConfigurationManager/2009/06/14/Rules"><DisplayName Text=""/><Description Text=""/></Annotation><ConfigurationMetadata SmsUniqueIdentity="a8891461-32fe-450f-8585-1b5ffbd91788" Version="202"><Provider SourceType="default"><Operation Name="Detect"><Parameter Name="ScanTool"><Property Name="ScanToolId" Value="{A0A0CEF9-7800-4617-A320-D74A9E7BEB37}"/><Property Name="MinCatalogVersion" Value="590"/></Parameter></Operation><Operation Name="Install"><Content ContentId="a8891461-32fe-450f-8585-1b5ffbd91788" Version="1"><FileContent Name="windows8-rt-kb2833958-x86.cab" Size="7255481" Signed="true" Hash="F88D2B25DC19094E48A3AF0D34202CE6861E4644" HashAlgorithm="SHA1" SourceURL="http://wsus.ds.download.windowsupdate.com/msdownload/update/software/secu/2013/05/windows8-rt-kb2833958-x86_f88d2b25dc19094e48a3af0d34202ce6861e4644.cab"/></Content><Parameter Name="CommandLine"><Property Name="CommandLine" Value="/WUSInstaller /UpdateID:a8891461-32fe-450f-8585-1b5ffbd91788"/></Parameter><Parameter Name="RequiresExclusiveHandling"><Property Name="RequiresExclusiveHandling" Value="False"/></Parameter></Operation></Provider></ConfigurationMetadata></SoftwareUpdate></DesiredConfigurationDigest> SMS_WSUS_SYNC_MANAGER 2013-07-15 08:33:49 10160 (0x27B0)

    Failed to sync update 6bac21e0-8b77-47f2-a8d8-d80026de4e6d. Error: Failed to save update a8891461-32fe-450f-8585-1b5ffbd91788. CCISource error: 14. Source: Microsoft.SystemsManagementServer.SoftwareUpdatesManagement.UpdatesManager.UpdatesManagerClass.DefineUpdate SMS_WSUS_SYNC_MANAGER 2013-07-15 08:33:49 10160 (0x27B0)

    Too many consecutive failures. Aborting sync. SMS_WSUS_SYNC_MANAGER 2013-07-15 08:33:49 10160 (0x27B0)
    Sync failures summary: SMS_WSUS_SYNC_MANAGER 2013-07-15 08:33:49 10160 (0x27B0)
    Failed to sync update 2a50d8b7-4c3f-4a67-b5ed-8054af0e2409. Error: Failed to save update 0a75ed46-8be8-416d-8899-68dc6aea56e5. CCISource error: 14. Source: Microsoft.SystemsManagementServer.SoftwareUpdatesManagement.UpdatesManager.UpdatesManagerClass.DefineUpdate SMS_WSUS_SYNC_MANAGER 2013-07-15 08:33:49 10160 (0x27B0)
    Failed to sync update 6bac21e0-8b77-47f2-a8d8-d80026de4e6d. Error: Failed to save update a8891461-32fe-450f-8585-1b5ffbd91788. CCISource error: 14. Source: Microsoft.SystemsManagementServer.SoftwareUpdatesManagement.UpdatesManager.UpdatesManagerClass.DefineUpdate SMS_WSUS_SYNC_MANAGER 2013-07-15 08:33:49 10160 (0x27B0)
    Failed to sync update 0eec7b70-2ba5-46cc-8d57-d9ca1f9cb309. Error: Failed to save update 0979de90-24e7-46e7-862f-febf7a8a6348. CCISource error: 14. Source: Microsoft.SystemsManagementServer.SoftwareUpdatesManagement.UpdatesManager.UpdatesManagerClass.DefineUpdate SMS_WSUS_SYNC_MANAGER 2013-07-15 08:33:49 10160 (0x27B0)
    Failed to sync update 2223c30d-27f0-43d6-bcf7-52d3fc7bd83d. Error: Failed to save update 393a2161-b85d-439e-9038-7fc7befaeed0. CCISource error: 14. Source: Microsoft.SystemsManagementServer.SoftwareUpdatesManagement.UpdatesManager.UpdatesManagerClass.DefineUpdate SMS_WSUS_SYNC_MANAGER 2013-07-15 08:33:49 10160 (0x27B0)
    Failed to sync update 2489efa5-a44c-4157-9f65-db2cc4c272d7. Error: Failed to save update 6c9323cb-22d6-4bdb-8309-9ed6ded8bce2. CCISource error: 14. Source: Microsoft.SystemsManagementServer.SoftwareUpdatesManagement.UpdatesManager.UpdatesManagerClass.DefineUpdate SMS_WSUS_SYNC_MANAGER 2013-07-15 08:33:49 10160 (0x27B0)
    Sync failed: Failed to sync some of the updates. Source: Microsoft.SystemsManagementServer.SoftwareUpdatesManagement.WsusSyncAction.WSyncAction.SyncUpdates SMS_WSUS_SYNC_MANAGER 2013-07-15 08:33:49 10496 (0x2900)
    STATMSG: ID=6703 SEV=E LEV=M SOURCE="SMS Server" COMP="SMS_WSUS_SYNC_MANAGER" SYS=stocm.OURDOMAIN.local SITE=SOP PID=5264 TID=10496 GMTDATE=må jul 15 06:33:49.449 2013 ISTR0="Microsoft.SystemsManagementServer.SoftwareUpdatesManagement.WsusSyncAction.WSyncAction.SyncUpdates" ISTR1="Failed to sync some of the updates" ISTR2="" ISTR3="" ISTR4="" ISTR5="" ISTR6="" ISTR7="" ISTR8="" ISTR9="" NUMATTRS=0 SMS_WSUS_SYNC_MANAGER 2013-07-15 08:33:49 10496 (0x2900)
    Sync failed. Will retry in 60 minutes SMS_WSUS_SYNC_MANAGER 2013-07-15 08:33:49 10496 (0x2900)
    Setting sync alert to active state on site SOP SMS_WSUS_SYNC_MANAGER 2013-07-15 08:33:49 10496 (0x2900)
    Sync time: 0d00h02m25s SMS_WSUS_SYNC_MANAGER 2013-07-15 08:33:49 10496 (0x2900)




    Environment:
    Windows Server 2008 R2 (fully updated)
    System Center Configuration Manager 2012 SP1 CU2
    SQL Server 2008 (fully updated)



    wsyncmgr.log are here: http://sdrv.ms/1bBxYRj

      
    • Moved by TorstenMMVP Monday, July 15, 2013 7:22 AM moved to Security & Compliance
    Monday, July 15, 2013 7:06 AM

Answers

All replies

  • it seems you have encountered this issue:
    http://myitforum.com/myitforumwp/2013/07/13/cm-issues-with-ms13-052-kb2840628/


    Don
    (Please take a moment to "Vote as Helpful" and/or "Mark as Answer", where applicable.
    This helps the community, keeps the forums tidy, and recognises useful contributions. Thanks!)

    • Marked as answer by mbacke Monday, July 15, 2013 9:09 AM
    Monday, July 15, 2013 8:37 AM
  • Thank you,

    I follow the workarounds and unistalled the update, and now I insted get error 0XFFFFFFFF.

    Edit: Sorry, my misstage. Now the synchronization works againg. A Big Thank You, to You Don - tesgroup!

    • Edited by mbacke Monday, July 15, 2013 9:09 AM I was to fast...
    Monday, July 15, 2013 9:04 AM
  • It's an issue with KB2840628. The SMSSQLCLR assembly Permission Set can be changed to Unrestricted. From SQL Management Studio: SQL Server -> Databases -> (Site Database) -> Programmability -> Assemblies -> SMSSQLCLR

    My Microsoft Core Infrastructure & Systems Management blog - blog.danovich.com.au

    • Proposed as answer by danovich_ Monday, July 15, 2013 10:05 AM
    Monday, July 15, 2013 10:05 AM
  • It's an issue with KB2840628. The SMSSQLCLR assembly Permission Set can be changed to Unrestricted. From SQL Management Studio: SQL Server -> Databases -> (Site Database) -> Programmability -> Assemblies -> SMSSQLCLR

    My Microsoft Core Infrastructure & Systems Management blog - blog.danovich.com.au

    Modifying the SQL assembly permissions as outlined above fixed the WSUS sync issue for me.

    --Terry

    • Proposed as answer by Craig Lisovich Thursday, September 14, 2017 11:53 AM
    Tuesday, July 16, 2013 6:06 PM
  • I observed a similar error in a topology that had a CAS and 2 primary child sites.  The CAS seemed to update without issue, but the primary server reported 0X80131500.  I was not able to locate the SMSSQLCLR
    node in any of the 3 site databases.  It appears that some updates worked but at 10% it failed:

    In my case, I restarted the child site SUP and forced sync on the CAS again.  It seems to be doing better now.  This might have just been an intermittent error...



    Mike Crowley | MVP
    My Blog -- Planet Technologies

    Tuesday, December 17, 2013 4:44 PM
  • it seems you have encountered this issue:
    http://myitforum.com/myitforumwp/2013/07/13/cm-issues-with-ms13-052-kb2840628/


    Don
    (Please take a moment to "Vote as Helpful" and/or "Mark as Answer", where applicable.
    This helps the community, keeps the forums tidy, and recognises useful contributions. Thanks!)

    What did this link say since it is no longer available?

    David


    David Moore

    Monday, June 4, 2018 10:36 PM

  • it seems you have encountered this issue:
    http://myitforum.com/myitforumwp/2013/07/13/cm-issues-with-ms13-052-kb2840628/


    Don
    (Please take a moment to "Vote as Helpful" and/or "Mark as Answer", where applicable.
    This helps the community, keeps the forums tidy, and recognises useful contributions. Thanks!)

    What did this link say since it is no longer available?

    David


    David Moore

    this might be the related detail, but this is very old, so check if it's still relevant for you?

    https://cloudblogs.microsoft.com/enterprisemobility/2013/07/17/issues-reported-with-ms13-052-kb2840628-and-configuration-manager/


    Don [doesn't work for MSFT, and they're probably glad about that ;]

    Tuesday, June 5, 2018 9:17 AM