Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Connection String Problem
Message
De
10/02/2005 13:24:26
 
Information générale
Forum:
ASP.NET
Catégorie:
Bases de données
Versions des environnements
Environment:
C# 1.1
OS:
Windows XP SP2
Database:
MS SQL Server
Divers
Thread ID:
00983149
Message ID:
00985665
Vues:
32
Hi Todd.
I've had this before. Cetin is correct, I think. Do a Google on the error message and you will find a white paper on it.
In the Enterprise manager, right click on the server, select properties, select the Security tab and be sure that the Authentication is set for SQL Server and Windows. I think you have it on Windows only.

- Glen -

>Greetings,
>I am unable to connect to my SQl Database with this connection string (see below) from within a C# program. Same parameters work fine in SQL Query Analyzer when connecting.
>
>This is the code:
>
>public class DataAccessSql : DataAccessBase
>{
>public DataAccessSql()
>this.ConnectionString= "server=myserver;uid=sa;pwd=mypass;database=Northwind;";
>
>Many thanks, Todd
- Glen -

The impossible we do immediately.
The miraculous will take a little longer.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform