Create New Server Instance and New Web Instance in BC On Prem 27

julkifli33
julkifli33 Member Posts: 1,094

Hi All..

I want to create 2 Server Instances and 2 Web Server Instances pointing to the same database.

some using windows, some using navuserpassword.

1st Windows was created from installation

so i need to create 1 more for navuserpassword.

created successfully… and already used cert thumbprint using self signed certificate.

but it seems always failed because "You do not have access to Dynamics 365 Business Central. Verify that you have been set up as a valid user in Dynamics 365 Business Central."

even though i have created the user (for navuserpassword)

image.png

here is my syntax

New-NAVServerInstance -ServerInstance BC270-SHS-NUP -ClientServicesCredentialType NavUserPassword -DatabaseName "BC270-SHS" -DatabaseServer NAVSVR3 -ManagementServicesPort 7045 -ClientServicesPort 7085 -DeveloperServicesPort 7049 -ODataServicesPort 7048 -SOAPServicesPort 7047

Set-NAVServerConfiguration -ServerInstance BC270-SHS-NUP -KeyName ClientServicesCredentialType -keyValue NavUserPassword
Set-NAVServerConfiguration -ServerInstance BC270-SHS-NUP -KeyName ServicesCertificateThumbprint -KeyValue C918EB6EA2E8153A4D5346DEC10301756D7XXXXX

Restart-NAVServerInstance -ServerInstance BC270-SHS-NUP

New-NAVWebServerInstance -WebServerInstance BC270-SHS-NUP -Server NAVSVR3 -ServerInstance BC270-SHS-NUP

Please advise. what did i miss?

Comments

  • JJMc
    JJMc Member Posts: 64

    Try with this page:

    BC Helper


    Very useful

  • julkifli33
    julkifli33 Member Posts: 1,094

    Thanks, i tried create new instance (windows) as well.

    image.png

    Syntax:

    image.png

    Result :

    image.png