Extension couldnt installed....

SuDSuD Member Posts: 102
Install-NAVApp : NAV App 'Demo.navx' was not found because it is not published
At line:1 char:1
+ Install-NAVApp -Name Demo.navx -ServerInstance ExtensionDemo2
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidOperation: (:) [Install-NAVApp], InvalidOperationException
+ FullyQualifiedErrorId : MicrosoftDynamicsNavServer$ExtensionDemo2/default,Microsoft.Dynamics.Nav.Apps.Manageme
nt.Cmdlets.InstallNavApp

Although i have published the extension.

Best Answer

Answers

  • mohana_cse06mohana_cse06 Member Posts: 5,504
    can you see published app Demo in table 2000000160?
  • Jan_VeenendaalJan_Veenendaal Member Posts: 206
    You need to supply the name of the Extension itself, not the name of the Navx file.
    Jan Veenendaal
  • SuDSuD Member Posts: 102
    can you see published app Demo in table 2000000160?
    d0dntbbaaw9p.png

  • SuDSuD Member Posts: 102
    You need to supply the name of the Extension itself, not the name of the Navx file.

    Sorry,I didnt get u..:-(
  • Jan_VeenendaalJan_Veenendaal Member Posts: 206
    The name of your extension is 'CheckAddress', not 'Demo.navx'
    So the powershell command should be like:

    Install-NAVApp -Name CheckAddress -ServerInstance ExtensionDemo2
    Jan Veenendaal
  • SuDSuD Member Posts: 102
    The name of your extension is 'CheckAddress', not 'Demo.navx'
    So the powershell command should be like:

    Install-NAVApp -Name CheckAddress -ServerInstance ExtensionDemo2

    Is it nessecerry that name for Manifest file and Navx file should be same?
    Because in NAVapp table shown name is for my Manifest file name.
  • SuDSuD Member Posts: 102
    thn04is505ho.png
  • mohana_cse06mohana_cse06 Member Posts: 5,504
    edited 2016-12-19
    not mandatory. you can keep some relevant name for App Name..if you keep same then there will be no confusion.
  • SuDSuD Member Posts: 102
    thn04is505ho.png
    The Publish-NAVApp cmdlet requires the name of the manifest FILE
    The Install-NAVApp cmdlet requires the name of the extension, that is defined IN your manifest file

    They do not need to be the same, you should only know what they are.
    Thanks sir you are right...But Publish CMDlets also requires .Navx file and install cmdlets require the file name mention in manifest file...
    Thanks again you give me better idea..
  • krikikriki Member, Moderator Posts: 9,110
    [Topic moved from 'NAV/Navision Classic Client' forum to 'NAV Three Tier' forum]

    Regards,Alain Krikilion
    No PM,please use the forum. || May the <SOLVED>-attribute be in your title!


Sign In or Register to comment.