Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

pros and cons of running a .exe on a network shared folder

Posted on 2010-11-08
2
582 Views
Last Modified: 2012-05-10
just wondering what are the pros and cons of having just one copy of an .exe installed on a network shared folder?  this is my opinion:

pros: 1) ease of maintainence, 2) availability to multiple users
cons: 1) need to set code access rights to resources not on the shared folder, e.g. a database, 2) if you are calling the exe within your code, it's hard to call it from a consistent network drive since everyone's mapping will be different, 3) network connection may be slow and unreliable, 4) how to run multiple instances and still maintain consistency on the common data that it modifies.  

thanks.
0
Comment
Question by:mmingfeilam
2 Comments
 
LVL 5

Accepted Solution

by:
Xper4net earned 125 total points
ID: 34083068
In pro, you've forgotten the possibility to share data handled by application.

In fact, sharing an application is a deployment solution. It is mostly required when you often update the database it uses (a catalog, for example), or when this database is too big to be easily deployed. It can also be chosen when the application itself often requires update.

Cons depends on how common writable ressources are managed. If they are in database, most of DBMS handle concurrent access transparently. For other files, you have to care by yourself that they are open appropriate mode (read, write, shared, exclusive).
Major concern should be the deadlock:
User A open resource X in exclusive mode
User B open resource Y in exclusive mode
User A requires resource Y
User B require resourc X

Note that the easier way to design a shared application is to create a Web application (RIA or not). If you already have a winform application, and if it has been correctly designed (mvc layers), it could be quite easily converted to a Web application by using Visual Web Gui (http://www.visualwebgui.com).
0
 
LVL 70

Assisted Solution

by:Éric Moreau
Éric Moreau earned 125 total points
ID: 34083162
why not just write a simple batch file that (x)copy everything your folder from the network folder to a local folder and start the local version?
Or ClickOnce is a deployment technology that let you update local installation.
0

Featured Post

Space-Age Communications Transitions to DevOps

ViaSat, a global provider of satellite and wireless communications, securely connects businesses, governments, and organizations to the Internet. Learn how ViaSat’s Network Solutions Engineer, drove the transition from a traditional network support to a DevOps-centric model.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Short answer to this question: there is no effective WiFi manager in iOS devices as seen in Windows WiFi or Macbook OSx WiFi management, but this article will try and provide some amicable solutions to better suite your needs.
In this article, I am going to show you how to simulate a multi-site Lab environment on a single Hyper-V host. I use this method successfully in my own lab to simulate three fully routed global AD Sites on a Windows 10 Hyper-V host.
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

860 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question