?
Solved

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

Posted on 2010-11-08
2
Medium Priority
?
590 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
[X]
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
2 Comments
 
LVL 5

Accepted Solution

by:
Xper4net earned 500 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 500 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

Manage your data center from practically anywhere

The KN8164V features HD resolution of 1920 x 1200, FIPS 140-2 with level 1 security standards and virtual media transmissions at twice the speed. Built for reliability, the KN series provides local console and remote over IP access, ensuring 24/7 availability to all servers.

Question has a verified solution.

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

Use of TCL script on Cisco devices:  - create file and merge it with running configuration to apply configuration changes
This article aims to explain the working of CircularLogArchiver. This tool was designed to solve the buildup of log file in cases where systems do not support circular logging or where circular logging is not enabled
Internet Business Fax to Email Made Easy - With  eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, f…
There's a multitude of different network monitoring solutions out there, and you're probably wondering what makes NetCrunch so special. It's completely agentless, but does let you create an agent, if you desire. It offers powerful scalability …
Suggested Courses

770 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