l 错误1:HTTP Error 500.21 – Internal Server Error Handler “svc-Integrated” has a bad module “ManagedPipelineHandler” in its module list
答:正确安装Asp.Net:打开Visual Studio命令行提示工具(Start->All Programs->Visual Studio->Visual Studio Tools->Visual Studio Command Prompt, 如果你的OS是Windows Vista及以后的版本,你需要以管理员身份打开),运行”aspnet_regiis.exe -i”。
l 错误2:The page you are requesting cannot be served because of the extension configuration.
If the page is a script, add a handler. If the file should be downloaded, add a MIME map.
答:正确安装WCF。
1.用管理员身份运行cmd命令行
2.切换到目录C:/Windows/Microsoft.NET/Framework/v3.0/Windows Communication Foundation
l 3.运行命令: servicemodelreg –i
错误3 在应用程序级别之外使用注册为 allowDefinition='MachineToApplication' 的节是错误的。如果在 IIS 中没有将虚拟目录配置为应用程序,则可能导致此错误。
答:将虚拟目录设置为转换为应用程序。
l 错误4 检测到在集成的托管管道模式下不适用的 ASP.NET 设置。
答:应用程序池选择为Classic.Net AppPool
错误5 无法找到 ServiceHost 指令中作为服务属性值提供的类型
l 错误6Win7 IIS7 配置错误由于权限不足而无法读取配置文件
答:文件夹属性->安全,增加Users帐户,将此帐户下的"修改"与"写入"权限选上 。