MS Dynamics NAV on Docker
koubek
Member Posts: 84
Hi,
I have been trying to dockerize MS Dynamics NAV (right now just Service Tier) but I have some problems with the compilation process. When starting NAV service the service goes up and is running for a while but then stops. I can see (watching EventLog) it fails when trying to compile NAV objects (*.cs files to *.dll files).
Docker version:
Client:
Version: 1.14.0-dev
API version: 1.26
Go version: go1.7.3
Git commit: e308f6b
Built: Tue Nov 22 18:15:55 2016
OS/Arch: windows/amd64
Server:
Version: 1.14.0-dev
API version: 1.26
Minimum API version: 1.24
Go version: go1.7.3
Git commit: e308f6b
Built: Tue Nov 22 18:15:55 2016
OS/Arch: windows/amd64
Experimental: true
I had the same problems on the version 1.12 as well. Anyone else is trying to work with Docker as well? I would appreciate any help with this stuff as it can simplify and automate a whole deployment process (I don`t want to go with Vagrant as Docker could offer better efficiency in all aspects).
You can find my Dockerfiles here: https://github.com/Koubek/dockerfiles-dynamics-nav.
And the main errors from the EventLog (hierarchically ordered list):
The following error repeats for several NAV objects. I am pretty sure I am using the DB from the same DVD (version).
Thanks in advance for any hint or comment!!!
I have been trying to dockerize MS Dynamics NAV (right now just Service Tier) but I have some problems with the compilation process. When starting NAV service the service goes up and is running for a while but then stops. I can see (watching EventLog) it fails when trying to compile NAV objects (*.cs files to *.dll files).
Docker version:
Client:
Version: 1.14.0-dev
API version: 1.26
Go version: go1.7.3
Git commit: e308f6b
Built: Tue Nov 22 18:15:55 2016
OS/Arch: windows/amd64
Server:
Version: 1.14.0-dev
API version: 1.26
Minimum API version: 1.24
Go version: go1.7.3
Git commit: e308f6b
Built: Tue Nov 22 18:15:55 2016
OS/Arch: windows/amd64
Experimental: true
I had the same problems on the version 1.12 as well. Anyone else is trying to work with Docker as well? I would appreciate any help with this stuff as it can simplify and automate a whole deployment process (I don`t want to go with Vagrant as Docker could offer better efficiency in all aspects).
You can find my Dockerfiles here: https://github.com/Koubek/dockerfiles-dynamics-nav.
And the main errors from the EventLog (hierarchically ordered list):
The following error repeats for several NAV objects. I am pretty sure I am using the DB from the same DVD (version).
Microsoft.Dynamics.Nav.Types.Exceptions.NavNCLMetadataCompileErrorException - Compilation of assembly 'C:\ProgramData\Microsoft\Microsoft Dynamics NAV\100\Server\MicrosoftDynamicsNavServer$NAVSERVICE\assembly\Record27_108.dll' failed. This can be caused by differences between binaries in your installation or your database. Ensure that all installation components are consistent and up to date. Error details: error CS0010: Unexpected fatal error -- 'Unspecified error '
The business assembly for type CodeUnit bucket 0 cannot be loaded because of the following error: error CS0010: Unexpected fatal error -- 'The paging file is too small for this operation to complete. '
Microsoft.Dynamics.Nav.Types.Exceptions.NavSessionTerminatedException - The server stopped the session (ID: 2) because of a stop session request.
Thanks in advance for any hint or comment!!!
0
Comments
-
Hi again,
it looks like the problem has been solved. The solution is not absolutely perfect but I am able to build and run NAV 2017 with any CU almost with one command on any PC with Win10 (not HOME edition) and WinServer2016.
Regards,
Jakub0 -
[Topic moved from 'NAV Tips & Tricks' forum to 'NAV Three Tier' forum]
Regards,Alain Krikilion
No PM,please use the forum. || May the <SOLVED>-attribute be in your title!0 -
Hello,
I would like to tell that we have added docker-compose process as well so you are able to deploy both, NAV service and SQL server containers quite easily now.
You just copy the content of NAV DVD to the specific folder, then you copy SQL DB files into another one and specify names of those files in the config file.
Now, you can start the process by executing just one bat file.
After all you have NAV ready and responding...
More details here: https://github.com/Koubek/dockerfiles-dynamics-nav#getting-started and here http://navblog.infoma.de/index.php/tag/docker/1
Categories
- All Categories
- 73 General
- 73 Announcements
- 66.7K Microsoft Dynamics NAV
- 18.8K NAV Three Tier
- 38.4K NAV/Navision Classic Client
- 3.6K Navision Attain
- 2.4K Navision Financials
- 116 Navision DOS
- 851 Navision e-Commerce
- 1K NAV Tips & Tricks
- 772 NAV Dutch speaking only
- 617 NAV Courses, Exams & Certification
- 2K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 328 Dynamics CRM
- 111 Dynamics GP
- 10 Dynamics SL
- 1.5K Other
- 990 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 35 Design Patterns (General & Best Practices)
- 1 Architectural Patterns
- 10 Design Patterns
- 5 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1.1K General Chat
- 1.6K Website
- 83 Testing
- 1.2K Download section
- 23 How Tos section
- 252 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions