Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
SQL Sample Database - login failed error message
Message
De
24/08/2005 11:34:18
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
À
24/08/2005 10:23:50
Information générale
Forum:
ASP.NET
Catégorie:
The Mere Mortals .NET Framework
Versions des environnements
Environment:
C# 1.1
OS:
Windows XP SP2
Database:
MS SQL Server
Divers
Thread ID:
01043328
Message ID:
01043403
Vues:
8
>When running the MM Norhtwind Sample Application I get the following error message: Login failed for user 'sa'. Reason: Not associated with a trusted SQL Server connection.
>
>When installing the MS SQL I believe I setup user 'sa' with a password of 'dbhsci'. When I am in VIsual Studio and click on the server explorer, I can see the Northwind files and actually retreive data from any of the tables.
>
>This is the code I have in the app.config file in the databases section:
>
><add key="CustA\Northwind\Connection" value="server=DBH8600;uid=sa;pwd=dbhsci;database=Northwind;" />
>
>Thanks in advance for any help you can offer me.

I'd try:
"server=DBH8600;trusted_connection=yes;database=Northwind;"

Sounds like SQL server is configured to use windows authentication only.
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform