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

Forum statistics

Threads
473,994
Messages
2,570,222
Members
46,810
Latest member
Kassie0918

Latest Threads

Top