que tal, tengo una aplicación en VB 2005 que quiero conectarme al SQLEXPRESS 2005.
Pero me rompo la cabeza y no conecta.
Tengo todos estos tipos de conexion que encontré en la web, pero ninguno de ellos me resulta, todos me arrojan el mensaje:
Código:
'Cnn = "Data Source=sistemas01\SQLEXPRESS;Initial Catalog=XXX;Integrated Security= false;User Id=sa;Pwd=******;"
'Cnn = "Data Source=150.100.1.128\SQLEXPRESS; Initial Catalog=XXX; Integrated Security=True;User Id=sa;Pwd=******;"
'Cnn = "Data Source=sistemas01\SQLEXPRESS; initial catalog=XXX; integrated security=true"
Cnn = "Driver={SQL Native Client};Server=.\SQLEXPRESS;Initial Catalog=XXX;User ID=sa;Password=******"
Cnn = "Server=.\SQLExpress;AttachDbFilename=C:\Archivos de programa\Microsoft SQL Server\MSSQL.1\MSSQL\Data\XXX.mdf;Database=XXX;Trusted_Connection=Yes;"
este es el aviso que siempre me sale.
Gracias.