asp.netweb-serviceswcfwebserverwia

HTTP Error 500.19 - Internal Server Error(HttpProtocol)


I Programmed A WCF Service But I Have Some Error About HttpProtocol Please Help me

Error That Captured From Page


Solution

  • Clearly you forgot <system.webServer> parent tag,

    https://www.iis.net/configreference/system.webserver/httpprotocol

    Like,

    <configuration>
       <system.webServer>
          <httpProtocol allowKeepAlive="true" />
       </system.webServer>
    </configuration>