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 01, 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 01, 2012 1:01 PM


SSCoach

SSCoachSSCoachSSCoachSSCoachSSCoachSSCoachSSCoachSSCoachSSCoachSSCoachSSCoach

Group: General Forum Members
Last Login: Monday, April 14, 2014 1:34 PM
Points: 15,442, Visits: 9,588
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 01, 2012 1:10 PM
SSC Veteran

SSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC Veteran

Group: General Forum Members
Last Login: 2 days ago @ 2:25 PM
Points: 222, Visits: 569
Do you have the SQL server browser service running?
Post #1366723
Posted Monday, October 01, 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 01, 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 01, 2012 1:21 PM


SSCoach

SSCoachSSCoachSSCoachSSCoachSSCoachSSCoachSSCoachSSCoachSSCoachSSCoachSSCoach

Group: General Forum Members
Last Login: Monday, April 14, 2014 1:34 PM
Points: 15,442, Visits: 9,588
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 01, 2012 2:33 PM


SSCertifiable

SSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiable

Group: General Forum Members
Last Login: Wednesday, April 16, 2014 9:25 AM
Points: 7,070, Visits: 12,523
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

Believe you can and you're halfway there. --Theodore Roosevelt

Everything Should Be Made as Simple as Possible, But Not Simpler --Albert Einstein

The significant problems we face cannot be solved at the same level of thinking we were at when we created them. --Albert Einstein

1 apple is not exactly 1/8 of 8 apples. Because there are no absolutely identical apples. --Giordy
Post #1366763
Posted Monday, October 01, 2012 4:53 PM
Grasshopper

GrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopper

Group: General Forum Members
Last Login: Thursday, April 10, 2014 6:39 AM
Points: 21, Visits: 271
if you don't have any database attached with that instance then try to use repair option.........
Post #1366826
Posted Tuesday, October 02, 2012 2:21 AM
Grasshopper

GrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopper

Group: General Forum Members
Last Login: Friday, November 22, 2013 4:37 AM
Points: 18, Visits: 420
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 02, 2012 3:13 AM
Valued Member

Valued MemberValued MemberValued MemberValued MemberValued MemberValued MemberValued MemberValued Member

Group: General Forum Members
Last Login: Thursday, April 03, 2014 7:41 AM
Points: 51, Visits: 390
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