Options

NAV 2013R2 Web Server Components

joostbillietjoostbilliet Member Posts: 7
edited 2014-09-10 in NAV Three Tier
Hi,

I'm trying to install the NAV 2013 R2 Web Server components but keep running into fatal error during installation.
Server is a Virtual Server 2012 R2 with SQL 2012 and NAV 2013 R2 installed.
IIS version is 8.5 and all necessary features for iis are installed.

here is the detailed log of the installer.
Has anyone seen this before and has an idea how to solve this error?
thx in advance

=== Logging started: 9/09/2014  14:06:00 ===
Action start 14:06:00: INSTALL.
Action start 14:06:00: FindRelatedProducts.
Action ended 14:06:00: FindRelatedProducts. Return value 1.
Action start 14:06:00: AppSearch.
Action ended 14:06:00: AppSearch. Return value 1.
Action start 14:06:00: LaunchConditions.
Action ended 14:06:00: LaunchConditions. Return value 1.
Action start 14:06:00: ValidateProductID.
Action ended 14:06:00: ValidateProductID. Return value 1.
Action start 14:06:00: CostInitialize.
Action ended 14:06:00: CostInitialize. Return value 1.
Action start 14:06:00: FileCost.
Action ended 14:06:00: FileCost. Return value 1.
Action start 14:06:00: CostFinalize.
Action ended 14:06:00: CostFinalize. Return value 1.
Action start 14:06:00: InstallValidate.
Action ended 14:06:00: InstallValidate. Return value 1.
Action start 14:06:00: InstallInitialize.
Action ended 14:06:00: InstallInitialize. Return value 1.
Action start 14:06:00: ProcessComponents.
Action ended 14:06:00: ProcessComponents. Return value 1.
Action start 14:06:00: UnpublishFeatures.
Action ended 14:06:00: UnpublishFeatures. Return value 1.
Action start 14:06:00: StopServices.
Action ended 14:06:00: StopServices. Return value 1.
Action start 14:06:00: DeleteServices.
Action ended 14:06:00: DeleteServices. Return value 1.
Action start 14:06:00: RemoveRegistryValues.
Action ended 14:06:00: RemoveRegistryValues. Return value 1.
Action start 14:06:00: WixSchedFirewallExceptionsUninstall.
SchedFirewallExceptions:  Component 'NAVFirewallException' action state (1) doesn't match request (2)
SchedFirewallExceptions:  No firewall exceptions scheduled
Action ended 14:06:00: WixSchedFirewallExceptionsUninstall. Return value 1.
Action start 14:06:00: RemoveFiles.
Action ended 14:06:00: RemoveFiles. Return value 1.
Action start 14:06:00: WixSchedInternetShortcuts.
WixSchedInternetShortcuts:  Adding folder 'ProgramMenuFolder', component 'WebsiteShortcut' to the CreateFolder table
Action ended 14:06:00: WixSchedInternetShortcuts. Return value 1.
Action start 14:06:00: RemoveFolders.
Action ended 14:06:00: RemoveFolders. Return value 1.
Action start 14:06:00: CreateFolders.
Action ended 14:06:00: CreateFolders. Return value 1.
Action start 14:06:00: InstallFiles.
Action ended 14:06:00: InstallFiles. Return value 1.
Action start 14:06:00: WixSchedFirewallExceptionsInstall.
SchedFirewallExceptions:  Scheduling firewall exception (1€Microsoft Dynamics NAV 2013 R2 Web Client€2147483647€*€0€1€8080€6€)
Action start 14:06:00: WixRollbackFirewallExceptionsInstall.
Action ended 14:06:00: WixRollbackFirewallExceptionsInstall. Return value 1.
Action start 14:06:00: WixExecFirewallExceptionsInstall.
Action ended 14:06:00: WixExecFirewallExceptionsInstall. Return value 1.
Action ended 14:06:00: WixSchedFirewallExceptionsInstall. Return value 1.
Action start 14:06:00: DuplicateFiles.
Action ended 14:06:00: DuplicateFiles. Return value 1.
Action start 14:06:00: SchedXmlConfig.
Action ended 14:06:01: SchedXmlConfig. Return value 1.
Action start 14:06:01: SchedXmlFile.
Action start 14:06:01: ExecXmlFile.
Action ended 14:06:01: ExecXmlFile. Return value 1.
Action ended 14:06:01: SchedXmlFile. Return value 1.
Action start 14:06:01: CreateShortcuts.
Action ended 14:06:01: CreateShortcuts. Return value 0.
Action start 14:06:01: WixRollbackInternetShortcuts.
Action ended 14:06:01: WixRollbackInternetShortcuts. Return value 1.
Action start 14:06:01: WixCreateInternetShortcuts.
Action ended 14:06:01: WixCreateInternetShortcuts. Return value 1.
Action start 14:06:01: WriteRegistryValues.
Action ended 14:06:01: WriteRegistryValues. Return value 1.
Action start 14:06:01: StartServices.
Action ended 14:06:01: StartServices. Return value 1.
Action start 14:06:01: ConfigureIIs.
Action start 14:06:01: StartIIS7ConfigTransaction.
Action ended 14:06:01: StartIIS7ConfigTransaction. Return value 1.
Action start 14:06:01: RollbackIIS7ConfigTransaction.
Action ended 14:06:01: RollbackIIS7ConfigTransaction. Return value 1.
Action start 14:06:01: CommitIIS7ConfigTransaction.
Action ended 14:06:01: CommitIIS7ConfigTransaction. Return value 1.
Action start 14:06:01: ConfigureIIs7Exec.
Action ended 14:06:01: ConfigureIIs7Exec. Return value 1.
Action start 14:06:01: WriteIIS7ConfigChanges.
Action ended 14:06:01: WriteIIS7ConfigChanges. Return value 1.
Action ended 14:06:01: ConfigureIIs. Return value 1.
Action start 14:06:01: RegisterUser.
Action ended 14:06:01: RegisterUser. Return value 1.
Action start 14:06:01: RegisterProduct.
Action ended 14:06:01: RegisterProduct. Return value 1.
Action start 14:06:01: PublishFeatures.
Action ended 14:06:01: PublishFeatures. Return value 1.
Action start 14:06:01: PublishProduct.
Action ended 14:06:01: PublishProduct. Return value 1.
Action start 14:06:01: SetCreateWebApplicationCmd.
Action ended 14:06:01: SetCreateWebApplicationCmd. Return value 1.
Action start 14:06:01: CreateWebApplication.
Action ended 14:06:01: CreateWebApplication. Return value 1.
Action start 14:06:01: ConfigureAppPool.
Action ended 14:06:01: ConfigureAppPool. Return value 1.
Action start 14:06:01: SetExtractedResourcesPermissions.
Action ended 14:06:01: SetExtractedResourcesPermissions. Return value 1.
Action start 14:06:01: InstallFinalize.
ExecFirewallExceptions:  Installing firewall exception2 Microsoft Dynamics NAV 2013 R2 Web Client on port 8080, protocol 6
WixCreateInternetShortcuts:  Creating IUniformResourceLocatorW shortcut 'C:\Users\sphinx\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Microsoft Dynamics NAV 2013 R2 Web Client.url' target 'http://localhost:8080/DynamicsNAV71/WebClient'
CAQuietExec64:  New-NavWebServerInstance : A Microsoft Dynamics NAV Web Server Instance already exists.
CAQuietExec64:  At C:\Program Files\Microsoft Dynamics NAV\71\Web Client\Bin\WebServerInstance.ps1:45 char:1
CAQuietExec64:  + New-NavWebServerInstance @arguments
CAQuietExec64:  + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
CAQuietExec64:      + CategoryInfo          : NotSpecified: (0:Int32) , NavCommandException
CAQuietExec64:      + FullyQualifiedErrorId : DynamicsNAV71,Microsoft.Dynamics.Nav.Management.Cmdlets.NewNavWebServerInstance
CAQuietExec64:   
CAQuietExec64:  Error 0x80070001: Command line returned an error.
CAQuietExec64:  Error 0x80070001: CAQuietExec64 Failed
CustomAction CreateWebApplication returned actual error code 1603 (note this may not be 100% accurate if translation happened inside sandbox)
Action ended 14:06:05: InstallFinalize. Return value 3.
ExecFirewallExceptions:  Uninstalling firewall exception2 Microsoft Dynamics NAV 2013 R2 Web Client on port 8080, protocol 6
Action ended 14:06:06: INSTALL. Return value 3.
Property(S): VirtualMemory = 32529
Property(S): DiskPrompt = [1]
Property(S): UpgradeCode = {00000000-0000-7100-0000-5086251F15D4}
Property(S): ConfigureIIs7Exec = **********
Property(S): StartIIS7ConfigTransaction = **********
Property(S): RollbackIIS7ConfigTransaction = **********
Property(S): CommitIIS7ConfigTransaction = **********
Property(S): WriteIIS7ConfigChanges = **********
Property(S): WixRollbackFirewallExceptionsInstall = 1€Microsoft Dynamics NAV 2013 R2 Web Client€2147483647€*€0€1€8080€6€
Property(S): WixExecFirewallExceptionsInstall = 1€Microsoft Dynamics NAV 2013 R2 Web Client€2147483647€*€0€1€8080€6€
Property(S): WEBSITEDIR = C:\inetpub\wwwroot\
Property(S): NAV_POWERSHELL_INSTALLED = 4.0
Property(S): APPLICATION_HOST_HELPER_SERVICE_PRESENT = C:\Windows\system32\svchost.exe -k apphost
Property(S): POWERSHELLEXE = C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
Property(S): NETFRAMEWORK40FULLINSTALLROOTDIR64 = C:\Windows\Microsoft.NET\Framework64\v4.0.30319\
Property(S): ExtractedResources = C:\Program Files\Microsoft Dynamics NAV\71\Web Client\Resources\ExtractedResources\
Property(S): INSTALLDIR = C:\Program Files\Microsoft Dynamics NAV\71\Web Client\
Property(S): TARGETDIR = E:\
Property(S): ProgramMenuFolder = C:\Users\sphinx\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\
Property(S): NAVWebApplicationContainer = C:\inetpub\wwwroot\NAVWebApplicationContainer\
Property(S): bin = C:\Program Files\Microsoft Dynamics NAV\71\Web Client\bin\
Property(S): Services = C:\Program Files\Microsoft Dynamics NAV\71\Web Client\Services\
Property(S): Resources = C:\Program Files\Microsoft Dynamics NAV\71\Web Client\Resources\
Property(S): dirC56F8B939ECBB473DAE92C433A86A982 = C:\Program Files\Microsoft Dynamics NAV\71\Web Client\Resources\ExtractedResources\
Property(S): dirA9651BFC3DC3E06DB7C6032F292878C2 = C:\Program Files\Microsoft Dynamics NAV\71\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\71\Web Client\Bin\WebServerInstance.ps1' 'C:\Program Files\Microsoft Dynamics NAV\71\Web Client\Bin' 'Windows' 'localhost' 'DynamicsNAV71' '7046' '' ''; exit $Error.Count"
Property(S): WixRollbackInternetShortcuts = C:\Users\sphinx\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Microsoft Dynamics NAV 2013 R2 Web Client.url€http://localhost:8080/DynamicsNAV71/WebClient€1
Property(S): WixCreateInternetShortcuts = C:\Users\sphinx\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Microsoft Dynamics NAV 2013 R2 Web Client.url€http://localhost:8080/DynamicsNAV71/WebClient€1
Property(S): ExecXmlFile = 2€0€C:\Program Files\Microsoft Dynamics NAV\71\Web Client\web.config€3€0€//configuration/system.web/authentication[@mode='Windows']€€€2€0€C:\Program Files\Microsoft Dynamics NAV\71\Web 
Client\instanceweb.config€3€0€//configuration/DynamicsNAVSettings/add[@key='ServerInstance']/@value€€DynamicsNAV71€3€0€//configuration/DynamicsNAVSettings/add[@key=
'ClientServicesPort']/@value€€7046€3€0€//configuration/DynamicsNAVSettings/add[@key='Server']/@value€€localhost€3€0€//configuration/DynamicsNAVSettings/add[@key='Unknow
nSpnHint']/@value€€(net.tcp://localhost:7046/DynamicsNAV71/Service)=NoSpn€3€0€//configuration/DynamicsNAVSettings/add[@key='DnsIdentity']/@value€€€3€0€//configuration/D
ynamicsNAVSettings/add[@key='ClientServicesCredentialType']/@value€€Windows€3€0€//configuration/DynamicsNAVSettings/add[@key='ACSUri']/@value€€€3€0€//configuration/Dyn
amicsNAVSettings/add[@key='HelpServer']/@value€€NAVISION€2€0€C:\Program Files\Microsoft Dynamics NAV\71\Web 
Client\instanceweb.config€3€0€//configuration/DynamicsNAVSettings/add[@key='HelpServerPort']/@value€€49000
Property(S): Client = C:\Program Files (x86)\Microsoft Dynamics NAV\71\Web Client\
Property(S): ProgramNavVersionFolder = C:\Program Files (x86)\Microsoft Dynamics NAV\71\
Property(S): Microsoft_Dynamics_NAV = C:\Program Files (x86)\Microsoft Dynamics NAV\
Property(S): ProgramFilesFolder = C:\Program Files (x86)\
Property(S): wwwroot = E:\Inetpub\wwwroot\
Property(S): Inetpub = E:\Inetpub\
Property(S): SourceDir = E:\navinstall\WebClient\
Property(S): VersionNT = 603
Property(S): DISABLEADVTSHORTCUTS = 1
Property(S): PORT = 8080
Property(S): SERVERINSTANCE = DynamicsNAV71
Property(S): NAVSERVER = localhost
Property(S): SERVICEPORT = 7046
Property(S): WEB_CLIENT_WEBSITE_NAME = Microsoft Dynamics NAV 2013 R2 Web Client
Property(S): WEB_CLIENT_APPPOOL_NAME = Microsoft Dynamics NAV 2013 R2 Web Client Application Pool
Property(S): FIREWALLEXCEPTION = true
Property(S): NAV_POWERSHELL_MESSAGE = Microsoft Dynamics NAV 2013 R2 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 2013 R2 Setup. For more information, see http://go.microsoft.com/fwlink/?LinkId=317819.
Property(S): Manufacturer = Microsoft Corporation
Property(S): ProductCode = {00000000-0000-7100-0000-0100F5DFFF46}
Property(S): ProductLanguage = 1033
Property(S): ProductName = Microsoft Dynamics NAV 2013 R2 Web Client
Property(S): ProductVersion = 7.1.36366.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\sphinx\AppData\Local\Temp\setup.wix.msi.30.log
Property(S): PackageCode = {9D7BBD59-5312-454F-AF01-890343C534C3}
Property(S): ProductState = -1
Property(S): PackagecodeChanging = 1
Property(S): ADDLOCAL = WebClient
Property(S): CREDENTIALTYPE = Windows
Property(S): RUNDEMOSITE = true
Property(S): WEBHELPSERVER = NAVISION
Property(S): WEBHELPPORT = 49000
Property(S): ARPSYSTEMCOMPONENT = 1
Property(S): REBOOT = ReallySuppress
Property(S): CURRENTDIRECTORY = E:\navinstall
Property(S): CLIENTUILEVEL = 3
Property(S): MSICLIENTUSESEXTERNALUI = 1
Property(S): CLIENTPROCESSID = 5080
Property(S): VersionDatabase = 200
Property(S): VersionMsi = 5.00
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): 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\sphinx\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\sphinx\AppData\Roaming\
Property(S): FavoritesFolder = C:\Users\sphinx\Favorites\
Property(S): NetHoodFolder = C:\Users\sphinx\AppData\Roaming\Microsoft\Windows\Network Shortcuts\
Property(S): PersonalFolder = C:\Users\sphinx\Documents\
Property(S): PrintHoodFolder = C:\Users\sphinx\AppData\Roaming\Microsoft\Windows\Printer Shortcuts\
Property(S): RecentFolder = C:\Users\sphinx\AppData\Roaming\Microsoft\Windows\Recent\
Property(S): SendToFolder = C:\Users\sphinx\AppData\Roaming\Microsoft\Windows\SendTo\
Property(S): TemplateFolder = C:\Users\sphinx\AppData\Roaming\Microsoft\Windows\Templates\
Property(S): CommonAppDataFolder = C:\ProgramData\
Property(S): LocalAppDataFolder = C:\Users\sphinx\AppData\Local\
Property(S): MyPicturesFolder = C:\Users\sphinx\Pictures\
Property(S): AdminToolsFolder = C:\Users\sphinx\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Administrative Tools\
Property(S): StartupFolder = C:\Users\sphinx\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup\
Property(S): StartMenuFolder = C:\Users\sphinx\AppData\Roaming\Microsoft\Windows\Start Menu\
Property(S): DesktopFolder = C:\Users\sphinx\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 = 30720
Property(S): AdminUser = 1
Property(S): MsiTrueAdminUser = 1
Property(S): LogonUser = sphinx
Property(S): UserSID = S-1-5-21-1064892327-4110194182-3705853443-1129
Property(S): UserLanguageID = 2067
Property(S): ComputerName = NAVISION
Property(S): SystemLanguageID = 2067
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 = 14:06:06
Property(S): Date = 9/09/2014
Property(S): MsiNetAssemblySupport = 4.0.30319.33440
Property(S): MsiWin32AssemblySupport = 6.3.9600.16384
Property(S): RedirectedDllSupport = 2
Property(S): MsiRunningElevated = 1
Property(S): Privileged = 1
Property(S): USERNAME = Windows User
Property(S): DATABASE = C:\Windows\Installer\7669a.msi
Property(S): OriginalDatabase = E:\navinstall\WebClient\Microsoft Dynamics NAV Web Client.msi
Property(S): UILevel = 2
Property(S): MsiUISourceResOnly = 1
Property(S): Preselected = 1
Property(S): ROOTDRIVE = E:\
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 = E:\navinstall\WebClient\
Property(S): SourcedirProduct = {00000000-0000-7100-0000-0100F5DFFF46}
Property(S): ProductToBeRegistered = 1
MSI (s) (60:C0) [14:06:06:517]: Product: Microsoft Dynamics NAV 2013 R2 Web Client -- Installation failed.

MSI (s) (60:C0) [14:06:06:518]: Windows Installer installed the product. Product Name: Microsoft Dynamics NAV 2013 R2 Web Client. Product Version: 7.1.36366.0. Product Language: 1033. Manufacturer: Microsoft Corporation. Installation success or error status: 1603.

=== Logging stopped: 9/09/2014  14:06:06 ===

Comments

  • Options
    pjotresztickpjotresztick Member Posts: 8
    Hi joostballiet,

    It seems like Windows Powershell 3.0 is not installed.
  • Options
    joostbillietjoostbilliet Member Posts: 7
    Pjotr,

    NAV itself installed without a problem, so if it was powershell NAV wouldn't install as well.
    Server 2012 R2 has powershell 4.0 installed so that can't be the issue

    Joost
  • Options
    vremeni4vremeni4 Member Posts: 323
    Hi,

    If you read the error log it says clearly
    CAQuietExec64: New-NavWebServerInstance : A Microsoft Dynamics NAV Web Server Instance already exists.
    and after that
    Property(S): NAV_POWERSHELL_MESSAGE = Microsoft Dynamics NAV 2013 R2 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 2013 R2 Setup. For more information, see http://go.microsoft.com/fwlink/?LinkId=317819.

    I had to install NAV 2013 R2 on Windows Server 2012 R2, and you do need to install powesrhell 3 and .NET 3.5 and 2.0.
    Otherwise the instillation will not work. Also Windows Search Service will need to be activated.
    I know that Microsoft in the installation guide says that only .NET4 is needed but it is not true.

    I hope this helps.
    Thanks.
Sign In or Register to comment.