简体   繁体   English

更改 Azure 应用服务中的 AppPool 文件夹权限 - IIS APPPOOL\\MyUserName

[英]Changing AppPool folder permissions in Azure App Service - IIS APPPOOL\MyUserName

I've deployed nopCommerce as an Azure App Service using the simple Web Publish option.我已使用简单的 Web 发布选项将 nopCommerce 部署为 Azure 应用服务。

Having then tried to configure the installation by running the nopCommerce installer I receive the following errors.然后尝试通过运行 nopCommerce 安装程序来配置安装,我收到以下错误。

The 'IIS APPPOOL\MyUserName' account is not granted with Modify permission on folder....

在此处输入图片说明

Now normally this would be a trivial fix as I would login the application IIS server and presumably grant modify permissions to the IIS APPPOOL user for the given folders.现在通常这将是一个微不足道的修复,因为我将登录应用程序 IIS 服务器并大概授予给定文件夹的 IIS APPPOOL 用户修改权限。 However because this is an Azure App Service, I do not believe there is any way to login to the actual VM that runs all my application instances and thereby grant permissions to the APPPOOL user.然而,因为这是一个 Azure 应用服务,我认为没有任何方法可以登录到运行我所有应用程序实例的实际 VM,从而向 APPPOOL 用户授予权限。

So is there some way to work around this?那么有没有办法解决这个问题? Can I grant these permissions using some other means for an Azure App Service (for example using the console in Azure)?我是否可以使用其他方式为 Azure 应用服务授予这些权限(例如使用 Azure 中的控制台)?

For anyone curious the actual solution was creating these folders.对于任何好奇的人来说,实际的解决方案是创建这些文件夹。

  • wwwroot\\bin wwwroot\\bin
  • wwwroot\\log wwwroot\\log

and the files:和文件:

  • installedPlugins.json安装插件.json
  • dataSettings.json数据设置.json

Once I added those files/folders I was able to successfully complete the installation.添加这些文件/文件夹后,我就能够成功完成安装。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM