Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
I'm having a lot of issues installing the uCommerce demo store package (uCommerce_Demo_Store_-_Razor_220.127.116.1149.zip). Most of these have been permission based issues which I've worked through, however, I'm hitting one which I cannot resolve.
The demo site seems to install ok but when I click any of the category menus I get two Razor errors:
The /App_Data/Logs/UmbracoTraceLog.txt is logging this message for each:
2013-11-25 19:18:29,146  WARN umbraco.macro - [Thread 7] Error loading MacroEngine script (file: uCommerce/Catalog.cshtml, Type: ''. Exception: System.InvalidOperationException: Could not write to location: C:\Inetpub\vhosts\sitename.co.uk\httpdocs\App_Data/RavenDatabases/uCommerce. Make sure you have read/write permissions for this path. ---> Microsoft.Isam.Esent.Interop.EsentFileAccessDeniedException: Cannot access file, the file is locked or in use
2013-11-25 19:18:28,918  WARN umbraco.macro - [Thread 7] Error loading MacroEngine script (file: uCommerce/Facets.cshtml, Type: ''. Exception: System.InvalidOperationException: Could not write to location: C:\Inetpub\vhosts\sitename.co.uk\httpdocs\App_Data/RavenDatabases/uCommerce. Make sure you have read/write permissions for this path. ---> Microsoft.Isam.Esent.Interop.EsentFileAccessDeniedException: Cannot access file, the file is locked or in use
The App_Data directory does have read/write permissions in place so I'm guessing it is something other than this.
I'm unsure whether this is because I've had to repeat the install of the demo store (18.104.22.16849) numerous times in the process of solving other permission issues.
- Umbraco version is 6.1.6- uCommerce version 22.214.171.12404- Demo store version 126.96.36.19949
Any ideas that could help?
Can you please try to delete the ravenDatabases under App_Data and run the scratch indexer under Settings/search in uCommerce section?
This might resolve the issue as the folder can be locked by previous processes. Otherwise i would assume it is something regarding perms.
Mike, did you get your problem solved? We are facing the very same problem and we are making no progress. We have tried giving full permissions, deleting files, etc. and right now we are kind of stuck, not able to get the production site working.
What hosting environment is the site running on? And would you be able to add the exception message?
The error message was a bit misleading as it was the same as mentioned in this thread.
It took us quite some testing to get it up and running. Our hosting environment is locked down. No permissions are given if not needed. It turns out that RavenDB requires folder list-permissions at root level, outside of the scope of the IIS instance itself.
We isolated the problem by running only one website on IIS, monitoring process file-I/O and doing some trial and error. It took us maybe 10 hours during 3 days, as we could not find a detailed description of the file permissions needed for running RavenDB in locked down environments.
Thanks for posting your results. Could you please elaborate on what you mean by, "folder list-permissions at root level, outside of the scope of the IIS instance itself". Which root level are you referring to here? c:\, root of website, something else?
Our website resides in something like m:\web\umb\site\ - but permissions on only "site" did not work.
We solved it by giving app pool identity "list folder content"-permissions on each folder, from m:\web\umb\site\ - up to disk root m:\
This is what our hosting guys wrote (in Danish):"Det lader til at app_pool identity skal have "list folder content" på disken og hele vejen ned igennem mappe strukturen for at den kan indeksere korrekt i den mappe hvor app pool identity har skrive rettigheder (app_data). Jeg har derfor været nødsaget til at tillade app pool identity til at have "list folder content" på disk niveau, men har fjernet nedarvningen."
Thank you for the information. I will make sure that we set up and run new test cases based on this.
Could you mark the topic as solved please? Thank you.
is working on a reply...
Write your reply to:
Image will be uploaded when post is submitted