简体   繁体   English

使用umbraco 4.7和中等信任度检查站点搜索

[英]examine site search with umbraco 4.7 and medium trust

I'm trying to use umbraco examine for the site search. 我正在尝试使用umbraco检查网站搜索。 It works fine on the development machine, however, on the shared host, the indexes are not being built. 它在开发机器上可以正常工作,但是在共享主机上,没有建立索引。 the shared host uses medium trust. 共享主机使用中等信任度。 I've tried doing the steps mentioned here: http://our.umbraco.org/wiki/install-and-setup/medium-trust-with-umbraco-45plus , but I cannot use the first step: 我尝试执行此处提到的步骤: http : //our.umbraco.org/wiki/install-and-setup/medium-trust-with-umbraco-45plus ,但是我不能使用第一步:

<trust level="Medium" originUrl=".*" />

It gives this error: 它给出了这个错误:

This configuration section cannot be used at this path.  This happens when the site administrator has locked access to this section using <location allowOverride="false"> from an inherited configuration file.

Can I use umbraco examine in a medium trust shared hosting environment? 我可以在中等信任共享托管环境中使用umbraco检查吗?

You'll need to add a: 您需要添加:

requirePermission="false" requirePermission =“ false”

to the config section declarations: 到config部分的声明:

<section name="Examine" type="Examine.Config.ExamineSettings, Examine" requirePermission="false"/>   
<section name="ExamineLuceneIndexSets" type="Examine.LuceneEngine.Config.IndexSets, Examine" requirePermission="false" />

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM