web.config file location when using a network share

Discussion in 'ASP .Net' started by john smith, Jan 6, 2004.

  1. john smith

    john smith Guest

    How can I determine the location of the web.config file, especially when the
    web application might be using a network share?

    This code is not correct in that situation:

    AppDomain.CurrentDomain.SetupInformation.ConfigurationFile

    because I get c:\winnt\system32\<SHARECOMPUTER>\<SHAREDIR>\web.config

    Any help appreciated.
    john smith, Jan 6, 2004
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. CES
    Replies:
    1
    Views:
    530
  2. JR
    Replies:
    8
    Views:
    448
    Steven Cheng[MSFT]
    Apr 28, 2004
  3. JR
    Replies:
    1
    Views:
    319
    Steven Cheng[MSFT]
    Apr 23, 2004
  4. CSharpner
    Replies:
    0
    Views:
    975
    CSharpner
    Apr 9, 2007
  5. Saraswati lakki
    Replies:
    0
    Views:
    1,273
    Saraswati lakki
    Jan 6, 2012
Loading...

Share This Page