Orchard CMS 需要什么权限?

发布于 2024-10-15 06:19:29 字数 532 浏览 5 评论 0原文

我使用网络平台安装程序来安装 Orchard CMS,但是当出现 CMS 的设置网页时,一旦我提交详细信息,orchard 系统上第一次显示以下错误:

安装失败:出现异常 由调用的目标抛出。 异常已被抛出 调用的目标。访问权限是 否认。 (HRESULT 的异常: 0x80070005(E_ACCESSDENIED))

我已经检查了我的应用程序池,并且该用户对应用程序数据文件夹具有完全权限,该文件夹是创建本地数据库的位置(我认为这就是它崩溃的地方)。

它同时创建一个错误日志文件,但它是空的,这很方便。

还有其他人在运行首次设置时遇到任何问题吗?

我看过那里的项目网站,但故障排除文档非常薄: http://www.orchardproject .net/docs/Installing-Orchard.ashx

I used the web platform installer to install the Orchard CMS but when the setup web page comes up for the CMS, once I submit my details, the following error is shown on the orchard system for the first time:

Setup failed: Exception has been
thrown by the target of an invocation.
Exception has been thrown by the
target of an invocation. Access is
denied. (Exception from HRESULT:
0x80070005 (E_ACCESSDENIED))

I have checked my application pool and that user has full permissions to the app data folder which is where the local database is created (I think that is where it is falling over).

It creates a error log file at the same time but it is empty which is handy.

Anyone else had any issues with running the first time setup?

I have looked on there project site but troubleshooting documentation is very thin: http://www.orchardproject.net/docs/Installing-Orchard.ashx

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

↘人皮目录ツ 2024-10-22 06:19:29

好的,这是一个解决方案。
虽然我设法使用现有的 SQL Server 安装 Orchard,但我仍然对这个问题感到好奇,并且没有使用 SQL Server Compact。显然这是 SQL CE 应该放置的文件夹的权限问题,这就是我的想法。
然后我在这里找到了这个答案 Deploying SQL CE 4 IIS 7 - 需要特殊权限? 和 kaboom!就是这样。即使我为父文件夹添加了 IUSR 的 bin 文件夹,也没有权限。嗯,无论发生过什么,现在都过去了。

Ok, here is a solution.
Although I managed to install Orchard using the existing SQL Server, I was still curious about this issue and not working with SQL Server Compact. Apparently it was some permission problem with folder where SQL CE should be put, well that was my thinking.
Then I found this answer here at SO Deploying SQL CE 4 to IIS 7 - Special Permissions Needed? and kaboom! that's it. There were no permissions on bin folder for IUSR, even though I added it for parent folder. Hm, whatever happened, now it's gone.

忘你却要生生世世 2024-10-22 06:19:29

可能没有关联,但您应该检查的第一件事是应用程序池是否配置为使用 .NET 4.0。

Might be unrealted but the very first thing you should check is whether the app pool is configured to use .NET 4.0.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文