Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics NAV (Archived)

How to upload .app file to Business Central Trial Production environment

Posted on by 3,957

Hi,
We've created the extension and deployed in Business Central container. I tried uploading the .app file that is generated during compilation. The deployment status failed with error 'Publish operation failed with code PackageValidationFailed. Details: Package validation failed. Please contact Administrator for more information.'.
Kindly guide.

*This post is locked for comments

  • intelligo Profile Picture
    intelligo 40 on at
    RE: How to upload .app file to Business Central Trial Production environment

    I sort of had the same issue. I finally managed to upload with the function Upload Extenstion in the Extensions page.

    Until it succeeded the only feedback I get in the page 'Deployment Status' is: Failed. I couldn't find a reason for the failure.

    Does anyone know where to get more details about the failure?

  • Olister Rumao Profile Picture
    Olister Rumao 3,957 on at
    RE: How to upload .app file to Business Central Trial Production environment

    Hi Povl O,

    You can contact on my skype id incase you need any help.

  • Povl O Profile Picture
    Povl O on at
    RE: How to upload .app file to Business Central Trial Production environment

    Hi Olister,

    Thanks - this seems to be helping already on my issue. I am still not confident making table extensions, so I will stick to pageextensions, pages etc. for now.

  • Verified answer
    Olister Rumao Profile Picture
    Olister Rumao 3,957 on at
    RE: How to upload .app file to Business Central Trial Production environment

    Hi Povl O,

    The reason my app wasn't getting uploaded in Business Central as it would fail in the tests mention in the below document. I rectified it and it works perfectly fine.

    docs.microsoft.com/.../devenv-codeanalyzer-codecop-rules

    Especially the I didn't Permission Set for the Tables.
    Download the sample and try it.!
    https://github.com/olisterrcf/Business-Central-Demo

  • Povl O Profile Picture
    Povl O on at
    RE: How to upload .app file to Business Central Trial Production environment

    Any update on this ?

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: How to upload .app file to Business Central Trial Production environment

    Have you tried upload the default HelloWorld app created by Visual studio Code? My extension(it contains a pageextension)  works. I guess

  • Olister Rumao Profile Picture
    Olister Rumao 3,957 on at
    RE: How to upload .app file to Business Central Trial Production environment

    Hi Jaikechen,

    For signtool to recognize the .app file run the follwoing script in Powershell

    Install-NAVSipCryptoProviderFromNavContainer.

    The issue I'm facing is that the .app file doesnot get uploaded even after the package is signed.

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: How to upload .app file to Business Central Trial Production environment

    Hi,

    I am new to Business Central, so please forgive if I didn't answer correctly. I just installed my app successfully. Here's my approach:

    1. Install Dynamic NAV 2008 to develop computer, otherwize sign tool cann't recognize .app format.

    2. Create a pfx file, open powershell as administrator, run command ' MakeCert -sk myNewKey -n "CN=HartogJacobs" -r -ss my MyCert.pfx

    3.   Copy myCert to developing directory, open 'Developer command Prompt for VS 2017',  run command 'SignTool sign /f MyCert.pfx /t timestamp.verisign.com/.../timestamp.dll HartogJacobs_ALInvoice_1.0.0.0.app'

    Then the extensin is installed

  • Olister Rumao Profile Picture
    Olister Rumao 3,957 on at
    RE: How to upload .app file to Business Central Trial Production environment

    Hi,

    Can anyone please guide on this issue ?

    If there is any specific set of processes to be followed please reply.

  • Povl O Profile Picture
    Povl O on at
    RE: How to upload .app file to Business Central Trial Production environment

    I have same issue, and to me it seems that only some type of extensions are allowed.

    I have done some tableextensions, xmlport, pageextension - but if I try to make a new table - I get message PackageValidationFailed - and is left in complete darkness as to what is going on.

    I didn't think this feature of manually uploading an .app file was coming, so I was thrilled.

    Today, I am just frustrated after so many failed attempts to figure it out.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,280 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,235 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans