|
-
August 8th, 2005, 06:07 AM
#1
Running an EXE that is on a remote server
Dear All,
I've developed a program that connects to an ACCESS DB. I want this EXE and the DB to reside on a remote server.
I have two questions:
1. On other client PCs I just want to have a desktop icon(shortcut) mapped to this EXE which is on the remote server. Is this a practical thing or is it a good way to give access to the exe?
2. My idea is whenever I update the EXE I just have to copy the latest in to the server and all the users will have access to the new version. Is there a better way that I could do this?
PLEASE HELP !
THANK YOU !
-
August 8th, 2005, 08:37 AM
#2
Re: Running an EXE that is on a remote server
1. Yes.
2. This will work, the only catch is you can't update the EXE while the program is in use by any of your users.
-
August 8th, 2005, 10:44 AM
#3
Re: Running an EXE that is on a remote server
if this is a .NET exe, you will have to play around with the .NET Security if you want the user to be able to run it from the server.
Nicolas Bohemier
-
August 9th, 2005, 04:37 AM
#4
Re: Running an EXE that is on a remote server
THANK YOU DSJ & BOUMXYZ22 !
Yes it is a .NET application. When you said play around with .NET security, is it within the program code or something outside?
Thanks again !
-
August 9th, 2005, 04:49 AM
#5
Re: Running an EXE that is on a remote server
Control Panel -> Administrative Tools -> Framework 1.1 Wizards -> Trust Assembly/Adjust .NET Security
-
August 10th, 2005, 03:23 AM
#6
Re: Running an EXE that is on a remote server
Thank you JHammer.
I checked those options out. I have some dbouts.
When I install the EXE on the main PC (server) which is running Windows XP, I'll need to install the .net framework and run my application setup correct?
On the client PCs, which is running Windows XP, I still need to install the .net framework and run the application setup, is that right? Or do I just need to install the .net framework and create a short cut to the EXE which is on the main PC?
The settings you have mentioned, do I have to do it on all client PCs as well? What exactly should be my settings for the main PC and clients?
Hope its not too much of a trouble. THANK YOU !
-
August 10th, 2005, 07:06 AM
#7
Re: Running an EXE that is on a remote server
Install .Net framework everywhere.
Then the rest is as usual with a remote Exe, as long as you have set the .NET Security.
Nicolas Bohemier
-
August 10th, 2005, 09:16 AM
#8
Re: Running an EXE that is on a remote server
 Originally Posted by Coolboylp
do I have to do it on all client PCs as well? What exactly should be my settings for the main PC and clients?
Every computer that wants to run assemblies from other computer in the same network, need to trust that assembly. Otherwise you get SecurityException.
So on the computer were the assembly is installed you don't need to play with the security.
On other computers that want to run the remote assembly you need to trust the assembly. Two options: The easier way is to set the Security Adjustment to Full Trust (using the Adjust .NET Security wizard). This will cause all remote assemblies to work. (Obviousely this is risky, but you know what you need). Other option is to use the Trust An Assembly wizard, and select a URL for the assembly.
I hope this clarify things.
-
August 11th, 2005, 02:54 AM
#9
Re: Running an EXE that is on a remote server
THANK YOU ALL for clarifying my doubts.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|