Solved

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

Posted on 2010-11-08
2
579 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 69

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

Control application downtime with dependency maps

Visualize the interdependencies between application components better with Applications Manager's automated application discovery and dependency mapping feature. Resolve performance issues faster by quickly isolating problematic components.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Comparing Internet speeds via throughput 3 34
Radius Debug Error 16 45
logging buffered 8 37
Exit the loop 4 31
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…
In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're interested in additional methods for monitoring bandwidt…

914 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now