Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Creating User Login and Db User for SQL
Message
 
 
À
Tous
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Syntaxe SQL
Titre:
Creating User Login and Db User for SQL
Versions des environnements
SQL Server:
SQL Server 2008
Divers
Thread ID:
01556092
Message ID:
01556092
Vues:
53
Hi,

I am having a problem using SQL Server authentication for my VFP application (note that the same app works fine with this type of authentication for other customers).
Here is what I did:

In the SQL Server Security created a User MyUserId. Set it for SQL Server Authentication.

In the Database created User MyUserId and assinged it to the same Login, MyUserId. Set this user to role db_Owner and schema db_owner. But when I try to connect from my app using these credentials, the access is denied. I know I specified the server name and the database name correctly since if I change the connection string to use Windows Authentication, I have no problem connecting.

What could be missing in this case?

TIA
"The creative process is nothing but a series of crises." Isaac Bashevis Singer
"My experience is that as soon as people are old enough to know better, they don't know anything at all." Oscar Wilde
"If a nation values anything more than freedom, it will lose its freedom; and the irony of it is that if it is comfort or money that it values more, it will lose that too." W.Somerset Maugham
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform