IIS 8:自定义应用程序池ID:值不在预期范围内 [英] IIS 8: Custom app pool ID: Value does not fall within the expected range

查看:314
本文介绍了IIS 8:自定义应用程序池ID:值不在预期范围内的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一台IIS 8计算机,它们都具有相同的应用程序主机,并且都具有完全相同的计算机密钥.在其中之一上,当我尝试使用自定义帐户作为应用程序池ID时,一切正常.另一方面,当我尝试执行此操作时,我关闭对话框以输入密码,而让我进入高级设置对话框.当我关闭该窗口时,我收到一条错误消息,指出值不在预期范围内."

I have a pair of IIS 8 machines, both with identical app hosts, both with precisely the same machine keys. On one of them, when I try to use a custom account for my application pool id, everything works hunky-dory. On the other, when I attempt to do this, I close the dialogue box to enter the password, leaving me at the advanced settings dialogue box. When I close that, I receive an error stating "Value does not fall within the expected range."

我已经尝试了所有我在这里可能想到的一切:我已经将应用程序主机从正在运行的计算机复制并粘贴到了无法运行的计算机.导出和导入机器密钥.查看了我能想到的每种配置,并用锤子将其撞击-都无济于事.

I've tried everything I can possibly think of here: I've copy and pasted the app host from the working machine to the non-working. Exported and imported machine keys. Looked at every configuration that I can think of and banged against it with a hammer - all to no avail.

如果有人有什么想法,或者我可以采取什么进一步措施来诊断这一点,我将不胜感激.

If anyone has any idea what could be going on or what further steps I could take to try to diagnose this I'd greatly appreciate it.

谢谢!

推荐答案

按照以下步骤为我解决了浪费4小时后的问题.我使用的是Windows 10 Pro,但步骤在版本中可能相同:

Following steps fixed the issue for me after wasting 4 hours. I am on Windows 10 Pro but the steps are probably same in versions:

  1. 完全卸载IIS(从控制面板"中打开或关闭Windows功能)
  2. 卸载Windows Process Activation Service(从控制面板"中打开或关闭Windows功能)
  3. 重新启动
  4. 确保%windir%\ system32 \ inetsrv \现在是干净的(我也删除了配置文件,因此如果需要备份它们,请先这样做)
  5. 在1&中重新安装项目2
  6. 验证您现在可以保存应用程序池自定义身份.您可以打开%windir%\ System32 \ inetsrv \ config \ applicationHost.config以查看自定义身份和密码已保存(密码已加密)


<add name="<APPPOOLNAME>">
    <processModel identityType="SpecificUser" userName="<USERNAME>" password="[enc:IISWASOnlyAesProvider:CCn5MVIrWZ/sxeGXrXfHniMSL3NoOn8SLvKiaaRfz7c=:enc]" />
</add>

这篇关于IIS 8:自定义应用程序池ID:值不在预期范围内的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆