Click here to Skip to main content
15,896,476 members
Please Sign up or sign in to vote.
2.00/5 (1 vote)
See more:
I have a problem with connection string.
When the application wants to connect, it shows this disturbing error
<< login failed for user ...>> or something like it that depends on connection string :(

As you know, each computer has a different name.
I've created the user name and pass( sql ) on the client computer, but the error occured. What do you suggest to fix it, and for it to run on all computers? :confused:
Edit::
Authentication : Mixed mode
Posted
Updated 9-Apr-10 21:19pm
v3

Maybe you should switch from Windows Authentication to SQL authentication.

That way, you can configure a username and password that would be the same for all machines.

As your question does not really reveal much about the type of database you are connecting to, this was merely a guess. :)
 
Share this answer
 
v3
Can you explain a bit more? What exactly is the problem? Authentication, the Error or Connection string?
 
Share this answer
 
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900