Odd Web Config Inheritence Problem

D

darrel

Our Server is set up like this:

site1 (app)
|-admin application
site2 (app)
|-public site
...|- subFolder1 (app)
...|- subFolder2 (app)


This is our staging serer. It's set up so domain goes to site1 and domain:85
goes to site2.

site1 is the admin tool, site2 is the actual site.

the admin tool needs to run an app that is part of site2 (the subFolders).

What is happening is that site1 can access the subFolder1 application just
fine, but I get a web.config error with subFolder2.

The error is related to site2 setting Sessionstate and Authorization
settings in its web.config file. When run as site2, this is fine, but it
appears that if I try to access it from site1, I run into the problem where
site2 is now a sub folder of site1, and I'm not allowed to set these
settings in a nested config file.

HOWEVER, what is really confusing is that I can still access the app in
subFolder1 even though it's the EXACT same app in both subFolder1 and
subFolder2.

Any ideas what is going on?

(and ask if you need me to explain any of this better...)

-Darrel
 
D

darrel

Argh! I hate when I post then IMMEDIATELY find the answer.

The issue is that from our admin application, we were trying to access the
sub-apps via relative paths. Changing it so we were accessing the
application from a full domain solved things.

-Darrel
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top