ArcherPoint Dynamics NAV Developer Digest - vol 167
The NAV community, including the ArcherPoint technical staff, is made up of developers, project managers, and consultants who are constantly communicating, with the common goal of sharing helpful information with one another to help customers be more successful.
As they run into issues and questions, find the answers, and make new discoveries, they post them on blogs, forums, social media...so everyone can benefit. We in Marketing watch these interactions and never cease to be amazed by the creativity, dedication, and brainpower we’re so fortunate to have in this community—so we thought, wouldn’t it be great to share this great information with everyone who might not have the time to check out the multitude of resources out there? So, the ArcherPoint Microsoft Dynamics NAV Developer Digest was born. Each week, we present a collection of thoughts and findings from NAV experts and devotees around the world. We hope these insights will benefit you, too.
Saurav: The November update on Dynamics NAV development environment is here. Microsoft seems to plan NAV 2018 as mixed mode like NAV 2009. Be ready, it is almost here. Highlights include:
- C/SIDE and AL side by side
- Runtime package for on-premises distribution
- Multi-country extensions
More on Docker
Kyle: Freddy's blog on Docker commands can help you improve your Docker Kung-Fu.
Saurav: Sorry, but Docker does not work with Windows 10 OS. I tried it and read all articles from Freddy but no success. I have to wait until January.
Bill: On Windows 10, I had issues connecting to containers. And by issues, I mean I just could not connect. On Windows 10, it is using a hypervisor layer to isolate unlike Windows 2016 so you have to deal with the Hyper-V networking. If you can run an image but cannot connect, the container is probably connecting to the wrong "switch."
Suresh: Docker does work on Windows 10. Do you mean the NAV container is not working on Windows 10?
Kyle: Server 2016 has better container isolation than Windows 10 does. Windows 10 can only have VHD containers, but Server 2016 can do full native Docker containers.
I built a VM with Server 2016 inside of it and I run Docker there. Bill may or may not have converted his whole laptop to Server 2016. If you go the VM/2016 route, I put a post out there a couple of weeks ago on what you have to do to fool the guest OS into running correctly.
Saurav: It pulls the image completely, extracts it but after that runs out with an error message. And as Bill Warnke says it cannot connect to correct switch. Tried it multiple times, but it errors out every time.
Bill: What's the error? Sounds like the container is starting? If it's not, make sure you're doing: "docker run -m 3G" I think I had to go to 4G.
Saurav: I used 3G and 4G both, but the error remains same. Error response from daemon: container dd196647758cf92828efd44934cb4862b4117dc4a556b20c5de8ee54c0b59d33 encountered an error during Start: failure in a Windows system call: The operation timed out because a response was not received from the Virtual Machine hosting the Container. (0xc0370109).
It is the same time out error that is discussed here on GitHub, but nothing resolves the issue.
Suresh: I would suggest just removing all the containers and images and start again. Run a Windows update. Are you successful running other containers like SQL Server, Mongo DB or ngnix?
Navision Version 4.03 Debugger
After the latest news above, I thought it would be fun to share this blast from the past from Kyle.
Kyle: I have been sent to the deepest, darkest section of the code mines today. NAV 4.03 debugger. I'm getting the developer equivalent of black lung.
Figure 1 - Navision Version 4 Debugger
Bill: *cough* *cough* "I think I'm getting the NAV lung pop."
Stay abreast of what is new in the Microsoft Dynamics NAV community and at ArcherPoint by subscribing to our monthly newsletter, Better Business, by completing the form in our Resource Center.
If you are interested in NAV development, be sure to see our collection of NAV Development Blogs.
Read more "How To" blogs from ArcherPoint for practical advice on using Microsoft Dynamics NAV.