在Windows Server上安装ASP.NET时失败,提示not enough storage is available to process the command...

  今天在部署ASP.NET网站时出现IIS 500.21错误。环境是Windows Server 2012 +IIS8

  于是查找解决方案,发现网上的信息都说是需要重装.NET framerwork4.0即可,而我在执行那段重装4.0的命令之后还是失败。

  发现原来是我在安装IIS时没有把Application Development 下的ASP.NET勾选导致的,这也提醒我们在安装的时候注意勾选这个(默认是不勾选的)

   于是从服务管理其从新添加了ASP.NET这一选项,从而出现了标题中的错误。

    起初以为确实是内存不足的原因,后来想想内存是够的,于是想到可能是Windows Server系统配置的原因。

   于是找到这个答案,搬运一下:

1. Click on Start > Run > regedit & press Enter
2. Find this key nameHKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\LanmanServer\Parameters
3. Locate IRPStackSize
4. If this value does not exist Right Click on Parameters key and Click on New > Dword Value and type inIRPStackSize under the name.
5. The name of the value must be exactly (combination of uppercase and lowercase letters) the same as what I have above.
6. Right Click on the IRPStackSize and click on Modify
7. Select Decimal enter a value higher than 15(Maximum Value is 50 decimal) and Click Ok
8. You can close the registry editor and restart your computer.

  原文链接:https://answers.microsoft.com/en-us/windows/forum/windows_7-hardware/not-enough-storage-is-available-to-process-this/9624b57d-ea4c-41fa-aae0-b52e99b69fab

转载于:https://www.cnblogs.com/quietfix/p/6652483.html

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值