Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. Access to the path 'c:\inetpub\wwwroot\FinalUploadProgress\web.config' is denied.

Access to the path 'c:\inetpub\wwwroot\FinalUploadProgress\web.config' is denied.

Scheduled Pinned Locked Moved ASP.NET
helpworkspace
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    A Offline
    Abhi
    wrote on last edited by
    #1

    Hi.. Friends. I'm getting this error while changig in 'httpHandler' section in web.config by following code.. Configuration objConfig = WebConfigurationManager.OpenWebConfiguration(Request.ApplicationPath); HttpHandlersSection sec = (HttpHandlersSection) objConfig.GetSection("system.web/httpHandlers"); sec.Handlers.RemoveAt(0); HttpModulesSection sec2 = (HttpModulesSection)objConfig.GetSection("system.web/httpModules"); sec2.Modules.RemoveAt(0); objConfig.Save(ConfigurationSaveMode.Full); When, I m executing this code, I m getting this types of error message, Access to the path 'c:\inetpub\wwwroot\FinalUploadProgress\web.config' is denied. Please help me ASAP Thanks in Advance.. Regards, Abhi

    G 1 Reply Last reply
    0
    • A Abhi

      Hi.. Friends. I'm getting this error while changig in 'httpHandler' section in web.config by following code.. Configuration objConfig = WebConfigurationManager.OpenWebConfiguration(Request.ApplicationPath); HttpHandlersSection sec = (HttpHandlersSection) objConfig.GetSection("system.web/httpHandlers"); sec.Handlers.RemoveAt(0); HttpModulesSection sec2 = (HttpModulesSection)objConfig.GetSection("system.web/httpModules"); sec2.Modules.RemoveAt(0); objConfig.Save(ConfigurationSaveMode.Full); When, I m executing this code, I m getting this types of error message, Access to the path 'c:\inetpub\wwwroot\FinalUploadProgress\web.config' is denied. Please help me ASAP Thanks in Advance.. Regards, Abhi

      G Offline
      G Offline
      greekius
      wrote on last edited by
      #2

      check the authorization of ASP.NET and NETWORKSERVICE users. i got this error 6 days ago.

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups