je me tourne vers vous suite à un problème lors d'une connexion à SQL Server.
Tout d'abord, voila le code que j'utilise pour me connecter :
Code : Tout sélectionner
Local $adCN = ObjCreate("ADODB.Connection")
$ADODBHandle.connectionString = "DSN=monDSN;UID=monUser;PWD=monPwd;Persist Security Info=True;"
$ADODBHandle.Open()
Code : Tout sélectionner
$ADODBHandle.connectionString : Provider=MSDASQL.1;Persist Security Info=True;Extended Properties="DSN=monDSN;UID=monUser;PWD=monPwd;APP=AutoIt v3 Script;WSID=monID;"
Code : Tout sélectionner
$ADODBHandle.connectionString (ERROR): DSN=monDSN;UID=monUser;PWD=monPwd;Persist Security Info=True;
Code : Tout sélectionner
[Microsoft][SQL Server Native Client 11.0]Named Pipes Provider: Could not open a connection to SQL Server [5].Merci d'avance

