November Happy Hour will be moved to Thursday December 5th.
AI OnAI Off
November Happy Hour will be moved to Thursday December 5th.
It seems that it is GetDirectory() in the scheduelled job that is throwing the exception.
2013-10-23 07:54:17,276 [67] ERROR EPiServer.DataAbstraction.ScheduledJob: Job EPiServer.Find.Cms.Job.IndexingJob failed
System.UnauthorizedAccessException: You are not authorized to access /The_Folder/
at EPiServer.Web.Hosting.VirtualPathVersioningProvider.GetDirectory(String virtualPath)
at EPiServer.Web.Hosting.VirtualPathVersioningProvider.GetDirectory(String virtualPath)
at EPiServer.Web.Hosting.VirtualPathVersioningProvider.GetDirectory(String virtualPath)
at EPiServer.Web.Hosting.VirtualPathVersioningProvider.GetDirectory(String virtualPath)
at EPiServer.Web.Hosting.VirtualPathVersioningProvider.GetDirectory(String virtualPath)
at EPiServer.Web.Hosting.VirtualPathVersioningProvider.GetDirectory(String virtualPath)
at EPiServer.Find.Cms.FileIndexer.ReIndex(Action`1 statusAction, Func`1 isStopped)
at EPiServer.Find.Cms.Job.IndexingJob.Execute()
at EPiServer.DataAbstraction.ScheduledJob.<>c__DisplayClass9.<InternalExec>b__5()
As far as i know GetDirectory() will always perform an access check on the folder you are trying to access. If im right in that the scheduelled job will always fail when running in "scheduelled mode" and the folder dosent have read rights for Everyone...
Have no one else tried to index folders where Everyone dosent have read access?
I ended up making my own version of EPiServer.Find.Cms.Job.IndexingJob
where i run the job as a user that has correct accesrights...
Im having some problems indexing files using the CMS integration indexing job since we removed the Everyone group from some of the VPP folders. We get an access denied exception in the scheduelled job and the indexing is aborted. "Ett fel inträffade när jobbet kördes: You are not authorized to access /The_folder/".
The job was run manually by a user that is adminstrator.
The folders have the administrators group with full access rights asigned to it.
Is there anything i can do to alow Find to index these folders?