Hi all,
Recently I have faced an issue related to Server Instance Installation. During the execution of the script below, I receive the error: Object reference not set to an instance of an object. Machine restart and Business Central reinstallation did not help me. Can anyone recommend me possible solution for this issue?
Version: BC 17 On-Prem.
New-NAVServerInstance -ManagementServicesPort $ManagementPort `
-ServerInstance $ServerInstance `
-ClientServicesCredentialType $CredentialsType `
-ClientServicesPort $ClientPort `
-DatabaseServer $Server `
-DatabaseInstance $DatabaseInstance `
-DeveloperServicesPort $DeveloperPort `
-ODataServicesPort $ODataPort `
-SOAPServicesPort $SOAPPort `
-ServiceAccount User `
-ServiceAccountCredential $Credentials `
-DatabaseName $DatabaseName `