Hi,
I am facing an error while publishing the .navx to the NAV instance. I have upgraded a database from NAV 5.0 to 2017 and its is working fine. Then I did some customization in the upgraded database and exported these changes and deleted from the changes from the database so that i can deploy them using extensions. I am able to develop a .navx package but not able to the publish it to the service. The error is as follow:
Publish-NAVApp : An item with the same key has already been added.
*This post is locked for comments
Just a small change in query: DELETE [dbo].[Object] where [Type] =0 and [Company Name] = 'ABCD'
Use [Type] instead of Type.
Thanks
Thanks Zaid. It helps me a lot. I was stuck in a problem like this for a long time and this is the right solution.
I am able to solve the problem, here are the steps:
Before start following the step let assume you have two companies first ABCD and second WXYZ
then you need to look if you have added any keys and key has same combination of fields in another key
Well Thanks but i already had tried this.
instead of deleting from database, can you restore new database before customizations and try to publish?
may be you have not removed all customizations?
Sohail Ahmed
2
mmv
2
Amol Salvi
2