Click here to monitor SSC
SQLServerCentral is supported by Red Gate Software Ltd.
 
Log in  ::  Register  ::  Not logged in
 
 
 
        
Home       Members    Calendar    Who's On


Add to briefcase

Alias for SQL server Instance Expand / Collapse
Author
Message
Posted Monday, October 1, 2012 12:23 PM
Valued Member

Valued MemberValued MemberValued MemberValued MemberValued MemberValued MemberValued MemberValued Member

Group: General Forum Members
Last Login: Monday, October 21, 2013 11:03 AM
Points: 52, Visits: 187
Hi I have installed SQL Server 2008 (F1SQL) with two named instances (DEV, QA) and this server is configured for mixed mode authentication.
Now when I am connecting to this server, it is not allowing connection with server name as F1SQL\DEV, F1SQL\QA but allowing connection with F1SQL\DEV,1433, F1SQL\QA,1433 respectively .

I dont want to specify the port numbers while I connect to this database instance, so I tried creating an alias F1SQLDEV for the F1SQL\DEV using SQL server Configuration manager and it didn't work, so can some one please help me out.

Post #1366698
Posted Monday, October 1, 2012 1:01 PM


SSCoach

SSCoachSSCoachSSCoachSSCoachSSCoachSSCoachSSCoachSSCoachSSCoachSSCoachSSCoach

Group: General Forum Members
Last Login: Friday, June 27, 2014 12:43 PM
Points: 15,444, Visits: 9,596
What/where are you connecting from? Management Studio? Linked servers? Something in your application(s)?

- Gus "GSquared", RSVP, OODA, MAP, NMVP, FAQ, SAT, SQL, DNA, RNA, UOI, IOU, AM, PM, AD, BC, BCE, USA, UN, CF, ROFL, LOL, ETC
Property of The Thread

"Nobody knows the age of the human race, but everyone agrees it's old enough to know better." - Anon
Post #1366714
Posted Monday, October 1, 2012 1:10 PM
SSC Veteran

SSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC Veteran

Group: General Forum Members
Last Login: Friday, July 25, 2014 12:14 PM
Points: 246, Visits: 619
Do you have the SQL server browser service running?
Post #1366723
Posted Monday, October 1, 2012 1:20 PM
Valued Member

Valued MemberValued MemberValued MemberValued MemberValued MemberValued MemberValued MemberValued Member

Group: General Forum Members
Last Login: Monday, October 21, 2013 11:03 AM
Points: 52, Visits: 187
I am connecting from the Management studio
Post #1366730
Posted Monday, October 1, 2012 1:21 PM
Valued Member

Valued MemberValued MemberValued MemberValued MemberValued MemberValued MemberValued MemberValued Member

Group: General Forum Members
Last Login: Monday, October 21, 2013 11:03 AM
Points: 52, Visits: 187
I have SQL Server Browser services running
Post #1366731
Posted Monday, October 1, 2012 1:21 PM


SSCoach

SSCoachSSCoachSSCoachSSCoachSSCoachSSCoachSSCoachSSCoachSSCoachSSCoachSSCoach

Group: General Forum Members
Last Login: Friday, June 27, 2014 12:43 PM
Points: 15,444, Visits: 9,596
Make sure SQL Server Browser service is running correctly.

- Gus "GSquared", RSVP, OODA, MAP, NMVP, FAQ, SAT, SQL, DNA, RNA, UOI, IOU, AM, PM, AD, BC, BCE, USA, UN, CF, ROFL, LOL, ETC
Property of The Thread

"Nobody knows the age of the human race, but everyone agrees it's old enough to know better." - Anon
Post #1366733
Posted Monday, October 1, 2012 2:33 PM


SSCertifiable

SSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiable

Group: General Forum Members
Last Login: Saturday, July 26, 2014 8:57 AM
Points: 7,081, Visits: 12,575
And make sure UDP port 1434 is open from your workstations to your server (check Windows firewall settings and other network firewalls).

__________________________________________________________________________________________________
There are no special teachers of virtue, because virtue is taught by the whole community. --Plato
Post #1366763
Posted Monday, October 1, 2012 4:53 PM
Grasshopper

GrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopper

Group: General Forum Members
Last Login: Today @ 7:58 AM
Points: 21, Visits: 305
if you don't have any database attached with that instance then try to use repair option.........
Post #1366826
Posted Tuesday, October 2, 2012 2:21 AM
Grasshopper

GrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopper

Group: General Forum Members
Last Login: Thursday, July 24, 2014 10:55 AM
Points: 18, Visits: 444
If you are able to make connection with using port no and without port you are not then browser service is not running and if it looking running then port 1434 is not open.Please check port 1434 is open or not.
Post #1366896
Posted Tuesday, October 2, 2012 3:13 AM
Valued Member

Valued MemberValued MemberValued MemberValued MemberValued MemberValued MemberValued MemberValued Member

Group: General Forum Members
Last Login: Monday, June 16, 2014 8:52 AM
Points: 51, Visits: 398
One option is to configure the two instances with their own IP addresses and then you can use port 1433 on both.
This way you can use DNS for all your connection strings, odbc and so on and then you don't have to mess with aliases.
Using server\instance or random portnumbers in connectionstrings is administrative/migration hell..

So I've set a standard for the DNS entries:
SQL-ApplicationName.company.local
SQL-Databasename.company.local

And I use this for ALL SQL connections , this way it is easier to migrate/move in the future (just change IP for the host entry).
Also everything is documented in the DNS.

There are some things to think about when setting this up, reply to this if you are interested.


Post #1366916
« Prev Topic | Next Topic »

Add to briefcase

Permissions Expand / Collapse