我正在尝试使用Desktop界面在Sitecore 5.3.1中重建我的搜索索引。 处理了几千个节点后,我收到一条带有以下消息的UnauthorizedAccessException:
RebuildSearchIndex | System.UnauthorizedAccessException:拒绝访问路径'... \ WebSite \ indexes \ master \ system \ deletable'。
有谁知道如何解决这个问题?
更新: @Divamatrix有答案, 所有三个步骤都是必需的。 完全控制网站和索引文件夹的IIS应用程序池标识解决了UnauthorizedAccessException。 我在deleteable.new文件上遇到“无法重命名”错误,直到我将IUSR读取和写入权限提供给Index文件夹。
I'm trying to Rebuild my Search Index in Sitecore 5.3.1 using the Desktop interface. After processing several thousand nodes, I get an UnauthorizedAccessException with the following message:
RebuildSearchIndex|System.UnauthorizedAccessException: Access to the path '...\WebSite\indexes\master\system\deletable' is denied.
Does anyone know how I could resolve this issue?
UPDATE: @Divamatrix has the answer, and all three steps are required. Giving Full Control to the IIS App Pool identity for the Website and Indexes folders resolved the UnauthorizedAccessException. I got an "unable to rename" error on the deleteable.new file until I gave IUSR read and Write permissions to the Index folder.
最满意答案
没有看到更多的日志,很难说肯定..但请检查这些事情。 听起来在尝试创建或编辑文件时可能会出现一些权限问题,因为它正在创建索引。
1)请确保应用程序池标识具有对网站文件夹的完全控制权。
2)应用程序池标识还需要索引文件夹的权限,该文件夹通常不在网站文件夹中...通常在数据文件夹中。 (但是,您还应确保应用程序池标识完全控制网站文件夹及其后代 - 子文件夹和文件)。
3)请为/ index文件夹提供READ \ WRITE IIS安全性。
Without seeing more of the logs, it's hard to say for sure.. but please check these things. It sounds like there may be some permissions issues when it gets to trying to create or edit files as it's going through creating the indexes.
1)Please make sure that the app pool identity has full control rights to the website folder.
2)App Pool identity also needs rights to the indexes folder which is usually not in the website folder... its usually in the data folder. (However, you should also make sure that the app pool identity has full control of the website folder and its descendants - subfolders and files).
3)Please give READ\WRITE IIS security for /index folder.
更多推荐
发布评论