0

我正在尝试使用 umbraco 检查进行网站搜索。它在开发机器上工作正常,但是,在共享主机上,索引没有被构建。共享主机使用中等信任。我试过做这里提到的步骤:http: //our.umbraco.org/wiki/install-and-setup/medium-trust-with-umbraco-45plus,但我不能使用第一步:

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

它给出了这个错误:

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.

我可以在中等信任的共享主机环境中使用 umbraco 检查吗?

4

1 回答 1

1

您需要添加一个:

要求权限=“假”

到配置部分声明:

<section name="Examine" type="Examine.Config.ExamineSettings, Examine" requirePermission="false"/>   
<section name="ExamineLuceneIndexSets" type="Examine.LuceneEngine.Config.IndexSets, Examine" requirePermission="false" />
于 2012-06-11T19:02:03.207 回答