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

promote asp.net app subdirectory to new application in web.config

Is there a way to config a asp.net app subdir's web.config so that the sub
dir becomes a new IIS application in Visual Studio 2005? I need this because
the authentication mode for the subdir is different from the parent (form vs
windows). I guess I can do so manually in IIS, or extract the subdir to a new
web project. But I am looking for a least effort approach.
Thanks
Oct 3 '07 #1
4 1768
re:
!Is there a way to config a asp.net app subdir's web.config so that the sub
!dir becomes a new IIS application in Visual Studio 2005? I need this because
!the authentication mode for the subdir is different from the parent (form vs windows).

Open the IIS Manager and scroll to the subdirectory of your application.

Right-click on the subdirectory, select Properties
and then click on "Create" next to the "Application" Label.

It will automatically create the "application" using the virtual directory's name.

That should allow you to specify a different authentication mode in the subdirectory's web.config.


Juan T. Llibre, asp.net MVP
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en español : http://asp.net.do/foros/
======================================
"fw" <fw@discussions.microsoft.comwrote in message news:F7**********************************@microsof t.com...
Is there a way to config a asp.net app subdir's web.config so that the sub
dir becomes a new IIS application in Visual Studio 2005? I need this because
the authentication mode for the subdir is different from the parent (form vs
windows). I guess I can do so manually in IIS, or extract the subdir to a new
web project. But I am looking for a least effort approach.
Thanks

Oct 3 '07 #2
Two problems:
1. I don't have IIS Manager. The web server is VS 2005 built in.
2. I'm looking for a solution that can be configured solely in web.config
without manual tweaking in IIS Manager.

"Juan T. Llibre" wrote:
re:
!Is there a way to config a asp.net app subdir's web.config so that the sub
!dir becomes a new IIS application in Visual Studio 2005? I need this because
!the authentication mode for the subdir is different from the parent (form vs windows).

Open the IIS Manager and scroll to the subdirectory of your application.

Right-click on the subdirectory, select Properties
and then click on "Create" next to the "Application" Label.

It will automatically create the "application" using the virtual directory's name.

That should allow you to specify a different authentication mode in the subdirectory's web.config.


Juan T. Llibre, asp.net MVP
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en español : http://asp.net.do/foros/
======================================
"fw" <fw@discussions.microsoft.comwrote in message news:F7**********************************@microsof t.com...
Is there a way to config a asp.net app subdir's web.config so that the sub
dir becomes a new IIS application in Visual Studio 2005? I need this because
the authentication mode for the subdir is different from the parent (form vs
windows). I guess I can do so manually in IIS, or extract the subdir to a new
web project. But I am looking for a least effort approach.
Thanks


Oct 3 '07 #3
Can't do it. Besides, when you deploy your application into production it has
to run under IIS anyway, right?
-- Peter
Recursion: see Recursion
site: http://www.eggheadcafe.com
unBlog: http://petesbloggerama.blogspot.com
BlogMetaFinder: http://www.blogmetafinder.com

"fw" wrote:
Two problems:
1. I don't have IIS Manager. The web server is VS 2005 built in.
2. I'm looking for a solution that can be configured solely in web.config
without manual tweaking in IIS Manager.

"Juan T. Llibre" wrote:
re:
!Is there a way to config a asp.net app subdir's web.config so that the sub
!dir becomes a new IIS application in Visual Studio 2005? I need this because
!the authentication mode for the subdir is different from the parent (form vs windows).

Open the IIS Manager and scroll to the subdirectory of your application.

Right-click on the subdirectory, select Properties
and then click on "Create" next to the "Application" Label.

It will automatically create the "application" using the virtual directory's name.

That should allow you to specify a different authentication mode in the subdirectory's web.config.


Juan T. Llibre, asp.net MVP
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en español : http://asp.net.do/foros/
======================================
"fw" <fw@discussions.microsoft.comwrote in message news:F7**********************************@microsof t.com...
Is there a way to config a asp.net app subdir's web.config so that the sub
dir becomes a new IIS application in Visual Studio 2005? I need this because
the authentication mode for the subdir is different from the parent (form vs
windows). I guess I can do so manually in IIS, or extract the subdir to a new
web project. But I am looking for a least effort approach.
Thanks
Oct 3 '07 #4
re:
!I'm looking for a solution that can be configured solely in web.config
!without manual tweaking in IIS Manager.

If you can't install IIS, or won't, you can install a web server like Cassiniv2,
which allows you to specify applications.

Direct link to the source files:
http://blogs.msdn.com/dmitryr/attachment/548131.ashx

You also need the v2.0 version of GACUTIL which should
be installed by default with VWD Express or VS 2005.

Make sure you read the "ReadMe.txt" file included in the zipped source.

I don't see why you can't, simply, install IIS, though.


Juan T. Llibre, asp.net MVP
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en español : http://asp.net.do/foros/
======================================
"fw" <fw@discussions.microsoft.comwrote in message news:FC**********************************@microsof t.com...
Two problems:
1. I don't have IIS Manager. The web server is VS 2005 built in.
2. I'm looking for a solution that can be configured solely in web.config
without manual tweaking in IIS Manager.

"Juan T. Llibre" wrote:
>re:
!Is there a way to config a asp.net app subdir's web.config so that the sub
!dir becomes a new IIS application in Visual Studio 2005? I need this because
!the authentication mode for the subdir is different from the parent (form vs windows).

Open the IIS Manager and scroll to the subdirectory of your application.

Right-click on the subdirectory, select Properties
and then click on "Create" next to the "Application" Label.

It will automatically create the "application" using the virtual directory's name.

That should allow you to specify a different authentication mode in the subdirectory's web.config.


Juan T. Llibre, asp.net MVP
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en español : http://asp.net.do/foros/
======================================
"fw" <fw@discussions.microsoft.comwrote in message news:F7**********************************@microsof t.com...
Is there a way to config a asp.net app subdir's web.config so that the sub
dir becomes a new IIS application in Visual Studio 2005? I need this because
the authentication mode for the subdir is different from the parent (form vs
windows). I guess I can do so manually in IIS, or extract the subdir to a new
web project. But I am looking for a least effort approach.
Thanks




Oct 3 '07 #5

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

Similar topics

4
by: Bill | last post by:
Will IIS6.0 recognize a global.asa file located in a subdirectory on the webserver? I'd like a file that will execute whenever a file in the subdirectory is browsed - or, at least it is...
7
by: SOW Olivier | last post by:
hi, i have a site wich is in a subdirectory of the webSite. I have to use a global.asa file to set session.timeOut even i create an IIS application on the subDirectory global.asa don't run ?!?...
2
by: Justin | last post by:
I have an admin area in a sub directory of the root application that I am trying to password protect with forms authentication with a web.config in the subdirectory. when I try to access the...
0
by: Ratul | last post by:
Hi all! I'm writing a winforms test harness which lets me specify a subfolder from which to load a particular .net assembly dll. The idea is that there will be multiple subfolders, each having...
0
by: furiousmojo | last post by:
Okay, so I thought this would be easy, but it's not turning out that way. Let's see how good you guys are! :-) I have a windows authentication-based Intranet application. An excerpt from the...
6
by: Dean Fields | last post by:
Hello, I am having some session problems wih an in-house (classic) asp application. My developers have not been able to figure it out. I am more of a systems admin type and much of this is over...
5
by: Nathan Sokalski | last post by:
I am creating an ASP.NET application in a subdirectory of what IIS uses as the root directory (C:\Inetpub\wwwroot\). I am using the version of IIS that comes with Windows XP Pro SP2. Some of my...
0
by: markric | last post by:
Good day, I have an ASP.NET application / website with the following type of structure: + wwwroot + company site + masterpages + product1 + product2
2
by: =?Utf-8?B?U3Bpcml0RmxhZw==?= | last post by:
I want to configure different sessionState on different subdirectory,so I wote this code in wen.config file: <location path="SubInProc"> <system.web> <sessionState mode="InProc"...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...

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.