5,702,921 members and growing! (15,766 online)
Email Password   helpLost your password?
Database » Database » General     Intermediate

Configure MS SQL Server 2005 Remote Access ( mixed mode )

By hong_wei_li@yahoo.com

Configure MS SQL Server 2005 Remote Access ( mixed mode )
C#, SQL, .NET, Win2003, Windows, ADO.NET, SQL Server, Visual Studio, SQL 2005, VS2005, Architect, DBA, Dev

Posted: 13 Oct 2006
Updated: 13 Oct 2006
Views: 36,961
Bookmarked: 15 times
Announcements
Loading...



Search    
Advanced Search
Sitemap
8 votes for this Article.
Popularity: 2.50 Rating: 2.77 out of 5
3 votes, 37.5%
1
1 vote, 12.5%
2
0 votes, 0.0%
3
1 vote, 12.5%
4
3 votes, 37.5%
5
Note: This is an unedited contribution. If this article is inappropriate, needs attention or copies someone else's work without reference then please Report This Article

Configure MS SQL Server 2005 Remote Access ( mixed mode )

MS SQL Server 2005 remote access configuration is different from MS SQL Server 2000. Remote access to MS SQL Server 2005 with user and password is required and necessary for any database applications. If MS SQL Server 2005 is originally configured for windows authentication, configuration for remote access ( mixed mode or SQL Server authentication ) needs a little more extra work to get it done.

Here is how to get this done.

 

1. Configuration in SQL Server Management Studio

 

Click “All Programs” -> Click “Microsoft SQL Server 2005” -> click “Microsoft SQL Server Management Studio”

Log in to SQL Server 2005 with windows authentication or sa user;

Highlight the server and right click “Properties”;

Highlight “Security”  -> Under “Server authentication”,  choose “SQL Server and Windows authentication mode”;

Highlight “Connections” -> Under “Remote server connections”,  choose “Allow remote connections to this server”;

 

Click OK to save the settings.

 

2. Configuration in SQL Server Surface Area Configuration

Click “All Programs” -> Click “Microsoft SQL Server 2005” -> click “Configuration Tools” -> click “SQL Server 2005 Surface Area Configuration”

 

Click “Surface Area Configuration for Services and Connections” -> click “MSSQLSERVER” -> click “Database engine” -> click “Remote connections ” -> Under “Local and remote connections”, choose “Using TCP/IP only” or other protocols.

 

Click “Apply” to save the settings.

 

3. Stop SQL server and restart SQL server

Use “SQL Server Management Studio” or Services in Control Panel to stop SQL Server and then restart the SQL Server. This process is used to initialize the change settings.

 

4. Test the changes

a. Create the user through “Security” -> “Logins” -> “New Logins…”

 

b. log in with the newly created user  when “Authentication”  is “SQL Server authentication” under local SQL server or under remote SQL server.

 

If you have any questions or suggestions, please email me at hong_wei_li@yahoo.com

 

Happy SQLing!

 

- Hongwei Li

License

This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

A list of licenses authors might use can be found here

About the Author

hong_wei_li@yahoo.com


.Focus on database (SQL Server 2005/2000/7/6.5 and Oracle 10g) development with C#,

ASP.NET, ASP, Java, PHP.
.Like to work with MS Server 2005 SSIS and report service
.Like full cycle software design, development and deployment
.Microsoft Certified SQL Server Developer and DBA.
Occupation: Web Developer
Location: United States United States

Other popular Database articles:

Article Top
Sign Up to vote for this article
You must Sign In to use this message board.
FAQ FAQ Noise ToleranceSearch Search Messages 
 Layout  Per page   
 Msgs 1 to 5 of 5 (Total in Forum: 5) (Refresh)FirstPrevNext
GeneralWorked for me as wellmemberwyzec2:41 7 May '08  
GeneralThank u very much...memberMember 39943615:03 4 May '08  
GeneralThanks!memberUnRusoDeCaracas19:10 14 Feb '07  
GeneralamGood tipmemberharinath20:50 29 Nov '06  
Generalgr8membercrazysanker2:39 21 Nov '06  

General General    News News    Question Question    Answer Answer    Joke Joke    Rant Rant    Admin Admin   

PermaLink | Privacy | Terms of Use
Last Updated: 13 Oct 2006
Editor:
Copyright 2006 by hong_wei_li@yahoo.com
Everything else Copyright © CodeProject, 1999-2008
Web19 | Advertise on the Code Project