Multiple ListSettings with the same Category error

  • 25 August 2016
  • 1 reply
  • 13 views

  • Anonymous
  • 0 replies


 

Symptoms


I'm attempting to package my app. Getting error: "Multiple ListSettings with the same Category has been found. Unable to package this ListSetting.".
 

Diagnoses


The user had a previous K2 application connected with this list. The list was deleted. A new list was named the same thing and the K2 Workflow engine has 2 listIDs associated with one workflow.
 

Resolution

Make a backup of the K2 database.
Delete the incorrect ListSetting form the DB and trying to repackage the solution resolved the issue.

Find the ProcessID.
Search the ListSettings table using the Process ID.
Find the List ID in SharePoint, usually found in list settings.
Find the ListSettingsID that does not match the above List ID and delete it.




 

1 reply

Userlevel 4
Badge +14

Addtional info.

 

This is caused if you had a list, Appified it and then removed all the artifacts to delete the list. You then re-create a list with the same name and Appify it.

Typical Repro:
1) Create List called MyList
2) Appify with SMO and forms.
3) Delete all the artifacts.
4) Delete the list
5) Create a new List with name “MyList”
6) Appify it with SMO and forms.
7) Try to create a package.

 

To workaround it we deleted the orphan entry form the db for the time being (With K2 assistance)

NOTE: K2 doesn't support manipulation of the K2 db, please get K2 Support involved before trying this.

Reply