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. Running .NET application through LAN

Running .NET application through LAN

Scheduled Pinned Locked Moved C#
helpquestioncsharpcomsysadmin
4 Posts 3 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.
  • Y Offline
    Y Offline
    Yulianto
    wrote on last edited by
    #1

    I want to run my .NET application from client PC. .NET application will be placed on server. When I run the app, it gives security error (.NET security policy). How do I solve this? I've search about this on the internet, but could not find anything that solve my problem. It seems complicated. Anyone knows any simple article? Thanks.


    Don't work hard, but work effectively. Web hosting | invest money | Option strategy | home mortgage

    E G 2 Replies Last reply
    0
    • Y Yulianto

      I want to run my .NET application from client PC. .NET application will be placed on server. When I run the app, it gives security error (.NET security policy). How do I solve this? I've search about this on the internet, but could not find anything that solve my problem. It seems complicated. Anyone knows any simple article? Thanks.


      Don't work hard, but work effectively. Web hosting | invest money | Option strategy | home mortgage

      E Offline
      E Offline
      Expert Coming
      wrote on last edited by
      #2

      Applications running in the Intranet have less rights than ones running on the computer you are using. The simplest fix is to run it from each machine. If you need to run it from the server you have to manually give it rights on the machine through the .Net Configuration MMC. The way I solve this problem, and there are some reasons this won't work, but it does in most cases, use ClickOnce. It will install on each computer and check for the most updated version automatically(depending on settings), as well as you have the choice to allow it to run only online(your choice), or allow it to be installed and ran anytime. Hope this helps, or at least sends you in the right direction.

      The best way to accelerate a Macintosh is at 9.8m/sec² - Marcus Dolengo

      Y 1 Reply Last reply
      0
      • Y Yulianto

        I want to run my .NET application from client PC. .NET application will be placed on server. When I run the app, it gives security error (.NET security policy). How do I solve this? I've search about this on the internet, but could not find anything that solve my problem. It seems complicated. Anyone knows any simple article? Thanks.


        Don't work hard, but work effectively. Web hosting | invest money | Option strategy | home mortgage

        G Offline
        G Offline
        Gideon Engelberth
        wrote on last edited by
        #3

        The previous post is correct in explaining the reasons and one way to fix the problem. The other option if your program is .NET 2.0 or higher is to upgrade the client machines to .NET 3.5 SP1 (the newest). That will change the default security policy of programs running from the network to match the policy of programs running from the local machine.

        1 Reply Last reply
        0
        • E Expert Coming

          Applications running in the Intranet have less rights than ones running on the computer you are using. The simplest fix is to run it from each machine. If you need to run it from the server you have to manually give it rights on the machine through the .Net Configuration MMC. The way I solve this problem, and there are some reasons this won't work, but it does in most cases, use ClickOnce. It will install on each computer and check for the most updated version automatically(depending on settings), as well as you have the choice to allow it to run only online(your choice), or allow it to be installed and ran anytime. Hope this helps, or at least sends you in the right direction.

          The best way to accelerate a Macintosh is at 9.8m/sec² - Marcus Dolengo

          Y Offline
          Y Offline
          Yulianto
          wrote on last edited by
          #4

          I previously run it from each machine. I want to try different approach. It is quite hard upgrading the application. I have to visit each machine, or ask them to update it by them self.


          Don't work hard, but work effectively. Web hosting | invest money | Option strategy

          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