Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Connection string and dynamically determined uid/pwd
Message
De
07/10/2005 09:42:59
 
 
À
Tous
Information générale
Forum:
ASP.NET
Catégorie:
The Mere Mortals .NET Framework
Titre:
Connection string and dynamically determined uid/pwd
Versions des environnements
Environment:
C# 1.1
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
MS SQL Server
Divers
Thread ID:
01057158
Message ID:
01057158
Vues:
67
Hi,

I'm having a hard time understanding the following statement in the MMDevGuide :

Note: If you are using SQL Server authentication, you only need to specify a user id (sa) and password (if any) on your development machine so the MM .NET builders can access your database. On end-user's machines at runtime, the user id and password are determined dynamically based on the user login information.

Does this mean that the login information given in the mmUsersFormLang will be used to connect to the database (I get a user(null) exception if I remove uid and pwd from the connection string). Also, does this mean that the user must be listed in the database's user list as well as the mm Users table?

My database is on a remote machine and my connection string is like the following :

server=testserver;uid=;pwd=database=;

Sincerely,

Andrew
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform