Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. how create a setup of a c# project to run on a server

how create a setup of a c# project to run on a server

Scheduled Pinned Locked Moved C#
csharpdatabasevisual-studiosysadminworkspace
10 Posts 4 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • U Offline
    U Offline
    User3490
    wrote on last edited by
    #1

    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

    D B C 3 Replies Last reply
    0
    • U User3490

      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

      D Offline
      D Offline
      Dave Kreskowiak
      wrote on last edited by
      #2

      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

      1 Reply Last reply
      0
      • U User3490

        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

        B Offline
        B Offline
        Bernhard Hiller
        wrote on last edited by
        #3

        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.

        U 1 Reply Last reply
        0
        • B Bernhard Hiller

          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.

          U Offline
          U Offline
          User3490
          wrote on last edited by
          #4

          what can i do for this problem so that i manage to run my program through the server ??

          D 1 Reply Last reply
          0
          • U User3490

            what can i do for this problem so that i manage to run my program through the server ??

            D Offline
            D Offline
            Dave Kreskowiak
            wrote on last edited by
            #5

            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

            U 1 Reply Last reply
            0
            • D 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 Kreskowiak

              U Offline
              U Offline
              User3490
              wrote on last edited by
              #6

              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...

              D 1 Reply Last reply
              0
              • U User3490

                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...

                D Offline
                D Offline
                Dave Kreskowiak
                wrote on last edited by
                #7

                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

                U 1 Reply Last reply
                0
                • D 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

                  U Offline
                  U Offline
                  User3490
                  wrote on last edited by
                  #8

                  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?

                  D 1 Reply Last reply
                  0
                  • U User3490

                    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?

                    D Offline
                    D Offline
                    Dave Kreskowiak
                    wrote on last edited by
                    #9

                    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

                    1 Reply Last reply
                    0
                    • U User3490

                      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

                      C Offline
                      C Offline
                      Clifford Nelson
                      wrote on last edited by
                      #10

                      You probably do want to create a service. Here is an article: A Windows Service Application[^]

                      1 Reply Last reply
                      0
                      Reply
                      • Reply as topic
                      Log in to reply
                      • Oldest to Newest
                      • Newest to Oldest
                      • Most Votes


                      • Login

                      • Don't have an account? Register

                      • Login or register to search.
                      • First post
                        Last post
                      0
                      • Categories
                      • Recent
                      • Tags
                      • Popular
                      • World
                      • Users
                      • Groups