Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
SLQ Connection error message
Message
Information générale
Forum:
ASP.NET
Catégorie:
Bases de données
Divers
Thread ID:
00638883
Message ID:
00638894
Vues:
22
Is your server configured to accept mixed authentication or is it on Windows authentication (the later cannot accept uid and password to authenticate users).


>Hi,
>
>I am attempting to connect to my local SQL Server with the following connection string:
>
>Dim myConnection As SqlConnection = New SqlConnection("data source=localhost;user id=sa;password=blahblah;persist security info=True")
>
>
>I get the following error message: "Login failed for user 'sa'. Reason: Not associated with a trusted SQL Server connection"
>
>Is there something wrong with my connection properties - or something I need to do in SQL server to get this to work?
>
>Thanks in advance,
>
>Al
Éric Moreau, MCPD, Visual Developer - Visual Basic MVP
Conseiller Principal / Senior Consultant
Moer inc.
http://www.emoreau.com
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform