Microsoft Secure Tech Accelerator
Apr 03 2024, 07:00 AM - 11:00 AM (PDT)
Microsoft Tech Community
PSConfig/Content Database Attach Error - "Unknown server error number: d"
Published Feb 08 2019 12:42 PM 340 Views
Microsoft

First published on MSDN on Jan 09, 2009

I recently ran into an issue when applying the MOSS August CU. This issue is not necessarily isolated to this patch. When the patch ran, the B2B upgrade process was failing in the site collection action upgrade sequence. The specific step was 12.1. 6301 .0, which adds the new Search Federation webparts to a site's webpart gallery. In the error logs, we saw the following:\

 


NewWebParts] [12.1.6301.0] [INFO] [1/10/2009 8:15:40 AM]: Add the new S2 federation webparts to the web part gallery of sites in which the portal layouts feature is active
[NewWebParts] [12.1.6301.0] [DEBUG] [1/10/2009 8:15:40 AM]: Begin Upgrade()
....
....
[SiteSequence] [ERROR] [1/10/2009 8:15:40 AM]: Action 12.1.6301.0 of Microsoft.SharePoint.Portal.Upgrade.SiteSequence failed.
[SiteSequence] [ERROR] [1/10/2009 8:15:40 AM]: Unknown server error number: d
[SiteSequence] [ERROR] [1/10/2009 8:15:40 AM]:    at Microsoft.SharePoint.Library.SPRequestInternalClass.PutFile(String bstrUrl, String bstrWebRelativeUrl, Object varFile, PutFileOpt PutFileOpt, String bstrCreatedBy, String bstrModifiedBy, Int32 iCreatedByID, Int32 iModifiedByID, Object varTimeCreated, Object varTimeLastModified, Object varProperties, String bstrCheckinComment, UInt32& pdwVirusCheckStatus, String& pVirusCheckMessage)
at Microsoft.SharePoint.Library.SPRequest.PutFile(String bstrUrl, String bstrWebRelativeUrl, Object varFile, PutFileOpt PutFileOpt, String bstrCreatedBy, String bstrModifiedBy, Int32 iCreatedByID, Int32 iModifiedByID, Object varTimeCreated, Object varTimeLastModified, Object varProperties, String bstrCheckinComment, UInt32& pdwVirusCheckStatus, String& pVirusCheckMessage)
[SiteSequence] [ERROR] [1/10/2009 8:15:40 AM]: Unknown server error number: d
[SiteSequence] [ERROR] [1/10/2009 8:15:40 AM]:    at Microsoft.SharePoint.Library.SPRequest.PutFile(String bstrUrl, String bstrWebRelativeUrl, Object varFile, PutFileOpt PutFileOpt, String bstrCreatedBy, String bstrModifiedBy, Int32 iCreatedByID, Int32 iModifiedByID, Object varTimeCreated, Object varTimeLastModified, Object varProperties, String bstrCheckinComment, UInt32& pdwVirusCheckStatus, String& pVirusCheckMessage)
at Microsoft.SharePoint.SPFileCollection.AddInternal(String urlOfFile, Object file, PutFileOpt fileOpt, String createdBy, String modifiedBy, Int32 createdByID, Int32 modifiedByID, DateTime timeCreated, DateTime timeLastModified, Object varProperties, String checkInComment, SPVirusCheckStatus& virusCheckStatus, String& virusCheckMessage)
at Microsoft.SharePoint.SPFileCollection.Add(String urlOfFile, Byte[] file, Boolean overwrite, String checkInComment, Boolean checkRequiredFields, SPVirusCheckStatus& virusCheckStatus, String& virusCheckMessage)
at Microsoft.SharePoint.SPFileCollection.Add(String urlOfFile, Byte[] file, Boolean overwrite, String checkInComment, Boolean checkRequiredFields)
at Microsoft.SharePoint.SPFileCollection.Add(String urlOfFile, Byte[] file, Boolean overwrite)
at Microsoft.SharePoint.Portal.Upgrade.GenericWebPartGalleryUpgrade.AddWebPart(SPFileCollection rootWebFiles, String dwpWebPath, String dwpFilePath, String dwpGroup)
at Microsoft.SharePoint.Portal.Upgrade.GenericWebPartGalleryUpgrade.UpdateWebParts(SPSite site, String[] deleteDwps, String[] newDwps, String wpGroup, String strPath)
at Microsoft.SharePoint.Portal.Upgrade.NewWebParts.Upgrade()
at Microsoft.SharePoint.Upgrade.SPActionSequence.Upgrade()

 

The "unknown server error number: d" is caused by an issue with ForeFront. Disabling ForeFront via Central Admin and rerunning PSconfig, or detaching/reattaching the content databases will clear up this issue. Don't forget to turn ForeFront scanning back on when you're done.

Version history
Last update:
‎Apr 28 2020 11:46 AM
Updated by: