GETTING ERROR The request for path /Dynamicsnav130/dev/apps?SchemaUpdateMode=synchronize failed with code 422. Reason: This Extension cannot be published as it has the same Publisher, Name, and Version as a previously published Extension
Below error i am getting When i uninstall the depended extensions and republishing the extension after changes
The request for path /Dynamicsnav130/dev/apps?SchemaUpdateMode=synchronize failed with code 422. Reason: This Extension cannot be published as it has the same Publisher, Name, and Version as a previously published Extension
But when i see extension management page in the RTC it is not showing any extension with the same Extension name
Hi @sainath654, this looks related to #3571.
Which version of the AL extension and of the server are you using? What does the command Get-NavAppInfo return you? Can you try unpublishing/uninstalling the extension with the same name if any?
I am getting the exact same thing as @sainath654. I have tried to uninstall and unpublish using powershell. But for this to work I need to uninstall and unpublish all extensions that have Extension A as a dependency.
Everytime I do a change to the Core extension (The one that other extensions have dependency to) I get this error. Then I need to update the version, and update version on all dependency extensions. This is a real pain. And I do not think I can use the dependency functionality as it is now :(
I am using BC On-prem, AL Language 2.0.41470 if that helps
PS >Publish-NAVApp -Path 'C:\C0001-core_1.0.0.0.app' -PackageType Extension -ServerInstance DynamicsNAV130 -SkipVerification
Publish-NAVApp : This Extension cannot be published as it has the same Publisher, Name, and Version as a previously published Extension.
At line:1 char:1
+ Publish-NAVApp -Path 'C:\c0001-core ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidOperation: (:) [Publish-NAVApp], InvalidOperationException
+ FullyQualifiedErrorId : MicrosoftDynamicsNavServer$DynamicsNAV130/nav-systemapplication,Microsoft.Dynamics.Nav.Apps.Management.Cmdlets.PublishNavApp
There was some dependencies in the Extension so i have uninstalled the dependencies extension and tried to publish the extension package
I am using Business Central Spring release
Hi @sainath654, did uninstalling the extensions that were taking an extension on your extension fixed your problem? We are tracking this issue about dependencies with #2804.