首先要注册4.0环境: C:\WINDOWS\Microsoft.net\Framework\v4.0.30319>aspnet_regiis.exe -i 转载于:https://www.cnblogs.com/fhuafeng/archive/2013/03/26/2982234.html