C# Web服务错误-HTTP错误500.19-内部服务器错误0x80070021
我在VS2010(目标框架3.5)中创建了一个简单的web服务,并在IIS 7.5中发布 但当我试图浏览它时,出现了以下错误C# Web服务错误-HTTP错误500.19-内部服务器错误0x80070021,c#,asp.net,iis,C#,Asp.net,Iis,我在VS2010(目标框架3.5)中创建了一个简单的web服务,并在IIS 7.5中发布 但当我试图浏览它时,出现了以下错误 **HTTP Error 500.19 - Internal Server Error The requested page cannot be accessed because the related configuration data for the page is invalid. Error Code 0x80070021 Config Source: 97:
**HTTP Error 500.19 - Internal Server Error
The requested page cannot be accessed because the related configuration data for the page is invalid.
Error Code 0x80070021
Config Source:
97: </modules>
98: <handlers>
99: <remove name="WebServiceHandlerFactory-Integrated"/>**
**HTTP错误500.19-内部服务器错误
无法访问请求的页面,因为该页面的相关配置数据无效。
错误代码0x80070021
配置源:
97:
98:
99: **
如何解决此错误
当目标框架更改为2.0/3.0时,它可以工作,但不适用于3.5
在安装IIS之前,我还安装了VS2010。因此会有任何问题吗?可能会重复粘贴整个错误页面,因为一个片段是无用的。