This article was created in response to a support issue logged with K2. The content may include typographical errors and may be revised at any time without notice This article is not considered official documentation for K2 software and is provided “as is” with no warranties.

Issue

When creating a new package with the K2 Package and Deployment tool, the following error will be presented:

"A type with the same name and namespace already exists in the model. name = '[Property\FieldName]' and namespace 'urn:[ViewName]#Sources.[GUID.Fields]"

Image

Symptoms

This issue will appear before the package is created.

Firstly, the following error will be shown:

Image

If you click on the above error, the full error message will be displayed.

Your package will deploy on your target environment, however, your artifacts may not function as expected.

Resolution

The issue is caused by duplicates within the Form or View.

Our developers have created a script to resolve this issue, please contact K2 Support for further assistance.