Access to the path 'c:\inetpub\wwwroot\images\temp' is denied. I've granted "Full Control" permission for IIS_WPG.

XMLWordPrintable

    • Type: Task
    • Resolution: Not A Defect
    • Priority: Trivial
    • Component/s: dotnet-sdk-plugin
    • None
    • Environment:
      Working on the deploying of website.

      Access to the path 'c:\inetpub\wwwroot\images\temp' is denied. I've granted "Full Control" permission for IIS_WPG.

      Hi,

      I've this error when I try to upload images by using UploadFile.SaveAs(Server.MapPath(targetPath) + strFileName). I tried to grant "Full Control" permission for IIS_WPG in Explorer, but still have this error.

      I've looked through some of solutions with no luck. If any more information is need please let me know.

      Thanks,
      James

            Assignee:
            Tim Van Holder
            Reporter:
            Prince
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: