Solved

how can I change authentication type to sql server authentication on sql server express 2005

Posted on 2006-10-30
7
3,169 Views
Last Modified: 2013-12-03
Hi, I have ms sql server express 2005

when I connect to sql server express 2005  using  user sa
it gives me this error

Cannot connect to pc-1\sqlexpress
Additional information
Login failed for user 'sa' The user is not associated with a trusted sql server connection

how can I change authentication type to sql server authentication instead of windows autheintication using sql server management studio express

can any body  help  in that

thanx
0
Comment
Question by:shang3000
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
  • 2
  • +1
7 Comments
 
LVL 75

Assisted Solution

by:Aneesh Retnakaran
Aneesh Retnakaran earned 100 total points
ID: 17832292
RightClick on the server -> properties -> Security

Now you can select 'Wndows' authentication
0
 
LVL 8

Accepted Solution

by:
gena17 earned 400 total points
ID: 17832301
I'm not sure about express, but it works for standard:
SQL Management Studio
Right click on your server instance
Properties
Security
Select your server authentication

Don't forget to restart after.
0
 
LVL 8

Expert Comment

by:gena17
ID: 17832303
Oooops :)
0
Backup Solution for AWS

Read about how CloudBerry Backup fully integrates your backups with Amazon S3 and Amazon Glacier to provide military-grade encryption and dramatically cut storage costs on any platform.

 
LVL 28

Expert Comment

by:imran_fast
ID: 17832314
RightClick on the server -> properties -> Security
select mixed mode
0
 

Author Comment

by:shang3000
ID: 17832337
I did what you said it gived me this error message

Cannot connect to pc-1\sqlexpress
a Connection was successfully established with the server, but then an error occurred during the login process(provider: shared memory provider error:0 - No process is on the other end of the pipe )(microsoft sql server , Error:233)

when I try the same steps again  it gives this error :

Cannot connect to pc-1\sqlexpress
Additional information
Login failed for user 'sa' The user is not associated with a trusted sql server connection (microsoft sql server, Error: 18452)
0
 
LVL 28

Expert Comment

by:imran_fast
ID: 17832390
Did you restrat services after that .

0
 

Author Comment

by:shang3000
ID: 17832425
It worked I restarted the machine and it worked
Thanx guys
0

Featured Post

Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Ever needed a SQL 2008 Database replicated/mirrored/log shipped on another server but you can't take the downtime inflicted by initial snapshot or disconnect while T-logs are restored or mirror applied? You can use SQL Server Initialize from Backup…
In this article we will learn how to fix  “Cannot install SQL Server 2014 Service Pack 2: Unable to install windows installer msi file” error ?
Viewers will learn how to use the INSERT statement to insert data into their tables. It will also introduce the NULL statement, to show them what happens when no value is giving for any given column.
Viewers will learn how to use the SELECT statement in SQL and will be exposed to the many uses the SELECT statement has.

740 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question