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. Advertisements

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. GD
    Replies:
    4
    Views:
    520
    darrel
    Aug 18, 2006
  2. CSharpner
    Replies:
    0
    Views:
    1,414
    CSharpner
    Apr 9, 2007
  3. Replies:
    2
    Views:
    916
    Alexey Smirnov
    May 25, 2007
  4. luqman
    Replies:
    2
    Views:
    909
    luqman
    Jul 11, 2007
  5. Gery D. Dorazio

    How can the location roles be read from the web.config file?

    Gery D. Dorazio, Aug 10, 2004, in forum: ASP .Net Security
    Replies:
    0
    Views:
    231
    Gery D. Dorazio
    Aug 10, 2004
  6. Ryan Taylor
    Replies:
    1
    Views:
    854
    Ryan Taylor
    Sep 9, 2004
  7. Pete
    Replies:
    1
    Views:
    383
    Dominick Baier [DevelopMentor]
    Jun 1, 2005
  8. Saraswati lakki
    Replies:
    0
    Views:
    1,692
    Saraswati lakki
    Jan 6, 2012
Loading...