解决:
打开C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/CONFIG下的machine.config文件,
把 allowDefinition="MachineToWebRoot" 改为 allowDefinition="Everywhere",就OK!
< section name = " protocols " type = " System.Web.Configuration.ProtocolsSection, System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a " allowDefinition = " MachineToWebRoot " />
< section name = " protocols " type = " System.Web.Configuration.ProtocolsSection, System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a " allowDefinition = " Everywhere " />