Click here to Skip to main content
15,895,805 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
I developed an windows form application project
in this i use local database files which save on local path data is shown properly.
Then i Create client and server it is also connect successfully and when i run my project in client in show all data and when i run project on server it also show all data but when i run both side together so which one start first it show all data and other through an error that is "login fail"

my data base file is shared from server computer

Theme of my application

This is an application for a school that why it is School management system(SMS)
in this two computers are required
1st for server and other for client
It is an offline application
Database(mdf,ldf) files are also in server computer as a local db
Server share database files to client
Connection String is defined in app.confrig file

What I have tried:

I try lots of connection string from this web page
http://www.connectionstrings.com/sql-server/
Posted
Updated 19-Jun-16 22:59pm
v2
Comments
OriginalGriff 19-Jun-16 2:34am    
You're going to have to show us rather more detail of exactly what you are doing here: if you created the server application yourself, where do SQL connection strings come into it? What are you doing at the client to connect to your server App?
Remember that we can't see your screen, access your HDD, or read your mind.
Use the "Improve question" widget to edit your question and provide better information.
Kiran Vaidyanathan 27-Jun-16 8:40am    
Please try to improve your question so that somebody here might be able to help you out with what you wanted!

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