开发者

What permissions are required for Orchard CMS?

开发者 https://www.devze.com 2023-02-08 04:33 出处:网络
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 firs

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_ACC开发者_如何学编程ESSDENIED))

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


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.


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

0

精彩评论

暂无评论...
验证码 换一张
取 消