Solved

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

Posted on 2006-10-30
7
3,168 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
  • 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
Ransomware: The New Cyber Threat & How to Stop It

This infographic explains ransomware, type of malware that blocks access to your files or your systems and holds them hostage until a ransom is paid. It also examines the different types of ransomware and explains what you can do to thwart this sinister online threat.  

 
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

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

Question has a verified solution.

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

Suggested Solutions

Slowly Changing Dimension Transformation component in data task flow is very useful for us to manage and control how data changes in SSIS.
The Delta outage: 650 cancelled flights, more than 1200 delayed flights, thousands of frustrated customers, tens of millions of dollars in damages – plus untold reputational damage to one of the world’s most trusted airlines. All due to a catastroph…
This video shows, step by step, how to configure Oracle Heterogeneous Services via the Generic Gateway Agent in order to make a connection from an Oracle session and access a remote SQL Server database table.
Via a live example, show how to set up a backup for SQL Server using a Maintenance Plan and how to schedule the job into SQL Server Agent.

808 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