Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Connection string and dynamically determined uid/pwd
Message
From
07/10/2005 09:42:59
 
 
To
All
General information
Forum:
ASP.NET
Category:
The Mere Mortals .NET Framework
Title:
Connection string and dynamically determined uid/pwd
Environment versions
Environment:
C# 1.1
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01057158
Message ID:
01057158
Views:
66
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
Next
Reply
Map
View

Click here to load this message in the networking platform