本文主要是介绍IIS错误:•Managed handler is used; however, ASP.NET is not installed or is not installed completely.,希望对大家解决编程问题提供一定的参考价值,需要的开发者们随着小编来一起学习吧!
今天装了.NET Framework v4.0.30319, 网站发布到IIS时候,IIS出现报错页面,其错误内容如下:
页面中提示我可能弥补此错误的步骤:
我上网搜索了一下,大概原因是说装上.net 4.0后,必须要“register IIS to framework 4”,具体注册步骤:
1.Start->All Programs -> Microsoft Visual Studio 2010 ->Visual Studio Tools -> Visual Sutdio Command Prompt(2010)
2.Right Click on the Visual Studio Command Prompt (2010) and select Run as Administrator incase of Windows 7 and Vista
3. run this script:
%windir%\Microsoft.NET\Framework\v4.0.30319\aspnet_regiis.exe -i
%windir%\Microsoft.NET\Framework64\v4.0.30319\aspnet_regiis.exe -i
(choose one script depend on ourselves)
这篇关于IIS错误:•Managed handler is used; however, ASP.NET is not installed or is not installed completely.的文章就介绍到这儿,希望我们推荐的文章对编程师们有所帮助!