473,785 Members | 2,919 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Deploying web app on server

Hi all,

I'm new to this. This will be my first setup for a web app I created. I
created a web app(form) in vb.net on my test machine. Now I want to
host this solution on a web server machine. I installed the framework
on the server and copied the files that were in /Inetpub/wwwroot/webapp
on my machine to the same location on the server. I then created a
virtual directory in IIS on the server and mapped it to the location of
the files.

Now I thought I could access my web app from the IP of the server on my
network...but I don't know the steps from here...
Do I need Microsoft Visual Studio .Net installed on the server ??
Do I need to do special configuration so that when on another machine
on the network I type the IP of my server I want the web app to appear
and be accesible ???
I really am learning from scratch here..so any/all help will/would be
appreciated!!

Thanks alot guys!!!

JMT

Nov 19 '05 #1
8 1325
> Do I need Microsoft Visual Studio .Net installed on the server ??
No
Do I need to do special configuration so that when on another machine
on the network I type the IP of my server I want the web app to appear
and be accesible ???

Type <ip address>/<virtual directory name>/<start page name>
Nov 19 '05 #2
Thanks alot...that got me off on a great start..
Now I have to make sure my database access to sql server works fine..

One more question..
While developping on my test machine, I added images to the web app but
these images were just on different folders on my machine. When I
transfered the files to the server machine, I would imagine these
images not being transfered at all.
If that is the case, I will have to come back on my test machine and
make the correct changes to the location of the images. What would be
the best place for me to place them ?? would it be in the folder in
/inetpub/wwwroot/webapp ?? since that is the only path that should not
change from my test to the server machine...

Thanks for the quick reply!!

JMT

Nov 19 '05 #3
The images should go to the place where they will be found by your urls. For
example, if you have a page that refers to an image as
ImageDir/ImageName.gif, you should make a directory called ImageDir under
your webapp one and put the images there.

Eliyahu

<bi****@hotmail .com> wrote in message
news:11******** **************@ g47g2000cwa.goo glegroups.com.. .
Thanks alot...that got me off on a great start..
Now I have to make sure my database access to sql server works fine..

One more question..
While developping on my test machine, I added images to the web app but
these images were just on different folders on my machine. When I
transfered the files to the server machine, I would imagine these
images not being transfered at all.
If that is the case, I will have to come back on my test machine and
make the correct changes to the location of the images. What would be
the best place for me to place them ?? would it be in the folder in
/inetpub/wwwroot/webapp ?? since that is the only path that should not
change from my test to the server machine...

Thanks for the quick reply!!

JMT

Nov 19 '05 #4
So if I understand correctly I should place them in :

/inetpub/wwwroot/webapp/images

But when in VS.NET I give the path to the image, is starts with :

C:/inetpub/wwwroot/webapp/images

and on my server their at the same place. But once I try it in a
browser, the application works but the images don'T show up.

I noticed that on web pages their located under :
ex: http://www.google.ca/intl/en_ca/images/logo.gif

what path should I give them in my web app while creating it in VS.NET
??
should I give them the path starting with c://......or just with the IP
of the server machine???

Everything works fine on my test machine but doesn't work when trying
in a browser.

Thanks for all the help guys!!

JMT

Nov 19 '05 #5
> So if I understand correctly I should place them in :

/inetpub/wwwroot/webapp/images Yes

But when in VS.NET I give the path to the image, is starts with :

C:/inetpub/wwwroot/webapp/images ??? You are not going to deploy your image on every client machine in
directory C:/inetpub/wwwroot/webapp/images, aren't you?
and on my server their at the same place. But once I try it in a
browser, the application works but the images don'T show up. Naturally enough, since they are not found on client machine in
C:/inetpub/wwwroot/webapp/images

I noticed that on web pages their located under :
ex: http://www.google.ca/intl/en_ca/images/logo.gif

what path should I give them in my web app while creating it in VS.NET the path should be relative do your application directory. In your case use
"images/logo.gif".
??
should I give them the path starting with c://......or just with the IP
of the server machine???

Everything works fine on my test machine but doesn't work when trying
in a browser.

Thanks for all the help guys!!

JMT

Nov 19 '05 #6
re:
should I give them the path starting with c://
or just with the IP of the server machine?
Using /webapp/images should work.


Juan T. Llibre
ASP.NET MVP
http://asp.net.do/foros/
Foros de ASP.NET en Español
Ven, y hablemos de ASP.NET...
=============== =======

<bi****@hotmail .com> wrote in message
news:11******** **************@ f14g2000cwb.goo glegroups.com.. . So if I understand correctly I should place them in :

/inetpub/wwwroot/webapp/images

But when in VS.NET I give the path to the image, is starts with :

C:/inetpub/wwwroot/webapp/images

and on my server their at the same place. But once I try it in a
browser, the application works but the images don'T show up.

I noticed that on web pages their located under :
ex: http://www.google.ca/intl/en_ca/images/logo.gif

what path should I give them in my web app while creating it in VS.NET
??
should I give them the path starting with c://......or just with the IP
of the server machine???

Everything works fine on my test machine but doesn't work when trying
in a browser.

Thanks for all the help guys!!

JMT

Nov 19 '05 #7
thanks alot guys...I understand now why this is the correct way..
I'll test it out and hope it all works fine!!

LAter,
JMT

Nov 19 '05 #8
Well that works out just fine.

Now onto a second problem, in the same category.

My SQL connection string has to change since I'm deploying a a
different machine. I hadn't thought about that until things weren't
working anymore and I noticed that this has to be the problem.

My string now is:

workstation id=MYMACHINE;pa cket size=4096;integ rated security=SSPI;d ata
source=MYMACHIN E;persist security info=False;init ial catalog=Demo2

What would be the best way to build an application from the start
without having to change stuff like that once I deploy it on another
machine.

I'm thinking instead of MYMACHINE I could change it to
localhost...wou ld that be the best way(first of all, would that work)
to write my web app or is there a better way???

In my login page, I also have:

conn = New SqlConnection(" server=localhos t;Integrated
Security=SSPI;d atabase=Depots" )

even though my database is the same on the other machine, this does not
work....any idea as to why???

Thanks for all the help and quick replys guys!!

this is the first time i've had to deploy to another machine and I
understand why writing a good ap the first time saves alot of time!!

JMT

Nov 19 '05 #9

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

Similar topics

3
2601
by: yoda | last post by:
Hi Guys, I've been used to deploying code to the production server by checking out of subversion and manually sorting out any kinks. (yes, I know, it sounds primitive) I realize I'm losing so much time I could spend more productively. I'd therefore like to know the different approaches you guys employ to deploy builds from your staging servers (or laptops:) to the production server in an automated repeatable safe manner.
10
2082
by: Gerben van Loon | last post by:
Hi there, hope someone can help me on this: I'm planning to deploy several ASP.NET projects to a production server. Normally I used the "Project / Copy project" option in VS.NET, but to this production server I only have FTP access. I tried copying the files with a FTP tool, but it seems that every application needs to have an own virtual directory, is this true? Or is it possible to just make 1 virtual directory and put al the projects...
2
1339
by: Flip | last post by:
I am deploying webapps using XP (IIS5) and deploying them to a Windows 2003 Server box (IIS6). So far so good. However, when I try to manage my w2k3 server from XP, I get an error message saying I can't manage an IIS6 box from IIS5. Is anyone else seeing this? Can I take my w2k3 server CDs and install IIS6 on my XP box? Do I have to uninstall of IIS5 first? Thanks.
3
2191
by: Johnny | last post by:
Hi, I have created an ASP.NET application (let's call it FooBar) with VS.NET on my local machine, residing in http://localhost/FooBar. Deploying it to another folder on my machine works well with FrontPage Server Extensions, but I don't manage to deploy the application to my web provider http root folder. When I run Copy Project, I get an error message just saying 'Unable to create Web project 'myname'. Not found.'.
3
1903
by: Rachel | last post by:
Hi, I am using the data access application block successfully in our development environment, however when I deploy to our testing server as Private Assemblies I keep getting the following Configuration Error Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately.
10
2149
by: Bryan Dickerson | last post by:
I fairly have my Web Service working the way that I want, so my next step will be to deploy it on a server. Do I just add a deployment/install project, build it and install it on the server? TIA! -- TFWBWY...A
1
2783
by: Duncan | last post by:
Guys a little please, I'm creating a windows application that uses a webservice and WSE1.0 to talk to a database, currently this works fine when using localhost, I now want to test the deployment of this webservice on another server (inhouse) so I know it will work when I come to put the webservice on to the webserver (external), I have used the copy project wizard in VB2K3 using file share and it puts the files on to the server, when I...
0
1008
by: geek-y-guy | last post by:
I have a "newbie" deployment question. I want to confirm what's involved in deploying a web created with Visual Web Developer Express Edition to a production Server2003/IIS 6 server. The project to be deployed has a typical membership database created through the administrative interface ("App_Data/ASPNETDB.MDF"). For that dB to work on the webserver, does SQL Server Express Ed. have to be installed on the webserver as well?
0
2350
by: sanjaypasumarty | last post by:
Hello, I am facing issues when i am deploying application on WebSphere Process server. The appplication is not deploying successfully and showing some DB2 errors in the logs. We are unable to find out the solution with the SDLCODE and SQLSTATE. Please help me to resole this issue. Please check the below snipet. 0000013c BpelEngine E <Null Message> com.ibm.db2.jcc.a.SqlException: DB2 SQL error:...
3
2778
by: kkao77 | last post by:
can you show me in more detail? I have same problem where on the page it's https://service.premilance.com/Company.svc, but the svcutil tells me to get it from https://pserver1/Company.svc?wsdl which is incorrect.. I have no clue how to fix it and i'm struggling for two days already :( On Mar 13, 3:09 pm, "Tiago Halm" <th...@nospam.hotmail.comwrote:
0
9480
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10147
jinu1996
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...
1
10087
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9947
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
8971
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
7496
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
5380
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...
1
4046
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
3645
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.