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:afrog:
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!
Re: calling exe of remote machine from any where in network
Quote:
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
Quote:
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!!!
Re: calling exe of remote machine from any where in network
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.)