Disable web.config inheritance?

前端 未结 4 864
逝去的感伤
逝去的感伤 2020-11-30 00:48

I have a content management application in the root of my website, and I\'m trying to use a different app (a billing application) under a sub-folder. Unfortunately, the web.

4条回答
  •  离开以前
    2020-11-30 01:09

    I would explicitly define all of the settings required - never assume that any setting is still set to the default value.

    For example, if you're defining a connectionString include a tag before the , etc. For Membership define all of the attributes, including the cookie name. And so on.

    It may make the file a bit bigger but it will definitely help you avoid the "but it worked on my box" scenario too :-)

提交回复
热议问题