11 replies
by charvell Accepted solution
by pshiflet-24 Accepted solution
by charvell Accepted solution
by pshiflet-24 Accepted solution
by shellbot Accepted solution
Control panel - odbc connections -
either system or user, and use a SQL user account (which you've created in SQL Server).
that stores the un & pw for ya
by charvell Accepted solution
I don't have an ODBC Connections option in Control panel, I have to go to Administrative Tools - Data Sources (ODBC) which I'm going to assume is the same thing.
I've set up a System DSN to the SQL server with the correct database specified, however, regardless of which login option I chose (Windows NT authentication, or SQL Server Authentication using login ID and password entered by the user) it prompts me for a un & pw for the database connect when I launch my application that uses the connection.
by shellbot Accepted solution
Ya, same thing..
ok.. so you created a new sql data source.
you choose sql auth, and input the un & pw?
Have you ensured that the SQL user has been created in SQL with the correct permissions?
I've just done a test one now, but using SQL 2008...so might be a few different things on it, compared to the older versions.
but I've given the user a "public" server role, mapped the user to the AdventureWorks database, and given it datareader and public permission in the mapping. In the status I've granted it permission to connect to the database and enabled the login.(obviously permissions are up to you and what the app needs to do..you will likely need a few more if its writing to the DB)
by charvell Accepted solution
by shellbot Accepted solution
"We create separate SQL usernames that are not the network login used on the PC"
How is this application accessed? Is is looking for an individual users specific log in, or a system login?
As in, have you created 10 different SQL users, or 1 system user?
by charvell Accepted solution
by shellbot Accepted solution
ya...
try looking up file dsn
this is where ya create a text file (with .dsn) extension, and save it on the local machine and that stores the password ect...
This discussion is closed to new replies.
Trending Networks posts
Sort by Trending