473,890 Members | 1,411 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 2477
On Nov 21, 9:51 am, Ron <rz...@mettle.b izwrote:
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.b izwrote:
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.b izwrote:
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.b izwrote:
On Nov 21, 8:42 pm, Alexey Smirnov <alexey.smir... @gmail.comwrote :
On Nov 21, 9:51 am, Ron <rz...@mettle.b izwrote:
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
2276
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 in any place other than the default website? I do not want to install it there as our IIS has multiple websites, but nowhere is there an option when creating the install package in Visual Studio to specify what website on the server you want to...
3
1635
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 I'm having is that my Web Deployment Project just asks for what virtual directory I want to install into and it doesn't give any options for the website. I'm using the windows bootstrap option and it creates a setup.exe and msi file that I run to...
0
1160
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 the first stage of the website. I now need to get the first cut of this website running on another machine so that I can demo it. This will be running on a PC with XP Professional (with standard settings) and Microsoft IIS 5.1 (the standard web...
2
1892
by: Nils Hedstrm | 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 website directory the application gets restarted and the web server needs to recompile all my aspx-pages. Because the traffic is high the web server needs to recompile a lot of aspx-pages at the same time. Because of this alot of requests gets...
2
2029
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 Server. It runs great on my development machine. Now, I must deploy it to my website. My website is on a shared server holding lots of websites. The websoervice will not run there. It cannot read my SQL Server
2
1060
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
1548
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 have com componnent and interop. I created publish version of web-site. I am getting different errors. In productin machine, we dont have 2005 command prompt and tlbimp tools. we have only .net framework 2.0. What steps I have to take to deploy...
5
2915
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 website is running perfectly, but i want to deploy it.
4
2328
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
9978
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, well explore What is ONU, What Is Router, ONU & Routers main usage, and What is the difference between ONU and Router. Lets take a closer look ! Part I. Meaning of...
0
9822
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
11232
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...
0
10819
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...
0
10462
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...
1
8016
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
7169
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();...
1
4676
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
3
3277
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.