|
-
Jul 6th, 2007, 01:45 AM
#1
Thread Starter
New Member
calling exe of remote machine from any where in network
i developed an application in vb.net (sql server 2005 as back end)
i install this application on a machine ( called server )
now i want to call this application exe from clients by making short cut on client desktop.
the directory in which application exists on server is shared , but at time of calling is shows that error
----------------
"application attempt to perform an operation not allowed by the security policy, to grant this application requird permission, contect to your system administrator, ot use the micro soft frame work configuration tool.
Requests fro the permission of the type
System.security.permission.securitypermission, mscorlib, version = 2.0.0.0, Culture=natural, public key token=b77a5c561924e089"
------------------
pls help me
-
Jul 6th, 2007, 01:58 AM
#2
Re: calling exe of remote machine from any where in network
So you are saving the .exe on the Server, but you want to run it on a client, did you install the .exe on the client, I guess not.
I think you don't have to install the .exe on the server, since you only save it there, however the installation has to be done on each client. Such an installation is normally only allowed for admins, hence the error message!
You're welcome to rate this post!
If your problem is solved, please use the Mark thread as resolved button
Wait, I'm too old to hurry!
-
Jul 12th, 2007, 06:23 AM
#3
Re: calling exe of remote machine from any where in network
 Originally Posted by mrvyassudhir
hello Opus
thanks for replying me.
i want to call .exe ( VB.net ) from clint, which is available on server, my database is also there.
this exe captures various resource (date, time etc) of server irrespective what is date and time of server does't mean.
if i install this exe on each client then it will take date and time of client which may be manupulated. i save such 100 client, that's way i need to call exe of server from client by just making short cuts.
( I HAVE BEEN USING THIS CONCEPT IN VB 6.0 EXE BUT THIS IS NOT BEING REN IN .NET , PEPLY ME )
-1- Don't use the Private Messaging system to reply on threads!!!
-2- What does
i want to call .exe ( VB.net ) from clint
mean, is this .exe executed on the Server (I don't think so) or is it executed on the client pc, in this case the .exe has to be installed once on that machine, however the .exe doesn't have to be stored on the client! This installation will only enable to client pc to run the .exe!!!
You're welcome to rate this post!
If your problem is solved, please use the Mark thread as resolved button
Wait, I'm too old to hurry!
-
Jul 15th, 2007, 11:30 AM
#4
Junior Member
Re: calling exe of remote machine from any where in network
-
Jul 18th, 2007, 04:12 PM
#5
Re: calling exe of remote machine from any where in network
The framework and any other needed files have to be installed on each client. Use Inno Setup to make an install package, with (DefaultDirName) pointing to the network directory the .exe file is in (\\servername\foldername\subfoldername). Set the application file as Flags: onlyifdoesntexist. "Install" the application on every computer you want it to run on - it'll install whatever is needed locally to run the program from the network drive. (Lots of luck updating the .exe file if you, like I, have users who keep a program open when they go home at night.)
The most difficult part of developing a program is understanding the problem.
The second most difficult part is deciding how you're going to solve the problem.
Actually writing the program (translating your solution into some computer language) is the easiest part.
Please indent your code and use [HIGHLIGHT="VB"] [/HIGHLIGHT] tags around it to make it easier to read.
Please Help Us To Save Ana
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
|