Are there risks in having multiple users of a VS.Net Windows application load and log into a single instance of the installed application?

Posted on 2011-03-08
Medium Priority
Last Modified: 2012-06-21
We are building a VS.Net Windows forms application using C# with Visual Studio 2010 and SQL Server 2008 R2 Standard Edition. It will be used by up to 60 users, Most will be connected directly in the local area network. For them, we will install the application on each of their workstations, all connected to the same pair of  SQL Server databases. We plan to deploy the application and new versions automatically using a software update service from Kaseya.

The problem is that some of those users and some additional ones also need to log in remotely with Remote Desktop. They all connect to one of two Terminal Server servers. The cleanest way to support them would be to automatically install one copy of the application on each of those two terminal server machines (or on one central server) and give each remote desktop account a shortcut to load the application from that installed copy of hte application.

Is that feasible? What are the risks?
Question by:Douglass MacLean
LVL 13

Accepted Solution

gamarrojgq earned 2000 total points
ID: 35069702

Feasible? yes, that is exactly what Terminal Services allows you to do, one Application installed on the server could be accessed by all the users that can log on to the server.

The risks? well if your application use the Application Startup path, to write/read files all the users will be using the same path, and that could a problem to your application if you need that every user use a diferente set of files depending on the user.

If you have many users connected to the Terminal Server, your application performance could get very low depending on your Server capacity

If your Application needs Network credentials to access resources that depends on the Network User Logged, you have to be sure that the users logs into the Terimnal Services with differente User Account, since Terminal Service could allow a user to be logged in different sessions at the same time

If you allow the Users Account to have multiple sessions, some times a session could get stuck and that could give you performance Issues

Besides that I think you will have the same issues that you will have for a local users.

Hope that helps

Author Closing Comment

by:Douglass MacLean
ID: 35077477
Very clear and helpful solution. The list of possible risks was well thought out and useful.

Featured Post

Train for your Pen Testing Engineer Certification

Enroll today in this bundle of courses to gain experience in the logistics of pen testing, Linux fundamentals, vulnerability assessments, detecting live systems, and more! This series, valued at $3,000, is free for Premium members, Team Accounts, and Qualified Experts.

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

More often than not, we developers are confronted with a need: a need to make some kind of magic happen via code. Whether it is for a client, for the boss, or for our own personal projects, the need must be satisfied. Most of the time, the Framework…
A theme is a collection of property settings that allow you to define the look of pages and controls, and then apply the look consistently across pages in an application. Themes can be made up of a set of elements: skins, style sheets, images, and o…
This is Part 3 in a 3-part series on Experts Exchange to discuss error handling in VBA code written for Excel. Part 1 of this series discussed basic error handling code using VBA. http://www.experts-exchange.com/videos/1478/Excel-Error-Handlin…
From store locators to asset tracking and route optimization, learn how leading companies are using Google Maps APIs throughout the customer journey to increase checkout conversions, boost user engagement, and optimize order fulfillment. Powered …

600 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