CRM 4.0 - SQL Server Named Instance - Non-Default Port - Multi Tenancy<span class=Apple-style-span style="font-family:Verdana"> <div><span class=Apple-style-span style="white-space:normal"><span class=Apple-style-span style="font-style:italic">--Poor english below</span></span></div> <div><span class=Apple-style-span style="white-space:normal"><br></span></div>Hi all!</span><font face=Arial size=2></font> <div><span class=Apple-style-span style="font-family:Verdana;white-space:normal"><br></span></div> <div><span class=Apple-style-span style="font-family:Verdana;white-space:normal">Here is my environment: <span class=Apple-style-span style="font-style:italic">(Please note that I've tried to keep the info to a minimum and yes, this env. is strange! It is used for simultaneous development teams)</span></span></div> <div><br></div> <div><span class=Apple-style-span style="font-family:Verdana;white-space:normal">I have:</span></div> <div><span class=Apple-style-span style="font-family:Verdana;white-space:normal"><br></span></div> <div><span class=Apple-style-span style="font-family:Verdana;white-space:normal">3 Windows 2003 Virtual Servers running on Virtual Server 2005. Same Microsoft Dynamics CRM 4.0 Deployment, multi tenancy configuration. Fresh Install. We will call these servers CRM01,CRM02 and CRM03 - (Useless Info...)</span></div> <div><span class=Apple-style-span style="font-family:Verdana;white-space:normal"><br></span></div> <div><span class=Apple-style-span style="font-family:Verdana;white-space:normal">1 Windows 2003 w/SQL Server 2005, running 4 instances. </span><br></div> <div><span class=Apple-style-span style="font-family:Verdana;white-space:normal">Lets call them</span></div> <blockquote class=webkit-indent-blockquote style="border-right:medium none;padding-right:0px;border-top:medium none;padding-left:0px;padding-bottom:0px;margin:0px 0px 0px 40px;border-left:medium none;padding-top:0px;border-bottom:medium none"><span class=Apple-style-span style="font-family:Verdana">- SQL01 (default instance, running on default port  )</span><br></blockquote> <blockquote class=webkit-indent-blockquote style="border-right:medium none;padding-right:0px;border-top:medium none;padding-left:0px;padding-bottom:0px;margin:0px 0px 0px 40px;border-left:medium none;padding-top:0px;border-bottom:medium none"> <blockquote class=webkit-indent-blockquote style="border-right:medium none;padding-right:0px;border-top:medium none;padding-left:0px;padding-bottom:0px;margin:0px 0px 0px 40px;border-left:medium none;padding-top:0px;border-bottom:medium none">This instance is used for another application.</blockquote></blockquote> <blockquote class=webkit-indent-blockquote style="border-right:medium none;padding-right:0px;border-top:medium none;padding-left:0px;padding-bottom:0px;margin:0px 0px 0px 40px;border-left:medium none;padding-top:0px;border-bottom:medium none"><span class=Apple-style-span style="font-family:Verdana">- SQL01\INSA (named instance, running on default port 4050 )</span></blockquote> <blockquote class=webkit-indent-blockquote style="border-right:medium none;padding-right:0px;border-top:medium none;padding-left:0px;padding-bottom:0px;margin:0px 0px 0px 40px;border-left:medium none;padding-top:0px;border-bottom:medium none"> <blockquote class=webkit-indent-blockquote style="border-right:medium none;padding-right:0px;border-top:medium none;padding-left:0px;padding-bottom:0px;margin:0px 0px 0px 40px;border-left:medium none;padding-top:0px;border-bottom:medium none">This instance hosts the MSCRM_CONFIG database, and the ''Organization A'' database</blockquote></blockquote> <blockquote class=webkit-indent-blockquote style="border-right:medium none;padding-right:0px;border-top:medium none;padding-left:0px;padding-bottom:0px;margin:0px 0px 0px 40px;border-left:medium none;padding-top:0px;border-bottom:medium none"><span class=Apple-style-span style="font-family:Verdana">- SQL01\INSB (named instance, running on default port 4051 )</span></blockquote> <blockquote class=webkit-indent-blockquote style="border-right:medium none;padding-right:0px;border-top:medium none;padding-left:0px;padding-bottom:0px;margin:0px 0px 0px 40px;border-left:medium none;padding-top:0px;border-bottom:medium none"> <blockquote class=webkit-indent-blockquote style="border-right:medium none;padding-right:0px;border-top:medium none;padding-left:0px;padding-bottom:0px;margin:0px 0px 0px 40px;border-left:medium none;padding-top:0px;border-bottom:medium none">This instance hosts the ''Organization B'' database</blockquote></blockquote> <blockquote class=webkit-indent-blockquote style="border-right:medium none;padding-right:0px;border-top:medium none;padding-left:0px;padding-bottom:0px;margin:0px 0px 0px 40px;border-left:medium none;padding-top:0px;border-bottom:medium none"><span class=Apple-style-span style="font-family:Verdana">- SQL01\INSC (named instance, running on default port 4052 )</span></blockquote> <blockquote class=webkit-indent-blockquote style="border-right:medium none;padding-right:0px;border-top:medium none;padding-left:0px;padding-bottom:0px;margin:0px 0px 0px 40px;border-left:medium none;padding-top:0px;border-bottom:medium none"> <blockquote class=webkit-indent-blockquote style="border-right:medium none;padding-right:0px;border-top:medium none;padding-left:0px;padding-bottom:0px;margin:0px 0px 0px 40px;border-left:medium none;padding-top:0px;border-bottom:medium none">This instance hosts the ''Organization C'' database</blockquote></blockquote> <div><span class=Apple-style-span style="font-family:Verdana;white-space:normal"><br></span></div> <div><span class=Apple-style-span style="font-family:Verdana;white-space:normal"><br></span></div> <div><span class=Apple-style-span style="font-family:Verdana;white-space:normal">So I have installed CRM 4.0 on CRM01, created a new deployment and a new org. No problem. </span></div> <div><span class=Apple-style-span style="font-family:Verdana;white-space:normal">I have installed CRM 4.0 on CRM02 and CRM03 and add joined the deployment.</span></div> <div><span class=Apple-style-span style="font-family:Verdana;white-space:normal"><br></span></div> <div><span class=Apple-style-span style="font-family:Verdana;white-space:normal">Now i want to create the two other organization</span></div> <div><span class=Apple-style-span style="font-family:Verdana;white-space:normal"><br></span></div> <div><span class=Apple-style-span style="font-family:Verdana;white-space:normal">In the Deployment Manager, I create a new organization: When its time the enter the SQL Server for that organization, I put &quot;SQL01\INSB&quot;, Then I will end up with an error saying that the SQL Server could not be reached. </span></div> <div><span class=Apple-style-span style="font-family:Verdana;white-space:normal"><br></span></div> <div><span class=Apple-style-span style="font-family:Verdana;white-space:normal"><br></span></div> <div><span class=Apple-style-span style="font-family:Verdana;white-space:normal">Note that I have not specifed the port number anywhere. </span></div> <div><span class=Apple-style-span style="font-family:Verdana;white-space:normal"><br></span></div> <div><span class=Apple-style-span style="font-family:Verdana;white-space:normal">My workaround:</span></div> <div><br></div> <div><span class=Apple-style-span style="font-family:Verdana;white-space:normal">I keep the Wizard open. I open the OBDC Data Source Administrator, create a new Data Source, specify, Server\Instance and Port number, Test Connection successfully.</span></div> <div><span class=Apple-style-span style="font-family:Verdana;white-space:normal"><br></span></div> <div><span class=Apple-style-span style="font-family:Verdana;white-space:normal">I go back to the Wizard in the Deployment Manager, and I works.</span></div> <div><span class=Apple-style-span style="font-family:Verdana;white-space:normal"><br></span></div> <div><span class=Apple-style-span style="font-family:Verdana;white-space:normal">So, now i need your help for two thing:</span></div> <div><span class=Apple-style-span style="font-family:Verdana;white-space:normal"><br></span></div> <div><span class=Apple-style-span style="font-family:Verdana;white-space:normal">1) Please explain me why it works.</span></div> <div><span class=Apple-style-span style="font-family:Verdana;white-space:normal">2) How do you specify which port to use in the Dynamics CRM 4.0 wizards for SQL Server named instances?</span></div> <div><span class=Apple-style-span style="font-family:Verdana;white-space:normal"><br></span></div> <div><span class=Apple-style-span style="font-family:Verdana;white-space:normal"><br></span></div> <div><span class=Apple-style-span style="font-family:Verdana;white-space:normal">I've read that &quot;Microsoft <span class=Apple-style-span style="font-family:Tahoma">supports named instances out of the box with Microsoft Dynamics CRM 4.0&quot;... </span></span></div> <div><span class=Apple-style-span style="font-family:Verdana;white-space:normal"><br></span></div> <div><span class=Apple-style-span style="font-family:Verdana;white-space:normal">THANKS!!! </span></div> <div><span class=Apple-style-span style="font-family:Verdana;white-space:normal"><br></span></div> <div><span class=Apple-style-span style="font-family:Verdana;white-space:normal"><br></span></div> <div><span class=Apple-style-span style="font-family:Verdana;white-space:normal"><br></span></div> <div><span class=Apple-style-span style="font-family:Verdana;white-space:normal"> </span></div> <div><span class=Apple-style-span style="font-family:Verdana;white-space:normal"> </span></div> <div><span class=Apple-style-span style="font-family:Verdana;white-space:normal"><br></span></div>© 2009 Microsoft Corporation. All rights reserved.Fri, 30 Jan 2009 05:57:23 Z30bd2f37-27a5-4598-8183-d5780e05b1e4http://social.microsoft.com/Forums/en-US/crmdeployment/thread/30bd2f37-27a5-4598-8183-d5780e05b1e4#30bd2f37-27a5-4598-8183-d5780e05b1e4http://social.microsoft.com/Forums/en-US/crmdeployment/thread/30bd2f37-27a5-4598-8183-d5780e05b1e4#30bd2f37-27a5-4598-8183-d5780e05b1e4MaximeFortierhttp://social.microsoft.com/Profile/en-US/?user=MaximeFortierCRM 4.0 - SQL Server Named Instance - Non-Default Port - Multi Tenancy<span class=Apple-style-span style="font-family:Verdana"> <div><span class=Apple-style-span style="white-space:normal"><span class=Apple-style-span style="font-style:italic">--Poor english below</span></span></div> <div><span class=Apple-style-span style="white-space:normal"><br></span></div>Hi all!</span><font face=Arial size=2></font> <div><span class=Apple-style-span style="font-family:Verdana;white-space:normal"><br></span></div> <div><span class=Apple-style-span style="font-family:Verdana;white-space:normal">Here is my environment: <span class=Apple-style-span style="font-style:italic">(Please note that I've tried to keep the info to a minimum and yes, this env. is strange! It is used for simultaneous development teams)</span></span></div> <div><br></div> <div><span class=Apple-style-span style="font-family:Verdana;white-space:normal">I have:</span></div> <div><span class=Apple-style-span style="font-family:Verdana;white-space:normal"><br></span></div> <div><span class=Apple-style-span style="font-family:Verdana;white-space:normal">3 Windows 2003 Virtual Servers running on Virtual Server 2005. Same Microsoft Dynamics CRM 4.0 Deployment, multi tenancy configuration. Fresh Install. We will call these servers CRM01,CRM02 and CRM03 - (Useless Info...)</span></div> <div><span class=Apple-style-span style="font-family:Verdana;white-space:normal"><br></span></div> <div><span class=Apple-style-span style="font-family:Verdana;white-space:normal">1 Windows 2003 w/SQL Server 2005, running 4 instances. </span><br></div> <div><span class=Apple-style-span style="font-family:Verdana;white-space:normal">Lets call them</span></div> <blockquote class=webkit-indent-blockquote style="border-right:medium none;padding-right:0px;border-top:medium none;padding-left:0px;padding-bottom:0px;margin:0px 0px 0px 40px;border-left:medium none;padding-top:0px;border-bottom:medium none"><span class=Apple-style-span style="font-family:Verdana">- SQL01 (default instance, running on default port  )</span><br></blockquote> <blockquote class=webkit-indent-blockquote style="border-right:medium none;padding-right:0px;border-top:medium none;padding-left:0px;padding-bottom:0px;margin:0px 0px 0px 40px;border-left:medium none;padding-top:0px;border-bottom:medium none"> <blockquote class=webkit-indent-blockquote style="border-right:medium none;padding-right:0px;border-top:medium none;padding-left:0px;padding-bottom:0px;margin:0px 0px 0px 40px;border-left:medium none;padding-top:0px;border-bottom:medium none">This instance is used for another application.</blockquote></blockquote> <blockquote class=webkit-indent-blockquote style="border-right:medium none;padding-right:0px;border-top:medium none;padding-left:0px;padding-bottom:0px;margin:0px 0px 0px 40px;border-left:medium none;padding-top:0px;border-bottom:medium none"><span class=Apple-style-span style="font-family:Verdana">- SQL01\INSA (named instance, running on default port 4050 )</span></blockquote> <blockquote class=webkit-indent-blockquote style="border-right:medium none;padding-right:0px;border-top:medium none;padding-left:0px;padding-bottom:0px;margin:0px 0px 0px 40px;border-left:medium none;padding-top:0px;border-bottom:medium none"> <blockquote class=webkit-indent-blockquote style="border-right:medium none;padding-right:0px;border-top:medium none;padding-left:0px;padding-bottom:0px;margin:0px 0px 0px 40px;border-left:medium none;padding-top:0px;border-bottom:medium none">This instance hosts the MSCRM_CONFIG database, and the ''Organization A'' database</blockquote></blockquote> <blockquote class=webkit-indent-blockquote style="border-right:medium none;padding-right:0px;border-top:medium none;padding-left:0px;padding-bottom:0px;margin:0px 0px 0px 40px;border-left:medium none;padding-top:0px;border-bottom:medium none"><span class=Apple-style-span style="font-family:Verdana">- SQL01\INSB (named instance, running on default port 4051 )</span></blockquote> <blockquote class=webkit-indent-blockquote style="border-right:medium none;padding-right:0px;border-top:medium none;padding-left:0px;padding-bottom:0px;margin:0px 0px 0px 40px;border-left:medium none;padding-top:0px;border-bottom:medium none"> <blockquote class=webkit-indent-blockquote style="border-right:medium none;padding-right:0px;border-top:medium none;padding-left:0px;padding-bottom:0px;margin:0px 0px 0px 40px;border-left:medium none;padding-top:0px;border-bottom:medium none">This instance hosts the ''Organization B'' database</blockquote></blockquote> <blockquote class=webkit-indent-blockquote style="border-right:medium none;padding-right:0px;border-top:medium none;padding-left:0px;padding-bottom:0px;margin:0px 0px 0px 40px;border-left:medium none;padding-top:0px;border-bottom:medium none"><span class=Apple-style-span style="font-family:Verdana">- SQL01\INSC (named instance, running on default port 4052 )</span></blockquote> <blockquote class=webkit-indent-blockquote style="border-right:medium none;padding-right:0px;border-top:medium none;padding-left:0px;padding-bottom:0px;margin:0px 0px 0px 40px;border-left:medium none;padding-top:0px;border-bottom:medium none"> <blockquote class=webkit-indent-blockquote style="border-right:medium none;padding-right:0px;border-top:medium none;padding-left:0px;padding-bottom:0px;margin:0px 0px 0px 40px;border-left:medium none;padding-top:0px;border-bottom:medium none">This instance hosts the ''Organization C'' database</blockquote></blockquote> <div><span class=Apple-style-span style="font-family:Verdana;white-space:normal"><br></span></div> <div><span class=Apple-style-span style="font-family:Verdana;white-space:normal"><br></span></div> <div><span class=Apple-style-span style="font-family:Verdana;white-space:normal">So I have installed CRM 4.0 on CRM01, created a new deployment and a new org. No problem. </span></div> <div><span class=Apple-style-span style="font-family:Verdana;white-space:normal">I have installed CRM 4.0 on CRM02 and CRM03 and add joined the deployment.</span></div> <div><span class=Apple-style-span style="font-family:Verdana;white-space:normal"><br></span></div> <div><span class=Apple-style-span style="font-family:Verdana;white-space:normal">Now i want to create the two other organization</span></div> <div><span class=Apple-style-span style="font-family:Verdana;white-space:normal"><br></span></div> <div><span class=Apple-style-span style="font-family:Verdana;white-space:normal">In the Deployment Manager, I create a new organization: When its time the enter the SQL Server for that organization, I put &quot;SQL01\INSB&quot;, Then I will end up with an error saying that the SQL Server could not be reached. </span></div> <div><span class=Apple-style-span style="font-family:Verdana;white-space:normal"><br></span></div> <div><span class=Apple-style-span style="font-family:Verdana;white-space:normal"><br></span></div> <div><span class=Apple-style-span style="font-family:Verdana;white-space:normal">Note that I have not specifed the port number anywhere. </span></div> <div><span class=Apple-style-span style="font-family:Verdana;white-space:normal"><br></span></div> <div><span class=Apple-style-span style="font-family:Verdana;white-space:normal">My workaround:</span></div> <div><br></div> <div><span class=Apple-style-span style="font-family:Verdana;white-space:normal">I keep the Wizard open. I open the OBDC Data Source Administrator, create a new Data Source, specify, Server\Instance and Port number, Test Connection successfully.</span></div> <div><span class=Apple-style-span style="font-family:Verdana;white-space:normal"><br></span></div> <div><span class=Apple-style-span style="font-family:Verdana;white-space:normal">I go back to the Wizard in the Deployment Manager, and I works.</span></div> <div><span class=Apple-style-span style="font-family:Verdana;white-space:normal"><br></span></div> <div><span class=Apple-style-span style="font-family:Verdana;white-space:normal">So, now i need your help for two thing:</span></div> <div><span class=Apple-style-span style="font-family:Verdana;white-space:normal"><br></span></div> <div><span class=Apple-style-span style="font-family:Verdana;white-space:normal">1) Please explain me why it works.</span></div> <div><span class=Apple-style-span style="font-family:Verdana;white-space:normal">2) How do you specify which port to use in the Dynamics CRM 4.0 wizards for SQL Server named instances?</span></div> <div><span class=Apple-style-span style="font-family:Verdana;white-space:normal"><br></span></div> <div><span class=Apple-style-span style="font-family:Verdana;white-space:normal"><br></span></div> <div><span class=Apple-style-span style="font-family:Verdana;white-space:normal">I've read that &quot;Microsoft <span class=Apple-style-span style="font-family:Tahoma">supports named instances out of the box with Microsoft Dynamics CRM 4.0&quot;... </span></span></div> <div><span class=Apple-style-span style="font-family:Verdana;white-space:normal"><br></span></div> <div><span class=Apple-style-span style="font-family:Verdana;white-space:normal">THANKS!!! </span></div> <div><span class=Apple-style-span style="font-family:Verdana;white-space:normal"><br></span></div> <div><span class=Apple-style-span style="font-family:Verdana;white-space:normal"><br></span></div> <div><span class=Apple-style-span style="font-family:Verdana;white-space:normal"><br></span></div> <div><span class=Apple-style-span style="font-family:Verdana;white-space:normal"> </span></div> <div><span class=Apple-style-span style="font-family:Verdana;white-space:normal"> </span></div> <div><span class=Apple-style-span style="font-family:Verdana;white-space:normal"><br></span></div>Mon, 20 Oct 2008 19:41:59 Z2008-11-05T13:22:57Zhttp://social.microsoft.com/Forums/en-US/crmdeployment/thread/30bd2f37-27a5-4598-8183-d5780e05b1e4#2ae73135-bd70-4622-a558-00f212711a6bhttp://social.microsoft.com/Forums/en-US/crmdeployment/thread/30bd2f37-27a5-4598-8183-d5780e05b1e4#2ae73135-bd70-4622-a558-00f212711a6bMaximeFortierhttp://social.microsoft.com/Profile/en-US/?user=MaximeFortierCRM 4.0 - SQL Server Named Instance - Non-Default Port - Multi Tenancy<div>You can't specify the port of a SQL Server Named Instance during Microsoft Dynamics CRM 4.0 installation process. And you don't need to... <br></div> <div><span class=Apple-style-span style="white-space:normal"><span class=Apple-style-span style="font-size:16px;font-family:'Times New Roman'"> <div style="font-size:10pt;font-family:Arial"><font face=Arial size=2></font> <div style="word-wrap:break-word"><span class=Apple-style-span style="white-space:normal"><br></span></div> <div style="word-wrap:break-word"><span class=Apple-style-span style="white-space:normal">If you cant connect to the SQL Server Named Instance, create the following key in the registry:</span></div> <div style="word-wrap:break-word"><span class=Apple-style-span style="white-space:normal"><br></span></div> <div style="word-wrap:break-word"><span class=Apple-style-span style="white-space:normal">in HKLM\Software\Microsoft\MSSQLServer\Client\ConnectTo</span></div> <div style="word-wrap:break-word"><span class=Apple-style-span style="white-space:normal"><br></span></div> <div style="word-wrap:break-word"><span class=Apple-style-span style="white-space:normal">Create the following: </span></div> <div style="word-wrap:break-word"><span class=Apple-style-span style="white-space:normal"><br></span></div> <div style="word-wrap:break-word"><span class=Apple-style-span style="white-space:normal">Name : &lt;SQLServerName&gt;\&lt;SQLServerInstanceName&gt;</span></div> <div style="word-wrap:break-word"><span class=Apple-style-span style="white-space:normal">Type : REG_SZ</span></div> <div style="word-wrap:break-word"><span class=Apple-style-span style="white-space:normal">Value: DBMSSOCN,&lt;SQLServerName&gt;\&lt;SQLServerInstanceName&gt;,&lt;PortNumber&gt;</span></div> <div style="word-wrap:break-word"><span class=Apple-style-span style="white-space:normal"><br></span></div> <div style="word-wrap:break-word"><span class=Apple-style-span style="white-space:normal"><br></span></div> <div style="word-wrap:break-word"><span class=Apple-style-span style="white-space:normal">Example: DBMSSOCN,VSC1ASQL1\VSC1ASQL1X,4052</span></div> <div><span class=Apple-style-span style="white-space:normal"><br></span></div></div></span></span></div>Wed, 05 Nov 2008 13:22:53 Z2008-11-05T13:22:57Z