Click here to Skip to main content
16,018,158 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have build a database with sql server 2008 and define a new user
by right click on security and new user login
but in database explorer c#2010 environment when i creat a new connection and
define a user name and password for sql server authornication this error message
appear:
"Login faild for user"

and i had to use of windows authornication mode
how to define a user?
Posted

Do you mean how you create a new user to SQL Server. If so, see:
- How to: Create a SQL Server Login[^]
- How to: Create a Database User[^]
 
Share this answer
 
Comments
Uday P.Singh 14-Dec-11 11:02am    
5ed :)
Hi,

you need to enable MixedMode


thanks
-Amit
 
Share this answer
 
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900