<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>ms dynamics business central server instance Archives | KAISPE</title>
	<atom:link href="https://www.kaispe.com/tag/ms-dynamics-business-central-server-instance/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.kaispe.com/tag/ms-dynamics-business-central-server-instance/</link>
	<description>Your Digital Transformation Partner</description>
	<lastBuildDate>Fri, 18 Nov 2022 19:29:08 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.7.4</generator>

<image>
	<url>https://www.kaispe.com/wp-content/uploads/2022/01/cropped-k-32x32.png</url>
	<title>ms dynamics business central server instance Archives | KAISPE</title>
	<link>https://www.kaispe.com/tag/ms-dynamics-business-central-server-instance/</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>Creating A New Server And Web Client Instance In Microsoft Dynamics Business Central On-Prem</title>
		<link>https://www.kaispe.com/creating-a-new-server-and-web-client-instance-in-microsoft-dynamics-business-central-on-prem/</link>
		
		<dc:creator><![CDATA[KAISPE LLC]]></dc:creator>
		<pubDate>Sun, 02 Oct 2022 07:04:48 +0000</pubDate>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[business central on prem]]></category>
		<category><![CDATA[ms dynamics business central server instance]]></category>
		<guid isPermaLink="false">https://www.kaispe.com/?p=6174</guid>

					<description><![CDATA[<p>In this blog post, I will write step-by-step on how to create a new server instance and web client instance in  Microsoft Dynamics 365 Business Central On-Prem. The reason why [&#8230;]</p>
<p>The post <a href="https://www.kaispe.com/creating-a-new-server-and-web-client-instance-in-microsoft-dynamics-business-central-on-prem/">Creating A New Server And Web Client Instance In Microsoft Dynamics Business Central On-Prem</a> appeared first on <a href="https://www.kaispe.com">KAISPE</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p class="reader-text-block__paragraph">In this blog post, I will write step-by-step on how to create a new server instance and web client instance in  <a href="https://dynamics.microsoft.com/en-us/business-central/overview/">Microsoft Dynamics 365 Business Central</a> On-Prem. The reason why we need this is to allow clients to have separate Business Central Web client instances for the different companies of a business. The usual scenario would be to have at least two databases: one for development and one for production.</p>
<p>First, I create a new database called Test, and I&#8217;ll be using this database for my new server instance.</p>
<h2>Steps:</h2>
<h3><strong>Create </strong>a new server instance</h3>
<p>STEP &#8211; 1 – Open PowerShell ISE as an Administrator.</p>
<p>STEP &#8211; 2 – Import the Business Central Module with the following command.</p>
<pre>Import-Module 'C:\Program Files\Microsoft Dynamics 365 Business Central\200\Service\navadmintool.ps1'</pre>
<p>STEP &#8211; 3 – Open the command panel on the right, and use cmdlet <strong>New-NAVServerInstance </strong>to create a new server instance.</p>
<p><img fetchpriority="high" decoding="async" class="wp-image-6192 aligncenter" src="https://www.kaispe.com/wp-content/uploads/2022/10/8-291x300.png" alt="" width="464" height="479" srcset="https://www.kaispe.com/wp-content/uploads/2022/10/8-291x300.png 291w, https://www.kaispe.com/wp-content/uploads/2022/10/8.png 717w" sizes="(max-width: 464px) 100vw, 464px" /></p>
<p>STEP &#8211; 4 – To create a new server instance, you must use different port numbers and specify some parameters. In my case, I&#8217;m using the following parameters.</p>
<ul>
<li>Server instance (Service Name) &#8211; Test</li>
<li>ClientServicesCredentialType &#8211; Windows</li>
<li>Database Name &#8211; Test</li>
<li>Database Server &#8211; KSPMAC-09</li>
<li>Management Service Port &#8211; 7145</li>
<li class="reader-text-block__paragraph">Client Service Port &#8211; 7146</li>
<li class="reader-text-block__paragraph">SOAP Service Port &#8211; 7147</li>
<li class="reader-text-block__paragraph">ODATA Service Port &#8211; 7148</li>
<li class="reader-text-block__paragraph">Development Service Port – 7149</li>
</ul>
<p><img decoding="async" class=" wp-image-6201 aligncenter" src="https://www.kaispe.com/wp-content/uploads/2022/10/9-1-300x200.png" alt="" width="530" height="353" srcset="https://www.kaispe.com/wp-content/uploads/2022/10/9-1-300x200.png 300w, https://www.kaispe.com/wp-content/uploads/2022/10/9-1-768x512.png 768w, https://www.kaispe.com/wp-content/uploads/2022/10/9-1-750x500.png 750w, https://www.kaispe.com/wp-content/uploads/2022/10/9-1.png 784w" sizes="(max-width: 530px) 100vw, 530px" /></p>
<p>You can set up other parameters like database name and server name, according to your requirement.</p>
<p>STEP &#8211; 5 – Click the copy button and execute the following command in PowerShell.</p>
<pre>New-navserverinstance -managementservicesport 7145 -serverinstance Test -clientservicescredentialtype Windows -clientservicesport 7146 -databasename Test2 -databaseserver KSPMAC-09 -developerservicesport 7149 -odataservicesport 7148 -soapservicesport 7147</pre>
<p>STEP &#8211; 6 – Start New Service with the command.</p>
<pre>Start-navserverinstance -serverinstance Test</pre>
<h3><strong>Create </strong>a new web client instance</h3>
<p>STEP &#8211; 7 – Search and use cmdlet <strong>New-NAVWebServerInstance </strong>to create a new web service instance and specify the Parameter.</p>
<p><img decoding="async" class=" wp-image-6193 aligncenter" src="https://www.kaispe.com/wp-content/uploads/2022/10/3-275x300.png" alt="" width="490" height="534" srcset="https://www.kaispe.com/wp-content/uploads/2022/10/3-275x300.png 275w, https://www.kaispe.com/wp-content/uploads/2022/10/3.png 707w" sizes="(max-width: 490px) 100vw, 490px" /></p>
<ul>
<li>The Port used here should be the same that we used while creating the server instance above.</li>
<li>You can specify the other parameters if you want to.</li>
</ul>
<p>STEP &#8211; 8 – Click the copy button and execute the following command in PowerShell.</p>
<pre>Microsoft.Dynamics.Nav.Management\New-NAVWebServerInstance -Server localhost -ServerInstance Test -WebServerInstance BC200Test -AddFirewallException -ClientServicesCredentialType Windows -ClientServicesPort 7146 -ManagementServicesPort 7145 -SiteDeploymentType SubSite</pre>
<p>STEP &#8211; 9 – Go to the IIS Manager and browse the Web Client &#8216;BC200Test&#8217; OR you can just go to the URL &#8220;http://localhost:8080/BC200Test/&#8221;</p>
<p><img decoding="async" class=" wp-image-6196 aligncenter" src="https://www.kaispe.com/wp-content/uploads/2022/10/output-300x159.png" alt="" width="856" height="454" srcset="https://www.kaispe.com/wp-content/uploads/2022/10/output-300x159.png 300w, https://www.kaispe.com/wp-content/uploads/2022/10/output-1024x542.png 1024w, https://www.kaispe.com/wp-content/uploads/2022/10/output-768x406.png 768w, https://www.kaispe.com/wp-content/uploads/2022/10/output-1536x813.png 1536w, https://www.kaispe.com/wp-content/uploads/2022/10/output.png 1946w" sizes="(max-width: 856px) 100vw, 856px" /></p>
<p>&nbsp;</p>
<p class="reader-text-block__paragraph">Hope you find the information useful.</p>
<p class="reader-text-block__paragraph">Stay tuned for more articles about Business Central.</p>
<p class="reader-text-block__paragraph">If you have any suggestions/questions, please comment on the post or contact us at info@kaispe.com</p>
<p>Courtesy: Govinda Kumar</p>
<p>The post <a href="https://www.kaispe.com/creating-a-new-server-and-web-client-instance-in-microsoft-dynamics-business-central-on-prem/">Creating A New Server And Web Client Instance In Microsoft Dynamics Business Central On-Prem</a> appeared first on <a href="https://www.kaispe.com">KAISPE</a>.</p>
]]></content:encoded>
					
		
		
			</item>
	</channel>
</rss>
