Click here to Skip to main content
15,867,308 members
Home / Discussions / C#
   

C#

 
JokeRe: sql server express Pin
Henry Minute17-Jan-11 6:01
Henry Minute17-Jan-11 6:01 
GeneralRe: sql server express Pin
Dan Mos17-Jan-11 9:10
Dan Mos17-Jan-11 9:10 
GeneralRe: sql server express Pin
Henry Minute17-Jan-11 9:20
Henry Minute17-Jan-11 9:20 
GeneralRe: sql server express Pin
Bernhard Hiller17-Jan-11 21:05
Bernhard Hiller17-Jan-11 21:05 
AnswerRe: sql server express Pin
Ravi Sant17-Jan-11 3:51
Ravi Sant17-Jan-11 3:51 
GeneralRe: sql server express Pin
arkiboys17-Jan-11 4:08
arkiboys17-Jan-11 4:08 
GeneralRe: sql server express Pin
Henry Minute17-Jan-11 6:23
Henry Minute17-Jan-11 6:23 
GeneralRe: sql server express Pin
arkiboys19-Jan-11 0:31
arkiboys19-Jan-11 0:31 
Hi,
I am unable to connect to the sql2005express on my laptop
The error I get is:
login failed for user 'UserA'. the user is not associated with a trusted sql server connection

Note that sql server is set for both windows and sql authentication modes.
UserA is created in the login to have access to the database "DBName"

Data Source=.\SQLEXPRESS;Initial Catalog=DBname;User Id=UserA;Password=password

If I use the following connectionstring then it works fine

Data Source=LAPTOPName;Initial Catalog=DBname;IntegratedSecurity=True

Question:
How can I connect successfully to sqlExpress in my laptop please?

Thanks
GeneralRe: sql server express Pin
Henry Minute19-Jan-11 1:15
Henry Minute19-Jan-11 1:15 
AnswerRe: sql server express Pin
Steve Maier17-Jan-11 4:38
professionalSteve Maier17-Jan-11 4:38 
QuestionUser account rights Pin
marca29217-Jan-11 2:19
marca29217-Jan-11 2:19 
AnswerRe: User account rights Pin
_Erik_17-Jan-11 2:52
_Erik_17-Jan-11 2:52 
Questionadd data,delete data,modify data,save data from datagrid Pin
chaitravb17-Jan-11 1:21
chaitravb17-Jan-11 1:21 
AnswerRe: add data,delete data,modify data,save data from datagrid Pin
RaviRanjanKr17-Jan-11 1:35
professionalRaviRanjanKr17-Jan-11 1:35 
QuestionConverting Clipboard Outlook Data-Msg to C# object for use Pin
Ravi Sant17-Jan-11 1:07
Ravi Sant17-Jan-11 1:07 
QuestionExposing unsafe methods through an interface. Pin
thatdiceygirl16-Jan-11 23:47
thatdiceygirl16-Jan-11 23:47 
AnswerRe: Exposing unsafe methods through an interface. Pin
#realJSOP17-Jan-11 0:32
mve#realJSOP17-Jan-11 0:32 
GeneralRe: Exposing unsafe methods through an interface. Pin
thatdiceygirl17-Jan-11 3:51
thatdiceygirl17-Jan-11 3:51 
GeneralRe: Exposing unsafe methods through an interface. Pin
Pete O'Hanlon17-Jan-11 5:28
subeditorPete O'Hanlon17-Jan-11 5:28 
AnswerRe: Exposing unsafe methods through an interface. Pin
Pete O'Hanlon17-Jan-11 0:49
subeditorPete O'Hanlon17-Jan-11 0:49 
AnswerMessage Removed Pin
17-Jan-11 1:17
Ravi Sant17-Jan-11 1:17 
GeneralRe: Exposing unsafe methods through an interface. Pin
#realJSOP17-Jan-11 1:19
mve#realJSOP17-Jan-11 1:19 
GeneralRe: Exposing unsafe methods through an interface. Pin
Chris Maunder17-Jan-11 1:34
cofounderChris Maunder17-Jan-11 1:34 
GeneralRe: Exposing unsafe methods through an interface. Pin
#realJSOP17-Jan-11 2:08
mve#realJSOP17-Jan-11 2:08 
GeneralRe: Exposing unsafe methods through an interface. Pin
Ravi Sant17-Jan-11 3:09
Ravi Sant17-Jan-11 3:09 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.