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