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. Application server for Forms based solution ( not Web Based ) .

Application server for Forms based solution ( not Web Based ) .

Scheduled Pinned Locked Moved C#
csharpsysadmintutorialquestion
9 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
    unitecsoft
    wrote on last edited by
    #1

    I have an application written in C# , and I want the users to run it from the server ( windows 2003 ) without having that application installed on each and every machine using it , Just from the server . So the user has to log to the server only to be able to run it this application . is that possible , any Ideas how to do it ? Regards Dean

    C L 2 Replies Last reply
    0
    • U unitecsoft

      I have an application written in C# , and I want the users to run it from the server ( windows 2003 ) without having that application installed on each and every machine using it , Just from the server . So the user has to log to the server only to be able to run it this application . is that possible , any Ideas how to do it ? Regards Dean

      C Offline
      C Offline
      Christian Graus
      wrote on last edited by
      #2

      A server will just do this, you can either run it on the server ( using remote desktop ), or have a shortcut to the exe on the server and run it locally.

      Christian Graus - Microsoft MVP - C++ "also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )

      U 1 Reply Last reply
      0
      • C Christian Graus

        A server will just do this, you can either run it on the server ( using remote desktop ), or have a shortcut to the exe on the server and run it locally.

        Christian Graus - Microsoft MVP - C++ "also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )

        U Offline
        U Offline
        unitecsoft
        wrote on last edited by
        #3

        Yes I know that you have to put it on the desktop as a shortcut from the server and run it locally on each user machine , but the application does not run that way , an exception is thrown , also the more users run the application at the same time the slower it gets . Oracle has a concept of "Application server " like a web server but used for forms based application .

        M 1 Reply Last reply
        0
        • U unitecsoft

          Yes I know that you have to put it on the desktop as a shortcut from the server and run it locally on each user machine , but the application does not run that way , an exception is thrown , also the more users run the application at the same time the slower it gets . Oracle has a concept of "Application server " like a web server but used for forms based application .

          M Offline
          M Offline
          MNFlyer
          wrote on last edited by
          #4

          I have created a similar application. I used the publish feature in VS2005 (not sure if exists in 2003) Look at the publish tab of the project properties. There should be a publish wizard that will allow you to publish the application directly to the server location. This helps get around a lot of the permission level problems. There is also an option to have a running application to check the server for updates. This can create problems if it is linked to your PC and not the server location. I disabled this for my application. This creates a deployment manifest method for launching an application. The end user just has to copy the shortcut created by the publish wizard to their desktop and it will launch a local version of the app from the server. Hope this helps.

          L 1 Reply Last reply
          0
          • M MNFlyer

            I have created a similar application. I used the publish feature in VS2005 (not sure if exists in 2003) Look at the publish tab of the project properties. There should be a publish wizard that will allow you to publish the application directly to the server location. This helps get around a lot of the permission level problems. There is also an option to have a running application to check the server for updates. This can create problems if it is linked to your PC and not the server location. I disabled this for my application. This creates a deployment manifest method for launching an application. The end user just has to copy the shortcut created by the publish wizard to their desktop and it will launch a local version of the app from the server. Hope this helps.

            L Offline
            L Offline
            Luis Alonso Ramos
            wrote on last edited by
            #5

            MNFlyer wrote:

            I used the publish feature in VS2005 (not sure if exists in 2003)

            That's a different thing. The Publish feature creates a ClickOnce installer for your application. No matter whether you have an icon on your Start menu or not, the application is installed on the local machine, and everytime you run it (by going to the .application URL or clicking the icon) it checks for updates in the server. But the app is actually installed in the client PC. And no, it's a .NET 2.0 feature so it doesn't exist in VS.NET 2003.

            Luis Alonso Ramos Intelectix Chihuahua, Mexico

            My Blog!

            M 2 Replies Last reply
            0
            • U unitecsoft

              I have an application written in C# , and I want the users to run it from the server ( windows 2003 ) without having that application installed on each and every machine using it , Just from the server . So the user has to log to the server only to be able to run it this application . is that possible , any Ideas how to do it ? Regards Dean

              L Offline
              L Offline
              Luis Alonso Ramos
              wrote on last edited by
              #6

              As Christian suggested, installing it on a server and using Remote Desktop to login and run it is an option. If you want more than two users, you'll need to set up Terminal Services on your server (and have some good hardware resources -- a lot of RAM). Running it of the network with a shortcut could also work, but usually it will run with limited security permissions (from the internet zone o intranet zone and not full trust). You're getting an exception because the app is trying to do something that is not allowed.

              Luis Alonso Ramos Intelectix Chihuahua, Mexico

              My Blog!

              1 Reply Last reply
              0
              • L Luis Alonso Ramos

                MNFlyer wrote:

                I used the publish feature in VS2005 (not sure if exists in 2003)

                That's a different thing. The Publish feature creates a ClickOnce installer for your application. No matter whether you have an icon on your Start menu or not, the application is installed on the local machine, and everytime you run it (by going to the .application URL or clicking the icon) it checks for updates in the server. But the app is actually installed in the client PC. And no, it's a .NET 2.0 feature so it doesn't exist in VS.NET 2003.

                Luis Alonso Ramos Intelectix Chihuahua, Mexico

                My Blog!

                M Offline
                M Offline
                MNFlyer
                wrote on last edited by
                #7

                Thanks for the clarification on this Luis, For my deployment I selected "The application is available online only". The app does run on the local PC but doesn't get installed there. If you remove the app on the server then it will not run on the local PC.

                L 1 Reply Last reply
                0
                • L Luis Alonso Ramos

                  MNFlyer wrote:

                  I used the publish feature in VS2005 (not sure if exists in 2003)

                  That's a different thing. The Publish feature creates a ClickOnce installer for your application. No matter whether you have an icon on your Start menu or not, the application is installed on the local machine, and everytime you run it (by going to the .application URL or clicking the icon) it checks for updates in the server. But the app is actually installed in the client PC. And no, it's a .NET 2.0 feature so it doesn't exist in VS.NET 2003.

                  Luis Alonso Ramos Intelectix Chihuahua, Mexico

                  My Blog!

                  M Offline
                  M Offline
                  MNFlyer
                  wrote on last edited by
                  #8

                  Thanks for the clarification on this Luis, For my deployment I selected "The application is available online only". The app does run on the local PC but doesn't get installed there. If you remove the app on the server then it will not run on the local PC. If you make a change and re-publish then the remote users just close the app and re-open and it will launch the latest version.

                  1 Reply Last reply
                  0
                  • M MNFlyer

                    Thanks for the clarification on this Luis, For my deployment I selected "The application is available online only". The app does run on the local PC but doesn't get installed there. If you remove the app on the server then it will not run on the local PC.

                    L Offline
                    L Offline
                    Luis Alonso Ramos
                    wrote on last edited by
                    #9

                    MNFlyer wrote:

                    For my deployment I selected "The application is available online only". The app does run on the local PC but doesn't get installed there.

                    Actually the app *is* installed on the local PC, but no icon is created on the start menu. It needs to be downloaded so it can be run. Check in C:\Documents and Settings\youruser\Local Settings\Application Data\Microsoft\Apps\2.0 (the path is something like that in XP -- I have Vista and I couldn't find the path here). I have not verified it, but I believe that if you can somehow get the .application file on your publish server, it will run your application even if you don't have a connection to the server. That's actually the shortcut gets in the Start menu when the app is installed for offline use: an .application file. But theory aside, I think that's a great solution for what you need, since I don't think users will go hunting for you app's EXE to run it. Regards,

                    Luis Alonso Ramos Intelectix Chihuahua, Mexico

                    My Blog!

                    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