473,406 Members | 2,281 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,406 software developers and data experts.

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 1855
"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 "application" - 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*******************@text.news.blueyonder.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 "application" - 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.eduwrote in message
news:%2****************@TK2MSFTNGP04.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
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...
6
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...
1
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...
0
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...
3
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...
12
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/...
2
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...
9
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 ...
3
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...
11
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. ...
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: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
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:
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...
0
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,...
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
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...
0
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...

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.