What permissions are required for Orchard CMS?
Asked Answered
F

2

2

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

Fireman answered 1/2, 2011 at 23:37 Comment(2)
I have installed Orchard on several different computers including local test boxes as well as shared servers without problems. Of course others have had problems so you are not alone. Perhaps if you could describe your environment (Version of Windows, 32 or 64 bit etc) it might be helpful.Cementation
Windows server datacenter 64 bitFireman
D
4

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.

Deandeana answered 27/2, 2011 at 1:26 Comment(0)
A
0

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

Ailsun answered 23/2, 2011 at 22:11 Comment(1)
I managed to start installation with an existing SQL Server database, although this message remains when I try with built-in data storage (SQL SERVER Compact) It must be an issue with administration, so I will contact hosting provider.Deandeana

© 2022 - 2024 — McMap. All rights reserved.