I have a .net 2.0 winform application that I would like users to run from from a network share. Are there any disadvantages to doing this?

link|improve this question

feedback

2 Answers

up vote 1 down vote accepted

If the application was coded to use configuration files in the same directory, users will encounter problems. I'm sure you also don't want to give write permissions to the network share for users. Make sure the application can be configured to write user settings to their home directory if it saves any.

.NET applications also don't allow you to use DLLs on networked or mapped drives. You can read how to fix this here.

link|improve this answer
1  
The app is using the configurations.settings class...I'll write it so it saves user settings in an xml to the users home dir..thanks. – Brad Sep 3 '09 at 16:16
feedback

There are a few gotcha's you have to watch out for running .NET applications from a network share. Specifically, .NET applications fun from a network share by default run at low trust, meaning they will not be granted to several system resources including file access, registry, etc. So if the application is not specifically designed to run at low trust, you will likely run into problems.

According to Brad Adams at Microsoft, there are no security concerns running applications like this and there is a nice tutorial from a Microsoft blog on how to work around this low-trust issue. Once that is fixed, your application should run just like any other .NET app.

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.