由于权限问题,使用 IISExpress 安装 Orchard CMS 模块失败
我不断收到“安装请求的包时出错。如果服务器没有对网站的“~/Modules”或“~/Themes”文件夹的写入权限,则可能会发生这种情况。如果该网站正在运行在共享托管环境中,有时需要通过 Hoster 控制面板手动添加对这些文件夹的写入权限,一旦安装了主题和模块,建议删除对这些文件夹的写入权限。”尝试从库安装模块时出现消息。
我已授予 IIS_WPG 对 Orchard.Web\Modules 目录的完全控制权,昨天它可以工作,但今天不行。
我从 Visual Studio 2010 SP1 和 IIS Express 运行。
编辑:我已确保图库路径为: http://packages.orchardproject.net/FeedService。服务/
I keep getting the "There was an error installing the requested package. This can happen if the server does not have write access to the '~/Modules' or '~/Themes' folder of the web site. If the site is running in shared hosted environement, adding write access to these folders sometimes needs to be done manually through the Hoster control panel. Once Themes and Modules have been installed, it is recommended to remove write access to these folders." message when trying to install a module from the Gallery.
I've given the IIS_WPG full control of the Orchard.Web\Modules directory and it worked yesterday, but it doesn't today.
I'm running from Visual Studio 2010 SP1 and IIS Express.
EDIT: I've made sure the gallery path is: http://packages.orchardproject.net/FeedService.svc/
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
我遇到了同样的问题。我们有一个自定义主题,我必须在 theme.txt 文件中将版本从 1 更改为 1.0。然后我就可以安装模块了。
I came across the same issue. We had a custom theme and I had to change the version from 1 to 1.0 in the theme.txt file. Then I was able to install a module.
我通过这样做解决了这个问题:
创造。 (我使用的是 IIS,而不是 IIS Express)
主题)。
http://packages.orchardproject.net/FeedService.svc/
这为我解决了这个问题。使用 ApplicationPoolIdentity 不起作用,即使我给了它适当的权限(不知道为什么)。
我希望这有帮助。
I fixed this problem by doing this:
create. (I was using IIS not IIS Express)
Themes).
http://packages.orchardproject.net/FeedService.svc/
That fixed it for me. Using ApplicationPoolIdentity did not work, even when I gave it the appropriate permissions (not sure why).
I hope that helps.