Web Service not reading web.config but ASPX pages do!!

M

mikevanoo

I have two ASP.NET web applications that work together. They are
structured as follows:

\wwwroot\CommonApp
This is the first web app and is a virtual directory in IIS and has a
web.config.

\wwwroot\CommonApp\SubApp
This is the second web app, it does NOT have a virtual directory but
DOES have another web.config. This app has some ASPX pages and an
ASMX. The web.config at this level overrides some appSettings keys
from the first app's web.config and adds some of its own.

My problem is this: the extra appSettings keys added by the second
web.config are present and correct when I debug the ASPX pages, but NOT
when I debug the ASMX - the settings from the first web.config are
there but the ones from the second web.config just aren't. Does anyone
have any idea why this might be the case?

Thanks in advance,

Mike.
 

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

Members online

No members online now.

Forum statistics

Threads
473,763
Messages
2,569,563
Members
45,039
Latest member
CasimiraVa

Latest Threads

Top