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

how to deploy .net 2.0 website?

Ron
Hi all,

I am new at .net 2.0 deployment so can any one recommend me a good way
or article to follow?

What I want to do is

(1)to deploy the website on the server2003 with IIS6

(2)we have a website on the web server which is running with .net 1.1
framework, can I add the new website as sub website or virtual
directory (running with .net 2.0)within the old web site? so the url
would looks like "http://old website/new site/default.aspx"

I tried to set it up like 1.1 but it didn't work. I also tried
websetup project, didn't work neither.

Thanks very much!

Ron
Nov 21 '07 #1
5 2446
On Nov 21, 9:51 am, Ron <rz...@mettle.bizwrote:
Hi all,

I am new at .net 2.0 deployment so can any one recommend me a good way
or article to follow?

What I want to do is

(1)to deploy the website on the server2003 with IIS6

(2)we have a website on the web server which is running with .net 1.1
framework, can I add the new website as sub website or virtual
directory (running with .net 2.0)within the old web site? so the url
would looks like "http://oldwebsite/new site/default.aspx"

I tried to set it up like 1.1 but it didn't work. I also tried
websetup project, didn't work neither.

Thanks very much!

Ron
1) create a website on IIS and copy all *.aspx/ascx, web.config and a /
bin

http://www.simongibson.com/intranet/iis6/
http://www.google.com/search?hl=en&q...003+with+IIS6+

2) In IIS, goto website, choose directory, right click, Properties.
Create an application in Application Settings area

In ASP.NET tab change version to 2.0
Nov 21 '07 #2
On Nov 21, 1:51 pm, Ron <rz...@mettle.bizwrote:
Hi all,

I am new at .net 2.0 deployment so can any one recommend me a good way
or article to follow?

What I want to do is

(1)to deploy the website on the server2003 with IIS6

(2)we have a website on the web server which is running with .net 1.1
framework, can I add the new website as sub website or virtual
directory (running with .net 2.0)within the old web site? so the url
would looks like "http://oldwebsite/new site/default.aspx"

I tried to set it up like 1.1 but it didn't work. I also tried
websetup project, didn't work neither.

Thanks very much!

Ron
Hi Ron,
You will need to add a "Deployment Project" to your web site solution.
Then, first of all, publish your website to some local folder other
than the original folder ( I Guess, it might be under the Inetpub
folder )
Once you publish your website, you can browse the folder structure
there.
Now create all the folders under the published directory into your
Deployment projects "File System View".
Once done with the folders, add your ASPX pages, scripts, CSS and
ofcourse the dll's to there respective folders, using the add file
option on the context menu. Please make sure that you copy the config
and other xml files too. This makes the web site updatable and you can
change some html content even after deployment.
Once all the files and folders are in place, you are ready to build
the executable of the setup. For this, just build the deployment
project.

Finally, you will find the setup exe under the Debug / Release folder
under your deployment projects directory. This debug / release folder,
depends upon your solutions configurations, whether it is in Debug
mode or Release mode.

PS: Also dont forget to add your images, if any, at the proper
hierarchy, otherwise they wont be available. Also before deploying it,
please test the executable on some other machine / virtual directory,
to see whether it is working or not.

Hope this helps you.

Thanks,
coolCoder.
Nov 21 '07 #3
On Nov 21, 2:43 pm, coolCoder <anant.yadunath.kulka...@gmail.com>
wrote:
On Nov 21, 1:51 pm, Ron <rz...@mettle.bizwrote:
Hi all,
I am new at .net 2.0 deployment so can any one recommend me a good way
or article to follow?
What I want to do is
(1)to deploy the website on the server2003 with IIS6
(2)we have a website on the web server which is running with .net 1.1
framework, can I add the new website as sub website or virtual
directory (running with .net 2.0)within the old web site? so the url
would looks like "http://oldwebsite/newsite/default.aspx"
I tried to set it up like 1.1 but it didn't work. I also tried
websetup project, didn't work neither.
Thanks very much!
Ron

Hi Ron,
You will need to add a "Deployment Project" to your web site solution.
Then, first of all, publish your website to some local folder other
than the original folder ( I Guess, it might be under the Inetpub
folder )
Once you publish your website, you can browse the folder structure
there.
Now create all the folders under the published directory into your
Deployment projects "File System View".
Once done with the folders, add your ASPX pages, scripts, CSS and
ofcourse the dll's to there respective folders, using the add file
option on the context menu. Please make sure that you copy the config
and other xml files too. This makes the web site updatable and you can
change some html content even after deployment.
Once all the files and folders are in place, you are ready to build
the executable of the setup. For this, just build the deployment
project.

Finally, you will find the setup exe under the Debug / Release folder
under your deployment projects directory. This debug / release folder,
depends upon your solutions configurations, whether it is in Debug
mode or Release mode.

PS: Also dont forget to add your images, if any, at the proper
hierarchy, otherwise they wont be available. Also before deploying it,
please test the executable on some other machine / virtual directory,
to see whether it is working or not.

Hope this helps you.

Thanks,
coolCoder.
I forgot to add that, if you are trying to deploy web sites with
different framework versions on same IIS, make sure that there
application pools are different, other wise it wont work.
Nov 21 '07 #4
Ron
Thanks guys!!
Nov 21 '07 #5
On Nov 22, 2007 1:05 AM, Ron <rz***@mettle.bizwrote:
On Nov 21, 8:42 pm, Alexey Smirnov <alexey.smir...@gmail.comwrote:
On Nov 21, 9:51 am, Ron <rz...@mettle.bizwrote:
Hi all,
I am new at .net 2.0 deployment so can any one recommend me a good way
or article to follow?
What I want to do is
(1)to deploy the website on the server2003 with IIS6
(2)we have a website on the web server which is running with .net 1.1
framework, can I add the new website as sub website or virtual
directory (running with .net 2.0)within the old web site? so the url
would looks like "http://oldwebsite/newsite/default.aspx"
I tried to set it up like 1.1 but it didn't work. I also tried
websetup project, didn't work neither.
Thanks very much!
Ron
1) create a website on IIS and copy all *.aspx/ascx, web.config and a /
bin

http://www.simongibson.com/intranet/...+on+the+server...

2) In IIS, goto website, choose directory, right click, Properties.
Create an application in Application Settings area

In ASP.NET tab change version to 2.0

Hey Alexey,

Thanks for your information.I tried it but on the asp.net tab the IIS
doesn't allow me to change the version. since the whole website is
with version 1.1, i am wondering if i can set up a folder running with
different version. Any idea?

Cheers,
Ron
You should create an application (Virtual Directory Tab, Application
Settings)
Nov 22 '07 #6

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

Similar topics

2
by: Marcus | last post by:
I have seen many posts of people with the same problem as me (attached below), but I have yet to see any solutions posted. Has anyone figured out how to deploy an Asp.net web site to the webserver...
3
by: John Holmes | last post by:
We have a couple of websites on our Intranet IIS server. We use the default website for some vended web apps, but the majority of our intranet exists on another IIS configured website. The problem...
0
by: geodev | last post by:
Hello, I’m developing my first ASP.NET website with Visual Studio.NET 2002 (It’s also the first time I’m using VS.NET as well). I’m utilising both ASP.NET and VB.NET. I have completed...
2
by: Nils Hedström | last post by:
I have a ASP.NET 1.1 project that I want to be able to deploy on my web-servers while they have real traffic (40 requests/second). When I copy the projects assembly in the bin-directory of the...
2
by: PocketDeveloper | last post by:
I am an experienced developer...but a novice at creating web services, so please have mercy on me! Here is my question: I developed a fairly simple Webservice that returns a table from SQL...
2
by: Daniela Roman | last post by:
To deploy a simple web application what type of files do I need to copy over? I want to use a simple copy. Thanks
1
by: =?Utf-8?B?Sm9obg==?= | last post by:
Hi all, I have website application in development machine. It is using atl com component and created interop using tlbimp. It is working fine. Now, I want to deploy on production machine. I...
5
by: Mahernoz | last post by:
Hi Everyone! I have a problem here. I have used the latest asp.net membership & profiles functionality in my site. I have 2 roles admin and user. I also have a user named admin. Now, my...
4
by: Cirene | last post by:
What is the best way to deploy a website created with VS 2008? (Now that web deployment projects are delayed.) I want to be able to modify the web.config file on the website. Thanks!
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
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?
0
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,...
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
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...
0
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,...
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.