Visual Basic - ERROR AL CONECTARME: SQL SERVER

Life is soft - evento anual de software empresarial
 
Vista:

ERROR AL CONECTARME: SQL SERVER

Publicado por ifer (54 intervenciones) el 03/07/2004 00:43:46
Intento conectarme a un DB SQL-Server, incluso como usuario="sa"
pero me da el error: "Login failed: Not associated with a trusted SQL server connection"
a que se debe?
Valora esta pregunta
Me gusta: Está pregunta es útil y esta claraNo me gusta: Está pregunta no esta clara o no es útil
0
Responder
Imágen de perfil de RAUL
Val: 2
Ha aumentado su posición en 97 puestos en Visual Basic (en relación al último mes)
Gráfica de Visual Basic

RE:ERROR AL CONECTARME: SQL SERVER

Publicado por RAUL (443 intervenciones) el 03/07/2004 06:36:42
cadena de conexion con clave
Option Explicit
Const Conexion = "Provider=SQLOLEDB.1;Persist Security Info=False;User ID=DATOS;Password=123456;Initial Catalog=Clientes;Data Source=RPEREZ\RPEREZ"
***********************************************************
sin clave
Option Explicit
Const Conexao = "Provider=SQLOLEDB.1;Persist Security Info=False;User ID=sa;Password="";Initial Catalog=Clientes;Data Source=RPEREZ\RPEREZ"
Valora esta respuesta
Me gusta: Está respuesta es útil y esta claraNo me gusta: Está respuesta no esta clara o no es útil
0
Comentar