GithubHelp home page GithubHelp logo

koubek / dockerfiles-dynamics-nav Goto Github PK

View Code? Open in Web Editor NEW
26.0 13.0 8.0 15.35 MB

Dockerfiles for MS Dynamics NAV

License: MIT License

Batchfile 11.48% PowerShell 88.52%
docker dockerfile dynamics-nav navision nav dynamicsnav

dockerfiles-dynamics-nav's People

Contributors

koubek avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

dockerfiles-dynamics-nav's Issues

Installation config files are version based

I can see the gMSA branch is now version-based because of the installation config. files. Those are definitely version-based.

We need to think about pros and contras of the approach we applied in this branch.

This has nothing to do with gMSA itself!!!

Error when building NAV Web Server Image

When building NAV 2016 + CU9, the image for NAV Web Server gives the following error.

C:\Users\ContainerAdministrator\AppData\Local\Temp\Install-NAVComponent.log
=== Logging started: 2017/06/14 00:46:05 ===
Executable: C:\install\content\DynamicsNavDvd\Setup.exe v9.0.46290.0
Computer  : 9DB3B09697F2
--- logging level: standard ---
RegistrySearch: Id = 'SqlServerInstalled', checking registry key existence.
                Id = 'SqlServerInstalled', Key = 'SYSTEM\CurrentControlSet\Services\', Exists = '1'
RegistrySearch: Id = 'SqlNCLIInstalled', checking registry key existence.
                Id = 'SqlNCLIInstalled', Key = 'SOFTWARE\Microsoft\SQLNCLI11', Exists = '0'
RegistrySearch: Id = 'DotNetFx45Release', searching for registry key value.
                Id = 'DotNetFx45Release', Key = 'SOFTWARE\Microsoft\NET Framework Setup\NDP\v4\Full', Value = '394802'
RegistrySearch: Id = 'VstoInstalled', searching for registry key value.
                Id = 'VstoInstalled', Key = 'SOFTWARE\Microsoft\VSTO Runtime Setup\v4R', Value = '1'
RegistrySearch: Id = 'PowerShell30Installed', searching for registry key value.
                Id = 'PowerShell30Installed', Key = 'SOFTWARE\Microsoft\PowerShell\3\PowerShellEngine', Value = '5.1.14393.0'
RegistrySearch: Id = 'WindowsSearchInstalled', checking registry key existence.
                Id = 'WindowsSearchInstalled', Key = 'SYSTEM\CurrentControlSet\Services\WSearch', Exists = '0'
RegistrySearch: Id = 'Excel14Installedx86', searching for registry key value.
                Id = 'Excel14Installedx86', Registry key not found. Key = 'SOFTWARE\Microsoft\Office\14.0\Excel\InstallRoot'
RegistrySearch: Id = 'Excel14Installedx64', searching for registry key value.
                Id = 'Excel14Installedx64', Registry key not found. Key = 'SOFTWARE\Microsoft\Office\14.0\Excel\InstallRoot'
RegistrySearch: Id = 'Outlook', checking registry key existence.
                Id = 'Outlook', Key = 'SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\OUTLOOK.EXE', Exists = '0'
RegistrySearch: Id = 'Outlook15', checking registry key existence.
                Id = 'Outlook15', Key = 'Software\Microsoft\Office\15.0\Outlook', Exists = '0'
RegistrySearch: Id = 'VCPPSpLevel', searching for registry key value.
                Id = 'VCPPSpLevel', Registry key not found. Key = 'SOFTWARE\Microsoft\DevDiv\VC\Servicing\12.0'
RegistrySearch: Id = 'VCPPInstalled', checking registry key existence.
                Id = 'VCPPInstalled', Key = 'SOFTWARE\Microsoft\DevDiv\VC\Servicing\12.0', Exists = '0'
RegistrySearch: Id = 'VCPP64Installed', checking registry key existence.
                Id = 'VCPP64Installed', Key = 'SOFTWARE\Microsoft\DevDiv\VC\Servicing\12.0', Exists = '0'
RegistrySearch: Id = 'IISInstalled', checking registry key existence.
                Id = 'IISInstalled', Key = 'SOFTWARE\Microsoft\InetStp', Exists = '1'
RegistrySearch: Id = 'IISWinAuthInstalled', searching for registry key value.
                Id = 'IISWinAuthInstalled', Key = 'SOFTWARE\Microsoft\InetStp\Components', Value = '1'
RegistrySearch: Id = 'IISASPNETInstalled', searching for registry key value.
                Id = 'IISASPNETInstalled', Registry value not found. Key = 'SOFTWARE\Microsoft\InetStp\Components', Value = 'ASPNET'
RegistrySearch: Id = 'IISASPNET45Installed', searching for registry key value.
                Id = 'IISASPNET45Installed', Key = 'SOFTWARE\Microsoft\InetStp\Components', Value = '1'
RegistrySearch: Id = 'IISNETFXInstalled', searching for registry key value.
                Id = 'IISNETFXInstalled', Key = 'SOFTWARE\Microsoft\InetStp\Components', Value = '1'
RegistrySearch: Id = 'IISNETFX45Installed', searching for registry key value.
                Id = 'IISNETFX45Installed', Key = 'SOFTWARE\Microsoft\InetStp\Components', Value = '1'
RegistrySearch: Id = 'IISISAPEXInstalled', searching for registry key value.
                Id = 'IISISAPEXInstalled', Key = 'SOFTWARE\Microsoft\InetStp\Components', Value = '1'
RegistrySearch: Id = 'HttpActivationInstalled', checking registry key existence.
                Id = 'HttpActivationInstalled', Key = 'SYSTEM\CurrentControlSet\Services\WAS', Exists = '1'
RegistrySearch: Id = 'IISISAPIFIInstalled', searching for registry key value.
                Id = 'IISISAPIFIInstalled', Key = 'SOFTWARE\Microsoft\InetStp\Components', Value = '1'
RegistrySearch: Id = 'IISREQSTFIInstalled', searching for registry key value.
                Id = 'IISREQSTFIInstalled', Key = 'SOFTWARE\Microsoft\InetStp\Components', Value = '1'
RegistrySearch: Id = 'IISSTATICInstalled', searching for registry key value.
                Id = 'IISSTATICInstalled', Key = 'SOFTWARE\Microsoft\InetStp\Components', Value = '1'
RegistrySearch: Id = 'WebComponentsPrerequisitesInstalled', searching for registry key value.
                Id = 'WebComponentsPrerequisitesInstalled', Key = 'SOFTWARE\Microsoft\Microsoft Dynamics NAV\90\Web Components Prerequisites', Value = '1'
RegistrySearch: Id = 'IdentityFoundationInstalled', checking registry key existence.
                Id = 'IdentityFoundationInstalled', Key = 'SOFTWARE\Microsoft\Windows Identity Foundation\Setup\v3.5', Exists = '1'
Configuring package. Id = 'ARP'
MSI log file set to: C:\Users\ContainerAdministrator\AppData\Local\Temp\setup.wix.msi.1.log
Done configuring package. Id = 'ARP' ReturnCode = 0
Configuring package. Id = 'SQLSysClrTypes'
MSI log file set to: C:\Users\ContainerAdministrator\AppData\Local\Temp\setup.wix.msi.2.log
Done configuring package. Id = 'SQLSysClrTypes' ReturnCode = 0
Configuring package. Id = 'SQLSysClrTypes64'
MSI log file set to: C:\Users\ContainerAdministrator\AppData\Local\Temp\setup.wix.msi.3.log
Done configuring package. Id = 'SQLSysClrTypes64' ReturnCode = 0
PS C:\install\content>
MSI log file set to: C:\Users\ContainerAdministrator\AppData\Local\Temp\setup.wix.msi.4.log
Done configuring package. Id = 'ReportViewer' ReturnCode = 0
Configuring package. Id = 'SQLNCLI_x64'
MSI log file set to: C:\Users\ContainerAdministrator\AppData\Local\Temp\setup.wix.msi.5.log
Done configuring package. Id = 'SQLNCLI_x64' ReturnCode = 0
Configuring package. Id = 'SQLSMO'
MSI log file set to: C:\Users\ContainerAdministrator\AppData\Local\Temp\setup.wix.msi.6.log
Done configuring package. Id = 'SQLSMO' ReturnCode = 0
Configuring package. Id = 'VCPP2013'
Path to executable = 'C:\install\content\DynamicsNavDvd\Prerequisite Components\Microsoft Visual C++ 2013\vcredist_x86.exe', Arguments = '/q'
Done configuring package. Id = 'SQLSysClrTypes64' ReturnCode = 0
Configuring package. Id = 'ReportViewer'
MSI log file set to: C:\Users\ContainerAdministrator\AppData\Local\Temp\setup.wix.msi.4.log
Done configuring package. Id = 'ReportViewer' ReturnCode = 0
Configuring package. Id = 'SQLNCLI_x64'
MSI log file set to: C:\Users\ContainerAdministrator\AppData\Local\Temp\setup.wix.msi.5.log
Done configuring package. Id = 'SQLNCLI_x64' ReturnCode = 0
Configuring package. Id = 'SQLSMO'
MSI log file set to: C:\Users\ContainerAdministrator\AppData\Local\Temp\setup.wix.msi.6.log
Done configuring package. Id = 'SQLSMO' ReturnCode = 0
Configuring package. Id = 'VCPP2013'
Path to executable = 'C:\install\content\DynamicsNavDvd\Prerequisite Components\Microsoft Visual C++ 2013\vcredist_x86.exe', Arguments = '/q'
Done configuring package. Id = 'VCPP2013' ReturnCode = 0
Configuring package. Id = 'VCPP201364'
Path to executable = 'C:\install\content\DynamicsNavDvd\Prerequisite Components\Microsoft Visual C++ 2013\vcredist_x64.exe', Arguments = '/q'
Done configuring package. Id = 'VCPP201364' ReturnCode = 0
Configuring package. Id = 'OpenXMLSDK'
MSI log file set to: C:\Users\ContainerAdministrator\AppData\Local\Temp\setup.wix.msi.7.log
Done configuring package. Id = 'OpenXMLSDK' ReturnCode = 0
Configuring package. Id = 'SharePointClientComponents'
MSI log file set to: C:\Users\ContainerAdministrator\AppData\Local\Temp\setup.wix.msi.8.log
Done configuring package. Id = 'SharePointClientComponents' ReturnCode = 0
Configuring package. Id = 'ReportBuilder'
MSI log file set to: C:\Users\ContainerAdministrator\AppData\Local\Temp\setup.wix.msi.9.log
Done configuring package. Id = 'ReportBuilder' ReturnCode = 0
Configuring package. Id = 'RoleTailoredClient'
MSI log file set to: C:\Users\ContainerAdministrator\AppData\Local\Temp\setup.wix.msi.a.log
Done configuring package. Id = 'RoleTailoredClient' ReturnCode = 0
Configuring package. Id = 'ServiceTier'
MSI log file set to: C:\Users\ContainerAdministrator\AppData\Local\Temp\setup.wix.msi.b.log
Done configuring package. Id = 'ServiceTier' ReturnCode = 0
Configuring package. Id = 'WebClient'
MSI log file set to: C:\Users\ContainerAdministrator\AppData\Local\Temp\setup.wix.msi.c.log
Done configuring package. Id = 'WebClient' ReturnCode = 1603
Configuring package. Id = 'RoleTailoredClient_ES'
MSI log file set to: C:\Users\ContainerAdministrator\AppData\Local\Temp\setup.wix.msi.d.log
Done configuring package. Id = 'RoleTailoredClient_ES' ReturnCode = 0
Configuring package. Id = 'ServiceTier_ES'
MSI log file set to: C:\Users\ContainerAdministrator\AppData\Local\Temp\setup.wix.msi.e.log
Done configuring package. Id = 'ServiceTier_ES' ReturnCode = 0
Configuring package. Id = 'WebClient_ES'
MSI log file set to: C:\Users\ContainerAdministrator\AppData\Local\Temp\setup.wix.msi.f.log
Done configuring package. Id = 'WebClient_ES' ReturnCode = 0
SUCCESS: Package Microsoft Dynamics NAV Setup Components executed sucessfully.
SUCCESS: Package Microsoft System CLR Types for SQL Server 2014 executed sucessfully.
SUCCESS: Package Microsoft System CLR Types for SQL Server 2014 executed sucessfully.
SUCCESS: Package Microsoft Report Viewer 2015 Redistributable Package executed sucessfully.
SUCCESS: Package SQL Server Native Client executed sucessfully.
SUCCESS: Package Microsoft SQL Server 2012 Management Objects executed sucessfully.
SUCCESS: Package Microsoft Visual C++ 2013 Redistributable Package executed sucessfully.
SUCCESS: Package Microsoft Visual C++ 2013 Redistributable Package executed sucessfully.
SUCCESS: Package Open XML SDK 2.5 for Microsoft Office executed sucessfully.
SUCCESS: Package Microsoft SharePoint Server 2013 Client Components executed sucessfully.
SUCCESS: Package Microsoft SQL Server 2014 Report Builder 3.0 executed sucessfully.
SUCCESS: Package Microsoft Dynamics NAV Client Components executed sucessfully.
SUCCESS: Package Microsoft Dynamics NAV Server Components executed sucessfully.
ERROR: Package Web Server Components failed with error. See detailed message above.
SUCCESS: Package Language Module (es-ES) for Microsoft Dynamics NAV Windows Client executed sucessfully.
SUCCESS: Package Language Module (es-ES) for Microsoft Dynamics NAV Server executed sucessfully.
SUCCESS: Package Language Module (es-ES) for Microsoft Dynamics NAV Web Server Components executed sucessfully.
=== Logging stopped: 2017/06/14 00:54:11 ===


C:\Users\ContainerAdministrator\AppData\Local\Temp\setup.wix.msi.c.log
=== Logging started: 6/14/2017  0:53:59 ===
Action start 0:53:59: INSTALL.
Action start 0:53:59: FindRelatedProducts.
Action ended 0:53:59: FindRelatedProducts. Return value 1.
Action start 0:53:59: AppSearch.
Action ended 0:53:59: AppSearch. Return value 1.
Action start 0:53:59: LaunchConditions.sers\ContainerAdministrator\AppData\Local\Temp\Install-NAVComponent.log
Action ended 0:53:59: LaunchConditions. Return value 1.
Action start 0:53:59: ValidateProductID.
Action ended 0:53:59: ValidateProductID. Return value 1.
Action start 0:53:59: CostInitialize.
Action ended 0:53:59: CostInitialize. Return value 1.
Action start 0:53:59: FileCost.
Action ended 0:53:59: FileCost. Return value 1.
Action start 0:53:59: CostFinalize.
Action ended 0:53:59: CostFinalize. Return value 1.
Action start 0:53:59: InstallValidate.
Action ended 0:53:59: InstallValidate. Return value 1.
Action start 0:53:59: InstallInitialize.
Action ended 0:53:59: InstallInitialize. Return value 1.
Action start 0:53:59: ProcessComponents.
Action ended 0:54:01: ProcessComponents. Return value 1.
Action start 0:54:01: UnpublishFeatures.
Action ended 0:54:01: UnpublishFeatures. Return value 1.
Action start 0:54:01: RemoveRegistryValues.
Action ended 0:54:01: RemoveRegistryValues. Return value 1.
Action start 0:54:01: WixSchedFirewallExceptionsUninstall.
SchedFirewallExceptions:  Component 'regB72386288D57264A2C798196C62F08C8' action state (0) doesn't match request (2)
SchedFirewallExceptions:  No firewall exceptions scheduled
Action ended 0:54:01: WixSchedFirewallExceptionsUninstall. Return value 1.
Action start 0:54:01: RemoveFiles.
Action ended 0:54:01: RemoveFiles. Return value 1.
Action start 0:54:01: WixSchedInternetShortcuts.
WixSchedInternetShortcuts:  failed to create an instance of IUniformResourceLocatorW, skipping shortcut creation
Action ended 0:54:02: WixSchedInternetShortcuts. Return value 1.
Action start 0:54:02: RemoveFolders.
Action ended 0:54:02: RemoveFolders. Return value 1.
Action start 0:54:02: CreateFolders.
Action ended 0:54:02: CreateFolders. Return value 1.
Action start 0:54:02: InstallFiles.
Action ended 0:54:02: InstallFiles. Return value 1.
Action start 0:54:02: WixSchedFirewallExceptionsInstall.
SchedFirewallExceptions:  Component 'regB72386288D57264A2C798196C62F08C8' action state (0) doesn't match request (1)
SchedFirewallExceptions:  No firewall exceptions scheduled
Action ended 0:54:02: WixSchedFirewallExceptionsInstall. Return value 1.
Action start 0:54:02: DuplicateFiles.
Action ended 0:54:02: DuplicateFiles. Return value 1.
Action start 0:54:02: SchedXmlConfig.
Action ended 0:54:02: SchedXmlConfig. Return value 1.
Action start 0:54:02: SchedXmlFile.
Action start 0:54:02: ExecXmlFile.
Action ended 0:54:02: ExecXmlFile. Return value 1.
Action ended 0:54:02: SchedXmlFile. Return value 1.
Action start 0:54:02: CreateShortcuts.
Action ended 0:54:02: CreateShortcuts. Return value 0.
Action start 0:54:02: WixRollbackInternetShortcuts.
Action ended 0:54:02: WixRollbackInternetShortcuts. Return value 1.
Action start 0:54:02: WixCreateInternetShortcuts.
Action ended 0:54:02: WixCreateInternetShortcuts. Return value 1.
Action start 0:54:02: WriteRegistryValues.
Action ended 0:54:02: WriteRegistryValues. Return value 1.
Action start 0:54:02: ConfigureIIs.
Action start 0:54:02: StartIIS7ConfigTransaction.
Action ended 0:54:02: StartIIS7ConfigTransaction. Return value 1.
Action start 0:54:02: RollbackIIS7ConfigTransaction.
Action ended 0:54:02: RollbackIIS7ConfigTransaction. Return value 1.
Action start 0:54:02: CommitIIS7ConfigTransaction.
Action ended 0:54:02: CommitIIS7ConfigTransaction. Return value 1.
Action start 0:54:02: ConfigureIIs7Exec.
Action ended 0:54:02: ConfigureIIs7Exec. Return value 1.
Action start 0:54:02: WriteIIS7ConfigChanges.
Action ended 0:54:02: WriteIIS7ConfigChanges. Return value 1.
Action ended 0:54:02: ConfigureIIs. Return value 1.
Action start 0:54:02: RegisterUser.
Action ended 0:54:02: RegisterUser. Return value 1.
Action start 0:54:02: RegisterProduct.
Action ended 0:54:02: RegisterProduct. Return value 1.
Action start 0:54:02: PublishFeatures.
Action ended 0:54:02: PublishFeatures. Return value 1.
Action start 0:54:02: PublishProduct.
Action ended 0:54:02: PublishProduct. Return value 1.
Action start 0:54:02: AddCompressionDynamicTypes.
Action ended 0:54:02: AddCompressionDynamicTypes. Return value 1.
Action start 0:54:02: AddCompressionLevels.
Action ended 0:54:02: AddCompressionLevels. Return value 1.
Action start 0:54:02: ConfigureAppPool.
Action ended 0:54:02: ConfigureAppPool. Return value 1.
Action start 0:54:02: ConfigureAppPoolProcessModel.
Action ended 0:54:02: ConfigureAppPoolProcessModel. Return value 1.
Action start 0:54:02: ConfigureAppPoolRecycling.
Action ended 0:54:02: ConfigureAppPoolRecycling. Return value 1.
Action start 0:54:02: SetAllowLoopbackCmd.
Action ended 0:54:02: SetAllowLoopbackCmd. Return value 1.
Action start 0:54:02: AllowLoopback.
Action ended 0:54:02: AllowLoopback. Return value 1.
Action start 0:54:02: SetCreateWebApplicationCmd.
Action ended 0:54:02: SetCreateWebApplicationCmd. Return value 1.
Action start 0:54:02: CreateWebApplication.
Action ended 0:54:02: CreateWebApplication. Return value 1.
Action start 0:54:02: AddPreloadEnabled.
Action ended 0:54:02: AddPreloadEnabled. Return value 1.
Action start 0:54:02: InstallFinalize.
CAQuietExec64:  Error occurred 1753 - 6D9
CAQuietExec64:  Error 0x800706d9: Command line returned an error.
CAQuietExec64:  Error 0x800706d9: CAQuietExec64 Failed
CustomAction AllowLoopback returned actual error code 1603 (note this may not be 100% accurate if translation happened inside sandbox)
Action ended 0:54:05: InstallFinalize. Return value 3.
Action ended 0:54:06: INSTALL. Return value 3.
Property(S): VirtualMemory = 3059
Property(S): DiskPrompt = [1]
Property(S): UpgradeCode = {00000000-0000-9000-0000-5086251F15D4}
Property(S): ConfigureIIs7Exec = **********
Property(S): StartIIS7ConfigTransaction = **********
Property(S): RollbackIIS7ConfigTransaction = **********
Property(S): CommitIIS7ConfigTransaction = **********
Property(S): WriteIIS7ConfigChanges = **********
Property(S): WEBSITEDIR = C:\inetpub\wwwroot\
Property(S): NAV_POWERSHELL_INSTALLED = 5.1.14393.0
Property(S): POWERSHELLEXE = C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
Property(S): CHECKNETISOLATIONEXE = C:\Windows\system32\checknetisolation.exe
Property(S): NETFRAMEWORK40FULLINSTALLROOTDIR64 = C:\Windows\Microsoft.NET\Framework64\v4.0.30319\
Property(S): ComAppDataWebClient = C:\ProgramData\Microsoft\Microsoft Dynamics NAV\90\Web Client\
Property(S): INSTALLDIR = C:\Program Files\Microsoft Dynamics NAV\90\Web Client\
Property(S): TARGETDIR = C:\
Property(S): ProgramMenuFolder = C:\Users\ContainerAdministrator\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\
Property(S): NAVWebApplicationContainer = C:\inetpub\wwwroot\NAVWebApplicationContainer\
Property(S): bin = C:\Program Files\Microsoft Dynamics NAV\90\Web Client\bin\
Property(S): desktop = C:\Program Files\Microsoft Dynamics NAV\90\Web Client\Desktop\
Property(S): phone = C:\Program Files\Microsoft Dynamics NAV\90\Web Client\Phone\
Property(S): tablet = C:\Program Files\Microsoft Dynamics NAV\90\Web Client\Tablet\
Property(S): js = C:\Program Files\Microsoft Dynamics NAV\90\Web Client\js\
Property(S): Resources = C:\Program Files\Microsoft Dynamics NAV\90\Web Client\Resources\
Property(S): dir9FC5D6202490D522210C26288BEC8102 = C:\Program Files\Microsoft Dynamics NAV\90\Web Client\Resources\Fonts\
Property(S): dirA9651BFC3DC3E06DB7C6032F292878C2 = C:\Program Files\Microsoft Dynamics NAV\90\Web Client\Resources\Images\
Property(S): CreateWebApplication = "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe"  -NoProfile -NonInteractive -InputFormat None -ExecutionPolicy Bypass -Command "& 'C:\Program Files\Microsoft Dynamics NAV\90\Web Client\Bin\WebServerInstance.ps1' 'C:\Program Files\Microsoft Dynamics NAV\90\Web Client\Bin' 'Windows' 'localhost' 'SampleDynamicsNAV90' '37046' '' ''; exit $Error.Count"
Property(S): AllowLoopback = "C:\Windows\system32\checknetisolation.exe" LoopbackExempt -a -n=microsoft.dynamicsnav_8wekyb3d8bbwe
Property(S): ExecXmlFile = 2?0?C:\Program Files\Microsoft Dynamics NAV\90\Web Client\instanceweb.config?3?0?//configuration/DynamicsNAVSettings/add[@key='ServerInstance']/@value??SampleDynamicsNAV90?3?0?//configuration/DynamicsNAVSettings/add[@key='ClientServicesPort']/@value??37046?3?0?//configuration/DynamicsNAVSettings/add[@key='Server']/@value??localhost?3?0?//configuration/DynamicsNAVSettings/add[@key='UnknownSpnHint']/@value??(net.tcp://localhost:37046/SampleDynamicsNAV90/Service)=NoSpn?3?0?//configuration/DynamicsNAVSettings/add[@key='DnsIdentity']/@value???3?0?//configuration/DynamicsNAVSettings/add[@key='ClientServicesCredentialType']/@value??Windows?3?0?//configuration/DynamicsNAVSettings/add[@key='ACSUri']/@value???3?0?//configuration/DynamicsNAVSettings/add[@key='HelpServer']/@value??9DB3B09697F2?2?0?C:\Program Files\Microsoft Dynamics NAV\90\Web Client\instanceweb.config?3?0?//configuration/DynamicsNAVSettings/add[@key='HelpServerPort']/@value??49000
Property(S): ComAppDataDynNavVer = C:\ProgramData\Microsoft\Microsoft Dynamics NAV\90\
Property(S): ComAppDataDynNav = C:\ProgramData\Microsoft\Microsoft Dynamics NAV\
Property(S): ComAppDataMS = C:\ProgramData\Microsoft\
Property(S): CommonAppDataFolder = C:\ProgramData\
Property(S): Client = C:\Program Files (x86)\Microsoft Dynamics NAV\90\Web Client\
Property(S): ProgramNavVersionFolder = C:\Program Files (x86)\Microsoft Dynamics NAV\90\
Property(S): Microsoft_Dynamics_NAV = C:\Program Files (x86)\Microsoft Dynamics NAV\
Property(S): ProgramFilesFolder = C:\Program Files (x86)\
Property(S): wwwroot = C:\Inetpub\wwwroot\
Property(S): Inetpub = C:\Inetpub\
Property(S): SourceDir = C:\install\content\DynamicsNavDvd\WebClient\
Property(S): DISABLEADVTSHORTCUTS = 1
Property(S): PORT = 38080
Property(S): SERVERINSTANCE = SampleDynamicsNAV90
Property(S): NAVSERVER = localhost
Property(S): SERVICEPORT = 37046
Property(S): WEB_CLIENT_WEBSITE_NAME = Microsoft Dynamics NAV 2016 Web Client
Property(S): WEB_CLIENT_APPPOOL_NAME = Microsoft Dynamics NAV 2016 Web Client Application Pool
Property(S): FIREWALLEXCEPTION = false
Property(S): NAV_POWERSHELL_MESSAGE = Microsoft Dynamics NAV Setup cannot complete because an installation prerequisite is missing: Windows PowerShell 3.0. You must install the relevant prerequisite before you continue with Microsoft Dynamics NAV Setup. For more information, see http://go.microsoft.com/fwlink/?LinkId=317819.
Property(S): Manufacturer = Microsoft Corporation
Property(S): ProductCode = {00000000-0000-9000-0000-0100F5DFFF46}
Property(S): ProductLanguage = 1033
Property(S): ProductName = Microsoft Dynamics NAV 2016 Web Client
Property(S): ProductVersion = 9.0.46290.0
Property(S): SecureCustomProperties = NAVSERVER;NETFRAMEWORK40FULLINSTALLROOTDIR64;NEWPRODUCTFOUND;PORT;SERVICEPORT
Property(S): MsiHiddenProperties = CommitIIS7ConfigTransaction;CommitMetabaseTransaction;ConfigureIIs7Exec;ConfigureIIsExec;RollbackIIS7ConfigTransaction;RollbackMetabaseTransaction;StartIIS7ConfigTransaction;StartMetabaseTransaction;WriteIIS7ConfigChanges;WriteMetabaseChanges
Property(S): MsiLogFileLocation = C:\Users\ContainerAdministrator\AppData\Local\Temp\setup.wix.msi.c.log
Property(S): PackageCode = {A6E64847-A9A8-42D7-9BA7-D12D5421C152}
Property(S): ProductState = -1
Property(S): PackagecodeChanging = 1
Property(S): ADDLOCAL = WebClient
Property(S): CREDENTIALTYPE = Windows
Property(S): RUNDEMOSITE = true
Property(S): WEBHELPSERVER = 9DB3B09697F2
Property(S): WEBHELPPORT = 49000
Property(S): ARPSYSTEMCOMPONENT = 1
Property(S): REBOOT = ReallySuppress
Property(S): CURRENTDIRECTORY = C:\install\content
Property(S): CLIENTUILEVEL = 3
Property(S): MSICLIENTUSESEXTERNALUI = 1
Property(S): CLIENTPROCESSID = 13764
Property(S): VersionDatabase = 200
Property(S): VersionMsi = 5.00
Property(S): VersionNT = 603
Property(S): ACTION = INSTALL
Property(S): VersionNT64 = 603
Property(S): WindowsBuild = 9600
Property(S): ServicePackLevel = 0
Property(S): ServicePackLevelMinor = 0
Property(S): MsiNTProductType = 3
Property(S): MsiNTSuiteDataCenter = 1
Property(S): WindowsFolder = C:\Windows\
Property(S): WindowsVolume = C:\
Property(S): System64Folder = C:\Windows\system32\
Property(S): SystemFolder = C:\Windows\SysWOW64\
Property(S): RemoteAdminTS = 1
Property(S): TempFolder = C:\Users\ContainerAdministrator\AppData\Local\Temp\
Property(S): CommonFilesFolder = C:\Program Files (x86)\Common Files\
Property(S): ProgramFiles64Folder = C:\Program Files\
Property(S): CommonFiles64Folder = C:\Program Files\Common Files\
Property(S): AppDataFolder = C:\Users\ContainerAdministrator\AppData\Roaming\
Property(S): FavoritesFolder = C:\Users\ContainerAdministrator\Favorites\
Property(S): NetHoodFolder = C:\Users\ContainerAdministrator\AppData\Roaming\Microsoft\Windows\Network Shortcuts\
Property(S): PersonalFolder = C:\Users\ContainerAdministrator\Documents\
Property(S): PrintHoodFolder = C:\Users\ContainerAdministrator\AppData\Roaming\Microsoft\Windows\Printer Shortcuts\
Property(S): RecentFolder = C:\Users\ContainerAdministrator\AppData\Roaming\Microsoft\Windows\Recent\
Property(S): SendToFolder = C:\Users\ContainerAdministrator\AppData\Roaming\Microsoft\Windows\SendTo\
Property(S): TemplateFolder = C:\Users\ContainerAdministrator\AppData\Roaming\Microsoft\Windows\Templates\
Property(S): LocalAppDataFolder = C:\Users\ContainerAdministrator\AppData\Local\
Property(S): MyPicturesFolder = C:\Users\ContainerAdministrator\Pictures\
Property(S): AdminToolsFolder = C:\Users\ContainerAdministrator\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Administrative Tools\
Property(S): StartupFolder = C:\Users\ContainerAdministrator\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup\
Property(S): StartMenuFolder = C:\Users\ContainerAdministrator\AppData\Roaming\Microsoft\Windows\Start Menu\
Property(S): DesktopFolder = C:\Users\ContainerAdministrator\Desktop\
Property(S): FontsFolder = C:\Windows\Fonts\
Property(S): GPTSupport = 1
Property(S): OLEAdvtSupport = 1
Property(S): ShellAdvtSupport = 1
Property(S): MsiAMD64 = 6
Property(S): Msix64 = 6
Property(S): Intel = 6
Property(S): PhysicalMemory = 6144
Property(S): AdminUser = 1
Property(S): MsiTrueAdminUser = 1
Property(S): LogonUser = ContainerAdministrator
Property(S): UserSID = S-1-5-93-2-1
Property(S): UserLanguageID = 1033
Property(S): ComputerName = 9DB3B09697F2
Property(S): SystemLanguageID = 3082
Property(S): ScreenX = 1024
Property(S): ScreenY = 768
Property(S): CaptionHeight = 23
Property(S): BorderTop = 1
Property(S): BorderSide = 1
Property(S): TextHeight = 16
Property(S): TextInternalLeading = 3
Property(S): ColorBits = 32
Property(S): TTCSupport = 1
Property(S): Time = 0:54:06
Property(S): Date = 6/14/2017
Property(S): MsiNetAssemblySupport = 4.6.1586.0
Property(S): MsiWin32AssemblySupport = 10.0.14393.0
Property(S): RedirectedDllSupport = 2
Property(S): MsiRunningElevated = 1
Property(S): Privileged = 1
Property(S): DATABASE = C:\Windows\Installer\a80b9096.msi
Property(S): OriginalDatabase = C:\install\content\DynamicsNavDvd\WebClient\Microsoft Dynamics NAV Web Client.msi
Property(S): UILevel = 2
Property(S): Preselected = 1
Property(S): ROOTDRIVE = C:\
Property(S): CostingComplete = 1
Property(S): OutOfDiskSpace = 0
Property(S): OutOfNoRbDiskSpace = 0
Property(S): PrimaryVolumeSpaceAvailable = 0
Property(S): PrimaryVolumeSpaceRequired = 0
Property(S): PrimaryVolumeSpaceRemaining = 0
Property(S): INSTALLLEVEL = 1
Property(S): SOURCEDIR = C:\install\content\DynamicsNavDvd\WebClient\
Property(S): SourcedirProduct = {00000000-0000-9000-0000-0100F5DFFF46}
Property(S): ProductToBeRegistered = 1
MSI (s) (EC:84) [00:54:06:468]: Product: Microsoft Dynamics NAV 2016 Web Client -- Installation failed.

MSI (s) (EC:84) [00:54:06:469]: Windows Installer installed the product. Product Name: Microsoft Dynamics NAV 2016 Web Client. Product Version: 9.0.46290.0. Product Language: 1033. Manufacturer: Microsoft Corporation. Installation success or error status: 1603.

The container builds, but I'm unable to connect with the RTC

I'm able to run _compose.up.nav-build.bat successfully, and I get the two ip-addresses. However, I'm unable to connect with the RTC.

I get this error message:

nav_docker_1

I've added the log below. Any ideas?

PS C:\temp\dockerfiles-dynamics-nav\root\nav-sql-compose> docker logs navsqlcompose_nav_1

Welcome to the Server Admin Tool Shell!
For a complete list of Server cmdlets type

Get-Command -Module Microsoft.Dynamics.Nav.Management, Microsoft.Dynamics.Nav.Apps.Management


CommandType     Name                                               Version    S
                                                                              o
                                                                              u
                                                                              r
                                                                              c
                                                                              e
-----------     ----                                               -------    -
Cmdlet          Copy-NAVCompany                                    10.0.16... M
Cmdlet          Copy-NAVTenantData                                 10.0.16... M
Cmdlet          Dismount-NAVTenant                                 10.0.16... M
Cmdlet          Dismount-NAVTenantDatabase                         10.0.16... M
Cmdlet          Export-NAVApplication                              10.0.16... M
Cmdlet          Export-NAVData                                     10.0.16... M
Cmdlet          Export-NAVEncryptionKey                            10.0.16... M
Cmdlet          Export-NAVServerLicenseInformation                 10.0.16... M
Cmdlet          Get-NAVAddIn                                       10.0.16... M
Cmdlet          Get-NAVAppInfo                                     10.0.16... M
Cmdlet          Get-NAVApplication                                 10.0.16... M
Cmdlet          Get-NAVAppTableModification                        10.0.16... M
Cmdlet          Get-NAVAppTenant                                   10.0.16... M
Cmdlet          Get-NAVCompany                                     10.0.16... M
Cmdlet          Get-NAVDataFile                                    10.0.16... M
Cmdlet          Get-NAVDataUpgrade                                 10.0.16... M
Cmdlet          Get-NAVServerAppConfiguration                      10.0.16... M
Cmdlet          Get-NAVServerConfiguration                         10.0.16... M
Cmdlet          Get-NAVServerInstance                              10.0.16... M
Cmdlet          Get-NAVServerPermission                            10.0.16... M
Cmdlet          Get-NAVServerPermissionSet                         10.0.16... M
Cmdlet          Get-NAVServerSession                               10.0.16... M
Cmdlet          Get-NAVServerUser                                  10.0.16... M
Cmdlet          Get-NAVServerUserPermissionSet                     10.0.16... M
Cmdlet          Get-NAVTableConnection                             10.0.16... M
Cmdlet          Get-NAVTableSynchSetupForDataUpgrade               10.0.16... M
Cmdlet          Get-NAVTenant                                      10.0.16... M
Cmdlet          Get-NAVTenantDatabase                              10.0.16... M
Cmdlet          Get-NAVWebServerInstance                           10.0.16... M
Cmdlet          Get-NAVWebService                                  10.0.16... M
Cmdlet          Import-NAVConfigurationPackageFile                 10.0.16... M
Cmdlet          Import-NAVData                                     10.0.16... M
Cmdlet          Import-NAVEncryptionKey                            10.0.16... M
Cmdlet          Import-NAVMembershipEntitlement                    10.0.16... M
Cmdlet          Import-NAVServerLicense                            10.0.16... M
Cmdlet          Install-NAVApp                                     10.0.16... M
Cmdlet          Invoke-NAVCodeunit                                 10.0.16... M
Cmdlet          Mount-NAVApplication                               10.0.16... M
Cmdlet          Mount-NAVTenant                                    10.0.16... M
Cmdlet          Mount-NAVTenantDatabase                            10.0.16... M
Cmdlet          New-NAVAddIn                                       10.0.16... M
Cmdlet          New-NAVCompany                                     10.0.16... M
Cmdlet          New-NAVDatabase                                    10.0.16... M
Cmdlet          New-NAVEncryptionKey                               10.0.16... M
Cmdlet          New-NAVServerAppConfiguration                      10.0.16... M
Cmdlet          New-NAVServerConfiguration                         10.0.16... M
Cmdlet          New-NAVServerInstance                              10.0.16... M
Cmdlet          New-NAVServerPermission                            10.0.16... M
Cmdlet          New-NAVServerPermissionSet                         10.0.16... M
Cmdlet          New-NAVServerUser                                  10.0.16... M
Cmdlet          New-NAVServerUserPermissionSet                     10.0.16... M
Cmdlet          New-NAVTableConnection                             10.0.16... M
Cmdlet          New-NAVTenant                                      10.0.16... M
Cmdlet          New-NAVWebServerInstance                           10.0.16... M
Cmdlet          New-NAVWebService                                  10.0.16... M
Cmdlet          Publish-NAVApp                                     10.0.16... M
Cmdlet          Register-NAVTenant                                 10.0.16... M
Cmdlet          Remove-NAVAddIn                                    10.0.16... M
Cmdlet          Remove-NAVApplication                              10.0.16... M
Cmdlet          Remove-NAVAppsForTenant                            10.0.16... M
Cmdlet          Remove-NAVCompany                                  10.0.16... M
Cmdlet          Remove-NAVConfigurationPackageFile                 10.0.16... M
Cmdlet          Remove-NAVServerInstance                           10.0.16... M
Cmdlet          Remove-NAVServerPermission                         10.0.16... M
Cmdlet          Remove-NAVServerPermissionSet                      10.0.16... M
Cmdlet          Remove-NAVServerSession                            10.0.16... M
Cmdlet          Remove-NAVServerUser                               10.0.16... M
Cmdlet          Remove-NAVServerUserPermissionSet                  10.0.16... M
Cmdlet          Remove-NAVTableConnection                          10.0.16... M
Cmdlet          Remove-NAVWebServerInstance                        10.0.16... M
Cmdlet          Remove-NAVWebService                               10.0.16... M
Cmdlet          Rename-NAVCompany                                  10.0.16... M
Cmdlet          Repair-NAVApp                                      10.0.16... M
Cmdlet          Resume-NAVDataUpgrade                              10.0.16... M
Cmdlet          Set-NAVAddIn                                       10.0.16... M
Cmdlet          Set-NAVApplication                                 10.0.16... M
Cmdlet          Set-NAVServerAppConfiguration                      10.0.16... M
Cmdlet          Set-NAVServerConfiguration                         10.0.16... M
Cmdlet          Set-NAVServerInstance                              10.0.16... M
Cmdlet          Set-NAVServerPermission                            10.0.16... M
Cmdlet          Set-NAVServerPermissionSet                         10.0.16... M
Cmdlet          Set-NAVServerUser                                  10.0.16... M
Cmdlet          Set-NAVTenant                                      10.0.16... M
Cmdlet          Set-NAVWebServerInstanceConfiguration              10.0.16... M
Cmdlet          Start-NAVDataUpgrade                               10.0.16... M
Cmdlet          Stop-NAVDataUpgrade                                10.0.16... M
Cmdlet          Sync-NAVTenant                                     10.0.16... M
Cmdlet          Sync-NAVTenantDatabase                             10.0.16... M
Cmdlet          Uninstall-NAVApp                                   10.0.16... M
Cmdlet          Unpublish-NAVApp                                   10.0.16... M
Cmdlet          Update-NAVScheduledTaskList                        10.0.16... M
VERBOSE: WriteObjectServerCommand.InternalProcessRecord
VERBOSE: Adding new instance
VERBOSE: Performing the operation "New-NAVServerInstance" on target
"ServerInstance = MicrosoftDynamicsNavServer$NAVSERVICE, DatabaseServer = sql,
DatabaseInstance = , DatabaseName = NAVDB".
VERBOSE: Creating Instance directory C:\Program Files\Microsoft Dynamics
NAV\100\Service\Instances\NAVSERVICE
VERBOSE: Installing Server Instance MicrosoftDynamicsNavServer$NAVSERVICE
VERBOSE: Setting service parameter: 'DatabaseServer' to value: 'sql'
VERBOSE: Setting service parameter: 'DatabaseName' to value: 'NAVDB'
VERBOSE: Setting service parameter: 'ClientServicesCredentialType' to value:
'NavUserPassword'
VERBOSE: Setting service parameter: 'ManagementServicesPort' to value: '7045'
VERBOSE: Setting service parameter: 'ClientServicesPort' to value: '7046'
VERBOSE: Setting service parameter: 'SOAPServicesPort' to value: '7047'
VERBOSE: Setting service parameter: 'ODataServicesPort' to value: '7048'
VERBOSE: Adding UrlAcl Rule for Server Instance
MicrosoftDynamicsNavServer$NAVSERVICE and port 7048 and protocol http
VERBOSE: Adding UrlAcl Rule for Server Instance
MicrosoftDynamicsNavServer$NAVSERVICE and port 7047 and protocol http
VERBOSE: Removing UrlAcl Rule for Server Instance
MicrosoftDynamicsNavServer$NAVSERVICE and port 7049 and protocol http
VERBOSE: Removing Windows Firewall Rule for ServerInstance
MicrosoftDynamicsNavServer$NAVSERVICE
WARNING: Running the command 'advfirewall firewall add rule
name="MicrosoftDynamicsNavServer$NAVSERVICE" dir=in action=allow
localport="7048" protocol=tcp localip=any remoteip=any profile=any enable=yes'
failed. Output message: 'An error occurred while attempting to contact the
Windows Firewall service. Make sure that the service is running and try your
request again.
'. Error message: ''. Process exit code: '1'.
VERBOSE: AppSettings Key:DatabaseServer now has Value:sql
WARNING: The new settings value will not take effect until you stop and restart
 the service.
VERBOSE: AppSettings Key:DatabaseName now has Value:NAVDB
WARNING: The new settings value will not take effect until you stop and restart
 the service.
VERBOSE: Performing the operation "New-NAVEncryptionKey" on target "KeyPath =
c:\install\content\nav.key".
VERBOSE: WriteObjectNonServerCommand.InternalWriteObject(object)
c:\install\content\nav.key
VERBOSE: Performing the operation "Import-NAVEncryptionKey" on target
"ServerInstance = MicrosoftDynamicsNavServer$NAVSERVICE, KeyPath =
c:\install\content\nav.key".

Syncing table changes doesn't work

Syncing table changes from C/SIDE doesn't work. Repro is easy: Just make a table change and try to sync. This will result in an error as follows:

_Unable to process table changes because the Microsoft Dynamics NAV Development Environment cannot connect to the specified Microsoft Dynamics NAV Server instance:

Server Name: 362d57b02604
Server Instance: navservice
Management Port: 7045

Microsoft Dynamics NAV Development Environment will detect a running server automatically.

Check that:

  1. The Microsoft Dynamics NAV Server is running
  2. The management service is configured
  3. The firewall is open for the management port if remote
  4. The server is running with only one tenant
  5. Microsoft Dynamics NAV Development Environment is running as Administrator, or
  6. UAC is turned off._

According to the Application log the Management Service should be up and running and a connection to the port through something along the lines of http://www.powershelladmin.com/wiki/Check_for_open_TCP_ports_using_PowerShell also does work, so the port should be accessible

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.