uCommerce demo store install - razor scripts not loading
I'm having a lot of issues installing the uCommerce demo store package (uCommerce_Demo_Store_-_Razor_2.0.0.13249.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 [5] 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
and
2013-11-25 19:18:28,918 [5] 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 (2.0.0.13249) numerous times in the process of solving other permission issues.
- Umbraco version is 6.1.6 - uCommerce version 4.0.6.13304 - Demo store version 2.0.0.13249
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.
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."
uCommerce demo store install - razor scripts not loading
I'm having a lot of issues installing the uCommerce demo store package (uCommerce_Demo_Store_-_Razor_2.0.0.13249.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:
and
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 (2.0.0.13249) numerous times in the process of solving other permission issues.
- Umbraco version is 6.1.6
- uCommerce version 4.0.6.13304
- Demo store version 2.0.0.13249
Any ideas that could help?
Many thanks,
Mike
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.
Hey Morten
What hosting environment is the site running on? And would you be able to add the exception message?
Kind regards
Thomas Arvidsen
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.
Hi Morten,
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?
Thanks.
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...