473,698 Members | 2,274 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Run from Server or Workstation

Rob
What are some pros and cons associated with running a vb.net app from a
server and from a workstation ?

When run from the server, I assume that each instance that is executed is
"its own instance" i.e., variables are not shared ? Also, when run from
the server, how could you ensure that the same workstation does not have
more than 1 instance of the program running ?

Thanks
Jan 27 '06 #1
2 1207
Do you mean if it's just on a network share? That is what I assume you mean
here.

Pros:

Don't have to deploy new version of application to every user

Cons:

User can't run the app when server is offline or user is disconnected from
the server
There may be security restrictions imposed on the application by the .net
runtime because it is being run from a network share

And yes, each instance of the application would be separate, in its own
appdomain, it's own variables, etc. You would have to ensure that a user
doesn't run the same program twice from the share the same way you would
that they dont' run it twice on their local PC.

"Rob" <rw*****@comcas t.net> wrote in message
news:9K******** ************@co mcast.com...
What are some pros and cons associated with running a vb.net app from a
server and from a workstation ?

When run from the server, I assume that each instance that is executed is
"its own instance" i.e., variables are not shared ? Also, when run from
the server, how could you ensure that the same workstation does not have
more than 1 instance of the program running ?

Thanks

Jan 27 '06 #2
You might also consider a Distributed aproach

thus :

1 server component running on one computer
2 client programs all connecting to this one server component
You lighten the load on the clients ( they may even be written as thin
clients )
you can share information between the clients and server verry easy
etc etc

regards

Michel Posseth [MCP]

"Marina Levit [MVP]" <so*****@nospam .com> wrote in message
news:%2******** ********@TK2MSF TNGP12.phx.gbl. ..
Do you mean if it's just on a network share? That is what I assume you
mean here.

Pros:

Don't have to deploy new version of application to every user

Cons:

User can't run the app when server is offline or user is disconnected from
the server
There may be security restrictions imposed on the application by the .net
runtime because it is being run from a network share

And yes, each instance of the application would be separate, in its own
appdomain, it's own variables, etc. You would have to ensure that a user
doesn't run the same program twice from the share the same way you would
that they dont' run it twice on their local PC.

"Rob" <rw*****@comcas t.net> wrote in message
news:9K******** ************@co mcast.com...
What are some pros and cons associated with running a vb.net app from a
server and from a workstation ?

When run from the server, I assume that each instance that is executed is
"its own instance" i.e., variables are not shared ? Also, when run from
the server, how could you ensure that the same workstation does not have
more than 1 instance of the program running ?

Thanks


Jan 29 '06 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

12
1838
by: Rich | last post by:
Hello, I would like to turn on/invoke a VB6 app which resides on the server/folder where IIS is running from an ASP page. As for security, this would be all happening within an intranet with firewall protection, etc, no outside internet access. In pseudocode of my asp app I am thinking like this: <%
10
3484
by: ThunderMusic | last post by:
Hi, How can I get if the Windows running is a server version? Is there a property somewhere that can tell me if the Windows version is a server edition (including server, advanced server, web server, etc) or just a workstation (if it's not a workstation, then it's a server). My app must verifies that for security reasons. It should work from at least windows 2000 (Windows 98 and ME, would appreciated to, but if it's not possible, I'll...
10
2366
by: Zeng | last post by:
I just realized that there are 2 modes for garbage collection modes: server gs and workstation gs. Would someone know how I can go about changing the mode for my web application written in C#? I want to make sure it's using server gs mode. Thank you for any comment or advice. -zeng
10
1460
by: Roy | last post by:
Judging from the sheer number of posts on this topic, I'm sensing this is a fairly common problem. Only problem is, I've tried just about every recommendation in all the posts I've found thus far and none have worked. I have XP on my workstation and two servers that run server 2003. I have sql server dev edition on all 3, but only VS.NET on my workstation. I have .NET framework 1.1 on all 3 machines.
1
2901
by: lecnac | last post by:
Here's some details: Server and workstation both in the same workgroup Logged into server as local Administrator Logged into workstation as a local user that is only in the Users group The local user on the workstation is also defined with same name and password on the server (and only in the Users group on the server) Server is Windows Server 2003 running IIS 6.0 Workstation is Windows XP Professional ASP.NET 2.0 (C#) web site
1
3700
by: lecnac | last post by:
Sorry for the repost. I must have done something wrong when I tried to post my reply (I can't seem to find it). Anyway, I'd really appreciate any help that anyone could provide. My issue is quickly becoming more and more urgent. I've tried the code below using the server's local Administrator user name and password. This gets me past the Access denied error but gives me a User
1
2117
by: kito | last post by:
Hi, I have a problem, when I want to access to my SQL Server Express database from my ASP.NET application. My workstation ID is KITOLAP-HP My username is user01 Now I built the following connection String (VB.NET): Dim workstation As String = System.Environment.GetEnvironmentVariable("computername") connectionString = "workstation id=""" & workstation & """;packet
1
3590
by: gnusmsa | last post by:
ASP.NET 2.0 (C#) application Using Windows authentication and impersonation Windows Server 2003 (IIS6) Server is a member server on a domain Logged into server as a domain user that is in the local Administrators group on the server Workstation is on the same domain Logged into the workstation as the same domain user, which is also in the local Administrators group on the workstation
5
6678
by: lmttag | last post by:
ASP.NET 2.0 (C#) application Intranet application (not on the Internet) Using Windows authentication and impersonation Windows Server 2003 (IIS6) Server is a member server on a domain Logged into server as a domain user that is in the local Administrators group on the server Workstation is on the same domain Logged into the workstation as a domain user, which is also in the local Administrators group on the server and workstation
0
1512
by: 85ssp | last post by:
I am creating a small server client program that is meant for up to 70 connections from 70 different computers on a network. Everything in the program functions correctly except when testing operations with a server crash, the clients go into a disconnected state and wait for the server to come back up. Once the server is up the clients attept to connect. 75% of the time all clients connect and there connect message is accepted and...
0
8672
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8860
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7712
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6518
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5860
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4614
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3038
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
2323
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
1998
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.