I've just downloaded VB 2005 Express and SQL server 2005 express.Built database and tryingto connect and open DB.My code is:
Public p_conFirst As New SqlConnection()
p_conFirst.ConnectionString = "Server=bk;Database=First;Trusted_Connection=True;"
p_conFirst.Open()
'error 4060
I was trying different connectionStrings,reinstallSql server,but have the same massage:"Cannot open database".
Maybe somebody has answerThanks,Boris
NOTE : [This question was asked by Boris Kofman]