I have my application works fine on my PC that I develop.
I want to install my application in server to be used anywhere in the world (more users will use to connect to the server).
1 - how I have to copy my database on the server??
2-how do I change the database path in the App.config file
3-how I create the executable file??
I'm stuck if anyone can help me please
You wouldnt be able to (and I could be wrong) be able to put the exe of the winforms app on a server, you would need to send the exe to clients and users.
You would need to deploy the database on an ISS server (you can read that up on Google), or create webservices that are deployed on a server which access your database. Both are quite time consuming and you would need to read up on it, its not easy as grabbing source code off the net.
So for the app config file the datasource tag needs to point to where you are going to host the database, so if you have a homeserver with sql on it that allows remote connections then the address of the that database would go there.
I would advise you do some reading on webservices as I think that is the best way to connect to a database remotely.
1) Depends on what sort of technology does the application use? (Is it a winforms app, WPF App, etc). If it is winforms its unlikely you can deploy the app straight to a server
2) App config should already have a connection string stored if you created a connection, you change that to the where ever your database is stored
3) Again that depends on what technology you use
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)