Ver Mensaje Individual
  #1 (permalink)  
Antiguo 16/04/2008, 15:41
Avatar de sagma
sagma
 
Fecha de Ingreso: septiembre-2004
Ubicación: Santa Cruz de la Sierra - Bolivia
Mensajes: 136
Antigüedad: 20 años, 5 meses
Puntos: 1
Conexion a SqlExpress 2005

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.
__________________
Sagma -- :arriba: