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.

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

Popular posts from this blog

Shared / Static Class in vb.net/C#

Xamarin Forms : PopUp Page with RG.Plugins.Popup

Text was truncated or one or more characters had no match in the target code page.". (SQL Server Import and Export Wizard)