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

 

 

Share:

3 comments:

Ryan said...

Nasty error, thanks for the description

GB Network Solutions Sdn Bhd said...

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

Tasmin said...

Helpful steps