Error when create XML File after 14.1 upgrade - Advanced Installer Community
Alexey.Bannov
Posts: 2
Joined: Wed Oct 26, 2016 3:59 pm

Error when create XML File after 14.1 upgrade

After upgrading to the new 14.1 (from 14.0.1), I get the below error when trying to create a new xml file. moreover, at that, there are some folders that are not repeated.


Candidate target component is empty (has no KeyPath)


My .aip file is in the attachment.

Application Folder -> services -> sso.auth-> New XML File not working
ControlPanel.aip
(105.28 KiB) Downloaded 329 times
Sorin
Posts: 663
Joined: Mon May 08, 2017 1:03 pm

Re: Error when create XML File after 14.1 upgrade

Hello,

This beahaviour is triggered by the fact that your project is corrupted. The component "DbType" from "Organisation" page has no keypath. Whenever a new XML file is created, Advanced Installer associates it to an existing component. Before this, it checks if all the components are valid, thus the error you've mentioned is displayed.

The workaround would be to delete the corrupted component. Just go to "Organisation" page, right click on the component and select Delete.

The cause of the project corruption is unknown to us. By the way, have you manually edited the AIP file using a text editor? It would be very helpful if you could provide a pattern in your workflow that caused the component corruption.

Best regards,
Sorin
Sorin Stefan - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Alexey.Bannov
Posts: 2
Joined: Wed Oct 26, 2016 3:59 pm

Re: Error when create XML File after 14.1 upgrade

Thank you. It works. No, I haven't edited .api file in a text editor.
Sorin
Posts: 663
Joined: Mon May 08, 2017 1:03 pm

Re: Error when create XML File after 14.1 upgrade

Hello,

You are welcome!

Best regards,
Sorin
Sorin Stefan - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”