Strange web.config problem

Ask a Question related to ASP.NET Web Services, Design and Development.

  1. #1

    Default Re: Strange web.config problem

    Still don't know what is causing this; however, we did discover a work
    around (strange and convoluted as it may be) and that is to remove the
    web.config file from the web app directory that is the parent directory to
    our app. Of course when we need to use the other web app we have to put it's
    web config file back in the directory. Like I said - strange and convoluted.

    I replicated our web app configuration as close as possible on my local
    development machine and was able to successfully access our web application.
    We're thinking that the network guys might have installed a new security
    patch or windows update to the effected server.

    Has anyone else run into a similar problem as this?

    "Bill Youngman" <wyoungman@anexinet.com> wrote in message
    news:#ij3fRtaFHA.2736@TK2MSFTNGP12.phx.gbl...
    > Have web application that is working fine on my local development machine;
    > however, when it is being installed on a QA machine it has to be installed
    > under another web app directory and it is erroring out. More specifically
    it
    > appears to be using the web.config file from the app directory that is
    it's
    > parent directory.
    >
    > We've verified that there is a web.config file in my application's web
    > directory and it is in fact the correct one that is supposed to be being
    > used by my application. Yet everytime we browse to the site we are getting
    > an error telling us that references that are being used by this config
    file
    > can not be found (these references are being referenced in the web.config
    > file in the parent directory not in my config file.
    >
    > We are stumped at this point and any suggestions/ideas from people who
    might
    > have run into this issue in the past would be greatly appreciated.
    >
    > TIA,
    > Bill Youngman
    >
    >

    Bill Youngman Guest

  2. Similar Questions and Discussions

    1. WEB CONFIG PROBLEM
      I created i simple web service.. It runs well in my local Pc.. But when i copied it into my server it fails... it is about web config custom...
    2. WSE web.config problem
      Hi all, I have installed WSE 1.0 and have altered my project's web.config file to add: <webServices> <soapExtensionTypes> <add type=...
    3. problem with web.config
      I am using VS2003 and when I am launching the web application in the sub folder page he me show the error Configuration Error Description: An...
    4. Strange HACMP config error
      Hi there, I've got some strange problems here. Running AIX 4.3.3 an HACMP 4.4 we had a full network blackout yesterday. The cluster was instable...
    5. Problem with Apache Web Server config file and PHP (please give advice on what problem may be me)
      HI: Can anyone refer me to someone that can help with the problem below. I installed Apache Web Server on my laptop which has Windows XP. I...
  3. #2

    Default RE: Strange web.config problem

    Hi Bill,

    As you mentioned at QA machine your application is installed under another
    application. Thus this 'another application's web.config comes into the
    picture.

    IIS uses machine.config at top most level and it applies to all the
    applications on the server, web root's web.config overrides this
    configuration and it applies to applications under that web root.

    Your application is installed under another web application hence it is
    inheriting this another web application's web.config and thats causing
    problem to your application as it is adding unnecessary references.

    Either install your application out side another appliaction or if you are
    using IIS 6, create another web root and install your application there.

    Hope it helps.

    Best wishes,
    Amit :)


    "Bill Youngman" wrote:
    > Have web application that is working fine on my local development machine;
    > however, when it is being installed on a QA machine it has to be installed
    > under another web app directory and it is erroring out. More specifically it
    > appears to be using the web.config file from the app directory that is it's
    > parent directory.
    >
    > We've verified that there is a web.config file in my application's web
    > directory and it is in fact the correct one that is supposed to be being
    > used by my application. Yet everytime we browse to the site we are getting
    > an error telling us that references that are being used by this config file
    > can not be found (these references are being referenced in the web.config
    > file in the parent directory not in my config file.
    >
    > We are stumped at this point and any suggestions/ideas from people who might
    > have run into this issue in the past would be greatly appreciated.
    >
    > TIA,
    > Bill Youngman
    >
    >
    >
    Amit Save Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

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 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139