What permissions are required for Orchard CMS?

女生的网名这么多〃 提交于 2019-12-21 22:21:41

问题


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


回答1:


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.




回答2:


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



来源:https://stackoverflow.com/questions/4869255/what-permissions-are-required-for-orchard-cms

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!