{"id":3670,"date":"2021-08-18T15:15:15","date_gmt":"2021-08-18T14:15:15","guid":{"rendered":"https:\/\/ricardomoinhos.com\/?p=3670"},"modified":"2022-08-30T11:07:55","modified_gmt":"2022-08-30T10:07:55","slug":"managing-nav-bc-server-instances-with-servicetieradministrator","status":"publish","type":"post","link":"https:\/\/ricardomoinhos.com\/pt\/managing-nav-bc-server-instances-with-servicetieradministrator\/","title":{"rendered":"Managing NAV\/BC Server Instances with ServiceTierAdministrator"},"content":{"rendered":"<p>A few weeks ago I received an invitation on LinkedIn from a D365 Consultant from Nigeria. He wanted to thank me for blogging about the post on my blog explaining how to use different NAV\/BC cumulative updates in the same machine.<\/p>\n<p><a href=\"https:\/\/ricardomoinhos.com\/pt\/using-nav-bc-different-cumulative-update-versions-in-the-same-machine\/\">Using NAV\/BC different Cumulative Update versions in the same machine &#8211; Ricardo Paiva Moinhos (ricardomoinhos.com)<\/a><\/p>\n<p>Later he ask me to blog about ServiceTierAdministrator.<\/p>\n<p>ServiceTierAdminstrator is a great tool that allows you to manage multiple NAV\/BC instances\/versions but the interface can be clumsy and not easy to understand how to setup new instances.<\/p>\n<p>So I&#8217;m writing this article to give you a better overview on how use the app to have multiple NAV\/BC instances.<\/p>\n<h2><span style=\"font-weight: bold;\">Scenario 1 &#8211; I already have a service up and running and I want to create a new instance for that service to connect to a different database<\/span><\/h2>\n<p>I already have a service instance for BC 14 Cumulative Update 4 called bc-w1-14-update-4 and I want to create a new service instance to connect to a different database.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"1290\" height=\"317\" class=\"size-full wp-image-3672 aligncenter\" src=\"https:\/\/ricardomoinhos.com\/wp-content\/uploads\/2021\/08\/img_611d0a52a16ad.png\" alt=\"\" srcset=\"https:\/\/ricardomoinhos.com\/wp-content\/uploads\/2021\/08\/img_611d0a52a16ad.png 1290w, https:\/\/ricardomoinhos.com\/wp-content\/uploads\/2021\/08\/img_611d0a52a16ad-300x74.png 300w, https:\/\/ricardomoinhos.com\/wp-content\/uploads\/2021\/08\/img_611d0a52a16ad-1024x252.png 1024w, https:\/\/ricardomoinhos.com\/wp-content\/uploads\/2021\/08\/img_611d0a52a16ad-768x189.png 768w\" sizes=\"auto, (max-width: 1290px) 100vw, 1290px\" \/><\/p>\n<p>You just need to select an existing service (I&#8217;ve selected the bc-w1-14-update-4 service), click on <span style=\"font-weight: bold;\">Create Service Instance<\/span>, name the new service instance and press OK.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"935\" height=\"509\" class=\"size-full wp-image-3677 aligncenter\" src=\"https:\/\/ricardomoinhos.com\/wp-content\/uploads\/2021\/08\/img_611d0a7035fce.png\" alt=\"\" srcset=\"https:\/\/ricardomoinhos.com\/wp-content\/uploads\/2021\/08\/img_611d0a7035fce.png 935w, https:\/\/ricardomoinhos.com\/wp-content\/uploads\/2021\/08\/img_611d0a7035fce-300x163.png 300w, https:\/\/ricardomoinhos.com\/wp-content\/uploads\/2021\/08\/img_611d0a7035fce-768x418.png 768w\" sizes=\"auto, (max-width: 935px) 100vw, 935px\" \/><\/p>\n<p><span style=\"text-decoration: underline;\">NOTE: Don&#8217;t tick the<\/span><span style=\"text-decoration: underline;\"> P<\/span><span style=\"text-decoration: underline;\">ortsharing<\/span><span style=\"text-decoration: underline;\"> for now. I&#8217;ll get explain it later how to use it.<\/span><\/p>\n<p>The new service instance is now created. Easy, right?<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"1038\" height=\"479\" class=\"size-full wp-image-3679 aligncenter\" src=\"https:\/\/ricardomoinhos.com\/wp-content\/uploads\/2021\/08\/img_611d0a708b805.png\" alt=\"\" srcset=\"https:\/\/ricardomoinhos.com\/wp-content\/uploads\/2021\/08\/img_611d0a708b805.png 1038w, https:\/\/ricardomoinhos.com\/wp-content\/uploads\/2021\/08\/img_611d0a708b805-300x138.png 300w, https:\/\/ricardomoinhos.com\/wp-content\/uploads\/2021\/08\/img_611d0a708b805-1024x473.png 1024w, https:\/\/ricardomoinhos.com\/wp-content\/uploads\/2021\/08\/img_611d0a708b805-768x354.png 768w\" sizes=\"auto, (max-width: 1038px) 100vw, 1038px\" \/><\/p>\n<p>Also note the <span style=\"font-weight: bold;\">Is Instance <\/span>column that helps you identifying if this is an instance of the service or if it is the main service.<\/p>\n<p>After creating the instance, you need to change some properties like the database name and the ports, if you&#8217;re not using port sharing and you want to have more than one service running simultaneously.<\/p>\n<p>You can do it on the side panel, after selecting the newly created service.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"720\" height=\"324\" class=\"size-full wp-image-3676 aligncenter\" src=\"https:\/\/ricardomoinhos.com\/wp-content\/uploads\/2021\/08\/img_611d0a6fa616c.png\" alt=\"\" srcset=\"https:\/\/ricardomoinhos.com\/wp-content\/uploads\/2021\/08\/img_611d0a6fa616c.png 720w, https:\/\/ricardomoinhos.com\/wp-content\/uploads\/2021\/08\/img_611d0a6fa616c-300x135.png 300w\" sizes=\"auto, (max-width: 720px) 100vw, 720px\" \/><\/p>\n<p style=\"text-align: center;\">The setting to update the Database Name<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"611\" height=\"393\" class=\"size-full wp-image-3675 aligncenter\" src=\"https:\/\/ricardomoinhos.com\/wp-content\/uploads\/2021\/08\/img_611d0a6ef3857.png\" alt=\"\" srcset=\"https:\/\/ricardomoinhos.com\/wp-content\/uploads\/2021\/08\/img_611d0a6ef3857.png 611w, https:\/\/ricardomoinhos.com\/wp-content\/uploads\/2021\/08\/img_611d0a6ef3857-300x193.png 300w\" sizes=\"auto, (max-width: 611px) 100vw, 611px\" \/><\/p>\n<p style=\"text-align: center;\">The setting to update the Client Port<\/p>\n<p>Don&#8217;t forget to update the other ports, if needed.<\/p>\n<p>If you take a look on the Business Central Service folder, on Program Files, you will notice that there&#8217;s a new folder named <span style=\"font-weight: bold;\">Instances<\/span>:<\/p>\n<p><span style=\"font-weight: bold;\">C:\\Program Files\\Microsoft Dynamics 365 Business Central\\140\\Service\\Instances<\/span><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"703\" height=\"152\" class=\"alignnone size-full wp-image-3678 \" src=\"https:\/\/ricardomoinhos.com\/wp-content\/uploads\/2021\/08\/img_611d0a7036197.png\" alt=\"\" srcset=\"https:\/\/ricardomoinhos.com\/wp-content\/uploads\/2021\/08\/img_611d0a7036197.png 703w, https:\/\/ricardomoinhos.com\/wp-content\/uploads\/2021\/08\/img_611d0a7036197-300x65.png 300w\" sizes=\"auto, (max-width: 703px) 100vw, 703px\" \/><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"681\" height=\"131\" class=\"alignnone size-full wp-image-3674 \" src=\"https:\/\/ricardomoinhos.com\/wp-content\/uploads\/2021\/08\/img_611d0a6ee6261.png\" alt=\"\" srcset=\"https:\/\/ricardomoinhos.com\/wp-content\/uploads\/2021\/08\/img_611d0a6ee6261.png 681w, https:\/\/ricardomoinhos.com\/wp-content\/uploads\/2021\/08\/img_611d0a6ee6261-300x58.png 300w\" sizes=\"auto, (max-width: 681px) 100vw, 681px\" \/><\/p>\n<h2><span style=\"font-weight: bold;\">Scenario 2 &#8211; Creating a new service for a different NAV\/BC minor version<\/span><\/h2>\n<p><span style=\"text-decoration: underline;\">Please note that if you don&#8217;t have any service created for a specific major version, the best option is to install NAV\/BC from the installation files.<\/span><\/p>\n<p>I have a service for BC CU 4 but now I want to create a new service for CU 25, for example.<\/p>\n<p>First I need to copy the <span style=\"font-weight: bold;\">Service<\/span> folder from the Business Central installation DVD to the <span style=\"font-weight: bold;\">Program Files<\/span> folder.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"806\" height=\"111\" class=\"alignnone size-full wp-image-3681 \" src=\"https:\/\/ricardomoinhos.com\/wp-content\/uploads\/2021\/08\/img_611d0a8a4e14e.png\" alt=\"\" srcset=\"https:\/\/ricardomoinhos.com\/wp-content\/uploads\/2021\/08\/img_611d0a8a4e14e.png 806w, https:\/\/ricardomoinhos.com\/wp-content\/uploads\/2021\/08\/img_611d0a8a4e14e-300x41.png 300w, https:\/\/ricardomoinhos.com\/wp-content\/uploads\/2021\/08\/img_611d0a8a4e14e-768x106.png 768w\" sizes=\"auto, (max-width: 806px) 100vw, 806px\" \/><\/p>\n<p>Rename it from <span style=\"font-weight: bold;\">140<\/span> to <span style=\"font-weight: bold;\">140_CU25<\/span> and copy to <span style=\"font-weight: bold;\">C:\\Program Files\\Microsoft Dynamics 365 Business Central\\<\/span><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"873\" height=\"211\" class=\"alignnone size-full wp-image-3682 \" src=\"https:\/\/ricardomoinhos.com\/wp-content\/uploads\/2021\/08\/img_611d0a8a8d405.png\" alt=\"\" srcset=\"https:\/\/ricardomoinhos.com\/wp-content\/uploads\/2021\/08\/img_611d0a8a8d405.png 873w, https:\/\/ricardomoinhos.com\/wp-content\/uploads\/2021\/08\/img_611d0a8a8d405-300x73.png 300w, https:\/\/ricardomoinhos.com\/wp-content\/uploads\/2021\/08\/img_611d0a8a8d405-768x186.png 768w\" sizes=\"auto, (max-width: 873px) 100vw, 873px\" \/><\/p>\n<p>Next let&#8217;s setup this folder on ServiceTierAdministrator.<\/p>\n<p>Click on <span style=\"font-weight: bold;\">NST Version Settings<\/span>, <span style=\"font-weight: bold;\">Add<\/span> and select the <span style=\"font-weight: bold;\">Microsoft.Dynamics.Nav.Server.exe<\/span> file on the newly copied folder.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"1313\" height=\"499\" class=\"alignnone size-full wp-image-3694 \" src=\"https:\/\/ricardomoinhos.com\/wp-content\/uploads\/2021\/08\/img_611d0a8c87d69.png\" alt=\"\" srcset=\"https:\/\/ricardomoinhos.com\/wp-content\/uploads\/2021\/08\/img_611d0a8c87d69.png 1313w, https:\/\/ricardomoinhos.com\/wp-content\/uploads\/2021\/08\/img_611d0a8c87d69-300x114.png 300w, https:\/\/ricardomoinhos.com\/wp-content\/uploads\/2021\/08\/img_611d0a8c87d69-1024x389.png 1024w, https:\/\/ricardomoinhos.com\/wp-content\/uploads\/2021\/08\/img_611d0a8c87d69-768x292.png 768w\" sizes=\"auto, (max-width: 1313px) 100vw, 1313px\" \/><\/p>\n<p>Click on <span style=\"font-weight: bold;\">Close.<\/span><\/p>\n<p><span style=\"text-decoration: underline;\">This step is needed so that you&#8217;re able to create a new Service for this specific BC version.<\/span><\/p>\n<p>To create a new Service:<\/p>\n<ul style=\"direction: ltr; unicode-bidi: embed; margin-top: 0in; margin-bottom: 0in;\" type=\"disc\">\n<li style=\"margin-top: 0; margin-bottom: 0; vertical-align: middle;\">Click on <strong>Create Service<\/strong><\/li>\n<li style=\"margin-top: 0; margin-bottom: 0; vertical-align: middle;\">Name the Service (for example, bc-w1-14-update-25)<\/li>\n<li style=\"margin-top: 0; margin-bottom: 0; vertical-align: middle;\">Enter the <strong>Base Folder<\/strong> that it&#8217;s basically the BC version you want to use to create the service\n<ul style=\"direction: ltr; unicode-bidi: embed; margin-top: 0in; margin-bottom: 0in;\" type=\"circle\">\n<li style=\"margin-top: 0; margin-bottom: 0; vertical-align: middle;\"><span style=\"font-weight: bold; text-decoration: underline;\">NOTE:<\/span><span style=\"text-decoration: underline;\"> If you miss the earlier step of adding the Microsoft.Dynamics.Nav.Server.exe file to the NST Version Settings, you won&#8217;t have it here.<\/span><\/li>\n<\/ul>\n<\/li>\n<li style=\"margin-top: 0; margin-bottom: 0; vertical-align: middle;\">Create a new folder named <strong>Instances<\/strong> inside the <strong>Service<\/strong> folder (example: C:\\Program Files\\Microsoft Dynamics 365 Business Central\\140_CU25\\Service\\Instances)<\/li>\n<li style=\"margin-top: 0; margin-bottom: 0; vertical-align: middle;\">Enter the <strong>Target Folder<\/strong>. Point to the newly created <strong>Instances<\/strong> folder (C:\\Program Files\\Microsoft Dynamics 365 Business Central\\140_CU25\\Service\\Instances)<\/li>\n<li style=\"margin-top: 0; margin-bottom: 0; vertical-align: middle;\">Untick the <strong>Portsharing<\/strong> box for now.<\/li>\n<li style=\"margin-top: 0; margin-bottom: 0; vertical-align: middle;\">Press <strong>OK<\/strong><\/li>\n<\/ul>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"750\" height=\"538\" class=\"alignnone size-full wp-image-3691 \" src=\"https:\/\/ricardomoinhos.com\/wp-content\/uploads\/2021\/08\/img_611d0a8bea537.png\" alt=\"\" srcset=\"https:\/\/ricardomoinhos.com\/wp-content\/uploads\/2021\/08\/img_611d0a8bea537.png 750w, https:\/\/ricardomoinhos.com\/wp-content\/uploads\/2021\/08\/img_611d0a8bea537-300x215.png 300w\" sizes=\"auto, (max-width: 750px) 100vw, 750px\" \/><\/p>\n<p>A new folder is created inside the <span style=\"font-weight: bold;\">Instances<\/span> folder, with the newly created service name:<\/p>\n<p>C:\\Program Files\\Microsoft Dynamics 365 Business Central\\140_CU25\\Service\\<span style=\"font-weight: bold;\">Instances\\bc-w1-14-update-25<\/span><\/p>\n<p>If you look you will notice that ServiceTierAdministrator copied the content of folder <span style=\"font-weight: bold;\">C:\\Program Files\\Microsoft Dynamics 365 Business Central\\140_CU25\\Service <\/span>to<span style=\"font-weight: bold;\"> C:\\Program Files\\Microsoft Dynamics 365 Business Central\\140_CU25\\Service\\Instances\\bc-w1-14-update-25<\/span>, so all those files are now duplicated. Unfortunately I couldn&#8217;t find a way to avoid that.<\/p>\n<p>The good news is that, if now you create a new Service Instance for this version, like I did on scenario 1&#8217;ve shown you in the beginning of the article, ServiceTierAdministrator only creates a folder inside the <span style=\"font-weight: bold;\">Instances <\/span>folder with only two files, although this <span style=\"font-weight: bold;\">Instances<\/span> folder is created inside the <span style=\"font-weight: bold;\">bc-w1-14-update-25<\/span> folder.<\/p>\n<p>I&#8217;ve created a new Service Instance called <span style=\"font-weight: bold;\">bc-w1-14-update-25_v2<\/span>:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"751\" height=\"161\" class=\"alignnone size-full wp-image-3689 \" src=\"https:\/\/ricardomoinhos.com\/wp-content\/uploads\/2021\/08\/img_611d0a8bc0ba8.png\" alt=\"\" srcset=\"https:\/\/ricardomoinhos.com\/wp-content\/uploads\/2021\/08\/img_611d0a8bc0ba8.png 751w, https:\/\/ricardomoinhos.com\/wp-content\/uploads\/2021\/08\/img_611d0a8bc0ba8-300x64.png 300w\" sizes=\"auto, (max-width: 751px) 100vw, 751px\" \/><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"890\" height=\"125\" class=\"alignnone size-full wp-image-3687 \" src=\"https:\/\/ricardomoinhos.com\/wp-content\/uploads\/2021\/08\/img_611d0a8ae35e1.png\" alt=\"\" srcset=\"https:\/\/ricardomoinhos.com\/wp-content\/uploads\/2021\/08\/img_611d0a8ae35e1.png 890w, https:\/\/ricardomoinhos.com\/wp-content\/uploads\/2021\/08\/img_611d0a8ae35e1-300x42.png 300w, https:\/\/ricardomoinhos.com\/wp-content\/uploads\/2021\/08\/img_611d0a8ae35e1-768x108.png 768w\" sizes=\"auto, (max-width: 890px) 100vw, 890px\" \/><\/p>\n<p><span style=\"font-weight: bold;\">NOTE<\/span><\/p>\n<p>If you&#8217;re having troubles running the newly created service due to database permissions, please note that when a service is created using ServiceTierAdministrator, by default the service runs under the <span style=\"font-weight: bold;\">Network Service<\/span> account which may not have permissions to access the database. In Event Viewer you&#8217;ll see the following warning when starting the service:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"1161\" height=\"88\" class=\"alignnone size-full wp-image-3683 \" src=\"https:\/\/ricardomoinhos.com\/wp-content\/uploads\/2021\/08\/img_611d0a8aad578.png\" alt=\"\" srcset=\"https:\/\/ricardomoinhos.com\/wp-content\/uploads\/2021\/08\/img_611d0a8aad578.png 1161w, https:\/\/ricardomoinhos.com\/wp-content\/uploads\/2021\/08\/img_611d0a8aad578-300x23.png 300w, https:\/\/ricardomoinhos.com\/wp-content\/uploads\/2021\/08\/img_611d0a8aad578-1024x78.png 1024w, https:\/\/ricardomoinhos.com\/wp-content\/uploads\/2021\/08\/img_611d0a8aad578-768x58.png 768w\" sizes=\"auto, (max-width: 1161px) 100vw, 1161px\" \/><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"545\" height=\"339\" class=\"alignnone size-full wp-image-3688 \" src=\"https:\/\/ricardomoinhos.com\/wp-content\/uploads\/2021\/08\/img_611d0a8b8c77e.png\" alt=\"\" srcset=\"https:\/\/ricardomoinhos.com\/wp-content\/uploads\/2021\/08\/img_611d0a8b8c77e.png 545w, https:\/\/ricardomoinhos.com\/wp-content\/uploads\/2021\/08\/img_611d0a8b8c77e-300x187.png 300w, https:\/\/ricardomoinhos.com\/wp-content\/uploads\/2021\/08\/img_611d0a8b8c77e-436x272.png 436w\" sizes=\"auto, (max-width: 545px) 100vw, 545px\" \/><\/p>\n<p style=\"margin: 0in;\">To fix it, you can give db_owner database permissions to Network Service, by running the following SQL query:<\/p>\n<blockquote><p>USE [&lt;database name&gt;]<\/p>\n<p>CREATE USER [NT AUTHORITY\\NETWORK SERVICE] FOR LOGIN [NT AUTHORITY\\NETWORK SERVICE] WITH DEFAULT_SCHEMA=[dbo]<\/p>\n<p>EXEC sp_addrolemember N&#8217;db_owner&#8217;, N&#8217;NT AUTHORITY\\NETWORK SERVICE&#8217;<\/p><\/blockquote>\n<h2 style=\"margin: 0in;\">Port Sharing<\/h2>\n<p>If you try to run the two services simultaneously, without changing the services ports (Client, Management, Developer, Soap, Odata and so on), you will get an error in Event Viewer.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"580\" height=\"105\" class=\"alignnone size-full wp-image-3684 \" src=\"https:\/\/ricardomoinhos.com\/wp-content\/uploads\/2021\/08\/img_611d0a8ac0b11.png\" alt=\"\" srcset=\"https:\/\/ricardomoinhos.com\/wp-content\/uploads\/2021\/08\/img_611d0a8ac0b11.png 580w, https:\/\/ricardomoinhos.com\/wp-content\/uploads\/2021\/08\/img_611d0a8ac0b11-300x54.png 300w\" sizes=\"auto, (max-width: 580px) 100vw, 580px\" \/><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"804\" height=\"192\" class=\"alignnone size-full wp-image-3685 \" src=\"https:\/\/ricardomoinhos.com\/wp-content\/uploads\/2021\/08\/img_611d0a8acbda7.png\" alt=\"\" srcset=\"https:\/\/ricardomoinhos.com\/wp-content\/uploads\/2021\/08\/img_611d0a8acbda7.png 804w, https:\/\/ricardomoinhos.com\/wp-content\/uploads\/2021\/08\/img_611d0a8acbda7-300x72.png 300w, https:\/\/ricardomoinhos.com\/wp-content\/uploads\/2021\/08\/img_611d0a8acbda7-768x183.png 768w\" sizes=\"auto, (max-width: 804px) 100vw, 804px\" \/><\/p>\n<p>As you can see, I&#8217;m still using the standard ports for the newly created services.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"1324\" height=\"144\" class=\"alignnone size-full wp-image-3690 \" src=\"https:\/\/ricardomoinhos.com\/wp-content\/uploads\/2021\/08\/img_611d0a8be1810.png\" alt=\"\" srcset=\"https:\/\/ricardomoinhos.com\/wp-content\/uploads\/2021\/08\/img_611d0a8be1810.png 1324w, https:\/\/ricardomoinhos.com\/wp-content\/uploads\/2021\/08\/img_611d0a8be1810-300x33.png 300w, https:\/\/ricardomoinhos.com\/wp-content\/uploads\/2021\/08\/img_611d0a8be1810-1024x111.png 1024w, https:\/\/ricardomoinhos.com\/wp-content\/uploads\/2021\/08\/img_611d0a8be1810-768x84.png 768w\" sizes=\"auto, (max-width: 1324px) 100vw, 1324px\" \/><\/p>\n<p>On a production environment, it is a best practice to have different ports for each service. But on a development environment, where we might have several services, maintaining different ports for each service can be tedious.<\/p>\n<p><span style=\"font-weight: bold;\">Port Sharing to the rescue.<\/span><\/p>\n<p>You can activate Port Sharing which allows you do use the same ports across different services. That way, the Client port can be the default 7046 on every NAV\/BC Service, the Management port can be the default 7045 on every NAV\/BC Service, and so on.<\/p>\n<p>Please note that the Client Services port must be different than the Management Services port and other services like Odata, Soap, etc.<\/p>\n<p>Well, how do you activate the Port Sharing?<\/p>\n<p>On ServiceTierAdministrator, you need to select the NAV\/BC service and press <span style=\"font-weight: bold;\">Enable Portsharing<\/span>.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"951\" height=\"230\" class=\"alignnone size-full wp-image-3692 \" src=\"https:\/\/ricardomoinhos.com\/wp-content\/uploads\/2021\/08\/img_611d0a8bf1c57.png\" alt=\"\" srcset=\"https:\/\/ricardomoinhos.com\/wp-content\/uploads\/2021\/08\/img_611d0a8bf1c57.png 951w, https:\/\/ricardomoinhos.com\/wp-content\/uploads\/2021\/08\/img_611d0a8bf1c57-300x73.png 300w, https:\/\/ricardomoinhos.com\/wp-content\/uploads\/2021\/08\/img_611d0a8bf1c57-768x186.png 768w\" sizes=\"auto, (max-width: 951px) 100vw, 951px\" \/><\/p>\n<p>But that&#8217;s not all. If it&#8217;s the first time you&#8217;re setting up and using Port Sharing, there&#8217;s an additional step that needs to be done. You need to start and set the <span style=\"font-weight: bold;\">Net.Tcp Port Sharing Service <\/span>to run automatically.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"1167\" height=\"194\" class=\"alignnone size-full wp-image-3686 \" src=\"https:\/\/ricardomoinhos.com\/wp-content\/uploads\/2021\/08\/img_611d0a8adfc7e.png\" alt=\"\" srcset=\"https:\/\/ricardomoinhos.com\/wp-content\/uploads\/2021\/08\/img_611d0a8adfc7e.png 1167w, https:\/\/ricardomoinhos.com\/wp-content\/uploads\/2021\/08\/img_611d0a8adfc7e-300x50.png 300w, https:\/\/ricardomoinhos.com\/wp-content\/uploads\/2021\/08\/img_611d0a8adfc7e-1024x170.png 1024w, https:\/\/ricardomoinhos.com\/wp-content\/uploads\/2021\/08\/img_611d0a8adfc7e-768x128.png 768w\" sizes=\"auto, (max-width: 1167px) 100vw, 1167px\" \/><\/p>\n<p>Now you just need to start (or restart) the NAV\/BC services and voil\u00e1, both services should be up and running on the same ports.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"1317\" height=\"201\" class=\"alignnone size-full wp-image-3693 \" src=\"https:\/\/ricardomoinhos.com\/wp-content\/uploads\/2021\/08\/img_611d0a8c3136e.png\" alt=\"\" srcset=\"https:\/\/ricardomoinhos.com\/wp-content\/uploads\/2021\/08\/img_611d0a8c3136e.png 1317w, https:\/\/ricardomoinhos.com\/wp-content\/uploads\/2021\/08\/img_611d0a8c3136e-300x46.png 300w, https:\/\/ricardomoinhos.com\/wp-content\/uploads\/2021\/08\/img_611d0a8c3136e-1024x156.png 1024w, https:\/\/ricardomoinhos.com\/wp-content\/uploads\/2021\/08\/img_611d0a8c3136e-768x117.png 768w\" sizes=\"auto, (max-width: 1317px) 100vw, 1317px\" \/><\/p>\n<p>I hope you enjoyed this article and found it useful.<\/p>\n<p>Please feel free to comment on this.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>A few weeks ago I received an invitation on LinkedIn from a D365 Consultant from Nigeria. He wanted to thank me for blogging about the post on my blog explaining how to use different NAV\/BC cumulative updates in the same machine. Using NAV\/BC different Cumulative Update versions in the same machine &#8211; Ricardo Paiva Moinhos [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":1358,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":"","_links_to":"","_links_to_target":""},"categories":[4],"tags":[59],"class_list":{"0":"post-3670","1":"post","2":"type-post","3":"status-publish","4":"format-standard","5":"has-post-thumbnail","6":"hentry","7":"category-dynamics365bc","8":"tag-businesscentral","10":"post-with-thumbnail","11":"post-with-thumbnail-icon"},"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.4 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Managing NAV\/BC Server Instances with ServiceTierAdministrator - Ricardo Paiva Moinhos<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/ricardomoinhos.com\/managing-nav-bc-server-instances-with-servicetieradministrator\/\" \/>\n<meta property=\"og:locale\" content=\"pt_PT\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Managing NAV\/BC Server Instances with ServiceTierAdministrator - Ricardo Paiva Moinhos\" \/>\n<meta property=\"og:description\" content=\"A few weeks ago I received an invitation on LinkedIn from a D365 Consultant from Nigeria. He wanted to thank me for blogging about the post on my blog explaining how to use different NAV\/BC cumulative updates in the same machine. Using NAV\/BC different Cumulative Update versions in the same machine &#8211; Ricardo Paiva Moinhos [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/ricardomoinhos.com\/managing-nav-bc-server-instances-with-servicetieradministrator\/\" \/>\n<meta property=\"og:site_name\" content=\"Ricardo Paiva Moinhos\" \/>\n<meta property=\"article:published_time\" content=\"2021-08-18T14:15:15+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2022-08-30T10:07:55+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/ricardomoinhos.com\/wp-content\/uploads\/2020\/02\/Microsoft-Dynamics-365-Business-Central-Logo.png\" \/>\n\t<meta property=\"og:image:width\" content=\"256\" \/>\n\t<meta property=\"og:image:height\" content=\"256\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Ricardo Paiva Moinhos\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Escrito por\" \/>\n\t<meta name=\"twitter:data1\" content=\"Ricardo Paiva Moinhos\" \/>\n\t<meta name=\"twitter:label2\" content=\"Tempo estimado de leitura\" \/>\n\t<meta name=\"twitter:data2\" content=\"9 minutos\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/ricardomoinhos.com\\\/managing-nav-bc-server-instances-with-servicetieradministrator\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/ricardomoinhos.com\\\/managing-nav-bc-server-instances-with-servicetieradministrator\\\/\"},\"author\":{\"name\":\"Ricardo Paiva Moinhos\",\"@id\":\"https:\\\/\\\/ricardomoinhos.com\\\/#\\\/schema\\\/person\\\/16dcfdd54ec1c46bd1941659739de4cc\"},\"headline\":\"Managing NAV\\\/BC Server Instances with ServiceTierAdministrator\",\"datePublished\":\"2021-08-18T14:15:15+00:00\",\"dateModified\":\"2022-08-30T10:07:55+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/ricardomoinhos.com\\\/managing-nav-bc-server-instances-with-servicetieradministrator\\\/\"},\"wordCount\":1128,\"commentCount\":2,\"image\":{\"@id\":\"https:\\\/\\\/ricardomoinhos.com\\\/managing-nav-bc-server-instances-with-servicetieradministrator\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/ricardomoinhos.com\\\/wp-content\\\/uploads\\\/2020\\\/02\\\/Microsoft-Dynamics-365-Business-Central-Logo.png\",\"keywords\":[\"\"],\"articleSection\":[\"Dynamics NAV\\\/365 BC\"],\"inLanguage\":\"pt-PT\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/ricardomoinhos.com\\\/managing-nav-bc-server-instances-with-servicetieradministrator\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/ricardomoinhos.com\\\/managing-nav-bc-server-instances-with-servicetieradministrator\\\/\",\"url\":\"https:\\\/\\\/ricardomoinhos.com\\\/managing-nav-bc-server-instances-with-servicetieradministrator\\\/\",\"name\":\"Managing NAV\\\/BC Server Instances with ServiceTierAdministrator - Ricardo Paiva Moinhos\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/ricardomoinhos.com\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/ricardomoinhos.com\\\/managing-nav-bc-server-instances-with-servicetieradministrator\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/ricardomoinhos.com\\\/managing-nav-bc-server-instances-with-servicetieradministrator\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/ricardomoinhos.com\\\/wp-content\\\/uploads\\\/2020\\\/02\\\/Microsoft-Dynamics-365-Business-Central-Logo.png\",\"datePublished\":\"2021-08-18T14:15:15+00:00\",\"dateModified\":\"2022-08-30T10:07:55+00:00\",\"author\":{\"@id\":\"https:\\\/\\\/ricardomoinhos.com\\\/#\\\/schema\\\/person\\\/16dcfdd54ec1c46bd1941659739de4cc\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/ricardomoinhos.com\\\/managing-nav-bc-server-instances-with-servicetieradministrator\\\/#breadcrumb\"},\"inLanguage\":\"pt-PT\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/ricardomoinhos.com\\\/managing-nav-bc-server-instances-with-servicetieradministrator\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"pt-PT\",\"@id\":\"https:\\\/\\\/ricardomoinhos.com\\\/managing-nav-bc-server-instances-with-servicetieradministrator\\\/#primaryimage\",\"url\":\"https:\\\/\\\/ricardomoinhos.com\\\/wp-content\\\/uploads\\\/2020\\\/02\\\/Microsoft-Dynamics-365-Business-Central-Logo.png\",\"contentUrl\":\"https:\\\/\\\/ricardomoinhos.com\\\/wp-content\\\/uploads\\\/2020\\\/02\\\/Microsoft-Dynamics-365-Business-Central-Logo.png\",\"width\":256,\"height\":256},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/ricardomoinhos.com\\\/managing-nav-bc-server-instances-with-servicetieradministrator\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/ricardomoinhos.com\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Managing NAV\\\/BC Server Instances with ServiceTierAdministrator\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/ricardomoinhos.com\\\/#website\",\"url\":\"https:\\\/\\\/ricardomoinhos.com\\\/\",\"name\":\"Ricardo Paiva Moinhos\",\"description\":\"Welcome\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/ricardomoinhos.com\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"pt-PT\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/ricardomoinhos.com\\\/#\\\/schema\\\/person\\\/16dcfdd54ec1c46bd1941659739de4cc\",\"name\":\"Ricardo Paiva Moinhos\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"pt-PT\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/248366f4e615e182964f85f799c6e33cbd541a6f4ca7ee948fc16d1c14030c76?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/248366f4e615e182964f85f799c6e33cbd541a6f4ca7ee948fc16d1c14030c76?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/248366f4e615e182964f85f799c6e33cbd541a6f4ca7ee948fc16d1c14030c76?s=96&d=mm&r=g\",\"caption\":\"Ricardo Paiva Moinhos\"},\"url\":\"https:\\\/\\\/ricardomoinhos.com\\\/pt\\\/author\\\/ricardopaiva\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Managing NAV\/BC Server Instances with ServiceTierAdministrator - Ricardo Paiva Moinhos","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/ricardomoinhos.com\/managing-nav-bc-server-instances-with-servicetieradministrator\/","og_locale":"pt_PT","og_type":"article","og_title":"Managing NAV\/BC Server Instances with ServiceTierAdministrator - Ricardo Paiva Moinhos","og_description":"A few weeks ago I received an invitation on LinkedIn from a D365 Consultant from Nigeria. He wanted to thank me for blogging about the post on my blog explaining how to use different NAV\/BC cumulative updates in the same machine. Using NAV\/BC different Cumulative Update versions in the same machine &#8211; Ricardo Paiva Moinhos [&hellip;]","og_url":"https:\/\/ricardomoinhos.com\/managing-nav-bc-server-instances-with-servicetieradministrator\/","og_site_name":"Ricardo Paiva Moinhos","article_published_time":"2021-08-18T14:15:15+00:00","article_modified_time":"2022-08-30T10:07:55+00:00","og_image":[{"width":256,"height":256,"url":"https:\/\/ricardomoinhos.com\/wp-content\/uploads\/2020\/02\/Microsoft-Dynamics-365-Business-Central-Logo.png","type":"image\/png"}],"author":"Ricardo Paiva Moinhos","twitter_card":"summary_large_image","twitter_misc":{"Escrito por":"Ricardo Paiva Moinhos","Tempo estimado de leitura":"9 minutos"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/ricardomoinhos.com\/managing-nav-bc-server-instances-with-servicetieradministrator\/#article","isPartOf":{"@id":"https:\/\/ricardomoinhos.com\/managing-nav-bc-server-instances-with-servicetieradministrator\/"},"author":{"name":"Ricardo Paiva Moinhos","@id":"https:\/\/ricardomoinhos.com\/#\/schema\/person\/16dcfdd54ec1c46bd1941659739de4cc"},"headline":"Managing NAV\/BC Server Instances with ServiceTierAdministrator","datePublished":"2021-08-18T14:15:15+00:00","dateModified":"2022-08-30T10:07:55+00:00","mainEntityOfPage":{"@id":"https:\/\/ricardomoinhos.com\/managing-nav-bc-server-instances-with-servicetieradministrator\/"},"wordCount":1128,"commentCount":2,"image":{"@id":"https:\/\/ricardomoinhos.com\/managing-nav-bc-server-instances-with-servicetieradministrator\/#primaryimage"},"thumbnailUrl":"https:\/\/ricardomoinhos.com\/wp-content\/uploads\/2020\/02\/Microsoft-Dynamics-365-Business-Central-Logo.png","keywords":[""],"articleSection":["Dynamics NAV\/365 BC"],"inLanguage":"pt-PT","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/ricardomoinhos.com\/managing-nav-bc-server-instances-with-servicetieradministrator\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/ricardomoinhos.com\/managing-nav-bc-server-instances-with-servicetieradministrator\/","url":"https:\/\/ricardomoinhos.com\/managing-nav-bc-server-instances-with-servicetieradministrator\/","name":"Managing NAV\/BC Server Instances with ServiceTierAdministrator - Ricardo Paiva Moinhos","isPartOf":{"@id":"https:\/\/ricardomoinhos.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/ricardomoinhos.com\/managing-nav-bc-server-instances-with-servicetieradministrator\/#primaryimage"},"image":{"@id":"https:\/\/ricardomoinhos.com\/managing-nav-bc-server-instances-with-servicetieradministrator\/#primaryimage"},"thumbnailUrl":"https:\/\/ricardomoinhos.com\/wp-content\/uploads\/2020\/02\/Microsoft-Dynamics-365-Business-Central-Logo.png","datePublished":"2021-08-18T14:15:15+00:00","dateModified":"2022-08-30T10:07:55+00:00","author":{"@id":"https:\/\/ricardomoinhos.com\/#\/schema\/person\/16dcfdd54ec1c46bd1941659739de4cc"},"breadcrumb":{"@id":"https:\/\/ricardomoinhos.com\/managing-nav-bc-server-instances-with-servicetieradministrator\/#breadcrumb"},"inLanguage":"pt-PT","potentialAction":[{"@type":"ReadAction","target":["https:\/\/ricardomoinhos.com\/managing-nav-bc-server-instances-with-servicetieradministrator\/"]}]},{"@type":"ImageObject","inLanguage":"pt-PT","@id":"https:\/\/ricardomoinhos.com\/managing-nav-bc-server-instances-with-servicetieradministrator\/#primaryimage","url":"https:\/\/ricardomoinhos.com\/wp-content\/uploads\/2020\/02\/Microsoft-Dynamics-365-Business-Central-Logo.png","contentUrl":"https:\/\/ricardomoinhos.com\/wp-content\/uploads\/2020\/02\/Microsoft-Dynamics-365-Business-Central-Logo.png","width":256,"height":256},{"@type":"BreadcrumbList","@id":"https:\/\/ricardomoinhos.com\/managing-nav-bc-server-instances-with-servicetieradministrator\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/ricardomoinhos.com\/"},{"@type":"ListItem","position":2,"name":"Managing NAV\/BC Server Instances with ServiceTierAdministrator"}]},{"@type":"WebSite","@id":"https:\/\/ricardomoinhos.com\/#website","url":"https:\/\/ricardomoinhos.com\/","name":"Ricardo Paiva Moinhos","description":"Welcome","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/ricardomoinhos.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"pt-PT"},{"@type":"Person","@id":"https:\/\/ricardomoinhos.com\/#\/schema\/person\/16dcfdd54ec1c46bd1941659739de4cc","name":"Ricardo Paiva Moinhos","image":{"@type":"ImageObject","inLanguage":"pt-PT","@id":"https:\/\/secure.gravatar.com\/avatar\/248366f4e615e182964f85f799c6e33cbd541a6f4ca7ee948fc16d1c14030c76?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/248366f4e615e182964f85f799c6e33cbd541a6f4ca7ee948fc16d1c14030c76?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/248366f4e615e182964f85f799c6e33cbd541a6f4ca7ee948fc16d1c14030c76?s=96&d=mm&r=g","caption":"Ricardo Paiva Moinhos"},"url":"https:\/\/ricardomoinhos.com\/pt\/author\/ricardopaiva\/"}]}},"jetpack_featured_media_url":"https:\/\/ricardomoinhos.com\/wp-content\/uploads\/2020\/02\/Microsoft-Dynamics-365-Business-Central-Logo.png","jetpack_likes_enabled":true,"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/ricardomoinhos.com\/pt\/wp-json\/wp\/v2\/posts\/3670","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ricardomoinhos.com\/pt\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ricardomoinhos.com\/pt\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ricardomoinhos.com\/pt\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/ricardomoinhos.com\/pt\/wp-json\/wp\/v2\/comments?post=3670"}],"version-history":[{"count":32,"href":"https:\/\/ricardomoinhos.com\/pt\/wp-json\/wp\/v2\/posts\/3670\/revisions"}],"predecessor-version":[{"id":3730,"href":"https:\/\/ricardomoinhos.com\/pt\/wp-json\/wp\/v2\/posts\/3670\/revisions\/3730"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/ricardomoinhos.com\/pt\/wp-json\/wp\/v2\/media\/1358"}],"wp:attachment":[{"href":"https:\/\/ricardomoinhos.com\/pt\/wp-json\/wp\/v2\/media?parent=3670"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ricardomoinhos.com\/pt\/wp-json\/wp\/v2\/categories?post=3670"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ricardomoinhos.com\/pt\/wp-json\/wp\/v2\/tags?post=3670"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}