IIS applicationHost'setEnvironment'属性 [英] IIS applicationHost 'setEnvironment' attribute
本文介绍了IIS applicationHost'setEnvironment'属性的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
<add name="ASP.NET v4.0" autoStart="true" managedRuntimeVersion="v4.0" managedPipelineMode="Integrated">
<processModel identityType="ApplicationPoolIdentity" loadUserProfile="true" setProfileEnvironment="true" />
</add>
我将其添加到IIS的appliationHost配置中,以解决IIS中我在本文中看到的localDb问题
I'm adding that in appliationHost config of IIS to solve localDb problem in IIS what I see in this article
你们能帮助我避免此错误吗?
Can you guys help me to avoid this error?
无法识别的属性"setProfileEnvironment"
Unrecognized attribute 'setProfileEnvironment'
推荐答案
您似乎正在尝试将值放置在实际的应用程序池中.该属性位于已定义的应用程序池之外,并且位于appicationpooldefaults中.
It looks like you are attempting to place the value inside of an actual application pool. That attribute lives outside of a defined application pool, and lives in appicationpooldefaults.
<applicationPoolDefaults>
<processModel identityType="ApplicationPoolIdentity" loadUserProfile="true" setProfileEnvironment="true" />
<applicationPoolDefaults>
这篇关于IIS applicationHost'setEnvironment'属性的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文