473,651 Members | 2,663 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Publishing "Hello World!"

I am making the step from windows to web. The final destination is our
production server running Server 2003 Web Edition.

I am having problems using the BUILD | PUBLISH WEB SITE option. What are
the basic steps to publish a simple web site? All examples I can find use
the local server.

I am looking for something like.

1. Create a "New web site" selecting the "File System" option.

2. Add a lable and change the text "Hello World!".

3. Test run the site.

4. Select the BUILD | PUBLISH WEB SITE option form the main menu.
(but first?)
(what's next?)

Any help is greatly appreciated.
Jul 26 '06 #1
5 1869
"Greg Smith" wrote ...
4. Select the BUILD | PUBLISH WEB SITE option form the main menu.
(but first?) (what's next?)
I'm using Visual Studio 2005, I think you are too juding by the
description - might be wrong, but I do the following...

In the popup window ("Publish Web Site") - you need to enter a target
location - so, if you had another PC on your local network that you could
test it on you could use that, or if you have access to the server then you
could enter the path for that...

http://www.your-web-site.com for example, or perhaps..

\\colleaguesPC\ your-site etc..

I typically run with the default options on that screen (mainly because I've
not read up what they actually do yet and put faith in the developers of
Visual Studio 2005! :o)

At the moment, I am publishing my content to my own server up in the loft,
I'm using a UNC path as my target locations..

\\titus\e$\webs \www.testsite.co.uk\

etc...

If the site is already configured in IIS on the server then it'll just
publish away, maybe ask you about over writing files etc....if its a new
site then it'll probably set it up in IIS for you automatically, however it
might not set it up as an "applicatio n" - so you might need to log in to the
server and adjust some settings in IIS for your newly formed website -
without more details about your server its obviously difficult to advise.

Hope the above helps...

Regards

Rob

Jul 26 '06 #2

"Rob Meade" <te************ *********@edaem .bborwrote in message
news:rt******** ***********@tex t.news.blueyond er.co.uk...
"Greg Smith" wrote ...
>4. Select the BUILD | PUBLISH WEB SITE option form the main menu.
(but first?) (what's next?)

I'm using Visual Studio 2005, I think you are too juding by the
description - might be wrong, but I do the following...

In the popup window ("Publish Web Site") - you need to enter a target
location - so, if you had another PC on your local network that you could
test it on you could use that, or if you have access to the server then
you could enter the path for that...

http://www.your-web-site.com for example, or perhaps..

\\colleaguesPC\ your-site etc..

I typically run with the default options on that screen (mainly because
I've not read up what they actually do yet and put faith in the developers
of Visual Studio 2005! :o)

At the moment, I am publishing my content to my own server up in the loft,
I'm using a UNC path as my target locations..

\\titus\e$\webs \www.testsite.co.uk\

etc...

If the site is already configured in IIS on the server then it'll just
publish away, maybe ask you about over writing files etc....if its a new
site then it'll probably set it up in IIS for you automatically, however
it might not set it up as an "applicatio n" - so you might need to log in
to the server and adjust some settings in IIS for your newly formed
website - without more details about your server its obviously difficult
to advise.
Thank you for your response.

Sadly it is the Sever end of it that is my hang up.

I was hoping for the steps to do that. It is a Windows 2003 Web Edition
Server that is up and running and hosting other web applications.

Jul 26 '06 #3
Hi Greg,

If your site is really simple the easiest thing is to deploy everything to
the server directly. I would stay away from the Publish option as it doesn't
work very well for sending things up to a server. Instead use a standard FTP
client to upload your files to the server.

Deployment in ASP.NET 2.0 has gotten a lot more complex. The above is an
easy way, but it's not the most secure since source code goes to the server.
You can also precompile your Web site and deploy the output from the
Pre-Compiler. You can use the Publish WebSite feature for that - publish the
site to a directory and then send the contents of that directory to the
server via FTP (again I recommend to do this manually as opposed to lettting
the Publish tool FTP for you).

Finally there's Web Deployment Projects (works only in Visual Studio not
VWD) which can compile your site into a single assembly (and some .compiled
files) that you can deploy in the BIN directory of your Web application on
the server.

http://msdn.microsoft.com/asp.net/re...structure/wdp/
Hope this helps,

+++ Rick ---

--
Rick Strahl
West Wind Technologies
http://www.west-wind.com/weblog
http://www.west-wind.com/wwThreads/
"Greg Smith" <gj*@umn.eduwro te in message
news:%2******** ********@TK2MSF TNGP04.phx.gbl. ..
>I am making the step from windows to web. The final destination is our
production server running Server 2003 Web Edition.

I am having problems using the BUILD | PUBLISH WEB SITE option. What are
the basic steps to publish a simple web site? All examples I can find use
the local server.

I am looking for something like.

1. Create a "New web site" selecting the "File System" option.

2. Add a lable and change the text "Hello World!".

3. Test run the site.

4. Select the BUILD | PUBLISH WEB SITE option form the main menu.
(but first?)
(what's next?)

Any help is greatly appreciated.
Jul 26 '06 #4
"Greg Smith" wrote ...
Sadly it is the Sever end of it that is my hang up.

I was hoping for the steps to do that. It is a Windows 2003 Web Edition
Server that is up and running and hosting other web applications.
So its just a case of instructions for configuring IIS (Internet Information
Service) that you are after?

Regards

Rob
Jul 26 '06 #5
So its just a case of instructions for configuring IIS (Internet
Information Service) that you are after?
Yes Rob, I think it is probaby the bottom line.

One other strange occurence. My publication were failing. I loaded Visual
Studio 2005 on another machine and attempted to publish. On THAT machine I
was probted for login information and after that the publish succeeeded. Do
you have any idea why that might happen?
Jul 27 '06 #6

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

Similar topics

9
2333
by: Jenta | last post by:
A World Beyond Capitalism 2005, An Annual International Multiracial Alliance Building Peace Conference Is Accepting Proposals... ...and Online Registration is now available if you plan to table and participate in the International Grassroots Exhibition: http://www.lfhniivaaaa.info/awbcgrassrootsofpeace We would greatly like some proposals from all people worldwide, especially
6
2005
by: Doc | last post by:
I'm trying to get to the bottom of a problem I've been having with publishing a freebie website. I'm using a program called WebEasy. Using a very simple site upload as an example, in this case a picture of a couple of antique chairs. I paste a single .jpg image, and save the web page file, which gets saved as an .alb file. Then, after choosing the "build website" function, the following files are found in the folder for the website:
1
7427
by: John Thompson | last post by:
Hello, I recently developed the hello world web service in Visual Studio 2005. If I right-click on the Service.asmx file that is created, everything works fine in Visual Studio. After verifying this, I did a Publish Web Site for this web service. After that, I installed IIS and wanted to view hello world from another machine to my development machine. However, after publishing the web site, if I go to look at it from another box on...
0
1116
by: Nate | last post by:
Hello, I am using VS2005 and am publishing my site to a remote server. The process appears to succeed. I am warned by visual studio that the publishing process will delete files in the destination folder, I say OK and the output reads: Publish: 1 succeeded, 0 failed, 0 skipped. So why is my bin folder empty? And no ASPX files either (I am leaving the editable option checked). I can publish locally. What I would like to do is set the...
3
1652
by: EqDev | last post by:
Hello I have set up a new windows server 2003 standard edition for training (on new software we have developed) and am having problems publishing webs to it from VS 2005. I have a C# Web Service and a test web site. I can publish to other servers but not the one for training. Notice that the message states that publish succeeded, but no files are copied.
12
5901
by: Nathan Sokalski | last post by:
I recently upgraded to from Visual Studio .NET 2003 to Visual Studio .NET 2005. In Visual Studio .NET 2003 when I would select 'Build' it would add a *.dll with the name of the Project to a /bin/ folder in the same directory as the source code. However, in Visual Studio .NET 2005 when I selected 'Publish Web Site' and selected a target location to place it in, it placed the following files in it: All *.aspx files All *.html files
2
1340
by: Elmo Watson | last post by:
Since I came from the HTML world many years ago - I am just in the habit of copying/FTPing all my ASP.Net websites to the remote server However, I have a friend who says that Publishing is the only way to go and it's the 'MS' way to do it I've had nothing but trouble trying to do this, many times, with different errors popping up, either in publishing, building before publishing, or running after publishing...
9
5229
by: Coward 9 | last post by:
HI, I created the simplest "ASP .NET Web Service" by using VS 2005 and Visual C#( File | New | Web Site). However, when I tried to access the service from IE 7.0 http://www.aztao.org/WebService/Service.asmx (the fie DOES exist which can be verified by typing http://www.aztao.org/WebService/ in address bar only).
3
2522
by: b2bwild | last post by:
Hi everyone :). I quite new in Flash 8 professional edition and I'm trying to Publish a Gif / Png image. I've selected the "Transparent" option in the Publish Settings for Gif but when I publish it, I see a solid white background and a slight grey background in PNG image. I want to put that gif image in my HTML page. I'm completely stuck. Please help me publishing a GIF / PNG image with transparent background. Thank you in advance :). ...
11
2995
by: cj | last post by:
Perhaps someone knows how to do this. When I open a new ASP.NET web service application in VS 2008, it opens with a simple Hello World web service already written. I want to see this work. Without changing a thing I built the solution and published it to localhost default web site. How can I test it?????
0
8352
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
8275
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
8802
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
8465
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
7297
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
6158
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
5612
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
4283
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2699
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 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.