web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics NAV (Archived)

Error publishing extension

(0) ShareShare
ReportReport
Posted on by

Hi,

I am trying to publish an extension to a local service (non-multitenant) and I´m getting an error while calling Publish-NAVApp. It runs for about 60 seconds and finally returns with an error:

extension_2D00_error.PNG

I tried calling other cmdlets where ServiceInstance is a parameter and then I get this error:

extension_2D00_error_2D00_2.PNG

We use powershell to create NAV service instances, so NAV is not installed on the machine, but it runs perfectly fine and I am able to run the RTC and develop.

I have found out that the problem is due to CustomSettings.config in the RTC folder is being used instead of the filepath of the config provided to the service. Is there any way to force the powershell cmdlets to use the CustomSettings.config file the service is using?

*This post is locked for comments

I have the same question (0)
  • AJAnsari Profile Picture
    5,754 on at

    Have you tried using PowerShell ISE, loading the requisite cmdlets and using its more user-friendly Command pane to run Publish-NAVApp. They may be a parameter to select a CustomConfig in a different path that you are not aware of, and the Command Pane is PowerShell ISE will help there (shows all possible parameters), and makes the process of generating PowerShell commands and creating reusable PowerShell scripts very simple.

    I hope this helps. If my response has answered your question, please verify by clicking Yes next to "Did this answer your question?"

  • Community Member Profile Picture
    on at

    Hi AJ,

    I have done that and there is no parameter for the CustomSettings path: msdn.microsoft.com/.../publish-navapp;MSPPError=-2147217396#parameters.

    Best regards,

    Viktor

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics NAV (Archived)

#1
HoangNam Profile Picture

HoangNam 7

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans