SQL database connection
I've just downloaded VB 2005 Express and SQL server 2005 express.
Built SQL database and trying to connect and open DB.I was trying different connection strings, OLEDB and SQL connections,reinstall Sql server and VB, but have the same massage:"Cannot open database.Login failed". When I bind DB in application, everithing is OK.First guess that something is missing in the code.But maybe Express Edition is not capable to deal with SQL DB?
Public p_conFirst As New SqlConnection()
p_conFirst.ConnectionString = "Server=bk\;SQLEXPXESS;Database=First;Trusted_Connection=True;"
p_conFirst.Open()
'error 4060
Maybe somebody has answer
Thanks,Boris

