Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP .Net Web Services > Web Service not reading web.config but ASPX pages do!!

Reply
Thread Tools

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

 
 
mikevanoo@hotmail.com
Guest
Posts: n/a
 
      01-24-2006
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.

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Using Web.config's <system.web><pages><controls><add /></controls></pages></system.web> To Register UserControls Nathan Sokalski ASP .Net 5 01-10-2007 10:50 AM
Using Web.config's <system.web><pages><controls><add /></controls></pages></system.web> To Register UserControls Nathan Sokalski ASP .Net Building Controls 4 12-21-2006 02:50 AM
InvocationTargetException when calling "new Service()" in Axis web service to call another web service Michael Averstegge Java 0 01-10-2006 11:05 PM
passing variables from .aspx.cs code pages to .aspx pages RadioSignal ASP .Net Web Controls 7 10-21-2005 11:41 PM
New Web Sites - Not Serving Up ASPX Pages (but .htm is okay) Frankie ASP .Net 3 07-15-2005 09:39 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57