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

named instance connection problem Expand / Collapse
Author
Message
Posted Tuesday, May 20, 2008 7:08 AM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: General Forum Members
Last Login: Monday, January 19, 2009 12:41 AM
Points: 7, Visits: 36
hello,
i have one default named instance of sql server 2005 enterprise edition in my PC.
From visual studio i was able to connect to default instance but not to name instance .It is not showing the named instance name.I created an alias name and port number for it in sql server configuration manager.But that also not working,Can anybody guide me to solve this problem

megha,
Post #503608
Posted Tuesday, May 20, 2008 8:42 AM
Hall of Fame

Hall of FameHall of FameHall of FameHall of FameHall of FameHall of FameHall of FameHall of FameHall of Fame

Group: General Forum Members
Last Login: Monday, July 30, 2012 10:42 AM
Points: 3,434, Visits: 519
Hello,

Since you say "On My PC" I assume that Visual Studio and SQL Server are on the same computer.
In the Configuration Manager for Named Instance under Network Configuration make sure TCP/IP is enabled and under Services make sure that the instance is started. In the SQL Server Log for your instance where the startup entries are make sure the instance is started on the port you specified. In the Configuration manager under Client Configuration , Aliases make sure the correct port is specified



Regards,
Yelena Varshal

Post #503754
Posted Tuesday, May 20, 2008 8:47 AM


SSC-Dedicated

SSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-Dedicated

Group: Administrators
Last Login: Today @ 5:09 AM
Points: 31,526, Visits: 13,864
Be sure you are connecting to the servername/instancename.

so if your computer is "Bob", and you have a default and named instance of "Sales", you connect to "Bob" to connect to the default and "Bob\Sales" to connect to the named instance.

Are you sure both instances are running? Is the SQL Browser running?







Follow me on Twitter: @way0utwest

Forum Etiquette: How to post data/code on a forum to get the best help
Post #503764
« Prev Topic | Next Topic »

Add to briefcase

Permissions Expand / Collapse