Click here to Skip to main content
15,910,980 members
Please Sign up or sign in to vote.
3.00/5 (1 vote)
Hi everybody,

I want to set up specific custom program on my computer, and i have SQL Server 2005,
I attached the mdf file of the program to the SQL Sever 2005,
but when i try to start the custom program message appear and tell that:



Connection failed:
SQLState: '28000'
SQL Server Error: 18456
[Microsoft][ODBC SQL Server Driver][SQL Server]Login failed for user 'easphr9'.


How to make the program connected with SQL Server 2005 ?
Posted
Comments
Sergey Alexandrovich Kryukov 22-Jan-12 18:20pm    
You need to show your connection string. If you don't want to share a password, put a fake one. Do you even know your username/password?
--SA
MrLonely_2 22-Jan-12 18:32pm    
The program not open source, and it ask me about the location of database,
what is the path of database can i give it to the program?
there are defaut username/password that: 01 / 000

1 solution

Check if the user exists in the server logins.
Next try recreating the 'easphr9' user in the database.
 
Share this answer
 

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