alter web.config from asp.net web form?

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

  1. #1

    Default alter web.config from asp.net web form?

    is it possible to alter the web.config file from an asp.net web form? i am
    trying to create an admin tool for a web app.


    eRic Guest

  2. Similar Questions and Discussions

    1. Online form users can alter
      Hello, Not sure if this is the best place to ask but since I use Dreamweaver I thought I'd ask here first. I run a website and I am trying to place...
    2. Error loading XML file c:\windows\microsoft.net\framework\v1.0.3705\Config\machine.config
      I had many ASP.NET web applications that I created before I had to rebuild my machine. After a fresh install of XP Pro, VS.NET 2003, etc, I now...
    3. config file: a) what Module ? b) conditionals in config (for multiple hosts)
      Hi, a) I am looking for a module to handle config files. There are a number of these modules, like AppCconig. Any consensus about The Right...
    4. [RCR] Include CONFIG::Config['rubydocdir'] in rbconfig.rb
      Hi folks, I apologise if people have read this RCR and are not interested, but this is what I consider to be an important RCR, not a merely...
    5. Wanna use Windows Form in the Web,how to config the web security policy?
      Wanna use Windows Form in the Web,how to config the web security policy? Each time a "Microsoft .NET Securtiy" warning message shows in the...
  3. #2

    Default Re: alter web.config from asp.net web form?

    yes, it just an xml file. (actually you can edit the web config of any site
    on the server). when you save it, the effected site will be recompiled.

    -- bruce

    "eRic" <ezadler@hotmail.com> wrote in message
    news:#qYHBVvVDHA.2364@TK2MSFTNGP09.phx.gbl...
    > is it possible to alter the web.config file from an asp.net web form? i am
    > trying to create an admin tool for a web app.
    >
    >

    bruce barker Guest

  4. #3

    Default Re: alter web.config from asp.net web form?

    after giving asp.net ENORMOUS security control over that file (ugh) I am
    still getting the error: "The file is being used by another process" I am
    assuming that this process is IIS? (I've run it with VS.NET shutdown and no
    other apps running) is there anyway around this?

    also on the security issue, if I have impersonate set to true shouldn't it
    be the users credentials that are accessing the file, and not the ASPNET
    account?

    Thank you for your assistance,
    eRic


    "bruce barker" <nospam_brubar@safeco.com> wrote in message
    news:eGE0whwVDHA.2340@TK2MSFTNGP10.phx.gbl...
    > yes, it just an xml file. (actually you can edit the web config of any
    site
    > on the server). when you save it, the effected site will be recompiled.
    >
    > -- bruce
    >
    > "eRic" <ezadler@hotmail.com> wrote in message
    > news:#qYHBVvVDHA.2364@TK2MSFTNGP09.phx.gbl...
    > > is it possible to alter the web.config file from an asp.net web form? i
    am
    > > trying to create an admin tool for a web app.
    > >
    > >
    >
    >

    eRic 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