部署注意事项:
1.IIS应用程序池 集成模式
2.在web.config中的system.webServer下,添加 <modules runAllManagedModulesForAllRequests="true" />
3.cmd中注册命令行 C:\Windows\Microsoft.NET\Framework\v4.0.30319\aspnet_regiis -i
4.应用程序池的高级设置>启用32位应用程序设置为True
应用程序池的基本设置>.net版本选v4.0
5.网站绑定 IP设置为*
6.确保安装了.net framework3.5
Asp .NET v4.0 和 DefaultAppPool 都是集成模式(Integrated)
本文详细介绍了在Windows Server 2008 R2上部署.NET Framework 4.0应用程序的具体步骤,包括IIS应用程序池配置、web.config修改、命令行注册、应用程序池高级设置等,确保程序稳定运行。
1271

被折叠的 条评论
为什么被折叠?



