locked
Publish Api RRS feed

  • Question

  • User1979860870 posted

    Hi

      I am trying to Publish Api . It is giving error - Publish failed. Target file:///C:/inetpub/wwwroot

    Publishing folder /...
    1>Unable to add 'ApplicationInsights.config' to the Web site. Unable to add file 'ApplicationInsights.config'. Access is denied.
    1>Unable to add 'Global.asax' to the Web site. Unable to add file 'Global.asax'. Access is denied.
    1>Unable to add 'packages.config' to the Web site. Unable to add file 'packages.config'. Access is denied.
    1>Unable to add 'Web.config' to the Web site. Unable to add file 'Web.config'. Access is denied.
    1>Unable to add folder 'bin' to the Web site. Cannot create folder 'bin'. Access is denied.
    1>Unable to add folder 'scripts' to the Web site. Cannot create folder 'scripts'. Access is denied.

    Thanks

    Thursday, August 13, 2020 10:21 AM

Answers

  • User-474980206 posted

    Change the permissions on the folder to allow the publish account access.

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Thursday, August 13, 2020 2:41 PM
  • User1686398519 posted

    Hi jagjit saini,

    You can check the permissions of the folder, and then add the missing user access.

    Best Regards,

    YihuiSun

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Friday, August 14, 2020 2:41 AM

All replies

  • User-474980206 posted

    Change the permissions on the folder to allow the publish account access.

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Thursday, August 13, 2020 2:41 PM
  • User1686398519 posted

    Hi jagjit saini,

    You can check the permissions of the folder, and then add the missing user access.

    Best Regards,

    YihuiSun

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Friday, August 14, 2020 2:41 AM