控制面板->程序->启用或关闭Windows功能->Internet Information Services->万维网服务->应用程序开发功能 勾上所有有ASP.NET的项,用管理员权限重启Visual Studio 2010,完成