Two Different WEB.CONFIG Files

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • rafiki31
    New Member
    • Jun 2007
    • 5

    #1

    Two Different WEB.CONFIG Files

    Hi, im having some problems with an application im building. Im nesting a second application with in an already establish website. So in other words i have my root with one webconfig and then i ahve a subfolder (which holds my second website ) with another webconfig. The problem is that in the second website it doesnt read the webconfig that in that subfolder, its reading the one in the root directory.

    IIS is configured so that the subfolder acts as its own application. Is there any where in VS that you have to specify the location of the webconfig that you want to use?
  • gagandeepgupta16
    New Member
    • Feb 2007
    • 56

    #2
    Originally posted by rafiki31
    Hi, im having some problems with an application im building. Im nesting a second application with in an already establish website. So in other words i have my root with one webconfig and then i ahve a subfolder (which holds my second website ) with another webconfig. The problem is that in the second website it doesnt read the webconfig that in that subfolder, its reading the one in the root directory.

    IIS is configured so that the subfolder acts as its own application. Is there any where in VS that you have to specify the location of the webconfig that you want to use?
    yes, in the project properties or application setting you can specify the configuration file's path.

    Comment

    Working...