473,394 Members | 1,951 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,394 software developers and data experts.

How publish Vs.net app to a web.

Forgive my ignorance but how do you get your applicaiton written in VS from
your localhost to your actual web site? Is there a way of doing this from
within VS or do you have to use some sort of FTP application?

I'm supposing that when you create an applicaiton in VS you do it in
LocalHost first then move it to a web server via FTP. Is this right?

Nov 18 '05 #1
5 1501
WJ
((I am copying from a thread named "Moving Asp.Net application to server"
initiated by "Jim Heavey" on May 3, 2004))

The best is to let MS/Visual Studio .Net system to "copy project" for you.
Please do th followings:

1. Goto your IIS server and create a new web site. During the web site
creation, specify a physical folder on the IIS server for the new site.
Example: C:\MyDotNetWebFolder.

2. Secure the new web site and specify its default home page if any.

3. Specify Host Header under the "Advanced tab" such as www.yourWeb.com.
This is the url name your client will punch into the web browser address
field at their end.

4. From the developer PC, use "map network drive" to map to the web folder
created in IIS server earlier (#1).

5. Bring up VS.Net IDE and open up your solution.

6. Highlight the "Project Name" in the "Solution Explorer"

7. Click "Project/Copy Project" from the VS.Net pull down menu.

8. Click "File share" under the Web access method

9. Browse to the mapped folder as done in step# 4.

10. Select "only files needed to run this application" under the "Copy"
label. Donot copy source files if you wish to keep them secret.

11. Click "OK". This action will copy all your *.aspx, web.config, and *.dll
to your IIS server. Ignore the Red X error if it is thrown about "could not
modify BIN folder ACL...."

12. Fire up your MS/IE and punch in your newly created .net web site and
observe your wonderful work !!!

13. Finally, go to the IIS server and view the contents of the newly created
web site. You should see all your *.aspx files and Web.Config file under the
root folder and a BIN folder that houses your assembly (*.DLL).

PS: In addition, there are lots of good books about how to install and
administer MS/IIS software on Windows 2k, 2k3. I prefer W2k3 if your shop
can afford it. It is called MS/Application Server or IIS-6. All you need is
Windows 2003 Standard Edition or the cheapest is W2k3 Server Web edition.

Hope this helps

John

"Woody Splawn" <no****@splawns.com> wrote in message
news:O6**************@tk2msftngp13.phx.gbl...
Forgive my ignorance but how do you get your applicaiton written in VS from your localhost to your actual web site? Is there a way of doing this from
within VS or do you have to use some sort of FTP application?

I'm supposing that when you create an applicaiton in VS you do it in
LocalHost first then move it to a web server via FTP. Is this right?

Nov 18 '05 #2
The easiest way is to choose Copy Project from the project menu in VS.net.
Choose FrontPage as the web format to copy with and then the server's
FrontPage extensions will configure the IIS application and all for you.
It's a piece of cake.

Dale

"WJ" <Jo*******@HotMail.Com> wrote in message
news:O2**************@TK2MSFTNGP10.phx.gbl...
((I am copying from a thread named "Moving Asp.Net application to server"
initiated by "Jim Heavey" on May 3, 2004))

The best is to let MS/Visual Studio .Net system to "copy project" for you.
Please do th followings:

1. Goto your IIS server and create a new web site. During the web site
creation, specify a physical folder on the IIS server for the new site.
Example: C:\MyDotNetWebFolder.

2. Secure the new web site and specify its default home page if any.

3. Specify Host Header under the "Advanced tab" such as www.yourWeb.com.
This is the url name your client will punch into the web browser address
field at their end.

4. From the developer PC, use "map network drive" to map to the web folder
created in IIS server earlier (#1).

5. Bring up VS.Net IDE and open up your solution.

6. Highlight the "Project Name" in the "Solution Explorer"

7. Click "Project/Copy Project" from the VS.Net pull down menu.

8. Click "File share" under the Web access method

9. Browse to the mapped folder as done in step# 4.

10. Select "only files needed to run this application" under the "Copy"
label. Donot copy source files if you wish to keep them secret.

11. Click "OK". This action will copy all your *.aspx, web.config, and *.dll to your IIS server. Ignore the Red X error if it is thrown about "could not modify BIN folder ACL...."

12. Fire up your MS/IE and punch in your newly created .net web site and
observe your wonderful work !!!

13. Finally, go to the IIS server and view the contents of the newly created web site. You should see all your *.aspx files and Web.Config file under the root folder and a BIN folder that houses your assembly (*.DLL).

PS: In addition, there are lots of good books about how to install and
administer MS/IIS software on Windows 2k, 2k3. I prefer W2k3 if your shop
can afford it. It is called MS/Application Server or IIS-6. All you need is Windows 2003 Standard Edition or the cheapest is W2k3 Server Web edition.

Hope this helps

John

"Woody Splawn" <no****@splawns.com> wrote in message
news:O6**************@tk2msftngp13.phx.gbl...
Forgive my ignorance but how do you get your applicaiton written in VS

from
your localhost to your actual web site? Is there a way of doing this from within VS or do you have to use some sort of FTP application?

I'm supposing that when you create an applicaiton in VS you do it in
LocalHost first then move it to a web server via FTP. Is this right?


Nov 18 '05 #3
WJ
"DalePres" <no****@nomail.com> wrote in message
news:%2****************@TK2MSFTNGP10.phx.gbl...
The easiest way is to choose Copy Project from the project menu in VS.net.
Choose FrontPage as the web format to copy with and then the server's
FrontPage extensions will configure the IIS application and all for you.
It's a piece of cake.


Agree. But nowaday, FPSE is to be phased out by Windows Sharepoint Service.
Which is the best thing. :)

John
Nov 18 '05 #4
I greatly appreciate your assistance. I have been using VS.net for a year
and a half but primarily for Windows apps. It is really testing me to see
if I have enough smarts to write a web app. Please bare with me.

My configuration is a little different. I can not afford a web server of my
own so I am using a company called Verio. I understand they are one of the
biggest. They do web hosting with .Net Framework 1.1, and I understand I
can even make use of an Access or SQL Server 2000 database they provide.
The whole purpose of my little site is to do testing and allow myself to
find out what I can and can not do.

I transferred my domain name to their site. When I type in my domain name
in a web browser I get a default message of Welcome to XXX.com. This is
kept in a file on their server called NewSiteDefaultPage.asp. I have been
able to access this file from within VS and have actually modified it a
little. I do this from within VS by selecting File, Open, File from Web. It
asks me for my name and PW and next thing I know I am looking at what they
consider (I think) WebRoot or WebRoot$ of my domain. This has several sub
dirs and the file called NewSiteDefaultPage.asp. If I double click on
NewSiteDefaultPage.asp I am in it and can make changes. I don't know if the
sub dirs are of interest but they bare names such as _private,
aspnet_client, cgi-bin, cgi-local, data, Images, and anaonymous.

That said; I don't know quite how to use your instructions, starting with
item 1. I don't know how to create a new web site on IIS for my local
machine. When I go to IIS I have a sub folder called web sites and under
that an item called default web site. But I see no option for creating a
new web site.

Could you or someone give me further instructions?

"WJ" <Jo*******@HotMail.Com> wrote in message
news:O2**************@TK2MSFTNGP10.phx.gbl...
((I am copying from a thread named "Moving Asp.Net application to server"
initiated by "Jim Heavey" on May 3, 2004))

The best is to let MS/Visual Studio .Net system to "copy project" for you.
Please do th followings:

1. Goto your IIS server and create a new web site. During the web site
creation, specify a physical folder on the IIS server for the new site.
Example: C:\MyDotNetWebFolder.

2. Secure the new web site and specify its default home page if any.

3. Specify Host Header under the "Advanced tab" such as www.yourWeb.com.
This is the url name your client will punch into the web browser address
field at their end.

4. From the developer PC, use "map network drive" to map to the web folder
created in IIS server earlier (#1).

5. Bring up VS.Net IDE and open up your solution.

6. Highlight the "Project Name" in the "Solution Explorer"

7. Click "Project/Copy Project" from the VS.Net pull down menu.

8. Click "File share" under the Web access method

9. Browse to the mapped folder as done in step# 4.

10. Select "only files needed to run this application" under the "Copy"
label. Donot copy source files if you wish to keep them secret.

11. Click "OK". This action will copy all your *.aspx, web.config, and *.dll to your IIS server. Ignore the Red X error if it is thrown about "could not modify BIN folder ACL...."

12. Fire up your MS/IE and punch in your newly created .net web site and
observe your wonderful work !!!

13. Finally, go to the IIS server and view the contents of the newly created web site. You should see all your *.aspx files and Web.Config file under the root folder and a BIN folder that houses your assembly (*.DLL).

PS: In addition, there are lots of good books about how to install and
administer MS/IIS software on Windows 2k, 2k3. I prefer W2k3 if your shop
can afford it. It is called MS/Application Server or IIS-6. All you need is Windows 2003 Standard Edition or the cheapest is W2k3 Server Web edition.

Hope this helps

John

"Woody Splawn" <no****@splawns.com> wrote in message
news:O6**************@tk2msftngp13.phx.gbl...
Forgive my ignorance but how do you get your applicaiton written in VS

from
your localhost to your actual web site? Is there a way of doing this from within VS or do you have to use some sort of FTP application?

I'm supposing that when you create an applicaiton in VS you do it in
LocalHost first then move it to a web server via FTP. Is this right?


Nov 18 '05 #5
WJ

"Woody Splawn" <no****@splawns.com> wrote in message
news:%2********************@tk2msftngp13.phx.gbl.. .
My configuration is a little different. I can not afford a web server of my own so I am using a company called Verio. I understand they are one of the biggest. They do web hosting with .Net Framework 1.1, and I understand I
can even make use of an Access or SQL Server 2000 database they provide.
The whole purpose of my little site is to do testing and allow myself to
find out what I can and can not do.

I transferred my domain name to their site. When I type in my domain name
in a web browser I get a default message of Welcome to XXX.com. This is
kept in a file on their server called NewSiteDefaultPage.asp. I have been
able to access this file from within VS and have actually modified it a
little. I do this from within VS by selecting File, Open, File from Web. It asks me for my name and PW and next thing I know I am looking at what they
consider (I think) WebRoot or WebRoot$ of my domain. This has several sub
dirs and the file called NewSiteDefaultPage.asp. If I double click on
NewSiteDefaultPage.asp I am in it and can make changes. I don't know if the sub dirs are of interest but they bare names such as _private,
aspnet_client, cgi-bin, cgi-local, data, Images, and anaonymous.

This seems that the host already has everything for you. You may call them
and ask if you are allowed to administer your own site remotely using their
web admin facility. Example: Front Page server admin or Windows Share Point
services tools that will let you add/author/administer your own site. They
will give you instructions how to use it. You can use the web-admin pages to
name your site, define accesses, define locations on your folders,
add/remove users. Define your own home page instead of their default message
page as you said.
That said; I don't know quite how to use your instructions, starting with
item 1. I don't know how to create a new web site on IIS for my local
machine. When I go to IIS I have a sub folder called web sites and under
that an item called default web site. But I see no option for creating a
new web site.

Could you or someone give me further instructions?


If you are using MS/VS.Net IDE, then make sure your local IIS/Web service
(WWW) is running on the background. Let VS.Net 2003 creates your own site on
your own PC (say XP pro.). The default location of all VS.Net Web projects
are normally placed under c:\Inetpub\wwwroot folder by VS.Net IDE 2003. Each
asp.net web project you create is a web site itself. Once you have finished
building a sample site on your PC, say "My1stSite", to test it, please do
the followings: Fire up MS/IE browser, type http://localhost/My1stSite into
the address field and press Enter key. If everything is built properly, your
default.aspx page should appear.

John
Nov 18 '05 #6

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

Similar topics

2
by: msnews.microsoft.com | last post by:
I'm looking for a one-step publish to server solution. I'm developing my web app in VS.NET and use my local IIS for testing. When ready to publish the latest release, I'd like to be able to hit...
8
by: Graham | last post by:
I noticed a similar post awhile ago and in terms of my problem it wasnt a suitable answer so I will ask again. I have VS2005 running a on development machine in my office where I do all my...
1
by: cadonahue | last post by:
VS 2005 Professional RTM (8.0.50727.42) on Windows 2000 ASP.NET website Last week I converted a 1.1 ASP.NET (VB) project to 2.0. The conversion was painless on the VB code side. It was a lot of...
21
by: Al Christoph | last post by:
I posted this last week end in the MSDN forums. No luck there. Let's see what the experts here have to say:-)))) I have a rather convoluted project. The distributable will come in eight...
1
by: kurt sune | last post by:
I am having trouble publishing a website for RELEASE. 1. web.config: <compilation defaultLanguage="vb" debug="false"> 2. in Configuration manager I set the configuration to Release for the...
3
by: jfarrell | last post by:
Hi there, Im attempting to publish my site to local then copy files to the web server. The only option there seems to be in VWDE is to build/copy the site...where is the Publish website option...
9
by: Jason | last post by:
Hi all, I am no longer able to publish a web site project using Visual Studio 2005 Professional. I am publishing it to an FTP url, and this used to work just fine. I enter the username and...
0
by: Bjorn Sagbakken | last post by:
With VS 2005 I have updated my project the latest few weeks, and now I wanted to publish this to the web-server. Then the strangest thing happened; - build and publish reported ok, no errors - but...
4
by: Paul Engel | last post by:
I have an app that published fine to our network. We just moved to a new server and I am trying to publish my app to the new server. It fails and I get the following messages: Error 1 Cannot...
3
by: =?Utf-8?B?Sm9obiBT?= | last post by:
Hi, I'm trying to publish a new web service that I've written. It's fine when I publish it on the local PC but I get Publish failed in the development environment when I try to publish it to...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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...
0
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...
0
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...

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.