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?
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?
see http://www.idautomation.com/kb/label_software_from_server.html
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.LinearBarcod e.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.
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.LinearBarcod
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.
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
>>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
ASKER
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
I know that some people where able to push the .msi file created on the dev PC to adjust the security settings
ASKER
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
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.