Tuesday, August 20, 2019

Weird Internal Server Error on Publishing Extension

I am working on a AL project which is on NAV 2018, and I have run into the below error several times now

image

This happens when I publish my extension from VS Code using F5, the packing is created successfully but it fails to publish with the above error message, sometimes the error message is very vague like Internal Error occured…..

I am not sure if it has to do with this specific version of cumulative update or NAV 2018, but below are the steps I took to resolve the issue

  • 1.  If you have a web client/Win client open or even powershell command prompt from the container then close all of those and try again.  This trick did work sometimes but not always.
  • 2.  Restart the docker container using VS Code Docker Extension or using command prompt
  •      docker restart <containerid>

I believe running Sync-NAVTenant may resolve it but I could not launch the powershell, it just closes abruptly and nothing in the docker logs about the error message

 

 

6 comments:

  1. Nasty error, thanks for the description

    ReplyDelete
  2. You composed this post cautiously which is beneficial for us. I got some different kind of information from your article and I will suggest reading this article who need this info. Thanks for share it. web hosting malaysia

    ReplyDelete
  3. Nice article, very informative. For anyone looking to start a career in digital marketing, I found this useful training program in Chennai: https://login360.in/digital-marketing-classes-in-chennai/

    ReplyDelete
  4. Thanks for sharing this helpful post. Troubleshooting unusual internal server errors can be really frustrating, so it’s great to see practical insights and explanations like this. Articles like this are very useful for developers and system administrators who work with enterprise applications and need to quickly identify configuration or server-related issues. Clear write-ups like this help the community learn from real problems and solutions.

    Also check out UI/UX Course in Kochi by Login360 and Digital Marketing Course by Login360.

    ReplyDelete
  5. Great content! I really appreciate how your posts make complex ERP and business management topics easier to understand it’s super helpful for professionals and learners alike. For readers also interested in building practical digital and creative skills alongside industry insights like these, you might check out a Digital Marketing Training Institute in Coimbatore or a UI UX Design Course in Coimbatore. Keep up the valuable content!

    ReplyDelete