Options

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

  • Options
    mohana_cse06mohana_cse06 Member Posts: 5,504
    can you see published app Demo in table 2000000160?
  • Options
    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
  • Options
    SuDSuD Member Posts: 102
    can you see published app Demo in table 2000000160?
    d0dntbbaaw9p.png

  • Options
    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..:-(
  • Options
    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
  • Options
    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.
  • Options
    SuDSuD Member Posts: 102
    thn04is505ho.png
  • Options
    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.
  • Options
    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..
  • Options
    krikikriki Member, Moderator Posts: 9,096
    [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.