473,395 Members | 1,624 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,395 software developers and data experts.

asp .net 2.0 install

Hi,

I have a 2.0 website. I added a web deployment project to it. I also
created a setup project to generate msi file. On my IIS I have both asp
..net 1.1 and 2.0. The virtual directory created by setup is using asp
..net 1.1. I had to manually change asp .net version after install for
the website to work. How do I configure this in the setup to use asp
..net 2.0 for the virtual directory.

thanks
phani

May 10 '06 #1
5 1143
There is a new tab under the IIS properties ...
<ph*****@gmail.com> wrote in message
news:11**********************@v46g2000cwv.googlegr oups.com...
Hi,

I have a 2.0 website. I added a web deployment project to it. I also
created a setup project to generate msi file. On my IIS I have both asp
.net 1.1 and 2.0. The virtual directory created by setup is using asp
.net 1.1. I had to manually change asp .net version after install for
the website to work. How do I configure this in the setup to use asp
.net 2.0 for the virtual directory.

thanks
phani

May 11 '06 #2
I am sorry for the confusion. I know the tab, but I want to know how I
do that configuration through the install program.

thanks

May 11 '06 #3
You can run aspnet_regiis with a batch file to do that.

If you run :
\WINDOWS\MICROSOFT.NET\FRAMEWORK\V1.1.4322\aspnet_ regiis.exe -s "w3svc/1/ROOT/YourApp"
the application will run against .Net Framework 1.1

if you run :
\WINDOWS\MICROSOFT.NET\FRAMEWORK\V2.0.50727\aspnet _regiis.exe -s "w3svc/1/ROOT/YourApp"
the application will run against .Net Framework 2.0


Juan T. Llibre, asp.net MVP
aspnetfaq.com : http://www.aspnetfaq.com/
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en español : http://asp.net.do/foros/
===================================
<ph*****@gmail.com> wrote in message news:11**********************@j33g2000cwa.googlegr oups.com...
I am sorry for the confusion. I know the tab, but I want to know how I
do that configuration through the install program.

thanks

May 11 '06 #4
thanks that worked like a charm.

I have another silly question. Is .net framework always installed in
%windir% or is there another env variable to get the path for framework
root dir.

thanks
phani

May 11 '06 #5
If I create a batch file to be executed after the installation, how can
I pass the name of the virtual directory created by setup to batch
script. The installation asks for a virtual directory name, if the user
changes the default name of the VD, is it possible to obtain that name
for passing it to a post build event.

thanks
phani

ph*****@gmail.com wrote:
thanks that worked like a charm.

I have another silly question. Is .net framework always installed in
%windir% or is there another env variable to get the path for framework
root dir.

thanks
phani


May 11 '06 #6

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

Similar topics

0
by: Yun Guan | last post by:
Hello mysql gurus, I am trying to run perl on mysql database on Red Hat box. I want to install DBI and DBD:mysql using CPAN: perl -MCPAN -e shell cpan>install DBI The above succeeded, but...
1
by: Peter Hartmann | last post by:
How do I influence the platform type during install? Could you look at this and tell me what I'm doing wrong? It's still using information from get_platform instead of using my preference. #...
3
by: Jeremy S. | last post by:
On my dev machine (XP/Pro with VS.NET 2003) I have been developing a Windows Service and installing it on the local machine by opening the Visual Studio Command Prompt and then executing . Now I...
7
by: p | last post by:
WE had a Crystal 8 WebApp using vs 2002 which we upgraded to VS2003. I also have Crystal 9 pro on my development machine. The web app runs fine on my dev machine but am having problems deploying....
12
by: Matt Fielder | last post by:
I tried to install SP1, and it appears to have just stopped somewhere part way through. It was "collecting information" (for a long time, slow progress bar) --- then suddenly it stopped.... no...
5
by: Ajith Menon | last post by:
I have to install .NET framework 3.0. I already have .NET Framework 1.1 installed on my machine. I don't want to remove framework 1.1 since some of the critical applications are using it. While...
3
by: Jason Madison | last post by:
My SP1 install seemed to want to keep repeating the install. I spent 4 hours running the install, then it ran again (I got the message up saying it had finished, then it started again). I didn't...
1
by: Sorin Schwimmer | last post by:
Hi All, After a disaster in which I lost my whole harddrive, I decided to install the newest everything that I use. I put the latest Gentoo Linux, with gcc 4.1.1, installed tcl/tk 8.4.14 and...
1
by: =?Utf-8?B?Qi5BaGxzdGVkdA==?= | last post by:
Hi all, This is something that I have been toying with for about a week now. What I want to achieve is Install a Service with Customised parameters (using InstallUtil.exe) for User Name. Example...
3
by: Jean-Marc Blaise | last post by:
Hi, I've been trying for 2 hours to install in silent mode a DB2 9 runtime client. Why didn't you make this process as simple as for the CLIENT install ? It is not the same setup command, you...
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
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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
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
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...

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.