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

Web Deployment Project - .net version

I am using a Web Deployment Project to create a web app installation
package.
Everything work peachy with one exception - the installed site is always
configured to use .net 1.1 instead of .net 2.0
I am assuming that the site is actually just defaulting to the default
version

Anyone know how to force the installation package to configure the site to
be version 2.0 ?

Gerry
Mar 6 '06 #1
4 1719
Hi Gerry,

Welcome again.

As for the IIS version setting for the ASP.NET application, it is actually
controled by the IIS metabase setting(the application extension mapping
configured for each virtual directory or the root IIS site). And normally
virtual directory will inherit the setting from IIS site's root. To
configure this, if you've installed .net framework 2.0, in IIS config
manager(inetmgr), we can use the "ASPNET" tab in the virtual directory's
property dialog to configure it. And for programmatic configuration, you
can use the "aspnet_regiis.exe" tool to swtich the version for a certain
IIS virtual directory(by specifying the metabase path):
#How to: Configure ASP.NET Applications for an ASP.NET Version
http://msdn2.microsoft.com/en-us/lib.../1kdfe21k.aspx

#ASP.NET IIS Registration Tool (Aspnet_regiis.exe)
http://msdn2.microsoft.com/en-us/library/k6h9cz8h.aspx

Therefore, if you want to add the version configuring function in the web
application's setup package, we can use a batch or script file or create
process to execute the aspnet_regiis.exe tool( of the certain .net version).

Hope this helps.

Regards,

Steven Cheng
Microsoft Online Support

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)

Mar 7 '06 #2
Hi Gerry,

Does the information in my last reply helps you a little or have you got
any progress on your project? If there's anything else we can help, please
feel free to post here.

Regards,

Steven Cheng
Microsoft Online Support

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)

Mar 9 '06 #3
Hi Steven,
Thanks for the reply

As jacky stated, this can be set via script assuming that you know which
site you are dealing with.
As far as i am concerned, the entire website setup is controlled by the iis
metabase , so why we have to explicitely set the site as a 2.0 site for a
site that the setup project knows in advance is a 2.0 site seems like a
'simple' oversight - albeit one that has now been there through 2 major
releases.

Gerry

"Steven Cheng[MSFT]" <st*****@online.microsoft.com> wrote in message
news:x7**************@TK2MSFTNGXA03.phx.gbl...
Hi Gerry,

Does the information in my last reply helps you a little or have you got
any progress on your project? If there's anything else we can help, please
feel free to post here.

Regards,

Steven Cheng
Microsoft Online Support

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)

Mar 14 '06 #4
Hi Gerry,

Thanks for the respone and nice to see you again:).

Yes, I can understand the concern you mentioned that it may be a bit
oversight to make the additional IIS ASP.NET version mapping setting.
However, I think this is somewhat due to the separation between our ASP.NET
application and the IIS application virtual directory/website setting. As
we know, IIS application virtual directory or website can host other raw
web applications other than ASP.NET, so it make the ASP.NET configuration
just one of the IIS virtual dir(application) setting. Also, in addition to
use web setup project, we can also simply deploy application through batch
file or script file in command line, in such scenario, it's also very
convenient to execute the aspnet_regiis command to configure the version
setting.

Anyway, I think it'll be a good feature if the webset up project can
include an option for automatically configure the version on target
application dir.

Please feel free to let me know if there's anything else we can help.

Regards,

Steven Cheng
Microsoft Online Support

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)

Mar 16 '06 #5

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

Similar topics

0
by: Bob Curry | last post by:
I have a pretty simple project (C++) which I'm trying to deploy using a VS.NET deployment project. The problem I'm having is that when the deployment project is executing, it finds a previous...
1
by: Richard Lewis Haggard | last post by:
I'm new to C# deployment project way of doing things and have run into a problem with a deployment project that has me stumped. I've put together a deployment of a project which works just fine for...
4
by: James | last post by:
I have a VB windows forms application that accesses a Microsoft Access database that has been secured using user-level security. The application is being deployed using No-Touch deployment. The...
4
by: MadCrazyNewbie | last post by:
Hey group, Could somebody possibly help? I know i`ve asked this before but ended up getting so confused. If I take my .exe from my bin directory and move it to another PC, i keep getting...
2
by: Cary | last post by:
In my project, I want to display the version number on the splash screen and in the help section of my application. I have a variable I created called appVersion. When I go to my deployment project...
1
by: moondaddy | last post by:
I need to have multiple deployment profiles for a .net 2.0 winforms project. This is my requirement: 1) Re-use same project for multiple ClickOnce deployment profiles. 2) Each profile will...
2
by: =?Utf-8?B?d2luZHNpbQ==?= | last post by:
Hi, I have used msi to create an installed program(version 4.2) on my computer.This program can create project file(.ws),just like the visual C#.net. And now I have deploied new version(4.3) of...
10
by: =?Utf-8?B?Q2h1Y2sgUA==?= | last post by:
In a web deployment project I want to encrypt the connection strings. I use to do this with a batch file with something like this. aspnet_regiis.exe -pef "connectionStrings" ..\ -prov...
7
by: Cirene | last post by:
I used to use the Web Deployment Project with my VS2005 projects. Now I've fully upgraded to VS2008. Do I have to download a new version of the Web Deployment Project? If so where can I find...
0
by: dfrench | last post by:
I have a visual studio 2008 solution(win forms) I have a Deployment project with it to install the software I upgrade the version number on the deployment project and build it When I run this on...
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
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
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
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.