• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 284
  • Last Modified:

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?
0
keysersoze
Asked:
keysersoze
1 Solution
 
Brian PiercePhotographerCommented:
0
 
keysersozeAuthor Commented:
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.
0
 
Wayne Taylor (webtubbs)Commented:
>>framework 2.0 does not have a configuration in administrative tools

It does on my computer.
0
Ultimate Tool Kit for Technology Solution Provider

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy now.

 
Éric MoreauSenior .Net ConsultantCommented:
>>>>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: http://www.experts-exchange.com/Programming/Misc/Q_21687469.html
0
 
keysersozeAuthor Commented:
but can CASPOL be run in a way where it affects the intire AD and not only a single computer?
0
 
Éric MoreauSenior .Net ConsultantCommented:
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
0
 
keysersozeAuthor Commented:
hmm - then it must be possible to run the caspol in a login-script. Can anyone give a complete string for that?
0
 
Éric MoreauSenior .Net ConsultantCommented:
there are many examples all over the web: http://msdn2.microsoft.com/en-us/library/cb6t8dtz(VS.80).aspx
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Creating Active Directory Users from a Text File

If your organization has a need to mass-create AD user accounts, watch this video to see how its done without the need for scripting or other unnecessary complexities.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now