I have been developing a ClientServer application on one machine at my
office but the time has come to transfer it to the customer. The customer
is running a Windows 2000 local area network. I will keep a copy of the
applicaiton and all it's code on one of the client machines connected to the
local area network at the customers. This machine has a full blown copy of
Visual Studio 2003. SQL Server 2000 is the back-end, both at my office and
at the Clients. I have the code in the application set up so that it knows
if it is being called from a local machine (like at my office) or from their
local area network. The app provides a different connection string
depending on which environment is being used. My question is how to deploy
or make the applicaiton usable to all the machines on the LAN at the
clients. I know how to do deploy an application for another stand-alone
machine but not for all the machines on a local area network. I will
delineate my supposition as to what I need to do below and ask for comments
or suggestions.
Install .net framework 1.1 on the server. I suppose then I do the following
from the machine on the network that has the fullblown copy of VS. I
suppose I create a .msi file. I suppose I install the .msi on the server of
the LAN. I suppose that once this is done that I can create an icon on the
desktop of the other machines on the network that point to the .exe that the
..msi created on the server. I suppose that by running this executable that
the applicaiton will be available to all. Is it really this simple or is
there something I'm missing?
Further, the applicaiton is somewhat dynamic. I suppose that when changes
are made to the code on the machine on the network that has the full blown
copy of VS that the way to make those changes available to everyone else is
to create another .msi, uninstall the first .msi on the server and
re-install the second. Is this correct? What else do I need to be aware
of?
Thank you in advance for any help given. 10 4117
Hi Woody,
It's actually easier than that.
First, install the net framework on all client pc's - you don't need it on
the server.
Install the app itself on the server, not on one of the client pc's. VS
..net needs to be nowhere for the program to run.
You will have to set up security to allow each client to run the exe from
the server. There are articles on how to do this at msdn.microsoft. net - if
you can't find anything, get back to me and I will hunt down the
instructions.
Remember that you have to have win 2000 or xp on all of the client pc's.
When you make changes, simple copy the new .exe - occasionally you may need
a .dll or two, but not usually, unless you've added a new control or
component, so you will not have to reinstall.
To get started, read 'walkthrough: deploying a windows app' in the vs .net
help notes.
HTH,
Bernie Yaeger
"Woody Splawn" <wo***@splawns. com> wrote in message
news:%2******** ********@TK2MSF TNGP10.phx.gbl. .. I have been developing a ClientServer application on one machine at my office but the time has come to transfer it to the customer. The customer is running a Windows 2000 local area network. I will keep a copy of the applicaiton and all it's code on one of the client machines connected to
the local area network at the customers. This machine has a full blown copy
of Visual Studio 2003. SQL Server 2000 is the back-end, both at my office
and at the Clients. I have the code in the application set up so that it
knows if it is being called from a local machine (like at my office) or from
their local area network. The app provides a different connection string depending on which environment is being used. My question is how to
deploy or make the applicaiton usable to all the machines on the LAN at the clients. I know how to do deploy an application for another stand-alone machine but not for all the machines on a local area network. I will delineate my supposition as to what I need to do below and ask for
comments or suggestions.
Install .net framework 1.1 on the server. I suppose then I do the
following from the machine on the network that has the fullblown copy of VS. I suppose I create a .msi file. I suppose I install the .msi on the server
of the LAN. I suppose that once this is done that I can create an icon on
the desktop of the other machines on the network that point to the .exe that
the .msi created on the server. I suppose that by running this executable
that the applicaiton will be available to all. Is it really this simple or is there something I'm missing?
Further, the applicaiton is somewhat dynamic. I suppose that when changes are made to the code on the machine on the network that has the full blown copy of VS that the way to make those changes available to everyone else
is to create another .msi, uninstall the first .msi on the server and re-install the second. Is this correct? What else do I need to be aware of?
Thank you in advance for any help given.
Thanks for responding To get started, read 'walkthrough: deploying a windows app' in the vs .net help notes
I looked at the walkthrough and most of the concepts I understand. However,
it did not talk specifically, as far as I could tell, about deploying in a
network environment, so, I'd like to ask some more questions.
First, install the net framework on all client pc's - you don't need it on the server.
Understood.
Install the app itself on the server, not on one of the client pc's. VS .net needs to be nowhere for the program to run.
I think maybe there is a typo here but anyway, I don't understand what
you're saying. Do you mean "Somewhere" instead of "Nowhere"? Further, I
suppose what you mean is that I should put the solution directory and all
files associated with it on a public directory on the network drive. Y/N?
When you make changes, simple copy the new .exe - occasionally you may
need a .dll or two, but not usually, unless you've added a new control or component, so you will not have to reinstall.
If I understand correctly I do the following. If changes are made in the
application, do a rebuild in Release mode, or, use a deployment project to
create an .exe. In either case, on the target machine, point to the newly
created .exe on the server and run it. Y/N?
Remember that you have to have win 2000 or xp on all of the client pc's.
My intention is to use only Win 2000 or XP machines but I thought that Win98
is also a possibility. Perhaps you feel it is more trouble than it's worth.
This is the conclusion I have come to, primarily because of password issues
with Win98 and SQL Server.
Hi Woody,
VS .net does not have to be on any machine involved - neither on the server
nor on any of the client pc's. It will not hurt if it is on a machine, but
it serves no purpose, as the .exe runs on its own (so long as the necessary
..dll's are installed, as they will be when you run setup).
Yes, put the .exe in a public directory, but there is no need for the
solution itself, other than the installed exe/dll's - remember, your source
code is not needed to run with the .exe, as it is compiled to include
everything it needs.
Yes, you are correct, Win 98 will work, but yes again, you interpreted me
correctly - it's an unnecessary pain in the ass, so avoid it (as you intend
to).
By the way, I wrote 'msdn.microsoft .net' but I meant msdn.microsoft. com.
The instructions for setting up a client pc's security to allow it to run an
exe from the server are pretty easy to follow, but without it, net framework
security on any given client pc will not allow it to run by default, so this
has to be done (after installing the net framework on the pc).
Bernie
"Woody Splawn" <wo***@splawns. com> wrote in message
news:%2******** ********@TK2MSF TNGP10.phx.gbl. .. Thanks for responding
To get started, read 'walkthrough: deploying a windows app' in the vs
..nethelp notes I looked at the walkthrough and most of the concepts I understand.
However, it did not talk specifically, as far as I could tell, about deploying in a network environment, so, I'd like to ask some more questions.
First, install the net framework on all client pc's - you don't need it
on the server. Understood.
Install the app itself on the server, not on one of the client pc's. VS .net needs to be nowhere for the program to run.
I think maybe there is a typo here but anyway, I don't understand what you're saying. Do you mean "Somewhere" instead of "Nowhere"? Further, I suppose what you mean is that I should put the solution directory and all files associated with it on a public directory on the network drive. Y/N?
When you make changes, simple copy the new .exe - occasionally you may need a .dll or two, but not usually, unless you've added a new control or component, so you will not have to reinstall.
If I understand correctly I do the following. If changes are made in the application, do a rebuild in Release mode, or, use a deployment project to create an .exe. In either case, on the target machine, point to the newly created .exe on the server and run it. Y/N?
Remember that you have to have win 2000 or xp on all of the client pc's.
My intention is to use only Win 2000 or XP machines but I thought that
Win98 is also a possibility. Perhaps you feel it is more trouble than it's
worth. This is the conclusion I have come to, primarily because of password
issues with Win98 and SQL Server.
Hi Bernie,
Can you give us some examples from problems you did discover? Yes, you are correct, Win 98 will work, but yes again, you interpreted me correctly - it's an unnecessary pain in the ass, so avoid it (as you
intend to).
Cor
I appreciate your help very much. Things are becoming clearer thanks to
you. I would like to ask a few more questions. Yes, put the .exe in a public directory.
I suppose what you are saying and what I should do is this. On a client
machine (not necessarily connected to the network), using a Setup Project,
Create a .msi. Copy this .msi to the server, or from a CD or where-ever,
run it. When doing so, the MSI wizard will ask you where to create the
..exe. Tell it to create it in some public directory on the server that the
client is able to access. It sounds like that's all there is to it. Y/N?
The instructions for setting up a client pc's security to allow it to run
an exe from the server are pretty easy to follow, but without it, net
framework security on any given client pc will not allow it to run by default, so
this has to be done
I went into MSDN and did a searh on several key words but could not find any
article to tell me how to do what you've suggested.
if you can't find anything, get back to me and I will hunt down the instructions .
If you could do this it would be very much appreciated.
I have one other question. It appears to me that when I have a newer
version of the program (an new .msi with changes or additions) I need to do
the following:
Run the original .msi again and select remove. Delete the original .msi.
Copy the new one to the same location and run it. Y/N?
I ask this question because at one point I thought I could just copy a new
..msi to the same location and run it but I see this is not the case.
Hi Woody,
Yes, you can run the install from a client pc and install into the network
drive.
Here are the instructions for installing security so that a client pc can
access the .exe from the network drive:
After installing the net framework (by running dotnetfx.exe), go to control
panel/administrative tools; in admin tools select microsoft .net framework
wizards; select adjust .net security; select make changes to this computer;
click next; select local intranet - set to full trust; click next; click
finish.
When you need to change the program, simply copy the new .exe from your
solution's bin subdirectory to the network drive, overwriting the old
version - simple as that.
HTH,
Bernie
"Woody Splawn" <wo***@splawns. com> wrote in message
news:ON******** ********@TK2MSF TNGP11.phx.gbl. .. I appreciate your help very much. Things are becoming clearer thanks to you. I would like to ask a few more questions.
>Yes, put the .exe in a public directory. I suppose what you are saying and what I should do is this. On a client machine (not necessarily connected to the network), using a Setup Project, Create a .msi. Copy this .msi to the server, or from a CD or where-ever, run it. When doing so, the MSI wizard will ask you where to create the .exe. Tell it to create it in some public directory on the server that
the client is able to access. It sounds like that's all there is to it. Y/N?
The instructions for setting up a client pc's security to allow it to run an exe from the server are pretty easy to follow, but without it, net framework security on any given client pc will not allow it to run by default, so this has to be done
I went into MSDN and did a searh on several key words but could not find
any article to tell me how to do what you've suggested.
if you can't find anything, get back to me and I will hunt down the instructions . If you could do this it would be very much appreciated.
I have one other question. It appears to me that when I have a newer version of the program (an new .msi with changes or additions) I need to
do the following:
Run the original .msi again and select remove. Delete the original .msi. Copy the new one to the same location and run it. Y/N?
I ask this question because at one point I thought I could just copy a new .msi to the same location and run it but I see this is not the case.
Thank you Bernie, When you need to change the program, simply copy the new .exe from your solution's bin subdirectory to the network drive, overwriting the old version - simple as that.
That seems very easy. Does it work in all circumstances? That is, I
noticed in the install of the .msi that a subdirectory of "DataSets" is
created under the directory where the .exe is created. This suggests to me
that if I change something in Visual Studio that has to do with the datasets
for the application (like add a field or something) that simply copying the
..exe at that point won't work. I suppose I would need to, at that point,
create a new .msi in VS, uninstall the original .msi and run the new one.
Y/N? If this is true, are there other things that would cause me to have to
run a new .msi as well?
Hi Woody,
The instructions for installing security appear to work all the time. The
only time I ran into any difficulty was when instead of 'make changes to
this computer' it said 'make changes to anyone logging in to the computer'
or words to that effect.
Re the 'datasets' sub - my guess is that the .msi is creating a sub for
persisting datasets, which is rarely done. I would try, on my first change
to the .exe, simply to copy in the new exe and see what happens - my guess
is it will work just fine.
HTH,
Bernie
"Woody Splawn" <wo***@splawns. com> wrote in message
news:er******** *****@TK2MSFTNG P09.phx.gbl... Thank you Bernie,
When you need to change the program, simply copy the new .exe from your solution's bin subdirectory to the network drive, overwriting the old version - simple as that. That seems very easy. Does it work in all circumstances? That is, I noticed in the install of the .msi that a subdirectory of "DataSets" is created under the directory where the .exe is created. This suggests to
me that if I change something in Visual Studio that has to do with the
datasets for the application (like add a field or something) that simply copying
the .exe at that point won't work. I suppose I would need to, at that point, create a new .msi in VS, uninstall the original .msi and run the new one. Y/N? If this is true, are there other things that would cause me to have
to run a new .msi as well? This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: john_williams_800 |
last post by:
Hi;
I am writing an html page that will live on one server in an ms windows
network, but access pictures from a directory on another ms windows
server in the network.
I know in html the values for img src use unix style path separators
with root ( "/" being your parent web directory.
However in windows land the path to my images would be something like
|
by: libero familymac news |
last post by:
Hy!
sorry for my bad english...
i'm developping web forms in c# and i have to take the client machine name
I try with server variables ( request.servervariables ) and with
request.hostname() hostaddress()
dosn't work because ( i think ) in lan we don't have a dns server then
|
by: nn0410 |
last post by:
I am about to deliver my first Access application to a client and am
trying to do things "right" now, so as to make future maintenance as
painless as possible for the client and myself. Following the initial
delivery and installation, I'll be conducting ongoing
development/maintenance on my premises, and then visiting the client's
office periodically to install updates.
Having never done this before, I'd greatly appreciate a reality...
|
by: Wimpie van Lingen |
last post by:
Hey
I have some more questions with regards to Remoting in .NET 2. I'm using TCP with the Binary formatter.
My solution consists of 4 projects:
- Class Library containing the server classes which Inherits MarshalByRefObject (ok, at this stage it only contains one class... but its gonna grow)
- Class Library containing common classes and interfaces that will be shared between all projects. This include interfaces for the server...
|
by: MaxPersson |
last post by:
Hi guys! My first post here is ofcourse a little problem of mine! =) ive been looking pretty mutch everywhere, asking my proffesor and such, and we cant figure this out at all. I even analyzed the network trafic with Wireshark to see what was going on. No luck. So now im turning to you hardcore guys here! =)
Well to the problem. Im doing a really, REALLY simple chat client. (intending to control the mouse over ethernet). Where everything...
| |
by: eblackmo |
last post by:
I have a test network consisting of four servers running windows 2003 server R2 SP2. I have set up a domain which functioned correctly for about a day and a half until the other servers decided they can no longer connect to the domain controller. Ping resolves the domain controllers name to the correct ip nslookup finds the ip but can not resolve the name.
When I attempt to log on to a machine on the domain it takes around twenty minutes...
|
by: ali |
last post by:
I have a program that has hand written database connections and
DataGridView that connects to my database on sql server
using computer's name .this works fine locally BUT problem occures
when running my app on local area network
causes this exception
" Application attempted to perform an operation not allowed by the
security policy. to grant this application the required
permission,
contact your system administrator, or use the Microsoft...
|
by: 33223 |
last post by:
Local Area Network (LAN)
Both an EtherNet (wire) network and a wireless network are referred to
as a Local Area Network (LAN). A wireless network does not require
hubs, switchers, or routers to include additional users on the
network. Additional wireless users are supported just by being in the
immediate physical span of the network.
A wireless LAN (or Wi-Fi network) may be configured in two different
ways:
|
by: =?Utf-8?B?QiBTaW5naA==?= |
last post by:
Hi
Scenario
1) Host - XP Laptop with internet connection using Sky Broadband Wireless
Router Netgear DG834GT
2) MS Virtual Server 2005 - I have deployed an XP MS Virtual Server 2005 to
act as a virtual machine
|
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...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
| |
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...
|
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...
|
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();...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
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
| |
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |