Click here to Skip to main content
   

C#

 
AnswerRe: Thread.Sleep is NOT evil PinmvpEddy Vluggen18-Feb-13 23:32 
GeneralRe: Thread.Sleep is NOT evil PinmentorDaveyM6919-Feb-13 1:08 
GeneralRe: Thread.Sleep is NOT evil Pinmemberdevvvy19-Feb-13 2:44 
QuestionError in connection string [modified] PinmemberMember 964140618-Feb-13 4:56 
i have use this code and apply it microsoft visual studio 2012 which has its inbuilt sql server....in in this case how can i connect to the databas?
 
conn.ConnectionString = "Provider=SQLNCLI;Data Source=(LocalDB)\v11.0;AttachDbFilename=ozeki.mdf;Integrated Security=SSPI";
 
this the connection string which i have used...
 
and it appear an error message as follow
 
(login time out , an error has occured while establishing aconnection to the server.when connecting to sql server2005, this fauilure may be caused by the fact that under the default setting sql server dosn't allow remote connection. named pipe, could not open a connection to sql server)

modified 18-Feb-13 11:05am.

AnswerRe: Error in connection string Pinmemberdeflinek18-Feb-13 5:40 
GeneralRe: Error in connection string PinmemberMember 964140618-Feb-13 5:53 
GeneralRe: Error in connection string Pinmemberdeflinek18-Feb-13 23:32 
QuestionEvil Thread.Abort and using(TransactionScope) -- what will happen? Pinmemberdevvvy18-Feb-13 3:41 
AnswerRe: Evil Thread.Abort and using(TransactionScope) -- what will happen? PinmemberBobJanova18-Feb-13 3:59 
AnswerRe: Evil Thread.Abort and using(TransactionScope) -- what will happen? PinmvpEddy Vluggen18-Feb-13 4:01 

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

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


Advertise | Privacy | Mobile
Web01 | 2.8.150327.1 | Last Updated 31 Mar 2015
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid