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

Help with recursive web.config files.

I have a .NET web app (.NET Nuke) and then I have a virtual directory under
that app with a completely independent .NET web app. However, I get the
following error when executing the second web app.

"An error occurred during the processing of a configuration file required to
service this request. Please review the specific error details below and
modify your configuration file appropriately."

Then the last function to be executed is
"DotNetNuke.HttpModules.UrlRewrite". How do I forgo the .NET Nuke web.config
and have the lower app just use it's own web.config? It's setup as follows.

Logical Layout:
http://www.daltondirect.com (.NETNuke) (upper app)
http://www.daltondirect.com/apps/URLCodec (URL Coder/Decoder) (lower app)

Physical Layout:
Drive:\DaltonDirect\ (upper app)
Drive:\Apps\UrlCodec\ (lower app)

--
Nathon Dalton
Owner
Dalton Direct
Oct 31 '05 #1
1 2097
It looks like that is the way that MS wants it to happen.... Read their article about inheritance of settings in the web.config file here

I ran into the same problem, and MS should have listed on that page if there is a way to prevent the processing of parent web.config files. I know that quite often with creating web apps, I might ahve a master application and then other applications in sub-directories and I do not always want to use the same tools... In my case, it is an error that occured because I needed a specific program provider included in my main app, but I do not need it in any other app...

Done ranting... Hopefully there will be a way around this...

-Matt

PS - In my case, I needed the editor on a page that was in a subdirectory, so I created a web.config in the directory with the editor I needed and added just that one line and removed the line from the web.config in my root directory. That seems to make all my apps happy, but it does not really make me happy... I thought that was the whole reason to make directories in IIS as applications, so that it would know not to go down the tree...
Nov 10 '05 #2

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

Similar topics

4
by: Fuzzyman | last post by:
There have been a couple of config file 'systems' announced recently, that focus on building more powerful and complex configuration files. ConfigObj is a module to enable you to much more *simply*...
5
by: betterdie | last post by:
Dear guru I want to delete all file and folder recursivly under php code, can anyone give me commend for this. Thank very much
6
by: Jamal | last post by:
I am working on binary files of struct ACTIONS I have a recursive qsort/mergesort hybrid that 1) i'm not a 100% sure works correctly 2) would like to convert to iteration Any comments or...
25
by: n3crius | last post by:
hi, i just got a web host with asp.net , seemed really cool. aspx with the c# or vb IN the actual main page run fine, but when i use codebehind and make another source file ( a .cs) to go with...
3
by: dibblm | last post by:
Below is current code used. I can only list one directory then move to next. I want to search one more directory further and can't seem to find how to get one deeper. What I want to accomplish is...
0
by: Nathon | last post by:
I have a .NET web app (.NET Nuke) and then I have a virtual directory under that app with a completely independent .NET web app. However, I get the following error when executing the second web...
1
by: Joseph Geretz | last post by:
I need to download a greater than 4 megabyte attachment via WSE / DIME. The only way I know how to configure this is via a .config file. Normally, the ..config file is the same name as the base...
2
by: sebastien.abeille | last post by:
Hello, I would like to create a minimalist file browser using pyGTK. Having read lot of tutorials, it seems to me that that in my case, the best solution is to have a gtk.TreeStore containing...
5
by: ibid | last post by:
hi every one just wondering if anyone could help sorry if i seem abit dumb but im a newbie to it all ive got to asign a mail program on my auction site in the config.pl files (i think this is the...
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:
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
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...
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
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
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,...

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.