Hello,
In my SP2013 environment Job"ProductVersionJobDefinition"is getting failed continuously.
It throws Event ID:6398 in the event viewer with below details:
********************************
The Execute method of job definition Microsoft.SharePoint.Administration.SPProductVersionJobDefinition (ID b8218ef6-e70d-492b-a154-6dc3ce8703bc) threw an exception. More information is included below.
Collection was modified; enumeration operation may not execute.
********************************
I checked in the ULS Logs and it shows below Error:
**********************************
Exception stack trace:
at System.Collections.Generic.List`1.Enumerator.MoveNextRare()
at Microsoft.SharePoint.Upgrade.SPUpgradeSession.NeedsUpgrade(Object o, Boolean bRecurse)
at Microsoft.SharePoint.Upgrade.SPUpgradeSession.ReflexiveNeedsUpgrade(Object o, Boolean bRecurse)
at Microsoft.SharePoint.Upgrade.SPUpgradeSession.NeedsUpgrade(Object o, Boolean bRecurse)
at Microsoft.SharePoint.Upgrade.SPUpgradeSession.ReflexiveNeedsUpgrade(Object o, Boolean bRecurse)
at Microsoft.SharePoint.Upgrade.SPUpgradeSession.NeedsUpgrade(Object o, Boolean bRecurse)
at Microsoft.SharePoint.Upgrade.SPUpgradeSession.ReflexiveNeedsUpgrade(Object o, Boolean bRecurse)
at Microsoft.SharePoint.Upgrade.SPUpgradeSession.NeedsUpgrade(Object o, Boolean bRecurse)
at Microsoft.SharePoint.Administration.SPServerProductInfo.DetectLocalUpgradeStatus()
at Microsoft.SharePoint.Administration.SPServerProductInfo.DetectLocalProductVersions(SPProductVersions prodVer)
at Microsoft.SharePoint.Administration.SPServerProductInfo.UpdateProductInfoInDatabase(Guid serverGuid)
at Microsoft.SharePoint.Administration.SPProductVersionJobDefinition.Execute(Guid targetInstanceId)
at Microsoft.SharePoint.Administration.SPTimerJobInvokeInternal.Invoke(SPJobDefinition jd, Guid targetInstanceId, Boolean isTimerService, Int32& result)
**********************************
I have tried so far below steps to resolve issue but no luck :(
- Restarted the Server
- Get-SPProduct -Local
- Ran PSConfig Wizard
- Cleared the SharePoint timer Cache
Please help me find out the root cause and resolve this issue
Thanks in advance.
Regards,
Purvish Shah