how create a setup of a c# project to run on a server
-
hi i want to make a setup of my c# project that i create on visual studio 2010 and use access database (for some reasons), but i don't know how i create to run on a server. thnx
There is no difference between creating a setup that runs on a workstation or on server. It's Windows in either case and everything still works the same way between the two editions as far as a Setup is concerned.
A guide to posting questions on CodeProject[^]
Dave Kreskowiak -
hi i want to make a setup of my c# project that i create on visual studio 2010 and use access database (for some reasons), but i don't know how i create to run on a server. thnx
I do not think that that's a problem of the setup: You'll need a Windows Service instead of a Windows (GUI) / or Console application. That means some bigger changes to your project.
-
I do not think that that's a problem of the setup: You'll need a Windows Service instead of a Windows (GUI) / or Console application. That means some bigger changes to your project.
-
You're going to have to define exactly what you mean by "run the program through the server". Are you placing the executable and all related code in a share on the server and client machines will launch it from there? Are you saying that you want the client machines to remote desktop into the server and run your app on the server? ...??
A guide to posting questions on CodeProject[^]
Dave Kreskowiak -
You're going to have to define exactly what you mean by "run the program through the server". Are you placing the executable and all related code in a share on the server and client machines will launch it from there? Are you saying that you want the client machines to remote desktop into the server and run your app on the server? ...??
A guide to posting questions on CodeProject[^]
Dave Kreskowiaki want to have my database in a server and my program in clients so the clients can get correct information from the database any time they want. Also i want users have the ability every time they make changes in some records these records have to be locked for others users until this user have finished...
-
i want to have my database in a server and my program in clients so the clients can get correct information from the database any time they want. Also i want users have the ability every time they make changes in some records these records have to be locked for others users until this user have finished...
OK, so you can either create two seperate installers, one for the database and one for the clients, or you can combine the two and the first client to install would go through the process to install the database on whatever SQL server the user specifies. You REALLY have to be careful with record locking. It's just about never a good idea. The primary question is what happens if a client locks a record and then the client machine hangs?? How do you recover from a locked record that shouldn't be locked any more?? Concurrency issues are not easy to solve and you have to do research into what you're options are and how they affect your business process code.
A guide to posting questions on CodeProject[^]
Dave Kreskowiak -
OK, so you can either create two seperate installers, one for the database and one for the clients, or you can combine the two and the first client to install would go through the process to install the database on whatever SQL server the user specifies. You REALLY have to be careful with record locking. It's just about never a good idea. The primary question is what happens if a client locks a record and then the client machine hangs?? How do you recover from a locked record that shouldn't be locked any more?? Concurrency issues are not easy to solve and you have to do research into what you're options are and how they affect your business process code.
A guide to posting questions on CodeProject[^]
Dave Kreskowiak -
the setup process for the server it is the same with the setup process on laptop ? or i have to follow different way to make the setup process for server?
What did i say? IT'S NO DIFFERENT. Windows Server is still frickin' Windiws! Everything works the scant same way.
A guide to posting questions on CodeProject[^]
Dave Kreskowiak -
hi i want to make a setup of my c# project that i create on visual studio 2010 and use access database (for some reasons), but i don't know how i create to run on a server. thnx
You probably do want to create a service. Here is an article: A Windows Service Application[^]