Running .net Exe from network Path.
Hi,
Some days back i was said find solution for running exe from mapped or network drive. As you may known you cannot run .net made exe from network drive as .net Framework requires secured network to run application.To overcome this issue i was given a task to make exe run from network path.Solution what i found after R&D is Microsoft has provided a Tools to make this possible.Tool Called Caspol.exe, This makes the path (URL) which is passed as parameter makes it Secured.
Some days back i was said find solution for running exe from mapped or network drive. As you may known you cannot run .net made exe from network drive as .net Framework requires secured network to run application.To overcome this issue i was given a task to make exe run from network path.Solution what i found after R&D is Microsoft has provided a Tools to make this possible.Tool Called Caspol.exe, This makes the path (URL) which is passed as parameter makes it Secured.
To Run the tools you have first goto Command Prompt of .net Framework
Path :- C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727
CasPol.exe -m -ag 1.2 -url file:\\SERVER\F\TEMP\DotnetApps\* FullTrust
This Command will make the SERVER\F\TEMP\DotnetApps as Secure. Will all exe file run securely from this path.
Regards
Switin
Comments
Post a Comment