cancel
Showing results for 
Search instead for 
Did you mean: 

Error "An object of the type Microsoft.SharePoint.Administration.SPWebConfigJobDefinition...already exists"

ISSUE
When performing Nintex Web Application Activation in Nintex Workflow or Activating the Web Application Feature In Nintex Forms the following error occurs:
 
Object of the type Microsoft.SharePoint.Administration.SPWebConfigJobDefinition named "job-webconfig-modification" already exists under parent Microsoft.Sharepoint.Administration.SPWebService named "".  Rename your object or delete the existing object.
ERROR CODE
RESOLUTION

Option 1

  1. Restart the SharePoint timer service on all Web and App servers.
  2. Find the job-webconfig-modification timer job running in Central Admin and cancel it.

Option 2

Use the PowerShell scripts below to find and delete the job(s).

SHAREPOINT 2010, SHAREPOINT 2013

DO NOT RUN THE FOLLOWING SCRIPT IN SHAREPOINT 2016 FARMS.
Get-SPTimerJob -Identity "job-webconfig-modification" | Format-Table -Property DisplayName, Id, LastRunTime  $job = Get-SPTimerJob -identity "GUID" -WebApplication webApplicationName  $job.Delete()

 

 SHAREPOINT 2016

Get-SPTimerJob -Identity "job-webconfig-modification" | Format-Table -Property DisplayName, Id, LastRunTime  $job = Get-SPTimerJob -identity "GUID"   $job.Delete()


Once the job has been deleted, rerun the activities that lead to the error (enabling live, web application feature activation for forms etc)

ADDITIONAL INFORMATION
RELATED LINKS
Version history
Revision #:
1 of 1
Last update:
‎11-19-2018 02:45 PM
Updated by: