按照本教程中的步骤,在inetmgr中点击“Modules”后的“Setting up with IIS 7.5”第一项,出现如下错误:
完整图片:http: //i.stack.imgur.com/QCM4s.png
RavenDB 中的 Web.config
<configuration>
<appSettings>
<add key="Raven/DataDir" value="~\Data"/>
<add key="Raven/AnonymousAccess" value="Get"/>
</appSettings>
<system.webServer>
<handlers>
<add name="All" path="*" verb="*" type="Raven.Web.ForwardToRavenRespondersFactory, Raven.Web"/>
</handlers>
<modules runAllManagedModulesForAllRequests="true">
<remove name="WebDAVModule" />
</modules>
</system.webServer>
<runtime>
<loadFromRemoteSources enabled="true"/>
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
<probing privatePath="Analyzers"/>
</assemblyBinding>
</runtime>
</configuration>
应用程序主机配置
尝试
几次尝试,我试图改变
这..
<section name="modules" allowDefinition="MachineToApplication" overrideModeDefault="Deny" />
到这个..
<section name="modules" allowDefinition="MachineToApplication" overrideModeDefault="Allow" />
结果
尝试访问“在 inetmgr 模块中工作!”时
但是RavenDB Studio 不起作用。下图:
Config Error
This configuration section cannot be used at this path. This happens when the section is locked at a parent level. Locking is either by default (overrideModeDefault="Deny"), or set explicitly by a location tag with overrideMode="Deny" or the legacy allowOverride="false".
Config File
\\?\C:\Users\Riderman\RavenDB-Build-960\Web\web.config