Link to home
Start Free TrialLog in
Avatar of keysersoze
keysersoze

asked on

running .net applications from shares

I have developed a very simple application which works fine on all clients where I have been testing it - but when I place it on the location from where it will run in release I cannot run it from any clients at all. Just getting an unhandled error.

the setup in release is:
The clients log on via an active directory and gets a shared directory - it is in this share the application is installed and therefore it is from here the clients need to run the application. As far is I can see from similar problems searching google it is because .net applications as standard is not allowed to run from shares.

What can i do to solve this problem? The perfect solution would be if anyone could say what to change in the active directory to permit running .net from shares - the other thing I have read about is caspol but I cant figure out how my command should be. Any other ideas?
Avatar of Brian Pierce
Brian Pierce
Flag of United Kingdom of Great Britain and Northern Ireland image

Avatar of keysersoze
keysersoze

ASKER

Do you have any experience in doing this? maybe i'm wrong but;

The description in the link is for framework 1.1 and framework 2.0 does not have a configuration in administrative tools - therefore I cannot use suggestion 2.

suggestion 1, well I cannot see what is happening when I execute it and if I cannot explain to my cutomer what it does they will not allow me to execute it at them. But if i'm not wrong it only allow the "IDAutomation.LinearBarcode.dll" and not my application.

Furthermere I need a solution to affect all users of the AD and not only a single user. They got 6-800 clients and it will be impossible to "update" every client one by one.
>>framework 2.0 does not have a configuration in administrative tools

It does on my computer.
>>>>framework 2.0 does not have a configuration in administrative tools
>>It does on my computer.

It does on your computer because the development tools are installed.

On regular users PC, you need to create a .MSI package from your dev PC or use CAPSOL: https://www.experts-exchange.com/questions/21687469/Simpe-VB-2005-Application-deployed-to-file-Server.html
but can CASPOL be run in a way where it affects the intire AD and not only a single computer?
no, you need to set the security on each computer.

I know that some people where able to push the .msi file created on the dev PC to adjust the security settings
hmm - then it must be possible to run the caspol in a login-script. Can anyone give a complete string for that?
ASKER CERTIFIED SOLUTION
Avatar of Éric Moreau
Éric Moreau
Flag of Canada image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial