SQL Server Forums
Profile | Register | Active Topics | Members | Search | Forum FAQ
 
Register Now and get your question answered!
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 General SQL Server Forums
 New to SQL Server Administration
 Aliases
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Pete_N
Posting Yak Master

156 Posts

Posted - 09/27/2013 :  17:22:35  Show Profile  Reply with Quote
I am trying to set up a few live and development systems all using the same SQL server. I have set up 4 named instances on the SQL server

CrmLive
CrmDev
ShareLive
ShareDev

I need to set up aliases for these four instances, but don't know how

tkizer
Almighty SQL Goddess

USA
35952 Posts

Posted - 09/27/2013 :  17:50:41  Show Profile  Visit tkizer's Homepage  Reply with Quote
You can do it through SQL Server Configuration Manager and regedit. I prefer regedit.

The registry key: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MSSQLServer\Client\ConnectTo

The registry entry's name will be the alias name. Then you'd specify how to connect in the data value.

Here's an example:
String name: SomeAliasName
Data value: DBMSSOCN,SomeServerName,PortNumber

DBMSSOCN tells it to use the TCP dll.

Tara Kizer
SQL Server MVP since 2007
http://weblogs.sqlteam.com/tarad/
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2009 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.05 seconds. Powered By: Snitz Forums 2000