Login failed for user 'XXXX'. Reason: Not associated with a trusted SQL Server c
kccja
Messages postés1Date d'inscriptionmardi 22 avril 2003StatutMembreDernière intervention22 avril 2005
-
22 avril 2005 à 16:11
rekik_mehrez
Messages postés3Date d'inscriptiondimanche 12 novembre 2000StatutMembreDernière intervention27 février 2006
-
27 févr. 2006 à 14:09
[Microsoft][ODBC SQL Server Driver][SQL Server]Login failed for user 'XXXX'. Reason: Not associated with a trusted SQL Server connection.
J'ai le message ci dessus lorsque j'essaye de me connecter à la base SQL.
Ma page Asp est la suivante.
<%
Set conn = Server.CreateObject("ADODB.Connection")
' chaine de connexion
connstring = "driver={SQL Server};" & "server=TOTO;uid=XXXX; pwd=XXXX; Mabase"
' ouverture de la connexion
conn.open connstring
' traitement
%>
J'ai pourtant vérifier le paramètre de sécurité de mon serveur SQL2000 la case Authentification sélectionné est bien "SQL Server and Windows".
Help SVP
kccja
A voir également:
Authentication to host for user using method 'mysql_native_password' failed
tu peux aussi suivre c est instruction qui pourrons resoudre ton problem
bonne chance :-)
The problem you describe typically occurs when a MicrosoftSQLServer installation is configured to use only Windows authentication and not SQL Server authentication. To solve the problem, perform the following steps:
<OL>
<LI>Start SQL Server Enterprise Manager (Start, Programs, Microsoft SQL Server, Enterprise Manager).
<LI>Navigate to the SQL Server system in the Microsoft Management Console (MMC) treeview pane by selecting Console Root, Microsoft SQL Servers, SQL Server Group, <sql server> (or <local>); right-click the server; and select Properties from the context menu.
<LI>In the SQL Server Properties dialog box, select the Security tab.
<LI>In the Security section, make sure that Authentication is set to "SQL Server and Windows" and not "Windows only," as the figure at Figure shows. If necessary, change the selection and click OK
</LI>
<LI>moco1234</LI></OL>
rekik_mehrez
Messages postés3Date d'inscriptiondimanche 12 novembre 2000StatutMembreDernière intervention27 février 2006 27 févr. 2006 à 13:24
j'ai rencontré cette problème et j'ai pu le resolu heureusement:
1-aller ouvrir SQL Server Enterprise Manager
2-right clic on local windows (sous le console root)
3-select propriété
4-dans le section security choisir sql server and windows
5-restart now your sql server
merci hallebh tunisie