Wrox Programmer Forums
Go Back   Wrox Programmer Forums > SQL Server > SQL Server 2000 > SQL Server 2000
|
SQL Server 2000 General discussion of Microsoft SQL Server -- for topics that don't fit in one of the more specific SQL Server forums. version 2000 only. There's a new forum for SQL Server 2005.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the SQL Server 2000 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old December 30th, 2006, 04:44 PM
Authorized User
 
Join Date: Feb 2006
Posts: 19
Thanks: 0
Thanked 0 Times in 0 Posts
Default Connecting to a named instance

I have two instances I'm trying to connect to on my server. One is the default (nameless) instance, which I have connected fine. But, when I try to connect to the named instace, I seem unable to do so.

I've tried connecting in enterprise manager and query analyzer with things like 127.0.0.1\name, 127.0.0.1\\name, \\127.0.0.1\name but none of them have worked. I'm sure it's easy enough, as most baffling things are, but I'm really stumped on this one.

Would someone please point me in the right direction?

Thanks.

 
Old December 30th, 2006, 05:03 PM
Authorized User
 
Join Date: Feb 2006
Posts: 19
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I think I found what's wrong. The instance I'm trying to connect to uses windows authentication but I'm trying to connect with SQL authentication. Now my question is how do I switch from one to the other?

 
Old January 2nd, 2007, 12:33 AM
Authorized User
 
Join Date: Oct 2005
Posts: 72
Thanks: 0
Thanked 0 Times in 0 Posts
Default

>> Now my question is how do I switch from one to the other? <<

If you are referring to switching from Windows Authentication and SQL Authentication, you have that option when connecting using Query Analyzer. It asks you whether you want to connect using Windows Authenticaiton or SQL Authentication.

If you are asking how to switch the SQL Server from Windows Authentication to SQL Authentication, simply right-click on the SQL Server instance in Enterprise Manager and go to Properties. There's a tab there where you can change this.

SQL Server Helper
How well do you know SQL? Find out with the free test assessment from SQL Server Helper!!!
http://www.sql-server-helper.com/free-test/default.aspx

Got a SQL Server Question? Ask us here: http://www.sql-server-helper.com/forums/default.asp
 
Old January 2nd, 2007, 08:48 AM
Authorized User
 
Join Date: Feb 2006
Posts: 19
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hahahahahaha....... wow. I finally got it working. The port my second instance was using was being blocked by windows firewall. Wow.... I feel like an id10t.... oh well.

Thanks!






Similar Threads
Thread Thread Starter Forum Replies Last Post
named anchors stekker XSLT 1 November 16th, 2006 05:03 AM
Named arguments Bob Bedell C# 2 March 19th, 2006 09:25 PM
Named Pipes bpe_xmind Visual C++ 0 February 5th, 2006 08:21 AM
Help for named template wu4 XSLT 2 October 18th, 2005 10:09 AM
Named Pipe class gm C# 0 August 7th, 2003 08:18 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.